Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .github/workflows/gem-build.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
name: Ruby Build

on:
schedule:
- cron: '0 7 * * 1'
push:
branches: [ $default-branch ]
pull_request:
branches: [ $default-branch ]

jobs:
test:
Expand All @@ -12,7 +14,7 @@ jobs:
ruby-version: [ '3.0', '3.1', '3.2', '3.3', '3.4' ]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ DVLA::Kaping.configure { |attr| attr.yaml_override_path = './config/kaping.yml'
```
The 'index' setting will control what environment to target

The 'result_size' setting determines how many records to be returned from the query, if you are doing a post query filtering
code side then you should pump this value up.
The 'result_size' setting determines how many records to be returned from the query, if you are doing a post-query filtering
code side, then you should pump this value up.

```yml
kaping:
Expand All @@ -73,7 +73,7 @@ Profile will just pick up the credentials save in your specified shared credenti

```yml
aws:
# to use a AWS profile config file then set to profile, otherwise environment settings will be used
# to use an AWS profile config file then set to profile, otherwise environment settings will be used
credential_type: profile
account_id: ##########
region: aws-region
Expand Down Expand Up @@ -106,7 +106,7 @@ body = DVLA::Kaping::Query.new('bool')
## Query building
A query can be built up with dot notation, but there are a few rules to follow.

First get a new Kaping Query instance. If we want a new Boolean query then we set the type as bool.
First, get a new Kaping Query instance. If we want a new Boolean query then we set the type as bool.
```ruby
my_query = DVLA::Kaping::Query.new('bool')
my_query.filter.term('foo.bar', 'Valid').
Expand Down
2 changes: 1 addition & 1 deletion dvla-kaping.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ Gem::Specification.new do |spec|
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
spec.require_paths = %w[lib]

spec.add_dependency 'nokogiri', '~> 1.16', '>= 1.16.7'
spec.add_dependency 'nokogiri', '~> 1.18', '>= 1.18.8'
end
2 changes: 1 addition & 1 deletion lib/dvla/kaping/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

module DVLA
module Kaping
VERSION = '1.0.0'
VERSION = '1.0.1'
end
end
Loading