From d011db86d540b65905f55f82ce18b0ef6da4f27a Mon Sep 17 00:00:00 2001 From: Michael Grosser Date: Mon, 6 Jan 2025 11:56:25 -0800 Subject: [PATCH] more --- .github/workflows/actions.yml | 12 +- fast_gettext.gemspec | 4 +- gemfiles/rails71.gemfile | 6 - gemfiles/rails71.gemfile.lock | 260 --------------------------------- gemfiles/rails80.gemfile | 6 + gemfiles/rails80.gemfile.lock | 262 ++++++++++++++++++++++++++++++++++ 6 files changed, 276 insertions(+), 274 deletions(-) delete mode 100644 gemfiles/rails71.gemfile delete mode 100644 gemfiles/rails71.gemfile.lock create mode 100644 gemfiles/rails80.gemfile create mode 100644 gemfiles/rails80.gemfile.lock diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index e53b9cd..a4155ca 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -10,13 +10,13 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - ruby: [ '3.1', '3.2', '3.3', '3.4' ] + ruby: [ '3.2', '3.3', '3.4' ] task: [ 'default' ] - gemfile: [ 'rails71' ] + gemfile: [ 'rails80' ] include: - - ruby: '3.1' # lowest supported version + - ruby: '3.2' # lowest supported version task: rubocop - gemfile: rails71 + gemfile: rails80 name: ${{ matrix.ruby }} ${{ matrix.gemfile }} rake ${{ matrix.task }} env: BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile @@ -34,7 +34,7 @@ jobs: - uses: actions/checkout@v2 - uses: ruby/setup-ruby@v1 with: - ruby-version: '3.1' # lowest supported version + ruby-version: '3.2' # lowest supported version bundler-cache: true - run: gem i gettext && gem i activesupport && bundle exec rake benchmark namespaces: @@ -43,6 +43,6 @@ jobs: - uses: actions/checkout@v2 - uses: ruby/setup-ruby@v1 with: - ruby-version: '3.1' # lowest supported version + ruby-version: '3.2' # lowest supported version bundler-cache: true - run: echo 'gem "gettext"' >> Gemfile && echo 'gem "iconv"' >> Gemfile && bundle config unset deployment && bundle && bundle exec rake namespaces diff --git a/fast_gettext.gemspec b/fast_gettext.gemspec index 05db337..5490846 100644 --- a/fast_gettext.gemspec +++ b/fast_gettext.gemspec @@ -10,12 +10,12 @@ Gem::Specification.new name, FastGettext::VERSION do |s| s.homepage = "https://github.com/grosser/#{name}" s.files = Dir["{lib/**/*.{rb,mo,rdoc},Readme.md,CHANGELOG,LICENSE}"] s.licenses = ["MIT", "Ruby"] - s.required_ruby_version = '>= 3.1.0' + s.required_ruby_version = '>= 3.2.0' s.add_runtime_dependency 'prime' s.add_runtime_dependency 'racc' s.add_development_dependency 'rake' - s.add_development_dependency 'sqlite3', '~> 2.1' # need to match what activerecord requires + s.add_development_dependency 'sqlite3', '~> 2.1' # need to match what latest activerecord requires s.add_development_dependency 'rspec' s.add_development_dependency 'activerecord' s.add_development_dependency 'i18n' diff --git a/gemfiles/rails71.gemfile b/gemfiles/rails71.gemfile deleted file mode 100644 index 121156c..0000000 --- a/gemfiles/rails71.gemfile +++ /dev/null @@ -1,6 +0,0 @@ -source "https://rubygems.org" - -gemspec path: "../" - -gem "rails", "~> 7.1.0" -gem "sqlite3", "~> 1.4" # needs to match what AR wants diff --git a/gemfiles/rails71.gemfile.lock b/gemfiles/rails71.gemfile.lock deleted file mode 100644 index 99ca1a5..0000000 --- a/gemfiles/rails71.gemfile.lock +++ /dev/null @@ -1,260 +0,0 @@ -PATH - remote: .. - specs: - fast_gettext (4.0.0) - prime - racc - -GEM - remote: https://rubygems.org/ - specs: - actioncable (7.1.3.3) - actionpack (= 7.1.3.3) - activesupport (= 7.1.3.3) - nio4r (~> 2.0) - websocket-driver (>= 0.6.1) - zeitwerk (~> 2.6) - actionmailbox (7.1.3.3) - actionpack (= 7.1.3.3) - activejob (= 7.1.3.3) - activerecord (= 7.1.3.3) - activestorage (= 7.1.3.3) - activesupport (= 7.1.3.3) - mail (>= 2.7.1) - net-imap - net-pop - net-smtp - actionmailer (7.1.3.3) - actionpack (= 7.1.3.3) - actionview (= 7.1.3.3) - activejob (= 7.1.3.3) - activesupport (= 7.1.3.3) - mail (~> 2.5, >= 2.5.4) - net-imap - net-pop - net-smtp - rails-dom-testing (~> 2.2) - actionpack (7.1.3.3) - actionview (= 7.1.3.3) - activesupport (= 7.1.3.3) - nokogiri (>= 1.8.5) - racc - rack (>= 2.2.4) - rack-session (>= 1.0.1) - rack-test (>= 0.6.3) - rails-dom-testing (~> 2.2) - rails-html-sanitizer (~> 1.6) - actiontext (7.1.3.3) - actionpack (= 7.1.3.3) - activerecord (= 7.1.3.3) - activestorage (= 7.1.3.3) - activesupport (= 7.1.3.3) - globalid (>= 0.6.0) - nokogiri (>= 1.8.5) - actionview (7.1.3.3) - activesupport (= 7.1.3.3) - builder (~> 3.1) - erubi (~> 1.11) - rails-dom-testing (~> 2.2) - rails-html-sanitizer (~> 1.6) - activejob (7.1.3.3) - activesupport (= 7.1.3.3) - globalid (>= 0.3.6) - activemodel (7.1.3.3) - activesupport (= 7.1.3.3) - activerecord (7.1.3.3) - activemodel (= 7.1.3.3) - activesupport (= 7.1.3.3) - timeout (>= 0.4.0) - activestorage (7.1.3.3) - actionpack (= 7.1.3.3) - activejob (= 7.1.3.3) - activerecord (= 7.1.3.3) - activesupport (= 7.1.3.3) - marcel (~> 1.0) - activesupport (7.1.3.3) - base64 - bigdecimal - concurrent-ruby (~> 1.0, >= 1.0.2) - connection_pool (>= 2.2.5) - drb - i18n (>= 1.6, < 2) - minitest (>= 5.1) - mutex_m - tzinfo (~> 2.0) - ast (2.4.2) - base64 (0.2.0) - bigdecimal (3.1.8) - builder (3.2.4) - bump (0.10.0) - concurrent-ruby (1.2.3) - connection_pool (2.4.1) - crass (1.0.6) - date (3.3.4) - diff-lcs (1.5.1) - drb (2.2.1) - erubi (1.12.0) - forking_test_runner (1.14.0) - parallel_tests (>= 1.3.7) - forwardable (1.3.3) - globalid (1.2.1) - activesupport (>= 6.1) - i18n (1.14.5) - concurrent-ruby (~> 1.0) - io-console (0.7.2) - irb (1.13.1) - rdoc (>= 4.0.0) - reline (>= 0.4.2) - json (2.7.2) - language_server-protocol (3.17.0.3) - loofah (2.22.0) - crass (~> 1.0.2) - nokogiri (>= 1.12.0) - mail (2.8.1) - mini_mime (>= 0.1.1) - net-imap - net-pop - net-smtp - marcel (1.0.4) - mini_mime (1.1.5) - mini_portile2 (2.8.8) - minitest (5.23.0) - mutex_m (0.2.0) - net-imap (0.4.11) - date - net-protocol - net-pop (0.1.2) - net-protocol - net-protocol (0.2.2) - timeout - net-smtp (0.5.0) - net-protocol - nio4r (2.7.3) - nokogiri (1.16.5) - mini_portile2 (~> 2.8.2) - racc (~> 1.4) - parallel (1.26.3) - parallel_tests (4.7.1) - parallel - parser (3.3.1.0) - ast (~> 2.4.1) - racc - prime (0.1.2) - forwardable - singleton - psych (5.1.2) - stringio - racc (1.8.0) - rack (3.0.11) - rack-session (2.0.0) - rack (>= 3.0.0) - rack-test (2.1.0) - rack (>= 1.3) - rackup (2.1.0) - rack (>= 3) - webrick (~> 1.8) - rails (7.1.3.3) - actioncable (= 7.1.3.3) - actionmailbox (= 7.1.3.3) - actionmailer (= 7.1.3.3) - actionpack (= 7.1.3.3) - actiontext (= 7.1.3.3) - actionview (= 7.1.3.3) - activejob (= 7.1.3.3) - activemodel (= 7.1.3.3) - activerecord (= 7.1.3.3) - activestorage (= 7.1.3.3) - activesupport (= 7.1.3.3) - bundler (>= 1.15.0) - railties (= 7.1.3.3) - rails-dom-testing (2.2.0) - activesupport (>= 5.0.0) - minitest - nokogiri (>= 1.6) - rails-html-sanitizer (1.6.0) - loofah (~> 2.21) - nokogiri (~> 1.14) - railties (7.1.3.3) - actionpack (= 7.1.3.3) - activesupport (= 7.1.3.3) - irb - rackup (>= 1.0.0) - rake (>= 12.2) - thor (~> 1.0, >= 1.2.2) - zeitwerk (~> 2.6) - rainbow (3.1.1) - rake (13.2.1) - rdoc (6.6.3.1) - psych (>= 4.0.0) - regexp_parser (2.9.2) - reline (0.5.7) - io-console (~> 0.5) - rexml (3.2.8) - strscan (>= 3.0.9) - rspec (3.13.0) - rspec-core (~> 3.13.0) - rspec-expectations (~> 3.13.0) - rspec-mocks (~> 3.13.0) - rspec-core (3.13.0) - rspec-support (~> 3.13.0) - rspec-expectations (3.13.0) - diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.13.0) - rspec-mocks (3.13.1) - diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.13.0) - rspec-support (3.13.1) - rubocop (1.63.5) - json (~> 2.3) - language_server-protocol (>= 3.17.0) - parallel (~> 1.10) - 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.31.1, < 2.0) - ruby-progressbar (~> 1.7) - unicode-display_width (>= 2.4.0, < 3.0) - rubocop-ast (1.31.3) - parser (>= 3.3.1.0) - rubocop-packaging (0.5.2) - rubocop (>= 1.33, < 2.0) - ruby-progressbar (1.13.0) - single_cov (1.11.0) - singleton (0.2.0) - sqlite3 (1.7.3) - mini_portile2 (~> 2.8.0) - stringio (3.1.0) - strscan (3.1.0) - thor (1.3.1) - timeout (0.4.1) - tzinfo (2.0.6) - concurrent-ruby (~> 1.0) - unicode-display_width (2.5.0) - webrick (1.8.1) - websocket-driver (0.7.6) - websocket-extensions (>= 0.1.0) - websocket-extensions (0.1.5) - zeitwerk (2.6.14) - -PLATFORMS - arm64-darwin - x86_64-darwin - x86_64-linux - -DEPENDENCIES - activerecord - bump - fast_gettext! - forking_test_runner - i18n - rails (~> 7.1.0) - rake - rspec - rubocop - rubocop-packaging - single_cov - sqlite3 (~> 1.4) - -BUNDLED WITH - 2.5.10 diff --git a/gemfiles/rails80.gemfile b/gemfiles/rails80.gemfile new file mode 100644 index 0000000..575f27b --- /dev/null +++ b/gemfiles/rails80.gemfile @@ -0,0 +1,6 @@ +source "https://rubygems.org" + +gemspec path: "../" + +gem "rails", "~> 8.0.0" +gem "sqlite3", "~> 2.1" # needs to match what AR wants diff --git a/gemfiles/rails80.gemfile.lock b/gemfiles/rails80.gemfile.lock new file mode 100644 index 0000000..561c952 --- /dev/null +++ b/gemfiles/rails80.gemfile.lock @@ -0,0 +1,262 @@ +PATH + remote: .. + specs: + fast_gettext (4.0.0) + prime + racc + +GEM + remote: https://rubygems.org/ + specs: + actioncable (8.0.1) + actionpack (= 8.0.1) + activesupport (= 8.0.1) + nio4r (~> 2.0) + websocket-driver (>= 0.6.1) + zeitwerk (~> 2.6) + actionmailbox (8.0.1) + actionpack (= 8.0.1) + activejob (= 8.0.1) + activerecord (= 8.0.1) + activestorage (= 8.0.1) + activesupport (= 8.0.1) + mail (>= 2.8.0) + actionmailer (8.0.1) + actionpack (= 8.0.1) + actionview (= 8.0.1) + activejob (= 8.0.1) + activesupport (= 8.0.1) + mail (>= 2.8.0) + rails-dom-testing (~> 2.2) + actionpack (8.0.1) + actionview (= 8.0.1) + activesupport (= 8.0.1) + nokogiri (>= 1.8.5) + rack (>= 2.2.4) + rack-session (>= 1.0.1) + rack-test (>= 0.6.3) + rails-dom-testing (~> 2.2) + rails-html-sanitizer (~> 1.6) + useragent (~> 0.16) + actiontext (8.0.1) + actionpack (= 8.0.1) + activerecord (= 8.0.1) + activestorage (= 8.0.1) + activesupport (= 8.0.1) + globalid (>= 0.6.0) + nokogiri (>= 1.8.5) + actionview (8.0.1) + activesupport (= 8.0.1) + builder (~> 3.1) + erubi (~> 1.11) + rails-dom-testing (~> 2.2) + rails-html-sanitizer (~> 1.6) + activejob (8.0.1) + activesupport (= 8.0.1) + globalid (>= 0.3.6) + activemodel (8.0.1) + activesupport (= 8.0.1) + activerecord (8.0.1) + activemodel (= 8.0.1) + activesupport (= 8.0.1) + timeout (>= 0.4.0) + activestorage (8.0.1) + actionpack (= 8.0.1) + activejob (= 8.0.1) + activerecord (= 8.0.1) + activesupport (= 8.0.1) + marcel (~> 1.0) + activesupport (8.0.1) + base64 + benchmark (>= 0.3) + bigdecimal + concurrent-ruby (~> 1.0, >= 1.3.1) + connection_pool (>= 2.2.5) + drb + i18n (>= 1.6, < 2) + logger (>= 1.4.2) + minitest (>= 5.1) + securerandom (>= 0.3) + tzinfo (~> 2.0, >= 2.0.5) + uri (>= 0.13.1) + ast (2.4.2) + base64 (0.2.0) + benchmark (0.4.0) + bigdecimal (3.1.9) + builder (3.3.0) + bump (0.10.0) + concurrent-ruby (1.3.4) + connection_pool (2.4.1) + crass (1.0.6) + date (3.4.1) + diff-lcs (1.5.1) + drb (2.2.1) + erubi (1.13.1) + forking_test_runner (1.15.0) + parallel_tests (>= 1.3.7) + forwardable (1.3.3) + globalid (1.2.1) + activesupport (>= 6.1) + i18n (1.14.6) + concurrent-ruby (~> 1.0) + io-console (0.8.0) + irb (1.14.3) + rdoc (>= 4.0.0) + reline (>= 0.4.2) + json (2.9.1) + language_server-protocol (3.17.0.3) + logger (1.6.4) + loofah (2.24.0) + crass (~> 1.0.2) + nokogiri (>= 1.12.0) + mail (2.8.1) + mini_mime (>= 0.1.1) + net-imap + net-pop + net-smtp + marcel (1.0.4) + mini_mime (1.1.5) + mini_portile2 (2.8.8) + minitest (5.25.4) + net-imap (0.5.5) + date + net-protocol + net-pop (0.1.2) + net-protocol + net-protocol (0.2.2) + timeout + net-smtp (0.5.0) + net-protocol + nio4r (2.7.4) + nokogiri (1.18.1) + mini_portile2 (~> 2.8.2) + racc (~> 1.4) + nokogiri (1.18.1-arm64-darwin) + racc (~> 1.4) + parallel (1.26.3) + parallel_tests (4.8.0) + parallel + parser (3.3.6.0) + ast (~> 2.4.1) + racc + prime (0.1.3) + forwardable + singleton + psych (5.2.2) + date + stringio + racc (1.8.1) + rack (3.1.8) + rack-session (2.1.0) + base64 (>= 0.1.0) + rack (>= 3.0.0) + rack-test (2.2.0) + rack (>= 1.3) + rackup (2.2.1) + rack (>= 3) + rails (8.0.1) + actioncable (= 8.0.1) + actionmailbox (= 8.0.1) + actionmailer (= 8.0.1) + actionpack (= 8.0.1) + actiontext (= 8.0.1) + actionview (= 8.0.1) + activejob (= 8.0.1) + activemodel (= 8.0.1) + activerecord (= 8.0.1) + activestorage (= 8.0.1) + activesupport (= 8.0.1) + bundler (>= 1.15.0) + railties (= 8.0.1) + rails-dom-testing (2.2.0) + activesupport (>= 5.0.0) + minitest + nokogiri (>= 1.6) + rails-html-sanitizer (1.6.2) + loofah (~> 2.21) + 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) + railties (8.0.1) + actionpack (= 8.0.1) + activesupport (= 8.0.1) + irb (~> 1.13) + rackup (>= 1.0.0) + rake (>= 12.2) + thor (~> 1.0, >= 1.2.2) + zeitwerk (~> 2.6) + rainbow (3.1.1) + rake (13.2.1) + rdoc (6.10.0) + psych (>= 4.0.0) + regexp_parser (2.10.0) + reline (0.6.0) + io-console (~> 0.5) + rspec (3.13.0) + rspec-core (~> 3.13.0) + rspec-expectations (~> 3.13.0) + rspec-mocks (~> 3.13.0) + rspec-core (3.13.2) + rspec-support (~> 3.13.0) + rspec-expectations (3.13.3) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.13.0) + rspec-mocks (3.13.2) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.13.0) + rspec-support (3.13.2) + rubocop (1.69.2) + json (~> 2.3) + language_server-protocol (>= 3.17.0) + parallel (~> 1.10) + parser (>= 3.3.0.2) + rainbow (>= 2.2.2, < 4.0) + regexp_parser (>= 2.9.3, < 3.0) + rubocop-ast (>= 1.36.2, < 2.0) + ruby-progressbar (~> 1.7) + unicode-display_width (>= 2.4.0, < 4.0) + rubocop-ast (1.37.0) + parser (>= 3.3.1.0) + rubocop-packaging (0.5.2) + rubocop (>= 1.33, < 2.0) + ruby-progressbar (1.13.0) + securerandom (0.4.1) + single_cov (1.11.0) + singleton (0.3.0) + sqlite3 (2.5.0) + mini_portile2 (~> 2.8.0) + sqlite3 (2.5.0-arm64-darwin) + stringio (3.1.2) + thor (1.3.2) + timeout (0.4.3) + tzinfo (2.0.6) + concurrent-ruby (~> 1.0) + unicode-display_width (3.1.3) + unicode-emoji (~> 4.0, >= 4.0.4) + unicode-emoji (4.0.4) + uri (1.0.2) + useragent (0.16.11) + websocket-driver (0.7.7) + base64 + websocket-extensions (>= 0.1.0) + websocket-extensions (0.1.5) + zeitwerk (2.7.1) + +PLATFORMS + arm64-darwin-23 + ruby + +DEPENDENCIES + activerecord + bump + fast_gettext! + forking_test_runner + i18n + rails (~> 8.0.0) + rake + rspec + rubocop + rubocop-packaging + single_cov + sqlite3 (~> 2.1) + +BUNDLED WITH + 2.6.2