zeta 0.12.4 → 0.12.5

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: ca59a735f784f683a952d7fe7953f30846ffb918
4
- data.tar.gz: 79985b345c3e01768d3a57c9b56bcedbf009ad35
3
+ metadata.gz: 4ea90e121ab37c8d02908fdcd3c06eac3d7ee5a0
4
+ data.tar.gz: 4bb83a910c38bfb6312df4fb1a68e28073971fc0
5
5
  SHA512:
6
- metadata.gz: 29b5a0005763dc552f3888733482a59713c84998a173c5a7e8a00e605f635d8deb97c92a5c81a4b6d1f47f3393e141c39da3005963fc72f4c9435fd3c83c7bc8
7
- data.tar.gz: 397479ef539c33bc8308a72b8fe6d6dcfc332e65b239e4974dffc541920362d890882edb1673a535ba29157eac78bb1fde587535b87b8382a1b4f89024296772
6
+ metadata.gz: 1c6d0ad7aba11a403b52fe46bb546e3066d99d5c03cccf378b9265b385936ae463df679e3d307421d1b0540b234d6f310389a4613cf00c9cae1d43fefa9b5902
7
+ data.tar.gz: cee31302b5d4efae3f04f77a82ba96a37a4a3d9ecdad8b1b027044a5b140ac952957220d0e404b10c799baf0b0e01356e0fb1f6e3abad3c21a9a2d57cb7c3e6d
data/CHANGELOG.markdown CHANGED
@@ -1,3 +1,6 @@
1
+ # 0.12.5
2
+ - More conservative locking
3
+
1
4
  # 0.12.4
2
5
  - More conservative locking
3
6
 
data/lib/zeta/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  class Zeta
2
- VERSION = "0.12.4"
2
+ VERSION = "0.12.5"
3
3
  end
data/lib/zeta.rb CHANGED
@@ -7,8 +7,8 @@ class Zeta
7
7
  MUTEX = Mutex.new
8
8
 
9
9
  def self.instance
10
- return @instance if @instance
11
10
  MUTEX.synchronize do
11
+ return @instance if @instance
12
12
  unless @instance
13
13
  # Create a Zeta instance
14
14
  @instance = new(verbose: true)
@@ -20,8 +20,10 @@ class Zeta
20
20
  # consumed objects of this service can be validated at
21
21
  # runtime
22
22
  @instance.convert_all!
23
+
23
24
  end
24
25
  end
26
+ @instance
25
27
  end
26
28
 
27
29
  # Not using the SingleForwardable module here so that, when
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zeta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.4
4
+ version: 0.12.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jannis Hermanns