Skip to content

Commit ad0f38c

Browse files
committed
Upgrading to CodeClimate 1.0
1 parent 402deb4 commit ad0f38c

File tree

5 files changed

+9
-8
lines changed

5 files changed

+9
-8
lines changed

.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
addons:
22
apt:
33
packages:
4-
- libcurl-dev
4+
- libcurl-dev
55

66
language: ruby
77

@@ -16,3 +16,6 @@ rvm:
1616
addons:
1717
code_climate:
1818
repo_token: 8f697ca756250f0c2c54170ae27e8a9c459d18a0236903b11291c88291b3aac9
19+
20+
after_success:
21+
- bundle exec codeclimate-test-reporter

Gemfile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
11
source 'https://rubygems.org'
22

33
gemspec
4-
5-
group :test do
6-
gem "codeclimate-test-reporter", require: nil
7-
end

HISTORY

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
=== CURRENT
22

33
* Adding support to Ruby 2.4 and head (James Pinto)
4+
* Upgrading to CodeClimate 1.0 (James Pinto)
45

56
=== 0.5.1 2016-02-29
67

oauth.gemspec

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,6 @@ Gem::Specification.new do |spec|
3131
spec.add_development_dependency("em-http-request", "0.2.11")
3232
spec.add_development_dependency("curb")
3333
spec.add_development_dependency("webmock", "< 2.0")
34+
spec.add_development_dependency("codeclimate-test-reporter")
35+
spec.add_development_dependency("simplecov")
3436
end

test/test_helper.rb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
ENV['RACK_ENV'] = 'test'
22

3-
require "codeclimate-test-reporter"
4-
CodeClimate::TestReporter.start
3+
require 'simplecov'
4+
SimpleCov.start
55

66
require 'rubygems'
77
require 'minitest/autorun'
@@ -14,6 +14,5 @@
1414
require 'oauth'
1515
require 'stringio'
1616
require 'webmock/minitest'
17-
WebMock.disable_net_connect!(allow: "codeclimate.com")
1817

1918
require 'support/minitest_helpers'

0 commit comments

Comments
 (0)