diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0be09ae..b7e9934 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,7 +13,7 @@ jobs: matrix: os: [ubuntu-latest] # https://www.ruby-lang.org/en/downloads/branches/ - ruby: ["2.7", "3.0", "3.1", "3.2", "3.3"] + ruby: ["3.0", "3.1", "3.2", "3.3"] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 diff --git a/.rubocop.yml b/.rubocop.yml index 17e7c44..8be35d2 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -2,7 +2,7 @@ require: - rubocop-rake - rubocop-rspec AllCops: - TargetRubyVersion: 2.7 + TargetRubyVersion: 3.0 NewCops: disable Metrics/BlockLength: Max: 100 diff --git a/CHANGES.txt b/CHANGES.txt index 7517c0b..ef3672a 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,3 +1,8 @@ +3.2.0 - Mon Jun 10 2024 +=============================================================== +- Ruby 2.x no longer supported +- various Ruby gem updates + 3.1.2 - Mon Jun 10 2024 =============================================================== - last release supporting Ruby 2.x diff --git a/Gemfile.lock b/Gemfile.lock index 40b580f..8096a6a 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -16,7 +16,8 @@ GEM diff-lcs (1.5.1) hashdiff (1.1.0) json (2.7.2) - parallel (1.24.0) + language_server-protocol (3.17.0.3) + parallel (1.25.1) parser (3.3.2.0) ast (~> 2.4.1) racc @@ -40,29 +41,36 @@ GEM diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.13.0) rspec-support (3.13.1) - rubocop (1.50.2) + rubocop (1.64.1) json (~> 2.3) + language_server-protocol (>= 3.17.0) parallel (~> 1.10) - parser (>= 3.2.0.0) + parser (>= 3.3.0.2) rainbow (>= 2.2.2, < 4.0) regexp_parser (>= 1.8, < 3.0) rexml (>= 3.2.5, < 4.0) - rubocop-ast (>= 1.28.0, < 2.0) + rubocop-ast (>= 1.31.1, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 2.4.0, < 3.0) - rubocop-ast (1.30.0) - parser (>= 3.2.1.0) - rubocop-capybara (2.18.0) + rubocop-ast (1.31.3) + parser (>= 3.3.1.0) + rubocop-capybara (2.21.0) + rubocop (~> 1.41) + rubocop-factory_bot (2.26.0) rubocop (~> 1.41) rubocop-rake (0.6.0) rubocop (~> 1.0) - rubocop-rspec (2.20.0) - rubocop (~> 1.33) + rubocop-rspec (2.31.0) + rubocop (~> 1.40) rubocop-capybara (~> 2.17) + rubocop-factory_bot (~> 2.22) + rubocop-rspec_rails (~> 2.28) + rubocop-rspec_rails (2.29.0) + rubocop (~> 1.40) ruby-progressbar (1.13.0) strscan (3.1.0) unicode-display_width (2.5.0) - vcr (6.1.0) + vcr (6.2.0) webmock (3.23.1) addressable (>= 2.8.0) crack (>= 0.3.2) diff --git a/lib/opencage/version.rb b/lib/opencage/version.rb index 21eddc5..42a3474 100644 --- a/lib/opencage/version.rb +++ b/lib/opencage/version.rb @@ -1,3 +1,3 @@ module OpenCage - VERSION = '3.1.2'.freeze + VERSION = '3.2.0'.freeze end diff --git a/opencage-geocoder.gemspec b/opencage-geocoder.gemspec index 8119f4b..a1ffc94 100644 --- a/opencage-geocoder.gemspec +++ b/opencage-geocoder.gemspec @@ -5,7 +5,7 @@ require 'opencage/version' Gem::Specification.new do |s| s.name = 'opencage-geocoder' s.version = OpenCage::VERSION - s.required_ruby_version = '>= 2.7' + s.required_ruby_version = '>= 3.0' s.licenses = ['MIT'] s.summary = 'A client for the OpenCage geocoder API' s.description = 'A client for the OpenCage geocoding API - https://opencagedata.com/'