test_ids 1.1.0 → 1.1.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
  SHA256:
3
- metadata.gz: f5dda875340a14998768dac93d34f66b019a8d0ad4f3eb6328bd1ad9b726e64b
4
- data.tar.gz: e3e7aae1bb0b68c34a34cad431e5bbd9ca37f19d3697ea7feddac4c4b5c58a48
3
+ metadata.gz: 306a202dcc8ef6fc823e3f3429e9466674c4a26442a4cb3a10f4ac15b8c8eb9d
4
+ data.tar.gz: c20808121f1887cca29eae01ea100f1026a8782dfee389fc5c4600bf23a7e606
5
5
  SHA512:
6
- metadata.gz: b2ea76aef9f4e37d79a769549dff0858bd6942b928c389c3c4940ae35028ca37b1d944bfcc2a2f42f020d88e4f6ab14f9e750b7dc5bd9fca8cc062e39e0762b3
7
- data.tar.gz: eb109af83f298ae6c15849637bb5a4daded69073a93df47a71ff9468e72954eb0fada2c06faa751b31d78221c1a80ea0f5d3b39b5106c5b336e1f46839b87bbd
6
+ metadata.gz: f86d3e0ace61cf2f6f7a0f66b779b6606b7dc474456ced944c6e1a527a9045a364ebb53048a4b29b57da89f15f0d2619c843a61d6339231842131f83d34ee91e
7
+ data.tar.gz: 5806f010b4dfa01e6084298ea57994881689a6df815f1235ccd5116b4cf9771dc453fd1fe518d9fa4930a949fcc34da54965286278d3a862908e0281be660c2d
data/config/version.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  module TestIds
2
2
  MAJOR = 1
3
3
  MINOR = 1
4
- BUGFIX = 0
4
+ BUGFIX = 1
5
5
  DEV = nil
6
6
 
7
7
  VERSION = [MAJOR, MINOR, BUGFIX].join(".") + (DEV ? ".pre#{DEV}" : '')
@@ -42,7 +42,11 @@ module TestIds
42
42
  lines.shift while lines.first =~ /^\/\// && !lines.empty?
43
43
  s = JSON.load(lines.join("\n"))
44
44
  rangehash = s['pointers']['ranges']
45
- rangehash = Hash[rangehash.map { |k, v| [k.to_sym, v] }]
45
+ if rangehash.nil?
46
+ rangehash = store['pointers']['ranges'] ||= {}
47
+ else
48
+ rangehash = Hash[rangehash.map { |k, v| [k.to_sym, v] }]
49
+ end
46
50
  else
47
51
  # Create an alias for the databse that stores the pointers per range
48
52
  rangehash = store['pointers']['ranges'] ||= {}
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: test_ids
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen McGinty
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-02-11 00:00:00.000000000 Z
11
+ date: 2019-02-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: origen
@@ -101,7 +101,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
101
101
  version: 1.8.11
102
102
  requirements: []
103
103
  rubyforge_project:
104
- rubygems_version: 2.7.6
104
+ rubygems_version: 2.7.7
105
105
  signing_key:
106
106
  specification_version: 4
107
107
  summary: Origen plugin to assign and track test program bins and test numbers