Skip to content

Commit

Permalink
dep: Set minimum Ruby version to 2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
jylamont committed Jan 7, 2025
1 parent 188001e commit d3bf358
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 27 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Install Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6.8
ruby-version: 2.7.8
bundler-cache: true

- name: RuboCop
Expand All @@ -27,7 +27,7 @@ jobs:

strategy:
matrix:
ruby-version: ["2.6.8", "2.7.8", "3.0.6", "3.1.4", "3.2.3", "3.3.0"]
ruby-version: ["2.7.8", "3.0", "3.1", "3.2", "3.3", "3.4"]

steps:
- uses: actions/checkout@v2
Expand Down
3 changes: 2 additions & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
inherit_from: .rubocop_todo.yml

AllCops:
TargetRubyVersion: 2.6
TargetRubyVersion: 2.7
NewCops: enable
SuggestExtensions: false

Layout/LineLength:
Enabled: false
Expand Down
10 changes: 0 additions & 10 deletions devbox.json

This file was deleted.

12 changes: 0 additions & 12 deletions devbox.lock

This file was deleted.

4 changes: 2 additions & 2 deletions vero.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ Gem::Specification.new do |spec|
spec.summary = 'Ruby gem for Vero'
spec.description = 'Ruby gem for Vero'
spec.homepage = 'http://www.getvero.com/'
spec.metadata['rubygems_mfa_required'] = 'true'

spec.files = Dir['**/*']
spec.executables = Dir['bin/*'].map { |f| File.basename(f) }
spec.require_paths = ['lib']

spec.required_ruby_version = '>= 2.6.6'
spec.required_ruby_version = '>= 2.7'

spec.add_runtime_dependency 'json'
spec.add_runtime_dependency 'rest-client'
spec.metadata['rubygems_mfa_required'] = 'true'
end

0 comments on commit d3bf358

Please sign in to comment.