-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Ruby version upgrade to v3.1
- Loading branch information
1 parent
79d40c4
commit 018b71d
Showing
11 changed files
with
34 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
AllCops: | ||
TargetRubyVersion: 2.4 | ||
TargetRubyVersion: 3.1 | ||
|
||
Style/Documentation: | ||
Enabled: false | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM ruby:2.5-alpine | ||
FROM ruby:3.1 | ||
|
||
RUN mkdir -p /usr/src/app | ||
WORKDIR /usr/src/app | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,22 +7,25 @@ Gem::Specification.new do |spec| | |
spec.name = 'vrt' | ||
spec.version = Vrt::VERSION | ||
spec.platform = Gem::Platform::RUBY | ||
spec.authors = ['Barnett Klane', 'Max Schwenk', 'Adam David'] | ||
spec.email = ['[email protected]', '[email protected]', '[email protected]'] | ||
spec.authors = ['Barnett Klane', 'Max Schwenk', 'Adam David', | ||
'Abhinav Nain'] | ||
spec.email = ['[email protected]', '[email protected]', | ||
'[email protected]', | ||
'[email protected]'] | ||
spec.date = Date.today.to_s | ||
spec.summary = "Ruby wrapper for Bugcrowd\'s Vulnerability Rating Taxonomy" | ||
spec.homepage = 'https://github.com/bugcrowd/vrt-ruby' | ||
spec.license = 'MIT' | ||
spec.files = Dir['lib/**/*.{rb,json}'] | ||
spec.require_paths = ['lib'] | ||
spec.required_ruby_version = '>= 2.4' | ||
spec.required_ruby_version = '>= 3.1' | ||
|
||
spec.add_development_dependency 'bundler', '~> 2.1' | ||
spec.add_development_dependency 'pry', '~> 0.11' | ||
spec.add_development_dependency 'rake', '~> 12.3' | ||
spec.add_development_dependency 'rspec', '~> 3.6' | ||
spec.add_development_dependency 'bundler', '~> 2.5.14' | ||
spec.add_development_dependency 'pry', '~> 0.14.2' | ||
spec.add_development_dependency 'rake', '~> 13.2.1' | ||
spec.add_development_dependency 'rspec', '~> 3.13' | ||
# TODO: investigate why rubocop's jaro-winkler dependency fails to install in our alpine linux image | ||
spec.add_development_dependency 'rubocop', '0.56.0' | ||
spec.add_development_dependency 'rubocop', '1.52.1' | ||
spec.metadata = { | ||
'homepage_uri' => 'https://github.com/bugcrowd/vrt-ruby', | ||
'changelog_uri' => 'https://github.com/bugcrowd/vrt-ruby/blob/master/CHANGELOG.md', | ||
|