test_ids 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/config/version.rb +1 -1
- data/lib/test_ids/allocator.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 37097520304a42cec66a48fdac2b192dda5451b0
|
|
4
|
+
data.tar.gz: 6df4dd37ea78ec47a562f03a72f0503f37d304b0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6609ad85bed7091b9b647a3ac24551b245a253b965d6ca2f99f99342da53f871af220a721d940269e2886d4111058938b4b3ee10a166180efcf5af00c7559214
|
|
7
|
+
data.tar.gz: e3ab6e8d0ae659f2c6845032b8f021dd414a4c671778dfb61933c90dbf1f12573a09795368270827073c76c7e49536e21f9fe811ab4b947ca2e56b8f23f04d04
|
data/config/version.rb
CHANGED
data/lib/test_ids/allocator.rb
CHANGED
|
@@ -140,7 +140,7 @@ module TestIds
|
|
|
140
140
|
|
|
141
141
|
def git?
|
|
142
142
|
if config.repo
|
|
143
|
-
!!(config.repo =~
|
|
143
|
+
!!(config.repo =~ /\.git$/)
|
|
144
144
|
end
|
|
145
145
|
end
|
|
146
146
|
|
|
@@ -262,7 +262,7 @@ module TestIds
|
|
|
262
262
|
if softbin.size > max_softbin_size
|
|
263
263
|
fail "Softbin number (#{softbin}) overflows the test number algorithm (#{algo})"
|
|
264
264
|
end
|
|
265
|
-
number = number.sub(/s+/, softbin.rjust(
|
|
265
|
+
number = number.sub(/s+/, softbin.rjust(max_softbin_size, '0'))
|
|
266
266
|
end
|
|
267
267
|
if number =~ /(x+)/
|
|
268
268
|
max_counter_size = Regexp.last_match(1).size
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: test_ids
|
|
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
|
- Stephen McGinty
|
|
@@ -96,7 +96,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
96
96
|
version: 1.8.11
|
|
97
97
|
requirements: []
|
|
98
98
|
rubyforge_project:
|
|
99
|
-
rubygems_version: 2.
|
|
99
|
+
rubygems_version: 2.5.1
|
|
100
100
|
signing_key:
|
|
101
101
|
specification_version: 4
|
|
102
102
|
summary: Origen plugin to assign and track test program bins and test numbers
|