coveralls 0.7.9 → 0.7.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rspec +1 -0
- data/.travis.yml +2 -1
- data/Gemfile +9 -0
- data/coveralls-ruby.gemspec +6 -10
- data/lib/coveralls/configuration.rb +1 -2
- data/lib/coveralls/version.rb +1 -1
- data/spec/coveralls/configuration_spec.rb +3 -3
- data/spec/coveralls/coveralls_spec.rb +1 -1
- data/spec/coveralls/simplecov_spec.rb +1 -1
- metadata +25 -19
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d0c72918dba27ff1e39affabce34c178a5b63e09
|
4
|
+
data.tar.gz: 6fb929fd15b10895729ec6637cb0be04fbb27b74
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 05e143419ebb94069ed4e528a9a658737a493661681eb709134245a50348af18c1459b695678873c0b0bcf034027e3157c01dfbd227ff47599ccea52e1d7d545
|
7
|
+
data.tar.gz: 85e18a1d199e78d5235a78f51849fb06484b0b258e7745a14655a81808125d54a236dd72ad0e6ea7b79f6960c1904ac476a418705c9ba3434bdbb256fbaccd23
|
data/.rspec
CHANGED
data/.travis.yml
CHANGED
data/Gemfile
CHANGED
@@ -3,6 +3,15 @@ source 'https://rubygems.org'
|
|
3
3
|
# Specify your gem's dependencies in coveralls-ruby.gemspec
|
4
4
|
gemspec
|
5
5
|
|
6
|
+
platforms :ruby_18 do
|
7
|
+
gem 'mime-types', '~> 1.25'
|
8
|
+
gem 'rest-client', '~> 1.6.0'
|
9
|
+
end
|
10
|
+
|
11
|
+
platforms :jruby do
|
12
|
+
gem 'jruby-openssl', '~> 0.9.5'
|
13
|
+
end
|
14
|
+
|
6
15
|
gem 'simplecov', :require => false
|
7
16
|
gem 'truthy'
|
8
17
|
|
data/coveralls-ruby.gemspec
CHANGED
@@ -1,5 +1,6 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
lib = File.expand_path('../lib', __FILE__)
|
2
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
3
|
+
require 'coveralls/version'
|
3
4
|
|
4
5
|
Gem::Specification.new do |gem|
|
5
6
|
gem.authors = ["Nick Merwin", "Wil Gieseler"]
|
@@ -16,17 +17,12 @@ Gem::Specification.new do |gem|
|
|
16
17
|
gem.require_paths = ["lib"]
|
17
18
|
gem.version = Coveralls::VERSION
|
18
19
|
|
19
|
-
gem.add_dependency 'rest-client','~> 1.7'
|
20
|
-
gem.add_dependency 'term-ansicolor', '~> 1.3'
|
21
20
|
gem.add_dependency 'multi_json', '~> 1.10'
|
21
|
+
gem.add_dependency 'rest-client', '>= 1.6.8', '< 2'
|
22
|
+
gem.add_dependency 'simplecov', '~> 0.9.1'
|
23
|
+
gem.add_dependency 'term-ansicolor', '~> 1.3'
|
22
24
|
gem.add_dependency 'thor', '~> 0.19.1'
|
23
25
|
|
24
|
-
if Gem::Version.new(RUBY_VERSION.dup) >= Gem::Version.new("1.9")
|
25
|
-
gem.add_dependency 'simplecov', '~> 0.9.1'
|
26
|
-
end
|
27
|
-
|
28
|
-
gem.add_dependency('jruby-openssl', '~> 0.9.5') if RUBY_PLATFORM == 'java'
|
29
|
-
|
30
26
|
gem.add_development_dependency 'rspec', '~> 3.1'
|
31
27
|
gem.add_development_dependency 'rake', '~> 10.4'
|
32
28
|
gem.add_development_dependency 'webmock', '~> 1.20'
|
@@ -143,8 +143,7 @@ module Coveralls
|
|
143
143
|
}
|
144
144
|
|
145
145
|
# Branch
|
146
|
-
branch = `git
|
147
|
-
hash[:branch] = [branch].flatten.first.gsub("* ","")
|
146
|
+
hash[:branch] = `git rev-parse --abbrev-ref HEAD`
|
148
147
|
|
149
148
|
# Remotes
|
150
149
|
remotes = nil
|
data/lib/coveralls/version.rb
CHANGED
@@ -173,9 +173,9 @@ describe Coveralls::Configuration do
|
|
173
173
|
|
174
174
|
it 'should set the service_name to a value if one is passed in' do
|
175
175
|
config = {}
|
176
|
-
|
177
|
-
Coveralls::Configuration.set_service_params_for_travis(config,
|
178
|
-
config[:service_name].should eq(
|
176
|
+
random_name = SecureRandom.hex(4)
|
177
|
+
Coveralls::Configuration.set_service_params_for_travis(config, random_name)
|
178
|
+
config[:service_name].should eq(random_name)
|
179
179
|
end
|
180
180
|
end
|
181
181
|
|
@@ -30,7 +30,7 @@ describe Coveralls::SimpleCov::Formatter do
|
|
30
30
|
Coveralls.noisy = false
|
31
31
|
end
|
32
32
|
|
33
|
-
it "posts json" do
|
33
|
+
it "posts json", :if => RUBY_VERSION >= "1.9" do
|
34
34
|
result.files.should_not be_empty
|
35
35
|
silence do
|
36
36
|
Coveralls::SimpleCov::Formatter.new.format(result).should be_truthy
|
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.
|
4
|
+
version: 0.7.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nick Merwin
|
@@ -9,78 +9,84 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-02-
|
12
|
+
date: 2015-02-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
|
-
name:
|
15
|
+
name: multi_json
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
18
|
- - "~>"
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: '1.
|
20
|
+
version: '1.10'
|
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: '1.
|
27
|
+
version: '1.10'
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
|
-
name:
|
29
|
+
name: rest-client
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
|
-
- - "
|
32
|
+
- - ">="
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version:
|
34
|
+
version: 1.6.8
|
35
|
+
- - "<"
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '2'
|
35
38
|
type: :runtime
|
36
39
|
prerelease: false
|
37
40
|
version_requirements: !ruby/object:Gem::Requirement
|
38
41
|
requirements:
|
39
|
-
- - "
|
42
|
+
- - ">="
|
40
43
|
- !ruby/object:Gem::Version
|
41
|
-
version:
|
44
|
+
version: 1.6.8
|
45
|
+
- - "<"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '2'
|
42
48
|
- !ruby/object:Gem::Dependency
|
43
|
-
name:
|
49
|
+
name: simplecov
|
44
50
|
requirement: !ruby/object:Gem::Requirement
|
45
51
|
requirements:
|
46
52
|
- - "~>"
|
47
53
|
- !ruby/object:Gem::Version
|
48
|
-
version:
|
54
|
+
version: 0.9.1
|
49
55
|
type: :runtime
|
50
56
|
prerelease: false
|
51
57
|
version_requirements: !ruby/object:Gem::Requirement
|
52
58
|
requirements:
|
53
59
|
- - "~>"
|
54
60
|
- !ruby/object:Gem::Version
|
55
|
-
version:
|
61
|
+
version: 0.9.1
|
56
62
|
- !ruby/object:Gem::Dependency
|
57
|
-
name:
|
63
|
+
name: term-ansicolor
|
58
64
|
requirement: !ruby/object:Gem::Requirement
|
59
65
|
requirements:
|
60
66
|
- - "~>"
|
61
67
|
- !ruby/object:Gem::Version
|
62
|
-
version:
|
68
|
+
version: '1.3'
|
63
69
|
type: :runtime
|
64
70
|
prerelease: false
|
65
71
|
version_requirements: !ruby/object:Gem::Requirement
|
66
72
|
requirements:
|
67
73
|
- - "~>"
|
68
74
|
- !ruby/object:Gem::Version
|
69
|
-
version:
|
75
|
+
version: '1.3'
|
70
76
|
- !ruby/object:Gem::Dependency
|
71
|
-
name:
|
77
|
+
name: thor
|
72
78
|
requirement: !ruby/object:Gem::Requirement
|
73
79
|
requirements:
|
74
80
|
- - "~>"
|
75
81
|
- !ruby/object:Gem::Version
|
76
|
-
version: 0.
|
82
|
+
version: 0.19.1
|
77
83
|
type: :runtime
|
78
84
|
prerelease: false
|
79
85
|
version_requirements: !ruby/object:Gem::Requirement
|
80
86
|
requirements:
|
81
87
|
- - "~>"
|
82
88
|
- !ruby/object:Gem::Version
|
83
|
-
version: 0.
|
89
|
+
version: 0.19.1
|
84
90
|
- !ruby/object:Gem::Dependency
|
85
91
|
name: rspec
|
86
92
|
requirement: !ruby/object:Gem::Requirement
|