Disable ruby interpreter warnings
This commit is contained in:
parent
fe860a31eb
commit
7541497684
5
Rakefile
5
Rakefile
|
@ -14,6 +14,11 @@ Rake::TestTask.new(:test) do |t|
|
||||||
t.libs << "test"
|
t.libs << "test"
|
||||||
t.pattern = "test/**/*_test.rb"
|
t.pattern = "test/**/*_test.rb"
|
||||||
t.verbose = false
|
t.verbose = false
|
||||||
|
|
||||||
|
# Enabling ruby interpreter warnings (-w) is, sadly, impractical. There are
|
||||||
|
# too many noisy warnings that we have no control over, e.g. caused by libs we
|
||||||
|
# depend on.
|
||||||
|
t.warning = false
|
||||||
end
|
end
|
||||||
|
|
||||||
require "rspec/core/rake_task"
|
require "rspec/core/rake_task"
|
||||||
|
|
|
@ -66,9 +66,10 @@ RSpec.configure do |config|
|
||||||
# - http://myronmars.to/n/dev-blog/2014/05/notable-changes-in-rspec-3#new__config_option_to_disable_rspeccore_monkey_patching
|
# - http://myronmars.to/n/dev-blog/2014/05/notable-changes-in-rspec-3#new__config_option_to_disable_rspeccore_monkey_patching
|
||||||
# config.disable_monkey_patching!
|
# config.disable_monkey_patching!
|
||||||
|
|
||||||
# This setting enables warnings. It's recommended, but in some cases may
|
# Enabling ruby interpreter warnings (-w) is, sadly, impractical. There are
|
||||||
# be too noisy due to issues in dependencies.
|
# too many noisy warnings that we have no control over, e.g. caused by libs we
|
||||||
# config.warnings = true
|
# depend on.
|
||||||
|
config.warnings = false
|
||||||
|
|
||||||
# Many RSpec users commonly either run the entire suite or an individual
|
# Many RSpec users commonly either run the entire suite or an individual
|
||||||
# file, and it's useful to allow more verbose output when running an
|
# file, and it's useful to allow more verbose output when running an
|
||||||
|
|
Loading…
Reference in New Issue