zeta 0.9.0 → 0.10.0
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 +5 -0
- data/lib/zeta.rb +9 -1
- data/lib/zeta/version.rb +1 -1
- 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: 8b5e908506772595d20fc1d1792e3769a34582f9
|
4
|
+
data.tar.gz: c533f99341f47de3c7921f6a73f7128a0e56582d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0ccb8f8477e702f9a472aa88e832781e14281c0401799a33c698278ab2a1fe460ff2c327705e35094122f2a90b1db2f9e20ec1922afc16bde1e991f3d660a48d
|
7
|
+
data.tar.gz: eb6521417057a4c5040d3187d82b672f0fec7a45d5eda43f7c002d1950bde48a50bbfc98e876512328a64caa1665bde58de80c3ca25e797f821d2e389244bb5d
|
data/CHANGELOG.markdown
CHANGED
@@ -1,3 +1,8 @@
|
|
1
|
+
# 0.10.0
|
2
|
+
- the Zeta singleton will only transform its own contracts after it's
|
3
|
+
initialized, but not fetch remote contracts as this is not necessary
|
4
|
+
at runtime see [#15](https://github.com/moviepilot/zeta/issues/15)
|
5
|
+
|
1
6
|
# 0.9.0
|
2
7
|
- change http basic auth env vars to ZETA_HTTP_USER and ZETA_HTTP_PASSWORD
|
3
8
|
|
data/lib/zeta.rb
CHANGED
@@ -15,8 +15,16 @@ class Zeta
|
|
15
15
|
send_args = [method, args].flatten.compact
|
16
16
|
MUTEX.synchronize do
|
17
17
|
unless @singleton
|
18
|
+
# Create a Zeta singleton
|
18
19
|
@singleton = new(verbose: true)
|
19
|
-
|
20
|
+
|
21
|
+
# Copy the current service's specifications to cache dir
|
22
|
+
@singleton.update_own_contracts
|
23
|
+
|
24
|
+
# Convert current service's specifications so published and
|
25
|
+
# consumed objects of this service can be validated at
|
26
|
+
# runtime
|
27
|
+
@singleton.infrastructure.convert_all!
|
20
28
|
end
|
21
29
|
@singleton.send(*send_args)
|
22
30
|
end
|
data/lib/zeta/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zeta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.10.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jannis Hermanns
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-11-
|
11
|
+
date: 2015-11-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|