subunit 0.8.6 → 0.8.7

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: 0c676bd895436a156711b39cfa244a46524112df81d678cd6c2f790560f3155f
4
- data.tar.gz: 54a45610aa7c71050fe011d6b74fee408f378fc7c00564d0546cbdacba187f12
3
+ metadata.gz: 7f00d0a7dead20614db36fec22d0ac28cc789a9c4a4c473921bc36ba4a8f320d
4
+ data.tar.gz: 0fa4731410ab2fa2c897ed450a46b9b7cdfa86e6d71c82c0fc28b0853e3c8eda
5
5
  SHA512:
6
- metadata.gz: 247d4cd835390d9452d31cea931177c3f4b1cf52bd6104460c600d21e5652114b7b6a7447de4d66733956ca93c3a47638cf985ba8b7e58f2cb51ac010bc4b745
7
- data.tar.gz: 0605cff7b8f350e8785c82366f365300f72fb70b5a698f6b5361e958fa3c898460d4ded752d6a4cfc751ffa58fe9ad422a8424a638ac8086fc9448dcd275d1de
6
+ metadata.gz: 6aea09f2bbf2a1dcdfe4b252817150c3cc0bbe67de27bcf15eced3a6b3aeca709910ce2adb4bcd83d7474e7e784028f83acd8b30f895197d353dd62bb7679ccd
7
+ data.tar.gz: bbef449d9d5a448150cf66bf824a8f2a089bfbea362d275caad7874aab47bfd17db2b83a950e217866e54276edb730417f903a46175f818739d4af31c25ad799
checksums.yaml.gz.sig CHANGED
Binary file
data/lib/subunit.rb CHANGED
@@ -116,7 +116,7 @@ class Subunit
116
116
  a << a[-1]
117
117
 
118
118
  fmt = a.map {|v| "%0" + v.to_s.length.to_s + "d"}.join(":")
119
- (fmt % to_a).gsub(/^(?:00:)+/,'').sub(/^0/,'')
119
+ (fmt % to_a).gsub(/^(?:00:)*(?=[0-9]{2}:[0-9]{2})/,'').sub(/^0/,'')
120
120
  end
121
121
 
122
122
  s.sub!('%s') do |x|
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: subunit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.6
4
+ version: 0.8.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
metadata.gz.sig CHANGED
Binary file