rubycritic-small-badge 0.2 → 0.2.1

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: b0e89664f863db49d98f9d092dc4e49f3d1b6ce55e06d63f7e76c02ddf05fb8a
4
- data.tar.gz: fe513a7749947366d5c8e89e73d93b9eb7869a578a7f7c13fd1ec1db52a68129
3
+ metadata.gz: a61bd43129f68cbdc35028583e323b11658afe64dd2b5cdb79188c95be8fbf35
4
+ data.tar.gz: e31587cb69479d1b48f62ad448862316a1da228f86824fc62e6f75a2c7a33f6b
5
5
  SHA512:
6
- metadata.gz: 8bb1fd1cc8eb0b5ea2dd413929e3cdd16e00999d679543d6a66cee0771c89c4a9989c781ef1d20fe951af083eb6226df27ec93420aa9cccf4e1bed02fef33593
7
- data.tar.gz: eab3f67f4c8267ab08ccd19fbe7bf8f48cd78ea7120cbfdd8b09f608145b1f424db24189a0e590a73127607864a4170f513bac95609681280861f06e07075228
6
+ metadata.gz: cdf0976fc8c8e0d061870d5bf0f66f46427b03389b2b089832187e1d001d0bb012b76da30034a469f98f3bbc30881bb677bcd89d3f5d3e8d6bc5f0dee39e00bf
7
+ data.tar.gz: e6938f2d0c38119222c4830ba89fc801069e3383cf55ce58a936a1a44f8296820812add35719bb2b70825421a251ef260a3472a2578d195d96f0de61aeb018e8
data/README.md CHANGED
@@ -15,7 +15,7 @@ The idea is to created a badge for [RubyCritic](https://github.com/whitesmith/ru
15
15
 
16
16
  ## Installation
17
17
 
18
- The badge creation is dependent on the [RubySmallBadge gem](https://github.com/marcgrimme/ruby-small-badge).
18
+ The badge creation is dependent on the [RepoSmallBadge gem](https://github.com/marcgrimme/repo-small-badge).
19
19
  It can be installed in your Ruby library or rails app as part of the `Gemfile` as follows.
20
20
 
21
21
  ```
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RubyCriticSmallBadge
4
- VERSION = '0.2'
4
+ VERSION = '0.2.1'
5
5
  end
@@ -12,17 +12,14 @@ Gem::Specification.new do |s|
12
12
  s.license = 'MIT'
13
13
  s.homepage = 'https://github.com/marcgrimme/rubycritic-small-badge'
14
14
  s.summary = %(Small Badge generator for RubyCritic analysis tool for ruby)
15
- s.description = %(Small Badge generator for RubyCritic coverage tool for ruby)
16
15
 
17
- s.rubyforge_project = 'rubycritic-small-badge'
18
-
19
- s.add_dependency 'repo-small-badge', '~> 0.2.5'
16
+ s.add_dependency 'repo-small-badge', '~> 0.2.7'
20
17
  s.add_development_dependency 'rake', '~> 12'
21
18
  s.add_development_dependency 'rspec', '~> 3.8'
22
19
  s.add_development_dependency 'rubocop', '~> 0.65'
23
- s.add_development_dependency 'rubycritic', '~> 4.0.2'
24
- s.add_development_dependency 'simplecov', '~> 0.16'
25
- s.add_development_dependency 'simplecov-small-badge', '~> 0.2.2'
20
+ s.add_development_dependency 'rubycritic', '~> 4.1'
21
+ s.add_development_dependency 'simplecov', '~> 0.17'
22
+ s.add_development_dependency 'simplecov-small-badge', '~> 0.2.3'
26
23
 
27
24
  s.files = `git ls-files`.split("\n")
28
25
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
@@ -7,8 +7,11 @@ bundle exec rspec
7
7
  bundle exec rubocop
8
8
  if [ -z "$QUICK" ]; then
9
9
  gem install bundler-audit && bundle-audit update && bundle-audit check
10
- bundle exec rake rubycritic
11
- echo "Pushing badges upstream"
12
- [ -d badges ] || mkdir badges
13
- cp coverage/coverage_badge* badges/ 2>/dev/null || true
10
+ bundle exec rake rubycritic lib ${RUBYCRITICPARAMS}
11
+ # only move to the gh-pages if not a PR or branch is master
12
+ if [ "$TRAVIS_PULL_REQUEST" = "false" ] || [ "$TRAVIS_BRANCH" = "master" ]; then
13
+ echo "Pushing badges upstream"
14
+ [ -d badges ] || mkdir badges
15
+ cp coverage/coverage_badge* badges/ 2>/dev/null || true
16
+ fi
14
17
  fi
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.2'
4
+ version: 0.2.1
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-04-02 00:00:00.000000000 Z
11
+ date: 2019-08-30 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.5
19
+ version: 0.2.7
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.5
26
+ version: 0.2.7
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -72,43 +72,43 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 4.0.2
75
+ version: '4.1'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 4.0.2
82
+ version: '4.1'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: simplecov
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '0.16'
89
+ version: '0.17'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '0.16'
96
+ version: '0.17'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: simplecov-small-badge
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: 0.2.2
103
+ version: 0.2.3
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: 0.2.2
111
- description: Small Badge generator for RubyCritic coverage tool for ruby
110
+ version: 0.2.3
111
+ description:
112
112
  email:
113
113
  - marc.grimme at gmail dot com
114
114
  executables:
@@ -159,7 +159,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
159
159
  - !ruby/object:Gem::Version
160
160
  version: '0'
161
161
  requirements: []
162
- rubyforge_project: rubycritic-small-badge
162
+ rubyforge_project:
163
163
  rubygems_version: 2.7.8
164
164
  signing_key:
165
165
  specification_version: 4