File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919 bundler-cache : true
2020 - name : Build and run tests
2121 run : |
22- RUBY_VERSION_STR="${{ matrix.ruby-version }}"
23- case "$RUBY_VERSION_STR" in
24- 2.6*) BUNDLER_CONSTRAINT=">= 2.2.0, < 2.4.22" ;;
25- 2.7*) BUNDLER_CONSTRAINT="2.4.22" ;;
26- 3.0) BUNDLER_CONSTRAINT=">= 2.4.0, < 2.7.2" ;;
27- 3.1) BUNDLER_CONSTRAINT=">= 2.4.0, < 2.7.2" ;;
28- 3.2) BUNDLER_CONSTRAINT=">= 2.7.2, < 4" ;;
29- 3.3) BUNDLER_CONSTRAINT=">= 2.7.2, < 4" ;;
30- 3.4) BUNDLER_CONSTRAINT=">= 2.7.2, < 4" ;;
31- esac
32-
33- gem install bundler -v "$BUNDLER_CONSTRAINT"
34- echo "Bundler installed: $(bundle -v)"
22+ gem install bundler -v 2.4.22
3523 bundle install --jobs 4 --retry 3
3624 bundle exec rake
Original file line number Diff line number Diff line change 1212
1313.ruby-version
1414.tool-versions
15+
16+ Gemfile.lock
Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
77# Specify your gem's dependencies in skunk.gemspec
88gemspec
99
10- gem "base64" , "~> 0.3.0" if Gem ::Version . new ( RUBY_VERSION ) >= Gem ::Version . new ( "3.4" )
1110gem "reek" , "~> 6.1"
1211gem "rubocop" , "~> 1.48"
1312gem "vcr" , "~> 6.1.0"
Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ Gem::Specification.new do |spec|
3838 spec . executables = spec . files . grep ( %r{^exe/} ) { |f | File . basename ( f ) }
3939 spec . require_paths = [ "lib" ]
4040
41+ spec . add_dependency "base64"
4142 spec . add_dependency "rubycritic" , ">= 4.5.2" , "< 5.0"
4243 spec . add_dependency "terminal-table" , "~> 3.0"
4344
You can’t perform that action at this time.
0 commit comments