zeta 0.2.5 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.markdown +4 -0
- data/lib/zeta/instance.rb +24 -0
- data/lib/zeta/version.rb +1 -1
- data/zeta.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 02f15040a2acf0e5a0b85b9d5a3aa02ff61e3aa4
|
4
|
+
data.tar.gz: e5c2e9bbc3751567af03ef034b90f9e715672710
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc605fed51ad16edcc90c4ed90bba8cd967c2a1b169d6ff2b5b558cd10886d4a51b31a5ec7a9b09bbdfecbb1421425e9d23dba457a55241d38287a81642e8fa0
|
7
|
+
data.tar.gz: 8ed946c7a676e81c3d36a99bdb7b904498f1c71138c7b4c5ccd229485832f84a245bc8f9c38a5f6f98fe008a101e8ef99036183aa139ac1e811ba73557869963
|
data/CHANGELOG.markdown
CHANGED
data/lib/zeta/instance.rb
CHANGED
@@ -91,6 +91,30 @@ class Zeta
|
|
91
91
|
@config = env_config
|
92
92
|
end
|
93
93
|
|
94
|
+
def validate_object_to_publish!(type, data)
|
95
|
+
current_service.validate_object_to_publish!(type, data)
|
96
|
+
end
|
97
|
+
|
98
|
+
def validate_object_to_publish(type, data)
|
99
|
+
current_service.validate_object_to_publish(type, data)
|
100
|
+
end
|
101
|
+
|
102
|
+
def validate_object_to_consume!(type, data)
|
103
|
+
current_service.validate_object_to_consume!(type, data)
|
104
|
+
end
|
105
|
+
|
106
|
+
def validate_object_to_consume(type, data)
|
107
|
+
current_service.validate_object_to_consume(type, data)
|
108
|
+
end
|
109
|
+
|
110
|
+
def consume_object(type, data)
|
111
|
+
current_service.consume_object(type, data)
|
112
|
+
end
|
113
|
+
|
114
|
+
def current_service
|
115
|
+
@current_service ||= infrastructure.services[config[:service_name]]
|
116
|
+
end
|
117
|
+
|
94
118
|
private
|
95
119
|
|
96
120
|
def verbose?
|
data/lib/zeta/version.rb
CHANGED
data/zeta.gemspec
CHANGED
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.require_paths = ['lib']
|
20
20
|
|
21
21
|
spec.add_runtime_dependency 'rake', '~> 10.2'
|
22
|
-
spec.add_runtime_dependency 'lacerda', '~> 0.
|
22
|
+
spec.add_runtime_dependency 'lacerda', '~> 0.5'
|
23
23
|
spec.add_runtime_dependency 'activesupport'
|
24
24
|
spec.add_runtime_dependency 'httparty', '~> 0.13'
|
25
25
|
spec.add_runtime_dependency 'colorize'
|
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.3.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-10-
|
11
|
+
date: 2015-10-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.
|
33
|
+
version: '0.5'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.
|
40
|
+
version: '0.5'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: activesupport
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|