diff --git a/.github/workflows/gem-build.yml b/.github/workflows/gem-build.yml index c24defb..3c31947 100644 --- a/.github/workflows/gem-build.yml +++ b/.github/workflows/gem-build.yml @@ -1,8 +1,10 @@ name: Ruby Build on: - schedule: - - cron: '0 7 * * 1' + push: + branches: [ $default-branch ] + pull_request: + branches: [ $default-branch ] jobs: test: @@ -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: diff --git a/README.md b/README.md index ddb5ff1..8edbdd5 100644 --- a/README.md +++ b/README.md @@ -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: @@ -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 @@ -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'). diff --git a/dvla-kaping.gemspec b/dvla-kaping.gemspec index 5d09685..6c02374 100644 --- a/dvla-kaping.gemspec +++ b/dvla-kaping.gemspec @@ -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 diff --git a/lib/dvla/kaping/version.rb b/lib/dvla/kaping/version.rb index 79a45c4..575b2e2 100644 --- a/lib/dvla/kaping/version.rb +++ b/lib/dvla/kaping/version.rb @@ -2,6 +2,6 @@ module DVLA module Kaping - VERSION = '1.0.0' + VERSION = '1.0.1' end end