codacy-coverage 0.2.3 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +22 -1
  3. data/circle.yml +3 -0
  4. data/codacy-coverage.gemspec +1 -1
  5. metadata +12 -11
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6e7bfb4548f7c6fe54e6ef1805e84b53c7c51cb6
4
- data.tar.gz: 73d7ff2513d35a9663eda9920fb48951426a539c
3
+ metadata.gz: bcb3cb2456df4de9a97a7a33decdc46af029e577
4
+ data.tar.gz: e04099d159e67b9f072268fafe0ab8031ed935ee
5
5
  SHA512:
6
- metadata.gz: b80257cdc2473be786277728ea442f77362ef8a205231e71d4e0654a7c97b104d21cd99bddd3c3d954560768a1ba8036488d61927c99531d27033806440475cf
7
- data.tar.gz: 5d23e7237f98827eedaf98437d758b371c4e7a04558653471210772b50af030d8d392acff8deee5c292cadaee2ad3a709e352874fb163ae480cd63bd05526027
6
+ metadata.gz: 411b212ff3f30ab31119c0f68cee9c6b0b485c95243d54129f5d9388868e1ac1cd72d4a1b23d7e46ea8ef5abd54c5f4258244e9d0968e32520fead2224e3c944
7
+ data.tar.gz: fa0302bc65b86e9b5cf93b93f4cb2330f3c6302c300a0725289e6d0a17e16a395558c6f0faff97752189c5546c1bb3eadf02c5fdf1cadac3b9dce8fbe8b4c424
data/README.md CHANGED
@@ -2,8 +2,10 @@
2
2
 
3
3
  Ruby coverage reporter for Codacy https://www.codacy.com
4
4
 
5
- [![Codacy Badge](https://api.codacy.com/project/badge/72a7aaa0e3fd4a8db27607da159d3daa)](https://www.codacy.com/app/Codacy/ruby-codacy-coverage)
5
+ [![Codacy Badge](https://api.codacy.com/project/badge/grade/72a7aaa0e3fd4a8db27607da159d3daa)](https://www.codacy.com/app/Codacy/ruby-codacy-coverage)
6
+ [![Codacy Badge](https://api.codacy.com/project/badge/coverage/72a7aaa0e3fd4a8db27607da159d3daa)](https://www.codacy.com/app/Codacy/ruby-codacy-coverage)
6
7
  [![Build Status](https://circleci.com/gh/codacy/ruby-codacy-coverage.png?style=shield&circle-token=:circle-token)](https://circleci.com/gh/codacy/ruby-codacy-coverage)
8
+ [![Gem Version](https://badge.fury.io/rb/codacy-coverage.svg)](https://badge.fury.io/rb/codacy-coverage)
7
9
 
8
10
  Parses SimpleCov output and submits the result to Codacy
9
11
 
@@ -39,3 +41,22 @@ By default this plugin will not submit results if you run your tests in localhos
39
41
  ```
40
42
  export CODACY_RUN_LOCAL=true
41
43
  ```
44
+
45
+ #### Running Tests
46
+
47
+ When you run your tests, the plugin will send the coverage info to Codacy.
48
+
49
+ For example, run the following commands:
50
+
51
+ ```
52
+ gem install bundler
53
+ bundle install
54
+ ```
55
+
56
+ This will install the required dependencies. Then just run the tests:
57
+
58
+ ```
59
+ bundle exec rspec
60
+ ```
61
+
62
+ You can now check your coverage results in the Codacy dashboard of your project.
data/circle.yml ADDED
@@ -0,0 +1,3 @@
1
+ test:
2
+ override:
3
+ - bundle exec rspec
@@ -14,7 +14,7 @@ Gem::Specification.new do |gem|
14
14
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
15
15
  gem.name = "codacy-coverage"
16
16
  gem.require_paths = ["lib"]
17
- gem.version = '0.2.3'
17
+ gem.version = ENV['PUBLISH_VERSION'] || '0.2.4.dev'
18
18
 
19
19
  gem.required_ruby_version = '>= 1.9.2'
20
20
 
metadata CHANGED
@@ -1,55 +1,55 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: codacy-coverage
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nuno Teixeira
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-23 00:00:00.000000000 Z
11
+ date: 2015-12-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: simplecov
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: 0.10.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: 0.10.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rest-client
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: '1.8'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '1.8'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ~>
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
47
  version: '1.7'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ~>
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '1.7'
55
55
  description: Post code coverage results to Codacy.
@@ -59,9 +59,10 @@ executables: []
59
59
  extensions: []
60
60
  extra_rdoc_files: []
61
61
  files:
62
- - .gitignore
62
+ - ".gitignore"
63
63
  - Gemfile
64
64
  - README.md
65
+ - circle.yml
65
66
  - codacy-coverage.gemspec
66
67
  - lib/codacy-coverage.rb
67
68
  - lib/codacy/client.rb
@@ -83,12 +84,12 @@ require_paths:
83
84
  - lib
84
85
  required_ruby_version: !ruby/object:Gem::Requirement
85
86
  requirements:
86
- - - '>='
87
+ - - ">="
87
88
  - !ruby/object:Gem::Version
88
89
  version: 1.9.2
89
90
  required_rubygems_version: !ruby/object:Gem::Requirement
90
91
  requirements:
91
- - - '>='
92
+ - - ">="
92
93
  - !ruby/object:Gem::Version
93
94
  version: '0'
94
95
  requirements: []