cider_ci-support 1.0.0.pre.beta.5 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +11 -6
- data/bin/cider-ci_coverage +1 -1
- data/lib/cider_ci/support/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 748a3a62d9d7a67b1d78b92bd7c27ababa4ed21b
|
4
|
+
data.tar.gz: 14866fbe5c1ddb8efbfb796e58304d2550f4c9fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9017413049294eec8c3ad663e964452f5601694a694e17f70edfdc6884a1aa011175b0ee262c141edaf3bfa023f183596cac8c4c853ee0e17580baaed5c4f1a3
|
7
|
+
data.tar.gz: f9888ebd8c57be001ddb9df94e810371440eb2859e5616b15973b2dfd739f0be002146511f5dec58cc1c6120a9cb1d609aac68f82e80a88ed62dd68d1ad3491c
|
data/README.md
CHANGED
@@ -8,14 +8,9 @@ This gem provides convenience executables to work with Cider-CI.
|
|
8
8
|
Add this line to your application's Gemfile:
|
9
9
|
|
10
10
|
```ruby
|
11
|
-
gem 'cider_ci-support', '
|
11
|
+
gem 'cider_ci-support', '~> 1.0.0'
|
12
12
|
```
|
13
13
|
|
14
|
-
Read [this][] if you want to know why the version looks strange and why
|
15
|
-
you should use `=`.
|
16
|
-
|
17
|
-
[this]: https://github.com/json-roa/json-roa_ruby-client#semantic-versioning-and-rubygems-versioning
|
18
|
-
|
19
14
|
## Usage
|
20
15
|
|
21
16
|
### Aggregate Coverage with `cider-ci_coverage`
|
@@ -49,3 +44,13 @@ you should use `=`.
|
|
49
44
|
will additionally upload the files `./coverage/**/*`
|
50
45
|
as tree-attachments.
|
51
46
|
|
47
|
+
5. Set the desired `limit` (optionally). `cider-ci_coverage` will exit
|
48
|
+
with value 0 if and only if the ration `covered / uncovered lines`
|
49
|
+
in per cent is above the *limit* (default 95%). This limit can be
|
50
|
+
set by the `--limit LIMIT` option where `LIMIT` is a integer.
|
51
|
+
|
52
|
+
~~~
|
53
|
+
cider-ci_coverage --upload --limit 99
|
54
|
+
~~~
|
55
|
+
|
56
|
+
|
data/bin/cider-ci_coverage
CHANGED
@@ -226,7 +226,7 @@ def main
|
|
226
226
|
options.password= ENV['CIDER_CI_PASSWORD']
|
227
227
|
options.api_url= ENV['CIDER_CI_API_URL']
|
228
228
|
options.upload= false
|
229
|
-
options.limit=
|
229
|
+
options.limit= 95
|
230
230
|
parse_options options
|
231
231
|
options.api_url || raise(OptionParser::MissingArgument \
|
232
232
|
, "api_url is required, set CIDER_CI_API_URL or provide -a option")
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cider_ci-support
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thomas Schank
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-12-
|
11
|
+
date: 2014-12-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -126,9 +126,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
126
126
|
version: '0'
|
127
127
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
|
-
- - "
|
129
|
+
- - ">="
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version:
|
131
|
+
version: '0'
|
132
132
|
requirements: []
|
133
133
|
rubyforge_project:
|
134
134
|
rubygems_version: 2.2.2
|