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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7c9081eace87a75c07c487a73474062818cefddb
4
- data.tar.gz: 2736e03861ec57363ffc0668ab3f41f34b925dbf
3
+ metadata.gz: d0c72918dba27ff1e39affabce34c178a5b63e09
4
+ data.tar.gz: 6fb929fd15b10895729ec6637cb0be04fbb27b74
5
5
  SHA512:
6
- metadata.gz: b4b68224deb21f71157fa506f63f89bf69d81499cd98f732086221f868e1195f1723be2423d0ed322c3bab8246427c1172186ee272a95dde78950d7af4af8ef3
7
- data.tar.gz: 312fa648d99738309294437573a786de8a90ef75f5c07e968ee7f888daf51c55b0577da40d56e7709586f52de9e294fb3e85f6c6f725449262c1e4c230a54658
6
+ metadata.gz: 05e143419ebb94069ed4e528a9a658737a493661681eb709134245a50348af18c1459b695678873c0b0bcf034027e3157c01dfbd227ff47599ccea52e1d7d545
7
+ data.tar.gz: 85e18a1d199e78d5235a78f51849fb06484b0b258e7745a14655a81808125d54a236dd72ad0e6ea7b79f6960c1904ac476a418705c9ba3434bdbb256fbaccd23
data/.rspec CHANGED
@@ -1 +1,2 @@
1
1
  --color
2
+ --warn
@@ -1,11 +1,12 @@
1
1
  language: ruby
2
2
  rvm:
3
- - rbx-2.2.6
4
3
  - jruby-19mode
4
+ - 1.8.7
5
5
  - 1.9.2
6
6
  - 1.9.3
7
7
  - 2.0.0
8
8
  - 2.1.0
9
+ - 2.2.0
9
10
  - ruby-head
10
11
  matrix:
11
12
  allow_failures:
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
 
@@ -1,5 +1,6 @@
1
- # -*- encoding: utf-8 -*-
2
- require File.expand_path('../lib/coveralls/version', __FILE__)
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 branch`.split("\n").delete_if { |i| i[0] != "*" }
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
@@ -1,3 +1,3 @@
1
1
  module Coveralls
2
- VERSION = "0.7.9"
2
+ VERSION = "0.7.10"
3
3
  end
@@ -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
- service_name = SecureRandom.hex(4)
177
- Coveralls::Configuration.set_service_params_for_travis(config, service_name)
178
- config[:service_name].should eq(service_name)
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
 
@@ -82,7 +82,7 @@ describe Coveralls do
82
82
  end
83
83
 
84
84
  describe "#push!" do
85
- it "sends existings test results" do
85
+ it "sends existings test results", :if => RUBY_VERSION >= "1.9" do
86
86
  result = false
87
87
  silence do
88
88
  result = subject.push!
@@ -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.9
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-03 00:00:00.000000000 Z
12
+ date: 2015-02-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
- name: rest-client
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.7'
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.7'
27
+ version: '1.10'
28
28
  - !ruby/object:Gem::Dependency
29
- name: term-ansicolor
29
+ name: rest-client
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - "~>"
32
+ - - ">="
33
33
  - !ruby/object:Gem::Version
34
- version: '1.3'
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: '1.3'
44
+ version: 1.6.8
45
+ - - "<"
46
+ - !ruby/object:Gem::Version
47
+ version: '2'
42
48
  - !ruby/object:Gem::Dependency
43
- name: multi_json
49
+ name: simplecov
44
50
  requirement: !ruby/object:Gem::Requirement
45
51
  requirements:
46
52
  - - "~>"
47
53
  - !ruby/object:Gem::Version
48
- version: '1.10'
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: '1.10'
61
+ version: 0.9.1
56
62
  - !ruby/object:Gem::Dependency
57
- name: thor
63
+ name: term-ansicolor
58
64
  requirement: !ruby/object:Gem::Requirement
59
65
  requirements:
60
66
  - - "~>"
61
67
  - !ruby/object:Gem::Version
62
- version: 0.19.1
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: 0.19.1
75
+ version: '1.3'
70
76
  - !ruby/object:Gem::Dependency
71
- name: simplecov
77
+ name: thor
72
78
  requirement: !ruby/object:Gem::Requirement
73
79
  requirements:
74
80
  - - "~>"
75
81
  - !ruby/object:Gem::Version
76
- version: 0.9.1
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.9.1
89
+ version: 0.19.1
84
90
  - !ruby/object:Gem::Dependency
85
91
  name: rspec
86
92
  requirement: !ruby/object:Gem::Requirement