danger-rcov 0.0.3 → 0.0.4

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: 6054c4b10a6601bffd933a55b901d215ece06d68da856b67befa616260fc9d96
4
- data.tar.gz: 8de13caf5f9096d14988611f2d00fc88f6474ef4f9d8961cc9ad0e45e7f0b748
3
+ metadata.gz: a1f292ff13f27b987c01784c87234eb7183a7cb11eec0565e328cd5bda6abf58
4
+ data.tar.gz: 55933912c655422873054e9c505b0606726f6eb70a10672a48dc52c4b11a598e
5
5
  SHA512:
6
- metadata.gz: c373f70a360ec88f34d7c79b5d813b00ff52c64cdd9e6c55da5d11f10818ce2a79c4d999bec7256471e08ebb4ee3acc0bf935888482b688c0d6b2c931301da71
7
- data.tar.gz: c319fc4c576382a5dfab33dd85856e3aed706f7fcde9417142e6d86d9439639cf1beb855f4db6a00522b0583000696e56eefb2a25f8a92aeb67b12d448c69265
6
+ metadata.gz: 64aefe5439ab1d15ddc2b2b8556d74166227ee66fd20b4753c8a617296c1ae93d73720f148296cef6d626b1a05f0a4993b4526a8104f99599aa702bc7bc840d4
7
+ data.tar.gz: 92d9d20383714cadfced85334ef46fd3dbdfd819f3f6816bb16ea0ae3c1de576f4e02e5c82a48688fb834f6743220946e98910f23335490bbd79c989ce138ac9
@@ -1,3 +1,3 @@
1
1
  module Rcov
2
- VERSION = "0.0.3".freeze
2
+ VERSION = "0.0.4".freeze
3
3
  end
@@ -53,11 +53,11 @@ module Danger
53
53
 
54
54
  private
55
55
 
56
- def self.separator_line
56
+ def separator_line
57
57
  "========================================\n"
58
58
  end
59
59
 
60
- def self.new_line(title, current, master, symbol=nil)
60
+ def new_line(title, current, master, symbol=nil)
61
61
  formatter = symbol ? '%+.2f' : '%+d'
62
62
  currrent_formatted = current.to_s + symbol.to_s
63
63
  master_formatted = master ? master.to_s + symbol.to_s : '-'
@@ -69,11 +69,11 @@ module Danger
69
69
  line
70
70
  end
71
71
 
72
- def self.justify_text(string, adjust, position='right')
72
+ def justify_text(string, adjust, position='right')
73
73
  string.send(position == 'right' ? :rjust : :ljust, adjust)
74
74
  end
75
75
 
76
- def self.data_string(title, master, current, prep)
76
+ def data_string(title, master, current, prep)
77
77
  "#{prep}#{justify_text(title, 9, 'left')} #{justify_text(master, 7)}#{justify_text(current, 9)}"
78
78
  end
79
79
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: danger-rcov
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Guilherme Pereira