Skip to content

Commit

Permalink
drop unsupported version of rubies (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
seuros authored Aug 5, 2022
1 parent e239e1d commit 59157c1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 11 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,8 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: ['2.6', '2.7', '3.0', 'jruby', 'truffleruby']
ruby-version: ['2.7', '3.0', 'jruby', 'truffleruby']
gemfiles:
- gemfiles/active_model_5.1.gemfile
- gemfiles/active_model_5.2.gemfile
- gemfiles/active_model_6.0.gemfile
- gemfiles/active_model_6.1.gemfile
- gemfiles/active_model_7.0.gemfile
Expand All @@ -28,14 +26,10 @@ jobs:
gemfiles: gemfiles/active_model_5.1.gemfile
- ruby-version: 'truffleruby'
gemfiles: gemfiles/active_model_5.2.gemfile
- ruby-version: '2.6'
gemfiles: gemfiles/active_model_7.0.gemfile
- ruby-version: 'jruby'
gemfiles: gemfiles/active_model_7.0.gemfile
- ruby-version: 'truffleruby'
gemfiles: gemfiles/active_model_7.0.gemfile
- ruby-version: '2.6'
gemfiles: gemfiles/active_model_edge.gemfile
- ruby-version: 'jruby'
gemfiles: gemfiles/active_model_edge.gemfile
- ruby-version: 'truffleruby'
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ source 'https://rubygems.org'
# Specify your gem's dependencies in state_machine2_activemodel.gemspec
gemspec

platforms :mri_20, :mri_21 do
platforms :mri do
gem 'pry-byebug'
end
6 changes: 3 additions & 3 deletions state_machines-activemodel.gemspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'state_machines/integrations/active_model/version'
require_relative 'lib/state_machines/integrations/active_model/version'

Gem::Specification.new do |spec|
spec.name = 'state_machines-activemodel'
Expand All @@ -16,9 +16,9 @@ Gem::Specification.new do |spec|
spec.files = `git ls-files -z`.split("\x0")
spec.test_files = spec.files.grep(/^test\//)
spec.require_paths = ['lib']
spec.required_ruby_version = '>= 2.2.2'
spec.required_ruby_version = '>= 2.6.8'
spec.add_dependency 'state_machines', '>= 0.5.0'
spec.add_dependency 'activemodel', '>= 5.1'
spec.add_dependency 'activemodel', '>= 6.0'

spec.add_development_dependency 'bundler', '>= 1.6'
spec.add_development_dependency 'rake', '>= 10'
Expand Down

0 comments on commit 59157c1

Please sign in to comment.