Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bump ruby #145

Merged
merged 2 commits into from
Jan 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,19 @@ 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.2', '3.3', '3.4' ]
task: [ 'default' ]
gemfile: [ 'rails71' ]
gemfile: [ 'rails80' ]
include:
- ruby: '3.0' # 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
Expand All @@ -33,7 +34,7 @@ jobs:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.0
ruby-version: '3.2' # 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.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
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 (4.0.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.2.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 latest activerecord requires
s.add_development_dependency 'rspec'
s.add_development_dependency 'activerecord'
s.add_development_dependency 'i18n'
Expand Down
5 changes: 0 additions & 5 deletions gemfiles/rails71.gemfile

This file was deleted.

Loading
Loading