diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8ca7eed..9f920df 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,7 +12,7 @@ jobs: - name: Set up Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: 3.2.2 + ruby-version: 3.4.4 bundler-cache: true - name: Rubocop @@ -35,7 +35,7 @@ jobs: - name: Set up Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: 3.2.2 + ruby-version: 3.4.4 bundler-cache: true - name: Run RSpec unit tests @@ -52,7 +52,7 @@ jobs: - name: Set up Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: 3.2.2 + ruby-version: 3.4.4 bundler-cache: true - name: Run the bundle audit test diff --git a/.rubocop.yml b/.rubocop.yml index 804848d..6c66ef3 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -5,7 +5,7 @@ require: - rubocop-rspec AllCops: - TargetRubyVersion: 3.2.2 + TargetRubyVersion: 3.4.4 NewCops: enable Exclude: - 'spec/supplejack_common/tmp/**/*' diff --git a/.ruby-version b/.ruby-version index be94e6f..5141b61 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -3.2.2 +3.4.4 \ No newline at end of file diff --git a/Gemfile.lock b/Gemfile.lock index 00d56ee..be59a78 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -13,8 +13,8 @@ PATH remote: . specs: supplejack_common (3.0.0) - actionpack (>= 7.0.0) - activesupport (>= 7.0.0) + actionpack (~> 7.1.4) + activesupport (~> 7.1.4) aws-sdk-s3 chronic (<= 0.10.2) dimensions @@ -37,9 +37,9 @@ PATH GEM remote: https://rubygems.org/ specs: - actionpack (7.1.3.4) - actionview (= 7.1.3.4) - activesupport (= 7.1.3.4) + actionpack (7.1.5.1) + actionview (= 7.1.5.1) + activesupport (= 7.1.5.1) nokogiri (>= 1.8.5) racc rack (>= 2.2.4) @@ -47,23 +47,26 @@ GEM rack-test (>= 0.6.3) rails-dom-testing (~> 2.2) rails-html-sanitizer (~> 1.6) - actionview (7.1.3.4) - activesupport (= 7.1.3.4) + actionview (7.1.5.1) + activesupport (= 7.1.5.1) builder (~> 3.1) erubi (~> 1.11) rails-dom-testing (~> 2.2) rails-html-sanitizer (~> 1.6) - activemodel (7.1.3.4) - activesupport (= 7.1.3.4) - activesupport (7.1.3.4) + activemodel (7.1.5.1) + activesupport (= 7.1.5.1) + activesupport (7.1.5.1) base64 + benchmark (>= 0.3) bigdecimal concurrent-ruby (~> 1.0, >= 1.0.2) connection_pool (>= 2.2.5) drb i18n (>= 1.6, < 2) + logger (>= 1.4.2) minitest (>= 5.1) mutex_m + securerandom (>= 0.3) tzinfo (~> 2.0) addressable (2.8.7) public_suffix (>= 2.0.2, < 7.0) @@ -84,16 +87,17 @@ GEM aws-sigv4 (~> 1.5) aws-sigv4 (1.8.0) aws-eventstream (~> 1, >= 1.0.2) - base64 (0.2.0) - bigdecimal (3.1.8) + base64 (0.3.0) + benchmark (0.4.1) + bigdecimal (3.2.2) bson (5.0.0) builder (3.3.0) byebug (11.1.3) chronic (0.10.2) coderay (1.1.3) colorize (1.1.0) - concurrent-ruby (1.3.3) - connection_pool (2.4.1) + concurrent-ruby (1.3.5) + connection_pool (2.5.3) crack (1.0.0) bigdecimal rexml @@ -101,8 +105,8 @@ GEM diff-lcs (1.5.1) dimensions (1.3.0) domain_name (0.6.20240107) - drb (2.2.1) - erubi (1.13.0) + drb (2.2.3) + erubi (1.13.1) faraday (2.10.0) faraday-net_http (>= 2.0, < 3.2) logger @@ -117,7 +121,7 @@ GEM http-accept (1.7.0) http-cookie (1.0.6) domain_name (~> 0.5) - i18n (1.14.5) + i18n (1.14.7) concurrent-ruby (~> 1.0) jmespath (1.6.2) json (2.7.2) @@ -125,7 +129,7 @@ GEM multi_json language_server-protocol (3.17.0.3) logger (1.6.0) - loofah (2.22.0) + loofah (2.24.1) crass (~> 1.0.2) nokogiri (>= 1.12.0) method_source (1.1.0) @@ -135,26 +139,26 @@ GEM mimemagic (0.4.3) nokogiri (~> 1) rake - mini_portile2 (2.8.7) - minitest (5.24.1) + mini_portile2 (2.8.9) + minitest (5.25.5) mock_redis (0.44.0) mongo (2.20.1) bson (>= 4.14.1, < 6.0.0) - mongoid (9.0.0) - activemodel (>= 5.1, < 7.2, != 7.0.0) + mongoid (9.0.6) + activemodel (>= 5.1, < 8.1, != 7.0.0) concurrent-ruby (>= 1.0.5, < 2.0) mongo (>= 2.18.0, < 3.0.0) multi_json (1.15.0) - mutex_m (0.2.0) + mutex_m (0.3.0) net-http (0.4.1) uri netrc (0.11.0) - nokogiri (1.16.6) + nokogiri (1.18.8) mini_portile2 (~> 2.8.2) racc (~> 1.4) - nokogiri (1.16.6-arm64-darwin) + nokogiri (1.18.8-arm64-darwin) racc (~> 1.4) - nokogiri (1.16.6-x86_64-linux) + nokogiri (1.18.8-x86_64-linux-gnu) racc (~> 1.4) oai (1.2.1) builder (>= 3.1.0) @@ -172,19 +176,20 @@ GEM byebug (~> 11.0) pry (>= 0.13, < 0.15) public_suffix (6.0.0) - racc (1.8.0) - rack (3.1.7) - rack-session (2.0.0) + racc (1.8.1) + rack (3.1.16) + rack-session (2.1.1) + base64 (>= 0.1.0) rack (>= 3.0.0) - rack-test (2.1.0) + rack-test (2.2.0) rack (>= 1.3) - rails-dom-testing (2.2.0) + rails-dom-testing (2.3.0) activesupport (>= 5.0.0) minitest nokogiri (>= 1.6) - rails-html-sanitizer (1.6.0) + rails-html-sanitizer (1.6.2) loofah (~> 2.21) - nokogiri (~> 1.14) + nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0) rainbow (3.1.1) rake (13.2.1) redis (5.2.0) @@ -198,8 +203,7 @@ GEM mime-types (>= 1.16, < 4.0) netrc (~> 0.8) retriable (3.1.2) - rexml (3.3.4) - strscan + rexml (3.4.1) rspec (3.13.0) rspec-core (~> 3.13.0) rspec-expectations (~> 3.13.0) @@ -234,11 +238,11 @@ GEM sanitize (6.1.1) crass (~> 1.0.2) nokogiri (>= 1.12.0) - strscan (3.1.0) + securerandom (0.4.1) tzinfo (2.0.6) concurrent-ruby (~> 1.0) unicode-display_width (2.5.0) - uri (0.13.0) + uri (1.0.3) webmock (3.23.1) addressable (>= 2.8.0) crack (>= 0.3.2) diff --git a/supplejack_common.gemspec b/supplejack_common.gemspec index 07696bb..7c8b0f1 100644 --- a/supplejack_common.gemspec +++ b/supplejack_common.gemspec @@ -5,7 +5,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'supplejack_common/version' Gem::Specification.new do |gem| - gem.required_ruby_version = '>= 3.2.2' + gem.required_ruby_version = '>= 3.4.4' gem.name = 'supplejack_common' gem.version = SupplejackCommon::VERSION gem.authors = ['DigitalNZ'] @@ -18,8 +18,8 @@ Gem::Specification.new do |gem| gem.executables = gem.files.grep(%r{^bin/}).map { |f| File.basename(f) } gem.require_paths = ['lib'] - gem.add_dependency 'actionpack', '>= 7.0.0' - gem.add_dependency 'activesupport', '>= 7.0.0' + gem.add_dependency 'actionpack', '~> 7.1.4' + gem.add_dependency 'activesupport', '~> 7.1.4' gem.add_dependency 'aws-sdk-s3' gem.add_dependency 'chronic', '<= 0.10.2' gem.add_dependency 'dimensions'