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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ddbbc6feafc63c4d9f92247d8057ceb7709e256d944415be71f7a1ad65fdc110
4
- data.tar.gz: 39aed2496e24a48a2ddbe05570b9f3b8a8d4ea28f748602c8c2f269bdd0eae07
3
+ metadata.gz: b0e89664f863db49d98f9d092dc4e49f3d1b6ce55e06d63f7e76c02ddf05fb8a
4
+ data.tar.gz: fe513a7749947366d5c8e89e73d93b9eb7869a578a7f7c13fd1ec1db52a68129
5
5
  SHA512:
6
- metadata.gz: 3ad14813e2b43e636445c2c3d36276cf23626966afe41d4e90a5b7c8bb85abb92b019e952ce8af0a2991d88013ef5c85a7379d4813989f93519b383f714b27e3
7
- data.tar.gz: 81131ba2a2d75e6d02d026bdc79b8f78a36195445cee4591f0e9a1cfd77bc97486a55b990b5ffb5bc294328a7f201b1856b77589990e21dce13fde92eb008e80
6
+ metadata.gz: 8bb1fd1cc8eb0b5ea2dd413929e3cdd16e00999d679543d6a66cee0771c89c4a9989c781ef1d20fe951af083eb6226df27ec93420aa9cccf4e1bed02fef33593
7
+ data.tar.gz: eab3f67f4c8267ab08ccd19fbe7bf8f48cd78ea7120cbfdd8b09f608145b1f424db24189a0e590a73127607864a4170f513bac95609681280861f06e07075228
data/Gemfile CHANGED
@@ -5,5 +5,3 @@ source 'https://rubygems.org'
5
5
  gemspec
6
6
 
7
7
  gem 'byebug', group: %i[development test]
8
- gem 'rubycritic', git: 'https://github.com/marcgrimme/rubycritic',
9
- branch: 'feature/support-dynamic-reports'
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 = %(--formatter RubyCriticSmallBadge::Report
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']
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RubyCriticSmallBadge
4
- VERSION = '0.1'
4
+ VERSION = '0.2'
5
5
  end
@@ -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.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.1'
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-23 00:00:00.000000000 Z
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.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.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: '0.2'
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: '0.2'
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.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