simplecov-teamcity-summary 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.simplecov +1 -1
- data/CHANGELOG.md +26 -0
- data/Gemfile.lock +7 -7
- data/README.md +6 -3
- data/lib/simplecov-teamcity-summary/formatter.rb +3 -1
- data/lib/simplecov-teamcity-summary/version.rb +1 -1
- metadata +4 -4
- data/img/CHANGELOG.md +0 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 64dc7db1c6bfa71548fa625dfa9e8f69444a2ddc
|
4
|
+
data.tar.gz: 1282fe93959cc3f5f19cb80891aa2c53296a87ae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 39ffd3595971fb32dd938ea19b91100c23d249b10469376f57303cf825036a368af2903ddff55d61a9305d4b305a55dd0452d5b71076ec75ad7bc1e97c2b3ca5
|
7
|
+
data.tar.gz: f7507383e0390b7ea3800d0aa9d5d2f28df56276b239a8b96ea575c96ad64e82c91f192eaeed7f6220de4ad50ba2e88723ef4749219ddfa3b41cb8cda682fc5a
|
data/.simplecov
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
SimpleCov.profiles.define 'teamcity' do
|
2
2
|
at_exit do
|
3
|
-
|
3
|
+
SimpleCov::Formatter::TeamcitySummaryFormatter.new.format(SimpleCov.result) if ENV['TEAMCITY_VERSION']
|
4
4
|
end
|
5
5
|
end
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
v0.1.2
|
2
|
+
======
|
3
|
+
|
4
|
+
Bugfixes:
|
5
|
+
|
6
|
+
* Fixed an issue when simplecov is defined with `require: false` inside the Gemfile
|
7
|
+
|
8
|
+
v0.1.1
|
9
|
+
======
|
10
|
+
|
11
|
+
Bugfixes:
|
12
|
+
|
13
|
+
* Simplecov is actually spelled SimpleCov, the namespace is changed to minimize confusion. Make sure you change your configuration from:
|
14
|
+
|
15
|
+
Simplecov::Formatter::TeamcitySummaryFormatter.new.format(SimpleCov.result) if ENV['TEAMCITY_VERSION']
|
16
|
+
|
17
|
+
to:
|
18
|
+
|
19
|
+
SimpleCov::Formatter::TeamcitySummaryFormatter.new.format(SimpleCov.result) if ENV['TEAMCITY_VERSION']
|
20
|
+
|
21
|
+
* We're depending on SimpleCov v0.8 or greater.
|
22
|
+
|
23
|
+
v0.1
|
24
|
+
====
|
25
|
+
|
26
|
+
Initial release.
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
simplecov-teamcity-summary (0.1.
|
4
|
+
simplecov-teamcity-summary (0.1.2)
|
5
5
|
simplecov
|
6
6
|
|
7
7
|
GEM
|
@@ -9,9 +9,9 @@ GEM
|
|
9
9
|
specs:
|
10
10
|
coderay (1.1.0)
|
11
11
|
diff-lcs (1.2.5)
|
12
|
-
docile (1.1.
|
12
|
+
docile (1.1.5)
|
13
13
|
method_source (0.8.2)
|
14
|
-
multi_json (1.
|
14
|
+
multi_json (1.11.0)
|
15
15
|
pry (0.9.12.6)
|
16
16
|
coderay (~> 1.0)
|
17
17
|
method_source (~> 0.8)
|
@@ -25,11 +25,11 @@ GEM
|
|
25
25
|
rspec-expectations (2.14.4)
|
26
26
|
diff-lcs (>= 1.1.3, < 2.0)
|
27
27
|
rspec-mocks (2.14.4)
|
28
|
-
simplecov (0.
|
28
|
+
simplecov (0.9.2)
|
29
29
|
docile (~> 1.1.0)
|
30
|
-
multi_json
|
31
|
-
simplecov-html (~> 0.
|
32
|
-
simplecov-html (0.
|
30
|
+
multi_json (~> 1.0)
|
31
|
+
simplecov-html (~> 0.9.0)
|
32
|
+
simplecov-html (0.9.0)
|
33
33
|
slop (3.4.7)
|
34
34
|
|
35
35
|
PLATFORMS
|
data/README.md
CHANGED
@@ -20,7 +20,7 @@ With these statistics, you can trigger a build fail if coverage drops below a ce
|
|
20
20
|
* Add this line to your application's Gemfile:
|
21
21
|
|
22
22
|
gem 'simplecov-teamcity-summary'
|
23
|
-
|
23
|
+
|
24
24
|
And then execute:
|
25
25
|
|
26
26
|
$ bundle
|
@@ -63,10 +63,13 @@ Then, start your SimpleCov instance like this:
|
|
63
63
|
|
64
64
|
## License
|
65
65
|
|
66
|
-
Copyright (C)
|
66
|
+
Copyright (C) 2015 Ben Cochez
|
67
67
|
|
68
68
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
69
69
|
|
70
70
|
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
71
71
|
|
72
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
72
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
73
|
+
|
74
|
+
[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/benc/simplecov-teamcity-summary/trend.png)](https://bitdeli.com/free "Bitdeli Badge")
|
75
|
+
|
@@ -1,3 +1,5 @@
|
|
1
|
+
require 'simplecov'
|
2
|
+
|
1
3
|
# Ensure we are using a compatible version of SimpleCov
|
2
4
|
if Gem::Version.new(SimpleCov::VERSION) < Gem::Version.new("0.8.0")
|
3
5
|
raise RuntimeError, 'The version of SimpleCov you are using is too old. Please update with `gem install simplecov` or `bundle update simplecov`'
|
@@ -20,4 +22,4 @@ module SimpleCov::Formatter
|
|
20
22
|
eos
|
21
23
|
end
|
22
24
|
end
|
23
|
-
end
|
25
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simplecov-teamcity-summary
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ben Cochez
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-04-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -90,12 +90,12 @@ extra_rdoc_files: []
|
|
90
90
|
files:
|
91
91
|
- ".gitignore"
|
92
92
|
- ".simplecov"
|
93
|
+
- CHANGELOG.md
|
93
94
|
- Gemfile
|
94
95
|
- Gemfile.lock
|
95
96
|
- LICENSE
|
96
97
|
- README.md
|
97
98
|
- Rakefile
|
98
|
-
- img/CHANGELOG.md
|
99
99
|
- img/coverage_chart.png
|
100
100
|
- img/coverage_results.png
|
101
101
|
- img/trigger_build_failure.png
|
@@ -125,7 +125,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
125
125
|
version: '0'
|
126
126
|
requirements: []
|
127
127
|
rubyforge_project:
|
128
|
-
rubygems_version: 2.
|
128
|
+
rubygems_version: 2.4.6
|
129
129
|
signing_key:
|
130
130
|
specification_version: 4
|
131
131
|
summary: Simplecov formatter that prints coverage summary information to display in
|