diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 1a94e61..2b2e9c8 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -9,11 +9,11 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - ruby: [ '2.7', '3.0' ] + ruby: [ '3.0', '3.1', '3.2', '3.3' ] task: [ 'default' ] gemfile: [ 'rails52' ] include: - - ruby: '2.7' # lowest supported version + - ruby: '3.0' # lowest supported version task: rubocop gemfile: rails52 name: ${{ matrix.ruby }} ${{ matrix.gemfile }} rake ${{ matrix.task }} @@ -32,7 +32,7 @@ jobs: - uses: actions/checkout@v2 - uses: ruby/setup-ruby@v1 with: - ruby-version: 3.0 + ruby-version: 3.3 bundler-cache: true - run: gem i gettext && gem i activesupport && bundle exec rake benchmark namespaces: @@ -41,6 +41,6 @@ jobs: - uses: actions/checkout@v2 - uses: ruby/setup-ruby@v1 with: - ruby-version: 3.0 + ruby-version: 3.3 bundler-cache: true - run: echo 'gem "gettext"' >> Gemfile && echo 'gem "iconv"' >> Gemfile && bundle config unset deployment && bundle && bundle exec rake namespaces diff --git a/.rubocop.yml b/.rubocop.yml index afb86a2..bfd0394 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -2,7 +2,7 @@ require: - rubocop-packaging AllCops: - TargetRubyVersion: 2.7 # keep in sync with minimum version + TargetRubyVersion: 3.0 # keep in sync with minimum version Exclude: - vendor/**/* - gemfiles/vendor/**/* diff --git a/Gemfile.lock b/Gemfile.lock index c6a0123..a0aade7 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -92,7 +92,7 @@ DEPENDENCIES rubocop rubocop-packaging single_cov - sqlite3 (~> 1.6.9) + sqlite3 BUNDLED WITH - 2.3.27 + 2.5.10 diff --git a/fast_gettext.gemspec b/fast_gettext.gemspec index 5ebc13a..e81b149 100644 --- a/fast_gettext.gemspec +++ b/fast_gettext.gemspec @@ -14,7 +14,7 @@ Gem::Specification.new name, FastGettext::VERSION do |s| s.add_runtime_dependency 'prime' s.add_development_dependency 'rake' - s.add_development_dependency 'sqlite3', '~> 1.6.9' # last version with ruby 2.7 support + s.add_development_dependency 'sqlite3' s.add_development_dependency 'rspec' s.add_development_dependency 'activerecord' s.add_development_dependency 'i18n' diff --git a/gemfiles/rails52.gemfile.lock b/gemfiles/rails52.gemfile.lock index 750c774..ac99ab2 100644 --- a/gemfiles/rails52.gemfile.lock +++ b/gemfiles/rails52.gemfile.lock @@ -71,11 +71,11 @@ GEM marcel (1.0.1) method_source (1.0.0) mini_mime (1.1.1) - mini_portile2 (2.6.1) + mini_portile2 (2.8.6) minitest (5.14.4) nio4r (2.7.3) - nokogiri (1.12.3) - mini_portile2 (~> 2.6.1) + nokogiri (1.16.5) + mini_portile2 (~> 2.8.2) racc (~> 1.4) parallel (1.21.0) parallel_tests (2.31.0) @@ -102,8 +102,9 @@ GEM bundler (>= 1.3.0) railties (= 5.2.6) sprockets-rails (>= 2.0.0) - rails-dom-testing (2.0.3) - activesupport (>= 4.2.0) + rails-dom-testing (2.2.0) + activesupport (>= 5.0.0) + minitest nokogiri (>= 1.6) rails-html-sanitizer (1.4.2) loofah (~> 2.3) @@ -153,7 +154,8 @@ GEM actionpack (>= 4.0) activesupport (>= 4.0) sprockets (>= 3.0.0) - sqlite3 (1.3.13) + sqlite3 (2.0.1) + mini_portile2 (~> 2.8.0) thor (1.1.0) thread_safe (0.3.6) tzinfo (1.2.9) @@ -181,4 +183,4 @@ DEPENDENCIES sqlite3 BUNDLED WITH - 2.3.27 + 2.5.10