zss 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +27 -28
- data/lib/zss/service.rb +5 -1
- data/lib/zss/version.rb +1 -1
- data/zss.gemspec +2 -2
- metadata +6 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f2706731d57e862040a15b1da6ef8984c597f772
|
4
|
+
data.tar.gz: cd21403fea64b67b7fd4b5fd7ecb5305938c7d72
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 057aac335a99194c32aab69f540043624933a7366ef8b471b525e4d36cce5891e958cac46886b91c042dab6bbb5dc1f89365436d2b23be33ff3875a198525ae0
|
7
|
+
data.tar.gz: 0c3028d41f04be9bcae40d44d235ed69bf7302db1611eaf05f1674983553463d0b4997b1a332a00bf91c06272f4f73a93fa619902fc4acf8e196224c1d017a96
|
data/Gemfile.lock
CHANGED
@@ -1,23 +1,23 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
zss (0.3.
|
5
|
-
activesupport (
|
4
|
+
zss (0.3.2)
|
5
|
+
activesupport (~> 4.2)
|
6
6
|
daemons (~> 1.1)
|
7
7
|
em-zeromq (~> 0.5)
|
8
8
|
ffi-rzmq (~> 2.0)
|
9
9
|
hashie (~> 3.2)
|
10
|
-
logger_facade (~> 0.
|
10
|
+
logger_facade (~> 0.4.1)
|
11
11
|
msgpack (~> 0.5)
|
12
12
|
|
13
13
|
GEM
|
14
14
|
remote: https://rubygems.org/
|
15
15
|
specs:
|
16
|
-
activesupport (4.
|
17
|
-
i18n (~> 0.
|
16
|
+
activesupport (4.2.0)
|
17
|
+
i18n (~> 0.7)
|
18
18
|
json (~> 1.7, >= 1.7.7)
|
19
19
|
minitest (~> 5.1)
|
20
|
-
thread_safe (~> 0.
|
20
|
+
thread_safe (~> 0.3, >= 0.3.4)
|
21
21
|
tzinfo (~> 1.1)
|
22
22
|
airbrake (4.1.0)
|
23
23
|
builder
|
@@ -26,7 +26,7 @@ GEM
|
|
26
26
|
bump (0.5.1)
|
27
27
|
celluloid (0.16.0)
|
28
28
|
timers (~> 4.0.0)
|
29
|
-
codeclimate-test-reporter (0.4.
|
29
|
+
codeclimate-test-reporter (0.4.6)
|
30
30
|
simplecov (>= 0.7.1, < 1.0.0)
|
31
31
|
coderay (1.1.0)
|
32
32
|
daemons (1.1.9)
|
@@ -36,47 +36,47 @@ GEM
|
|
36
36
|
eventmachine (>= 1.0.0)
|
37
37
|
ffi (>= 1.0.0)
|
38
38
|
ffi-rzmq (~> 2.0.1)
|
39
|
-
eventmachine (1.0.
|
39
|
+
eventmachine (1.0.7)
|
40
40
|
ffi (1.9.6)
|
41
|
-
ffi-rzmq (2.0.
|
41
|
+
ffi-rzmq (2.0.4)
|
42
42
|
ffi-rzmq-core (>= 1.0.1)
|
43
43
|
ffi-rzmq-core (1.0.3)
|
44
44
|
ffi (~> 1.9)
|
45
|
-
hashie (3.
|
45
|
+
hashie (3.4.0)
|
46
46
|
hitimes (1.2.2)
|
47
47
|
i18n (0.7.0)
|
48
48
|
json (1.8.2)
|
49
|
-
logger_facade (0.
|
49
|
+
logger_facade (0.4.1)
|
50
50
|
airbrake (~> 4.0)
|
51
51
|
hashie (~> 3.2)
|
52
52
|
sucker_punch (~> 1.1)
|
53
|
-
yajl-ruby (~> 1.2)
|
54
53
|
method_source (0.8.2)
|
55
54
|
minitest (5.5.1)
|
56
|
-
msgpack (0.5.
|
55
|
+
msgpack (0.5.11)
|
57
56
|
multi_json (1.10.1)
|
58
57
|
pry (0.10.1)
|
59
58
|
coderay (~> 1.1.0)
|
60
59
|
method_source (~> 0.8.1)
|
61
60
|
slop (~> 3.4)
|
62
61
|
rake (10.4.2)
|
63
|
-
rspec (3.
|
64
|
-
rspec-core (~> 3.
|
65
|
-
rspec-expectations (~> 3.
|
66
|
-
rspec-mocks (~> 3.
|
67
|
-
rspec-core (3.1
|
68
|
-
rspec-support (~> 3.
|
69
|
-
rspec-expectations (3.
|
62
|
+
rspec (3.2.0)
|
63
|
+
rspec-core (~> 3.2.0)
|
64
|
+
rspec-expectations (~> 3.2.0)
|
65
|
+
rspec-mocks (~> 3.2.0)
|
66
|
+
rspec-core (3.2.1)
|
67
|
+
rspec-support (~> 3.2.0)
|
68
|
+
rspec-expectations (3.2.0)
|
69
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
70
|
+
rspec-support (~> 3.2.0)
|
71
|
+
rspec-mocks (3.2.1)
|
70
72
|
diff-lcs (>= 1.2.0, < 2.0)
|
71
|
-
rspec-support (~> 3.
|
72
|
-
rspec-
|
73
|
-
|
74
|
-
rspec-support (3.1.2)
|
75
|
-
simplecov (0.9.1)
|
73
|
+
rspec-support (~> 3.2.0)
|
74
|
+
rspec-support (3.2.2)
|
75
|
+
simplecov (0.9.2)
|
76
76
|
docile (~> 1.1.0)
|
77
77
|
multi_json (~> 1.0)
|
78
|
-
simplecov-html (~> 0.
|
79
|
-
simplecov-html (0.
|
78
|
+
simplecov-html (~> 0.9.0)
|
79
|
+
simplecov-html (0.9.0)
|
80
80
|
slop (3.6.0)
|
81
81
|
sucker_punch (1.3.2)
|
82
82
|
celluloid (~> 0.16.0)
|
@@ -85,7 +85,6 @@ GEM
|
|
85
85
|
hitimes
|
86
86
|
tzinfo (1.2.2)
|
87
87
|
thread_safe (~> 0.1)
|
88
|
-
yajl-ruby (1.2.1)
|
89
88
|
|
90
89
|
PLATFORMS
|
91
90
|
ruby
|
data/lib/zss/service.rb
CHANGED
@@ -107,7 +107,11 @@ module ZSS
|
|
107
107
|
log.trace("SMI response received: \n #{message}", context) if log.is_debug
|
108
108
|
end
|
109
109
|
rescue ZSS::Error => error
|
110
|
-
|
110
|
+
if error.code >= 400 and error.code < 500
|
111
|
+
log.info("ZSS::Error raised while processing request: #{error}",
|
112
|
+
metadata({ error: error }))
|
113
|
+
end
|
114
|
+
|
111
115
|
reply_error error, message
|
112
116
|
rescue => e
|
113
117
|
log.error("Unexpected error occurred while processing request: #{e}", metadata({ exception: e }))
|
data/lib/zss/version.rb
CHANGED
data/zss.gemspec
CHANGED
@@ -32,9 +32,9 @@ Gem::Specification.new do |spec|
|
|
32
32
|
|
33
33
|
spec.add_dependency 'msgpack', '~> 0.5'
|
34
34
|
spec.add_dependency 'ffi-rzmq', '~> 2.0'
|
35
|
-
spec.add_dependency 'activesupport', '
|
35
|
+
spec.add_dependency 'activesupport', '~> 4.2'
|
36
36
|
spec.add_dependency 'hashie', '~> 3.2'
|
37
37
|
spec.add_dependency 'daemons', '~> 1.1'
|
38
38
|
spec.add_dependency 'em-zeromq', '~> 0.5'
|
39
|
-
spec.add_dependency 'logger_facade', '~> 0.
|
39
|
+
spec.add_dependency 'logger_facade', '~> 0.4.1'
|
40
40
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zss
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pedro Januário
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-02-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -140,20 +140,14 @@ dependencies:
|
|
140
140
|
name: activesupport
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
142
142
|
requirements:
|
143
|
-
- - "
|
144
|
-
- !ruby/object:Gem::Version
|
145
|
-
version: '4.1'
|
146
|
-
- - "<"
|
143
|
+
- - "~>"
|
147
144
|
- !ruby/object:Gem::Version
|
148
145
|
version: '4.2'
|
149
146
|
type: :runtime
|
150
147
|
prerelease: false
|
151
148
|
version_requirements: !ruby/object:Gem::Requirement
|
152
149
|
requirements:
|
153
|
-
- - "
|
154
|
-
- !ruby/object:Gem::Version
|
155
|
-
version: '4.1'
|
156
|
-
- - "<"
|
150
|
+
- - "~>"
|
157
151
|
- !ruby/object:Gem::Version
|
158
152
|
version: '4.2'
|
159
153
|
- !ruby/object:Gem::Dependency
|
@@ -204,14 +198,14 @@ dependencies:
|
|
204
198
|
requirements:
|
205
199
|
- - "~>"
|
206
200
|
- !ruby/object:Gem::Version
|
207
|
-
version: 0.
|
201
|
+
version: 0.4.1
|
208
202
|
type: :runtime
|
209
203
|
prerelease: false
|
210
204
|
version_requirements: !ruby/object:Gem::Requirement
|
211
205
|
requirements:
|
212
206
|
- - "~>"
|
213
207
|
- !ruby/object:Gem::Version
|
214
|
-
version: 0.
|
208
|
+
version: 0.4.1
|
215
209
|
description: ZeroMQ SOA Suite
|
216
210
|
email:
|
217
211
|
- prnjanuario@gmail.com
|