-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #25 from DARIAEngineering/main
Add support for ruby 3.1
- Loading branch information
Showing
7 changed files
with
42 additions
and
16 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: Test | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
test: | ||
strategy: | ||
matrix: | ||
ruby_version: [2.5, 2.6, 2.7, '3.0', 3.1] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: ${{ matrix.ruby_version }} | ||
bundler-cache: true | ||
- name: Install dependencies | ||
run: bundle install --jobs=3 --retry=3 | ||
- name: Initialize submodule | ||
run: git submodule update --init | ||
- name: Run tests | ||
run: bundle exec rake |
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 +1 @@ | ||
3.0.0 | ||
3.1.0 |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
module RubyAudit | ||
VERSION = '2.0.0'.freeze | ||
VERSION = '2.1.0'.freeze | ||
end |
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 |
---|---|---|
|
@@ -5,7 +5,7 @@ require 'ruby_audit/version' | |
Gem::Specification.new do |spec| | ||
spec.name = 'ruby_audit' | ||
spec.version = RubyAudit::VERSION | ||
spec.authors = ['Jeff Cousens, Mike Saelim', 'John Zhang'] | ||
spec.authors = ['Jeff Cousens, Mike Saelim', 'John Zhang', 'Cristina Muñoz'] | ||
spec.email = ['[email protected]'] | ||
|
||
spec.summary = 'Checks Ruby and RubyGems against known vulnerabilities.' | ||
|
@@ -17,13 +17,13 @@ Gem::Specification.new do |spec| | |
spec.homepage = 'https://github.com/civisanalytics/ruby_audit' | ||
spec.license = 'GPL-3.0-or-later' | ||
|
||
spec.required_ruby_version = ['>= 2.5', '< 3.1'] | ||
spec.required_ruby_version = ['>= 2.5', '< 3.2'] | ||
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } | ||
spec.bindir = 'exe' | ||
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } | ||
spec.require_paths = ['lib'] | ||
|
||
spec.add_dependency 'bundler-audit', '~> 0.8.0' | ||
spec.add_dependency 'bundler-audit', '~> 0.9.0' | ||
spec.add_development_dependency 'pry', '~> 0.13.0' | ||
spec.add_development_dependency 'rake', '~> 13.0' | ||
spec.add_development_dependency 'rspec', '~> 3.9' | ||
|