Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
  • 2 commits
  • 3 files changed
  • 0 commit comments
  • 1 contributor
Showing with 15 additions and 10 deletions.
  1. +0 −1  .simplecov
  2. +8 −8 silencer.gemspec
  3. +7 −1 spec/spec_helper.rb
View
1  .simplecov
@@ -1 +0,0 @@
-SimpleCov.start
View
16 silencer.gemspec
@@ -10,15 +10,15 @@ Gem::Specification.new do |gem|
gem.description = 'Selectively quiet your Rails logger on a per-action basis'
gem.summary = gem.description
- gem.add_development_dependency('rake', '~> 0.9')
- gem.add_development_dependency('rspec', '~> 2.6')
- gem.add_development_dependency('yard', '~> 0.7')
- gem.add_development_dependency('rdiscount', '~> 1.6')
- gem.add_development_dependency('simplecov', '~> 0.5')
- gem.add_development_dependency('guard', '~> 0.8')
- gem.add_development_dependency('guard-rspec', '~> 0.5')
+ gem.add_development_dependency 'rake'
+ gem.add_development_dependency 'rspec'
+ gem.add_development_dependency 'yard'
+ gem.add_development_dependency 'rdiscount'
+ gem.add_development_dependency 'simplecov'
+ gem.add_development_dependency 'guard'
+ gem.add_development_dependency 'guard-rspec'
- gem.add_dependency 'railties', '~> 3'
+ gem.add_dependency 'railties', '>= 3'
gem.files = `git ls-files`.split("\n")
gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
View
8 spec/spec_helper.rb
@@ -1,4 +1,10 @@
-require 'simplecov'
+unless ENV['CI']
+ require 'simplecov'
+ SimpleCov.start do
+ add_group 'Silencer', 'lib/silencer'
+ add_group 'Specs', 'spec'
+ end
+end
$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))

No commit comments for this range

Something went wrong with that request. Please try again.