rubycritic-small-badge 0.1 → 0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +0 -2
- data/README.md +1 -1
- data/Rakefile +1 -1
- data/lib/rubycritic_small_badge/version.rb +1 -1
- data/rubycritic-small-badge.gemspec +3 -2
- metadata +21 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b0e89664f863db49d98f9d092dc4e49f3d1b6ce55e06d63f7e76c02ddf05fb8a
|
4
|
+
data.tar.gz: fe513a7749947366d5c8e89e73d93b9eb7869a578a7f7c13fd1ec1db52a68129
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8bb1fd1cc8eb0b5ea2dd413929e3cdd16e00999d679543d6a66cee0771c89c4a9989c781ef1d20fe951af083eb6226df27ec93420aa9cccf4e1bed02fef33593
|
7
|
+
data.tar.gz: eab3f67f4c8267ab08ccd19fbe7bf8f48cd78ea7120cbfdd8b09f608145b1f424db24189a0e590a73127607864a4170f513bac95609681280861f06e07075228
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -9,7 +9,7 @@
|
|
9
9
|
*RubyCriticCovBadge* is a gem that can be added to the `Gemfile` and will produce a file called `rubycritic_badge_score.svg` in the `badges` directory.
|
10
10
|
It could be looking as follows dependent on how it is configured.
|
11
11
|
|
12
|
-
|
12
|
+
![Coverage](https://marcgrimme.github.io/rubycritic-small-badge/badges/coverage_badge_total.svg)
|
13
13
|
|
14
14
|
The idea is to created a badge for [RubyCritic](https://github.com/whitesmith/rubycritic) to create a persistable image that shows the score as a badge.
|
15
15
|
|
data/Rakefile
CHANGED
@@ -12,7 +12,7 @@ RubyCriticSmallBadge.configure do |config|
|
|
12
12
|
config.minimum_score = ENV.fetch('RUBYCRITICLIMIT', 90.0)
|
13
13
|
end
|
14
14
|
RubyCritic::RakeTask.new do |task|
|
15
|
-
task.options = %(--
|
15
|
+
task.options = %(--custom-format RubyCriticSmallBadge::Report
|
16
16
|
--minimum-score #{RubyCriticSmallBadge.config.minimum_score}
|
17
17
|
--format html --format console)
|
18
18
|
task.paths = FileList['lib/**/*.rb']
|
@@ -16,12 +16,13 @@ Gem::Specification.new do |s|
|
|
16
16
|
|
17
17
|
s.rubyforge_project = 'rubycritic-small-badge'
|
18
18
|
|
19
|
-
s.add_dependency 'repo-small-badge', '~> 0.2.
|
19
|
+
s.add_dependency 'repo-small-badge', '~> 0.2.5'
|
20
20
|
s.add_development_dependency 'rake', '~> 12'
|
21
21
|
s.add_development_dependency 'rspec', '~> 3.8'
|
22
22
|
s.add_development_dependency 'rubocop', '~> 0.65'
|
23
|
+
s.add_development_dependency 'rubycritic', '~> 4.0.2'
|
23
24
|
s.add_development_dependency 'simplecov', '~> 0.16'
|
24
|
-
s.add_development_dependency 'simplecov-small-badge', '~> 0.2'
|
25
|
+
s.add_development_dependency 'simplecov-small-badge', '~> 0.2.2'
|
25
26
|
|
26
27
|
s.files = `git ls-files`.split("\n")
|
27
28
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubycritic-small-badge
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '0.
|
4
|
+
version: '0.2'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marc Grimme
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-02
|
11
|
+
date: 2019-04-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: repo-small-badge
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.2.
|
19
|
+
version: 0.2.5
|
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
|
-
version: 0.2.
|
26
|
+
version: 0.2.5
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -66,6 +66,20 @@ dependencies:
|
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0.65'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rubycritic
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 4.0.2
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 4.0.2
|
69
83
|
- !ruby/object:Gem::Dependency
|
70
84
|
name: simplecov
|
71
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -86,14 +100,14 @@ dependencies:
|
|
86
100
|
requirements:
|
87
101
|
- - "~>"
|
88
102
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
103
|
+
version: 0.2.2
|
90
104
|
type: :development
|
91
105
|
prerelease: false
|
92
106
|
version_requirements: !ruby/object:Gem::Requirement
|
93
107
|
requirements:
|
94
108
|
- - "~>"
|
95
109
|
- !ruby/object:Gem::Version
|
96
|
-
version:
|
110
|
+
version: 0.2.2
|
97
111
|
description: Small Badge generator for RubyCritic coverage tool for ruby
|
98
112
|
email:
|
99
113
|
- marc.grimme at gmail dot com
|
@@ -146,7 +160,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
146
160
|
version: '0'
|
147
161
|
requirements: []
|
148
162
|
rubyforge_project: rubycritic-small-badge
|
149
|
-
rubygems_version: 2.7.
|
163
|
+
rubygems_version: 2.7.8
|
150
164
|
signing_key:
|
151
165
|
specification_version: 4
|
152
166
|
summary: Small Badge generator for RubyCritic analysis tool for ruby
|