Skip to content

Commit

Permalink
feat: support Ruby 2.6 and 2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Rath committed Aug 12, 2023
1 parent 3149fe3 commit 0cdca27
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
ruby: ['3.0', '3.1', head]
ruby: ['2.6', '2.7', '3.0', '3.1', head]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
Expand All @@ -42,6 +42,6 @@ jobs:
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.0'
ruby-version: '2.6'
bundler-cache: true
- run: bundle exec rubocop
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ AllCops:
NewCops: enable
DisplayCopNames: true
DisplayStyleGuide: true
TargetRubyVersion: 3.0
TargetRubyVersion: 2.6
Exclude:
- 'bin/*'
- 'node_modules/**/*'
Expand Down
2 changes: 1 addition & 1 deletion package_json.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
spec.description = "It does stuff"
spec.homepage = "https://github.com/G-Rath/package_json"
spec.license = "MIT"
spec.required_ruby_version = ">= 3.0.0"
spec.required_ruby_version = ">= 2.6.0"

spec.metadata["allowed_push_host"] = "TODO: Set to your gem server 'https://example.com'"

Expand Down

0 comments on commit 0cdca27

Please sign in to comment.