Skip to content

Commit

Permalink
bump ruby
Browse files Browse the repository at this point in the history
  • Loading branch information
grosser committed Jan 6, 2025
1 parent e3a7bae commit 556e964
Show file tree
Hide file tree
Showing 7 changed files with 46 additions and 36 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,17 @@ on:
branches: [master]
pull_request:
branches: [master]

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: [ '3.0', '3.1', '3.2', '3.3' ]
ruby: [ '3.1', '3.2', '3.3', '3.4' ]
task: [ 'default' ]
gemfile: [ 'rails71' ]
include:
- ruby: '3.0' # lowest supported version
- ruby: '3.1' # lowest supported version
task: rubocop
gemfile: rails71
name: ${{ matrix.ruby }} ${{ matrix.gemfile }} rake ${{ matrix.task }}
Expand All @@ -33,7 +34,7 @@ jobs:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.0
ruby-version: '3.1' # lowest supported version
bundler-cache: true
- run: gem i gettext && gem i activesupport && bundle exec rake benchmark
namespaces:
Expand All @@ -42,6 +43,6 @@ jobs:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.0
ruby-version: '3.1' # lowest supported version
bundler-cache: true
- run: echo 'gem "gettext"' >> Gemfile && echo 'gem "iconv"' >> Gemfile && bundle config unset deployment && bundle && bundle exec rake namespaces
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ require:
- rubocop-packaging

AllCops:
TargetRubyVersion: 3.0 # keep in sync with minimum version
TargetRubyVersion: 3.1 # keep in sync with minimum version
Exclude:
- vendor/**/*
- gemfiles/vendor/**/*
Expand Down
1 change: 1 addition & 0 deletions .ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.4.1
46 changes: 27 additions & 19 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,42 +3,47 @@ PATH
specs:
fast_gettext (3.1.0)
prime
racc

GEM
remote: https://rubygems.org/
specs:
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)
activemodel (8.0.1)
activesupport (= 8.0.1)
activerecord (8.0.1)
activemodel (= 8.0.1)
activesupport (= 8.0.1)
timeout (>= 0.4.0)
activesupport (7.1.3.3)
activesupport (8.0.1)
base64
benchmark (>= 0.3)
bigdecimal
concurrent-ruby (~> 1.0, >= 1.0.2)
concurrent-ruby (~> 1.0, >= 1.3.1)
connection_pool (>= 2.2.5)
drb
i18n (>= 1.6, < 2)
logger (>= 1.4.2)
minitest (>= 5.1)
mutex_m
tzinfo (~> 2.0)
securerandom (>= 0.3)
tzinfo (~> 2.0, >= 2.0.5)
uri (>= 0.13.1)
ast (2.4.2)
base64 (0.2.0)
bigdecimal (3.1.8)
benchmark (0.4.0)
bigdecimal (3.1.9)
bump (0.7.0)
concurrent-ruby (1.2.3)
concurrent-ruby (1.3.4)
connection_pool (2.4.1)
diff-lcs (1.3)
drb (2.2.1)
forking_test_runner (1.14.0)
parallel_tests (>= 1.3.7)
forwardable (1.3.3)
i18n (1.14.5)
i18n (1.14.6)
concurrent-ruby (~> 1.0)
mini_portile2 (2.8.6)
minitest (5.23.0)
mutex_m (0.2.0)
logger (1.6.4)
mini_portile2 (2.8.8)
minitest (5.25.4)
parallel (1.26.3)
parallel_tests (4.7.1)
parallel
Expand All @@ -47,8 +52,9 @@ GEM
prime (0.1.2)
forwardable
singleton
racc (1.8.1)
rainbow (3.1.1)
rake (12.3.2)
rake (13.2.1)
regexp_parser (2.2.0)
rexml (3.2.5)
rspec (3.8.0)
Expand Down Expand Up @@ -78,15 +84,17 @@ GEM
rubocop-packaging (0.5.1)
rubocop (>= 0.89, < 2.0)
ruby-progressbar (1.11.0)
securerandom (0.4.1)
single_cov (1.3.0)
singleton (0.2.0)
sqlite3 (1.7.3)
sqlite3 (2.5.0)
mini_portile2 (~> 2.8.0)
sqlite3 (1.7.3-x86_64-linux)
sqlite3 (2.5.0-x86_64-linux-gnu)
timeout (0.4.1)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
unicode-display_width (2.1.0)
uri (1.0.2)

PLATFORMS
ruby
Expand All @@ -103,7 +111,7 @@ DEPENDENCIES
rubocop
rubocop-packaging
single_cov
sqlite3 (~> 1.4)
sqlite3 (~> 2.1)

BUNDLED WITH
2.5.10
5 changes: 3 additions & 2 deletions fast_gettext.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +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.0.0'
s.required_ruby_version = '>= 3.1.0'
s.add_runtime_dependency 'prime'
s.add_runtime_dependency 'racc'

s.add_development_dependency 'rake'
s.add_development_dependency 'sqlite3', '~> 1.4' # need to match what activerecord requires
s.add_development_dependency 'sqlite3', '~> 2.1' # need to match what activerecord requires
s.add_development_dependency 'rspec'
s.add_development_dependency 'activerecord'
s.add_development_dependency 'i18n'
Expand Down
17 changes: 8 additions & 9 deletions gemfiles/rails71.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ PATH
specs:
fast_gettext (3.1.0)
prime
racc

GEM
remote: https://rubygems.org/
Expand Down Expand Up @@ -116,6 +117,7 @@ GEM
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)
Expand All @@ -128,11 +130,8 @@ GEM
net-smtp (0.5.0)
net-protocol
nio4r (2.7.3)
nokogiri (1.16.5-arm64-darwin)
racc (~> 1.4)
nokogiri (1.16.5-x86_64-darwin)
racc (~> 1.4)
nokogiri (1.16.5-x86_64-linux)
nokogiri (1.16.5)
mini_portile2 (~> 2.8.2)
racc (~> 1.4)
parallel (1.26.3)
parallel_tests (4.7.1)
Expand Down Expand Up @@ -223,9 +222,9 @@ GEM
ruby-progressbar (1.13.0)
single_cov (1.11.0)
singleton (0.2.0)
sqlite3 (1.7.3-arm64-darwin)
sqlite3 (1.7.3-x86_64-darwin)
sqlite3 (1.7.3-x86_64-linux)
sqlite3 (2.5.0-arm64-darwin)
sqlite3 (2.5.0-x86_64-darwin)
sqlite3 (2.5.0-x86_64-linux-gnu)
stringio (3.1.0)
strscan (3.1.0)
thor (1.3.1)
Expand Down Expand Up @@ -256,7 +255,7 @@ DEPENDENCIES
rubocop
rubocop-packaging
single_cov
sqlite3 (~> 1.4)
sqlite3 (~> 2.1)

BUNDLED WITH
2.5.10
2 changes: 1 addition & 1 deletion spec/fast_gettext/translation_repository/base_spec.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require "spec_helper"
require 'fast_gettext/translation_repository/base'

SingleCov.covered! uncovered: 9
SingleCov.covered! uncovered: 10

describe 'FastGettext::TranslationRepository::Base' do
before do
Expand Down

0 comments on commit 556e964

Please sign in to comment.