Skip to content

Commit 48530e5

Browse files
benoittgtpirj
authored andcommitted
Avoid warning message when installing gem
Avoid: Failures: 1) Verify required rspec dependencies passes when libraries are required Got 1 failure and 1 other error: 1.1) Failure/Error: expect(`bundle exec #{script} 2>&1`).to be_empty expected `"WARNING: open-ended dependency on activesupport (>= 4.2) is not recommended\n if activesupport is ... 'railties', '~> 4.2'\nWARNING: See http://guides.rubygems.org/specification-reference/ for help\n".empty?` to return true, got false
1 parent 555f541 commit 48530e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rspec-rails.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Gem::Specification.new do |s|
3333
s.cert_chain = [File.expand_path('~/.gem/rspec-gem-public_cert.pem')]
3434
end
3535

36-
version_string = ['>= 4.2']
36+
version_string = ['>= 4.2', '< 7.0']
3737

3838
s.add_runtime_dependency %q<activesupport>, version_string
3939
s.add_runtime_dependency %q<actionpack>, version_string

0 commit comments

Comments
 (0)