coveralls 0.8.13 → 0.8.14

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: 8e552ef470469c773cc2ccf01012c69b97294867
4
- data.tar.gz: 506e8988be5803390888a04d928631968b998e92
3
+ metadata.gz: ad19910e5c595aa2c49b7564a8856bbdc10a00f2
4
+ data.tar.gz: 5e8746b4b3505eb18ff939886deaab65b034fd94
5
5
  SHA512:
6
- metadata.gz: 46cea3b08b017e7398f2825d4764a372772db94262f9e0322058cf27b7b4eb136ce7bdf1de87380e25634fbba7722aef6f189d3f2b7bb698b3436e929d3ac165
7
- data.tar.gz: d1c67aa3e781e34a844115def1ee486922702344fa631c00d9ff5827778aa9afe9bd96ab7a6b8361179e566124e7eb4227fa73696a314ae38c178653abe0f7f0
6
+ metadata.gz: 7d2b30e3748172bab396bf8d1e5e28c9e69d63647aa178201ad4359c1b5999cb61a64cf53ea7e5db27148a8d6f785e1a319036421534965e2893b58fc5bd52c9
7
+ data.tar.gz: c8b17c40d92e2c5a92501e7d438c9e3096b132d25186c888aca87d751dbb7818cce378d686536cb65a53573d5c1916379785bb81c483f56f9d79aa511c2b4d8a
@@ -8,8 +8,9 @@ rvm:
8
8
  - 1.8.7
9
9
  - 1.9.3
10
10
  - 2.0.0
11
- - 2.1
12
- - 2.2
11
+ - 2.1.10
12
+ - 2.2.5
13
+ - 2.3.1
13
14
  - ruby-head
14
15
  - jruby
15
16
 
data/Gemfile CHANGED
@@ -3,25 +3,34 @@ source 'https://rubygems.org'
3
3
  # Specify your gem's dependencies in coveralls-ruby.gemspec
4
4
  gemspec
5
5
 
6
- gem 'rake', '>= 10.4'
6
+ gem 'rake', Gem::Version.new(RUBY_VERSION) < Gem::Version.new('1.9.3') ? '~> 10.3' : '>= 10.3'
7
7
  gem 'rspec', '>= 3.2'
8
8
  gem 'simplecov', :require => false
9
9
  gem 'truthy', '>= 1'
10
- gem 'vcr', '>= 2.9'
11
- gem 'webmock', '>= 1.20'
10
+
11
+ if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('1.9')
12
+ gem 'vcr', '~> 2.9'
13
+ gem 'webmock', '~> 1.20'
14
+ else
15
+ gem 'vcr', '>= 2.9'
16
+ gem 'webmock', '>= 1.20'
17
+ end
12
18
 
13
19
  platforms :ruby_18 do
14
20
  gem 'mime-types', '~> 1.25'
15
21
  gem 'addressable', '~> 2.3.8', :group => :test
16
22
  end
17
23
 
24
+ platforms :ruby_18, :ruby_19 do
25
+ gem 'json', '~> 1.8'
26
+ end
27
+
18
28
  platforms :jruby do
19
29
  gem 'jruby-openssl', '~> 0.9.5'
20
30
  end
21
31
 
22
32
  platform :rbx do
23
33
  gem 'rubysl', '~> 2.0'
24
- gem 'json'
25
34
  gem 'rubinius-developer_tools'
26
35
  end
27
36
 
@@ -19,8 +19,8 @@ Gem::Specification.new do |gem|
19
19
 
20
20
  gem.required_ruby_version = '>= 1.8.7'
21
21
 
22
- gem.add_dependency 'json', '~> 1.8'
23
- gem.add_dependency 'simplecov', '~> 0.11.0'
22
+ gem.add_dependency 'json', '>= 1.8', '< 3'
23
+ gem.add_dependency 'simplecov', '~> 0.12.0'
24
24
  gem.add_dependency 'tins', '~> 1.6.0'
25
25
  gem.add_dependency 'term-ansicolor', '~> 1.3'
26
26
  gem.add_dependency 'thor', '~> 0.19.1'
@@ -7,11 +7,11 @@ module Coveralls
7
7
  def push
8
8
  return unless ensure_can_run_locally!
9
9
  ENV["COVERALLS_RUN_LOCALLY"] = "true"
10
- cmd = "bundle exec rake"
10
+ cmds = "bundle exec rake"
11
11
  if File.exist?('.travis.yml')
12
- cmd = YAML.load_file('.travis.yml')["script"] || cmd rescue cmd
12
+ cmds = YAML.load_file('.travis.yml')["script"] || cmds rescue cmds
13
13
  end
14
- exec cmd
14
+ cmds.each { |cmd| system cmd }
15
15
  ENV["COVERALLS_RUN_LOCALLY"] = nil
16
16
  end
17
17
 
@@ -1,3 +1,3 @@
1
1
  module Coveralls
2
- VERSION = "0.8.13"
2
+ VERSION = "0.8.14"
3
3
  end
@@ -82,7 +82,7 @@ describe Coveralls do
82
82
  end
83
83
 
84
84
  describe "#push!" do
85
- it "sends existings test results", :if => RUBY_VERSION >= "1.9" do
85
+ it "sends existing test results", :if => RUBY_VERSION >= "1.9" do
86
86
  result = false
87
87
  silence do
88
88
  result = subject.push!
@@ -52,7 +52,6 @@ end
52
52
  def stub_api_post
53
53
  body = "{\"message\":\"\",\"url\":\"\"}"
54
54
  stub_request(:post, Coveralls::API::API_BASE+"/jobs").with(
55
- :body => /.+/,
56
55
  :headers => {
57
56
  'Accept'=>'*/*; q=0.5, application/xml',
58
57
  'Accept-Encoding'=>'gzip, deflate',
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.8.13
4
+ version: 0.8.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Merwin
@@ -9,36 +9,42 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-03-01 00:00:00.000000000 Z
12
+ date: 2016-07-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - "~>"
18
+ - - ">="
19
19
  - !ruby/object:Gem::Version
20
20
  version: '1.8'
21
+ - - "<"
22
+ - !ruby/object:Gem::Version
23
+ version: '3'
21
24
  type: :runtime
22
25
  prerelease: false
23
26
  version_requirements: !ruby/object:Gem::Requirement
24
27
  requirements:
25
- - - "~>"
28
+ - - ">="
26
29
  - !ruby/object:Gem::Version
27
30
  version: '1.8'
31
+ - - "<"
32
+ - !ruby/object:Gem::Version
33
+ version: '3'
28
34
  - !ruby/object:Gem::Dependency
29
35
  name: simplecov
30
36
  requirement: !ruby/object:Gem::Requirement
31
37
  requirements:
32
38
  - - "~>"
33
39
  - !ruby/object:Gem::Version
34
- version: 0.11.0
40
+ version: 0.12.0
35
41
  type: :runtime
36
42
  prerelease: false
37
43
  version_requirements: !ruby/object:Gem::Requirement
38
44
  requirements:
39
45
  - - "~>"
40
46
  - !ruby/object:Gem::Version
41
- version: 0.11.0
47
+ version: 0.12.0
42
48
  - !ruby/object:Gem::Dependency
43
49
  name: tins
44
50
  requirement: !ruby/object:Gem::Requirement