From 7a875cfb748ba4a2525f3eaac7ce45d27bb691c4 Mon Sep 17 00:00:00 2001 From: Kevin Upstill Date: Tue, 22 Apr 2025 13:41:03 +0100 Subject: [PATCH 1/5] update nokogiri --- dvla-kaping.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dvla-kaping.gemspec b/dvla-kaping.gemspec index 5d09685..2b0ce87 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.4' end From 86183d003b2876bbad6328272e5d426aa3611e3b Mon Sep 17 00:00:00 2001 From: Kevin Upstill Date: Tue, 22 Apr 2025 13:48:39 +0100 Subject: [PATCH 2/5] update nokogiri --- dvla-kaping.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dvla-kaping.gemspec b/dvla-kaping.gemspec index 2b0ce87..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.18', '>= 1.18.4' + spec.add_dependency 'nokogiri', '~> 1.18', '>= 1.18.8' end From 6541467f413a60e8bf82f86ce5facb3e84a47f42 Mon Sep 17 00:00:00 2001 From: Kevin Upstill Date: Tue, 22 Apr 2025 13:52:40 +0100 Subject: [PATCH 3/5] update version --- lib/dvla/kaping/version.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From c933f5518a00b15e1c4dc1caf5522a9f917f3374 Mon Sep 17 00:00:00 2001 From: Kevin Upstill Date: Wed, 30 Apr 2025 14:28:57 +0100 Subject: [PATCH 4/5] updated Readme --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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'). From 359750ef9b377b01c79573871e1888d4e689e8c4 Mon Sep 17 00:00:00 2001 From: Kevin Upstill Date: Wed, 30 Apr 2025 14:35:58 +0100 Subject: [PATCH 5/5] remove cron job for now --- .github/workflows/gem-build.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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: