zeta 0.12.4 → 0.12.5
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/CHANGELOG.markdown +3 -0
- data/lib/zeta/version.rb +1 -1
- data/lib/zeta.rb +3 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4ea90e121ab37c8d02908fdcd3c06eac3d7ee5a0
|
4
|
+
data.tar.gz: 4bb83a910c38bfb6312df4fb1a68e28073971fc0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c6d0ad7aba11a403b52fe46bb546e3066d99d5c03cccf378b9265b385936ae463df679e3d307421d1b0540b234d6f310389a4613cf00c9cae1d43fefa9b5902
|
7
|
+
data.tar.gz: cee31302b5d4efae3f04f77a82ba96a37a4a3d9ecdad8b1b027044a5b140ac952957220d0e404b10c799baf0b0e01356e0fb1f6e3abad3c21a9a2d57cb7c3e6d
|
data/CHANGELOG.markdown
CHANGED
data/lib/zeta/version.rb
CHANGED
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
|