coveralls 0.7.1 → 0.7.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2b4b79d112b23fa2383f40994e33d8c197566ded
4
- data.tar.gz: e10986ebd08afe821cf47dcaecd79e72b9b735af
3
+ metadata.gz: d4b515f80c81571bd9c6e1894232f6a2114991a8
4
+ data.tar.gz: 3a453843a1d41147da0a34609befec50fa3bf91a
5
5
  SHA512:
6
- metadata.gz: 8b3108e79e523aa7893b0854737adf155ed77ff1e91387583227027e851307f45d2f6a8922231c5178f7425946772660fabb1cab0409813bdcda09b47f0b5637
7
- data.tar.gz: cb485eec58a0e30d51c411738a5762a267c86668c0d357d107dc1500608515d2bc1c47c4e0dc61bac8c97e6e6675e44943f1387af69adbe9c67228c5c7f2d365
6
+ metadata.gz: 8ac6870018a804ceb8e8cd58970a9c60acef95a5a46e4324f341935056a139ecabe7a1cecc9c972aba73c8c1173f74b4eaadbdade6e85ae4423b791666f68886
7
+ data.tar.gz: b0eb872d7aef31754a56c1d6e6bbe6f05f479fd60afd8c31ca9988628b7b8bf92740e4b02c90addd9bf2af7c0d890299f06940c904db11b328acb8b1d2178e2b
@@ -1 +1 @@
1
- 2.0.0-p0
1
+ 2.1.3
@@ -15,10 +15,10 @@ Gem::Specification.new do |gem|
15
15
  gem.require_paths = ["lib"]
16
16
  gem.version = Coveralls::VERSION
17
17
 
18
- gem.add_dependency 'rest-client'
19
- gem.add_dependency 'term-ansicolor'
18
+ gem.add_dependency 'rest-client','1.6.7'
19
+ gem.add_dependency 'term-ansicolor', '1.2.2'
20
20
  gem.add_dependency 'multi_json', '~> 1.3'
21
- gem.add_dependency 'thor'
21
+ gem.add_dependency 'thor', '0.18.1'
22
22
 
23
23
  if Gem::Version.new(RUBY_VERSION.dup) >= Gem::Version.new("1.9")
24
24
  gem.add_dependency 'simplecov', ">= 0.7"
@@ -26,8 +26,8 @@ Gem::Specification.new do |gem|
26
26
 
27
27
  gem.add_runtime_dependency('jruby-openssl') if RUBY_PLATFORM == 'java'
28
28
 
29
- gem.add_development_dependency 'rspec'
30
- gem.add_development_dependency 'rake'
29
+ gem.add_development_dependency 'rspec', '2.14.1'
30
+ gem.add_development_dependency 'rake', '10.0.3'
31
31
  gem.add_development_dependency 'webmock', '1.7'
32
32
  gem.add_development_dependency 'vcr', '1.11.3'
33
33
  end
@@ -21,7 +21,7 @@ module Coveralls
21
21
  Coveralls::Output.puts("#{ MultiJson.dump(hash, :pretty => true) }", :color => "green") if ENV['COVERALLS_DEBUG']
22
22
  hash = apified_hash hash
23
23
  Coveralls::Output.puts("[Coveralls] Submitting to #{API_BASE}", :color => "cyan")
24
- response = RestClient.post(url, :json_file => hash_to_file(hash))
24
+ response = RestClient::Request.execute(:method => :post, :url => url, :payload => { :json_file => hash_to_file(hash) }, :ssl_version => 'SSLv23')
25
25
  response_hash = MultiJson.load(response.to_str)
26
26
  Coveralls::Output.puts("[Coveralls] #{ response_hash['message'] }", :color => "cyan")
27
27
  if response_hash['message']
@@ -1,3 +1,3 @@
1
1
  module Coveralls
2
- VERSION = "0.7.1"
2
+ VERSION = "0.7.2"
3
3
  end
@@ -9,7 +9,7 @@ describe Coveralls do
9
9
 
10
10
  describe "#will_run?" do
11
11
  it "checks CI environemnt variables" do
12
- Coveralls.will_run?.should be_true
12
+ Coveralls.will_run?.should be_truthy
13
13
  end
14
14
 
15
15
  context "with CI disabled" do
@@ -28,7 +28,7 @@ describe Coveralls do
28
28
  end
29
29
 
30
30
  it "indicates no run" do
31
- Coveralls.will_run?.should be_false
31
+ Coveralls.will_run?.should be_falsy
32
32
  end
33
33
  end
34
34
  end
@@ -61,7 +61,7 @@ describe Coveralls do
61
61
  end
62
62
 
63
63
  it "uses default" do
64
- ::SimpleCov.should_receive(:start).with
64
+ ::SimpleCov.should_receive(:start).with no_args
65
65
  silence do
66
66
  subject.wear!
67
67
  end
@@ -87,7 +87,7 @@ describe Coveralls do
87
87
  silence do
88
88
  result = subject.push!
89
89
  end
90
- result.should be_true
90
+ result.should be_truthy
91
91
  end
92
92
  end
93
93
 
@@ -33,7 +33,7 @@ describe Coveralls::SimpleCov::Formatter do
33
33
  it "posts json" do
34
34
  result.files.should_not be_empty
35
35
  silence do
36
- Coveralls::SimpleCov::Formatter.new.format(result).should be_true
36
+ Coveralls::SimpleCov::Formatter.new.format(result).should be_truthy
37
37
  end
38
38
  end
39
39
  end
@@ -41,7 +41,7 @@ describe Coveralls::SimpleCov::Formatter do
41
41
  context "should not run, noisy" do
42
42
  it "only displays result" do
43
43
  silence do
44
- Coveralls::SimpleCov::Formatter.new.display_result(result).should be_true
44
+ Coveralls::SimpleCov::Formatter.new.display_result(result).should be_truthy
45
45
  end
46
46
  end
47
47
  end
@@ -64,7 +64,7 @@ describe Coveralls::SimpleCov::Formatter do
64
64
  it "rescues" do
65
65
  e = RestClient::ResourceNotFound.new double('HTTP Response', :code => '502')
66
66
  silence do
67
- Coveralls::SimpleCov::Formatter.new.display_error(e).should be_false
67
+ Coveralls::SimpleCov::Formatter.new.display_error(e).should be_falsy
68
68
  end
69
69
  end
70
70
  end
@@ -33,10 +33,15 @@ VCR.config do |c|
33
33
  end
34
34
 
35
35
  RSpec.configure do |config|
36
- config.treat_symbols_as_metadata_keys_with_true_values = true
37
36
  config.run_all_when_everything_filtered = true
38
37
  config.filter_run :focus
39
38
  config.include WebMock::API
39
+ config.expect_with :rspec do |c|
40
+ c.syntax = [:should, :expect]
41
+ end
42
+ config.mock_with :rspec do |c|
43
+ c.syntax = [:should, :expect]
44
+ end
40
45
  config.after(:suite) do
41
46
  WebMock.disable!
42
47
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: coveralls
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1
4
+ version: 0.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Merwin
@@ -9,106 +9,106 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-08-15 00:00:00.000000000 Z
12
+ date: 2014-11-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rest-client
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - '>='
18
+ - - '='
19
19
  - !ruby/object:Gem::Version
20
- version: '0'
20
+ version: 1.6.7
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - '>='
25
+ - - '='
26
26
  - !ruby/object:Gem::Version
27
- version: '0'
27
+ version: 1.6.7
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: term-ansicolor
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - '>='
32
+ - - '='
33
33
  - !ruby/object:Gem::Version
34
- version: '0'
34
+ version: 1.2.2
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - '>='
39
+ - - '='
40
40
  - !ruby/object:Gem::Version
41
- version: '0'
41
+ version: 1.2.2
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: multi_json
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
- - - ~>
46
+ - - "~>"
47
47
  - !ruby/object:Gem::Version
48
48
  version: '1.3'
49
49
  type: :runtime
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
- - - ~>
53
+ - - "~>"
54
54
  - !ruby/object:Gem::Version
55
55
  version: '1.3'
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: thor
58
58
  requirement: !ruby/object:Gem::Requirement
59
59
  requirements:
60
- - - '>='
60
+ - - '='
61
61
  - !ruby/object:Gem::Version
62
- version: '0'
62
+ version: 0.18.1
63
63
  type: :runtime
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - '>='
67
+ - - '='
68
68
  - !ruby/object:Gem::Version
69
- version: '0'
69
+ version: 0.18.1
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: simplecov
72
72
  requirement: !ruby/object:Gem::Requirement
73
73
  requirements:
74
- - - '>='
74
+ - - ">="
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0.7'
77
77
  type: :runtime
78
78
  prerelease: false
79
79
  version_requirements: !ruby/object:Gem::Requirement
80
80
  requirements:
81
- - - '>='
81
+ - - ">="
82
82
  - !ruby/object:Gem::Version
83
83
  version: '0.7'
84
84
  - !ruby/object:Gem::Dependency
85
85
  name: rspec
86
86
  requirement: !ruby/object:Gem::Requirement
87
87
  requirements:
88
- - - '>='
88
+ - - '='
89
89
  - !ruby/object:Gem::Version
90
- version: '0'
90
+ version: 2.14.1
91
91
  type: :development
92
92
  prerelease: false
93
93
  version_requirements: !ruby/object:Gem::Requirement
94
94
  requirements:
95
- - - '>='
95
+ - - '='
96
96
  - !ruby/object:Gem::Version
97
- version: '0'
97
+ version: 2.14.1
98
98
  - !ruby/object:Gem::Dependency
99
99
  name: rake
100
100
  requirement: !ruby/object:Gem::Requirement
101
101
  requirements:
102
- - - '>='
102
+ - - '='
103
103
  - !ruby/object:Gem::Version
104
- version: '0'
104
+ version: 10.0.3
105
105
  type: :development
106
106
  prerelease: false
107
107
  version_requirements: !ruby/object:Gem::Requirement
108
108
  requirements:
109
- - - '>='
109
+ - - '='
110
110
  - !ruby/object:Gem::Version
111
- version: '0'
111
+ version: 10.0.3
112
112
  - !ruby/object:Gem::Dependency
113
113
  name: webmock
114
114
  requirement: !ruby/object:Gem::Requirement
@@ -146,10 +146,10 @@ executables:
146
146
  extensions: []
147
147
  extra_rdoc_files: []
148
148
  files:
149
- - .gitignore
150
- - .rspec
151
- - .ruby-version
152
- - .travis.yml
149
+ - ".gitignore"
150
+ - ".rspec"
151
+ - ".ruby-version"
152
+ - ".travis.yml"
153
153
  - CHANGELOG.md
154
154
  - Gemfile
155
155
  - LICENSE
@@ -187,17 +187,17 @@ require_paths:
187
187
  - lib
188
188
  required_ruby_version: !ruby/object:Gem::Requirement
189
189
  requirements:
190
- - - '>='
190
+ - - ">="
191
191
  - !ruby/object:Gem::Version
192
192
  version: '0'
193
193
  required_rubygems_version: !ruby/object:Gem::Requirement
194
194
  requirements:
195
- - - '>='
195
+ - - ">="
196
196
  - !ruby/object:Gem::Version
197
197
  version: '0'
198
198
  requirements: []
199
199
  rubyforge_project:
200
- rubygems_version: 2.1.5
200
+ rubygems_version: 2.2.2
201
201
  signing_key:
202
202
  specification_version: 4
203
203
  summary: A Ruby implementation of the Coveralls API.