File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -6,3 +6,11 @@ git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
66
77# Specify your gem's dependencies in cose.gemspec
88gemspec
9+
10+ if Gem ::Version . new ( RUBY_VERSION . dup ) < Gem ::Version . new ( "2.6.0" )
11+ pinned_versions [ "rubocop" ] = "~> 1.11.0"
12+ end
13+
14+ pinned_versions . each do |gem_name , pinned_version_args |
15+ gem ( *[ gem_name , pinned_version_args ] . flatten )
16+ end
Original file line number Diff line number Diff line change @@ -39,6 +39,6 @@ Gem::Specification.new do |spec|
3939 spec . add_development_dependency "byebug" , "~> 11.0"
4040 spec . add_development_dependency "rake" , "~> 13.0"
4141 spec . add_development_dependency "rspec" , "~> 3.8"
42- spec . add_development_dependency "rubocop" , "0.80.1 "
42+ spec . add_development_dependency "rubocop" , "~> 1.0 "
4343 spec . add_development_dependency "rubocop-performance" , "~> 1.4"
4444end
You can’t perform that action at this time.
0 commit comments