Skip to content

Commit

Permalink
Merge pull request #713 from amatsuda/ci_ruby27
Browse files Browse the repository at this point in the history
Quit CIing against Rubies < 2.7 and Rails < 4.2
  • Loading branch information
flyerhzm authored Aug 11, 2024
2 parents 367b62d + 42835a9 commit c86dbb2
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 37 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
gemfile: ['Gemfile.rails-4.0', 'Gemfile.rails-4.1', 'Gemfile.rails-4.2']
gemfile: ['Gemfile.rails-4.2']
env: # $BUNDLE_GEMFILE must be set at the job level, so it is set for all steps
BUNDLE_GEMFILE: ${{ github.workspace }}/${{ matrix.gemfile }}
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.3
ruby-version: 2.7
bundler: 1
bundler-cache: true
- name: Run tests
Expand All @@ -43,7 +43,7 @@ jobs:
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.5
ruby-version: 2.7
bundler: 1
bundler-cache: true
- name: Run tests
Expand Down
16 changes: 0 additions & 16 deletions Gemfile.rails-4.0

This file was deleted.

16 changes: 0 additions & 16 deletions Gemfile.rails-4.1

This file was deleted.

2 changes: 2 additions & 0 deletions Gemfile.rails-4.2
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ gem 'activerecord-jdbcsqlite3-adapter', platforms: [:jruby]
gem 'activerecord-import'
gem 'tins', '~> 1.6.0', platforms: [:ruby_19]

gem 'bigdecimal', '~> 1.4'

gem "rspec"

platforms :rbx do
Expand Down
2 changes: 1 addition & 1 deletion MIT-LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2009 - 2022 Richard Huang (flyerhzm@gmail.com)
Copyright (c) 2009 - 2024 Richard Huang (flyerhzm@gmail.com)

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
Expand Down
2 changes: 1 addition & 1 deletion bullet.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Gem::Specification.new do |s|

s.license = 'MIT'

s.required_ruby_version = '>= 2.3'
s.required_ruby_version = '>= 2.7.0'
s.required_rubygems_version = '>= 1.3.6'

s.add_runtime_dependency 'activesupport', '>= 3.0.0'
Expand Down

0 comments on commit c86dbb2

Please sign in to comment.