summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Doubrovkine (dB.) @dblockdotorg <dblock@dblock.org>2016-12-05 12:45:48 -0500
committerGitHub <noreply@github.com>2016-12-05 12:45:48 -0500
commit78d9b8157b2b5a671a5f9dc520035106fa5a5dcd (patch)
treece9cabcd380686063a1a445ae84c798bd16fb17b
parente35e628dddcc0439948a78189a90d057da7f59fb (diff)
parenta59592e0328e54b859200340ada52832ff6c0a9c (diff)
downloadhashie-78d9b8157b2b5a671a5f9dc520035106fa5a5dcd.tar.gz
Merge pull request #384 from boffbowsh/update-code-climate
Update to CodeClimate 1.0.x
-rw-r--r--.travis.yml1
-rw-r--r--CHANGELOG.md1
-rw-r--r--Gemfile2
-rw-r--r--spec/spec_helper.rb4
4 files changed, 5 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index b07acf1..c88e149 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -18,6 +18,7 @@ matrix:
- rvm: 2.3.1
script:
- bundle exec danger
+ - bundle exec codeclimate-test-reporter
allow_failures:
- rvm: ruby-head
- rvm: jruby-head
diff --git a/CHANGELOG.md b/CHANGELOG.md
index deecb4e..b05d9a7 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -17,6 +17,7 @@ scheme are considered to be bugs.
### Changed
+* [#384](https://github.com/intridea/hashie/pull/384): Updated to CodeClimate 1.x - [@boffbowsh](https://github.com/boffbowsh).
* Your contribution here.
### Deprecated
diff --git a/Gemfile b/Gemfile
index 6576e5f..0b82bb8 100644
--- a/Gemfile
+++ b/Gemfile
@@ -13,7 +13,7 @@ end
group :test do
# ActiveSupport required to test compatibility with ActiveSupport Core Extensions.
gem 'activesupport', '~> 4.x', require: false
- gem 'codeclimate-test-reporter', require: false
+ gem 'codeclimate-test-reporter', '~> 1.0', require: false
gem 'rspec-core', '~> 3.1.7'
gem 'danger-changelog', '~> 0.1.0', require: false
end
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index d7b297e..5ca9f5c 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -1,6 +1,6 @@
if ENV['CI']
- require 'codeclimate-test-reporter'
- CodeClimate::TestReporter.start
+ require 'simplecov'
+ SimpleCov.start
end
require 'pry'