Skip to content

Commit

Permalink
more
Browse files Browse the repository at this point in the history
  • Loading branch information
grosser committed Jan 6, 2025
1 parent bf436b9 commit d011db8
Show file tree
Hide file tree
Showing 6 changed files with 276 additions and 274 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand All @@ -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
4 changes: 2 additions & 2 deletions fast_gettext.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
6 changes: 0 additions & 6 deletions gemfiles/rails71.gemfile

This file was deleted.

260 changes: 0 additions & 260 deletions gemfiles/rails71.gemfile.lock

This file was deleted.

6 changes: 6 additions & 0 deletions gemfiles/rails80.gemfile
Original file line number Diff line number Diff line change
@@ -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
Loading

0 comments on commit d011db8

Please sign in to comment.