test_ids 0.2.0 → 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
  SHA1:
3
- metadata.gz: e75b85981fb273db9e57af616ed8077d13f0c6d8
4
- data.tar.gz: 1a1c23efe34764a6db9def529358430eeb7d8e29
3
+ metadata.gz: 37097520304a42cec66a48fdac2b192dda5451b0
4
+ data.tar.gz: 6df4dd37ea78ec47a562f03a72f0503f37d304b0
5
5
  SHA512:
6
- metadata.gz: 444daec69e397bf06c6f0bd5982d956c1caf30b2bf2be07b0a37d4ec492a472285657775e8098194d63ccd767a2194ca5fbfc635ca39a885ffcf7589f41ebbfa
7
- data.tar.gz: b98facddf7e176d90ddebb503221356c563102f63e2d5a48048be6a2118b5acf7a9349f7ac87d581421d98ce5c95d2b006a67a45c3fd23281ffa6cd1c7f38e63
6
+ metadata.gz: 6609ad85bed7091b9b647a3ac24551b245a253b965d6ca2f99f99342da53f871af220a721d940269e2886d4111058938b4b3ee10a166180efcf5af00c7559214
7
+ data.tar.gz: e3ab6e8d0ae659f2c6845032b8f021dd414a4c671778dfb61933c90dbf1f12573a09795368270827073c76c7e49536e21f9fe811ab4b947ca2e56b8f23f04d04
data/config/version.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  module TestIds
2
2
  MAJOR = 0
3
3
  MINOR = 2
4
- BUGFIX = 0
4
+ BUGFIX = 1
5
5
  DEV = nil
6
6
 
7
7
  VERSION = [MAJOR, MINOR, BUGFIX].join(".") + (DEV ? ".pre#{DEV}" : '')
@@ -140,7 +140,7 @@ module TestIds
140
140
 
141
141
  def git?
142
142
  if config.repo
143
- !!(config.repo =~ /git/i)
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(max_bin_size, '0'))
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.0
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.2.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