simplecov-small-badge 0.2.5 → 0.2.6

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: 34ccd3dc87dabd91e2dc8dee7c1ac68ccc1cc5398f2c903d26681ba94d056e77
4
- data.tar.gz: 5581f6ad5c1c7264e383f2ee8c3b458b51e0baf595c9efa39fb0707e803a8140
3
+ metadata.gz: c891eb965bf86dd10dba84497d95ce99e324e00779806238c1f61b509e9fd223
4
+ data.tar.gz: 2e8ec88ac9d5c54ee45be5103a7c805669c2ed8440e1c3953027a1f8c0c66f67
5
5
  SHA512:
6
- metadata.gz: bdc8724ef0ddc8ce79947ed4c78ef25c85ec1fd110e47896c842f856674e5565cea89fd128e11f0905e1a0ceb68f3a4a8750cc008fd1833377c95847f2ec10ec
7
- data.tar.gz: 4ade1524010c0b9445036750a8ffa0959e95dae425844092b9836fd29124ca619465392f74399b9bd5765a26d50e76a7eff41b5290391d9164f418f4ca07a35c
6
+ metadata.gz: 20d57e909c584f8b7550a8cdcd9f2bdb5d88a025be5bb8005bba7752bf4ef995553733d303573b74778895f603ddef959d1699608ddde41cb168ce9542249f77
7
+ data.tar.gz: 3ec207d43bbf88b6ca0b914a5964d21a4e4d5e61bcc9d5b566346e04295ea55be2dfb72058454291bb0b295878d0a0d749624100e7da8d4db722b090a70a4f16
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # SimpleCovSmallBadge
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/simplecov-small-badge.svg)](https://badge.fury.io/rb/simplecov-small-badge)
4
- [![Build Status](https://api.travis-ci.org/MarcGrimme/simplecov-small-badge.svg?branch=master)](https://secure.travis-ci.org/MarcGrimme/simplecov-small-badge)
4
+ [![Build Status](https://api.travis-ci.com/MarcGrimme/simplecov-small-badge.svg?branch=master)](https://app.travis-ci.com/github/MarcGrimme/repo-small-badge)
5
5
  [![Depfu](https://badges.depfu.com/badges/48a6c1c7c649f62eede6ffa2be843180/count.svg)](https://depfu.com/github/MarcGrimme/simplecov-small-badge?project_id=6900)
6
6
  [![Coverage](https://marcgrimme.github.io/simplecov-small-badge/badges/coverage_badge_total.svg)](https://marcgrimme.github.io/simplecov-small-badge/coverage/index.html)
7
7
  [![RubyCritic](https://marcgrimme.github.io/simplecov-small-badge/badges/rubycritic_badge_score.svg)](https://marcgrimme.github.io/simplecov-small-badge/tmp/rubycritic/overview.html)
@@ -46,7 +46,7 @@ module SimpleCovSmallBadge
46
46
 
47
47
  def line_coverage_minimum
48
48
  minimums = SimpleCov.minimum_coverage
49
- minimums.is_a?(Hash) ? minimums[:line] : minimums
49
+ minimums.is_a?(Hash) ? minimums[SimpleCov.primary_coverage] : minimums
50
50
  end
51
51
 
52
52
  def map_image_config(state)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SimpleCovSmallBadge
4
- VERSION = '0.2.5'
4
+ VERSION = '0.2.6'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simplecov-small-badge
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marc Grimme
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-10-03 00:00:00.000000000 Z
11
+ date: 2023-10-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: repo-small-badge