Skip to content

Commit

Permalink
Merge pull request #72 from DannyBen/remove/ruby30-support
Browse files Browse the repository at this point in the history
Drop support for Ruby 3.0
  • Loading branch information
DannyBen authored Mar 23, 2024
2 parents 2f14242 + 47f75b3 commit 4aa943e
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ jobs:
runs-on: ubuntu-latest

strategy:
matrix: { ruby: ['3.0', '3.1', '3.2', '3.3'] }
matrix: { ruby: ['3.1', '3.2', '3.3'] }

steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install OS dependencies
run: sudo apt-get -y install libyaml-dev
Expand Down
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ inherit_mode:
- Exclude

AllCops:
TargetRubyVersion: 3.0
TargetRubyVersion: 3.1
Include:
- '**/runfile'
- '**/*.runfile'
Expand Down
12 changes: 6 additions & 6 deletions runfile.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,12 @@ Gem::Specification.new do |s|
s.executables = ['run']
s.homepage = '/~https://github.com/DannyBen/runfile'
s.license = 'MIT'
s.required_ruby_version = '>= 3.0'
s.required_ruby_version = '>= 3.1'

s.add_dependency 'colsole', '>= 0.8.2', '< 2.0'
s.add_dependency 'docopt_ng', '~> 0.7', '>= 0.7.1'
s.add_dependency 'gtx', '~> 0.1'
s.add_dependency 'requires', '>= 0.2', '< 2.0'

s.metadata = {
'homepage_uri' => '/~https://github.com/DannyBen/runfile',
Expand All @@ -28,9 +33,4 @@ Gem::Specification.new do |s|
'bug_tracker_uri' => '/~https://github.com/DannyBen/runfile/issues',
'rubygems_mfa_required' => 'true',
}

s.add_runtime_dependency 'colsole', '>= 0.8.2', '< 2.0'
s.add_runtime_dependency 'docopt_ng', '~> 0.7', '>= 0.7.1'
s.add_runtime_dependency 'gtx', '~> 0.1'
s.add_runtime_dependency 'requires', '>= 0.2', '< 2.0'
end
2 changes: 1 addition & 1 deletion spec/fixtures/sample_import_gem/sample_import_gem.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ Gem::Specification.new do |s|
s.email = 'db@dannyben.com'
s.files = Dir['*.runfile']
s.license = 'MIT'
s.required_ruby_version = '>= 3.0'
s.required_ruby_version = '>= 3.1'
s.metadata['rubygems_mfa_required'] = 'true'
end

0 comments on commit 4aa943e

Please sign in to comment.