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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e7b36a9950aa6d29e34ee361a7cc76de47955dd8
4
- data.tar.gz: 0c1e4c15e464b8bacae34b520ddadb36e76a4780
3
+ metadata.gz: f2706731d57e862040a15b1da6ef8984c597f772
4
+ data.tar.gz: cd21403fea64b67b7fd4b5fd7ecb5305938c7d72
5
5
  SHA512:
6
- metadata.gz: 6eaa02cb63fc8b8bbc2496601ee0e6384a41d8b53db93851dd4757da86aa34f968b7281e64d2e41776aa20c44e9407279d3ec9da4f7405e3483a2671927085e6
7
- data.tar.gz: 4f54906269c77baff9249f1ff0c8fa085a0435837c6e763645e5e9f5a4217d6284a8664316a388010acd8e3135875a726d1444f9ed8de938565a823ce574b379
6
+ metadata.gz: 057aac335a99194c32aab69f540043624933a7366ef8b471b525e4d36cce5891e958cac46886b91c042dab6bbb5dc1f89365436d2b23be33ff3875a198525ae0
7
+ data.tar.gz: 0c3028d41f04be9bcae40d44d235ed69bf7302db1611eaf05f1674983553463d0b4997b1a332a00bf91c06272f4f73a93fa619902fc4acf8e196224c1d017a96
@@ -1,23 +1,23 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- zss (0.3.1)
5
- activesupport (>= 4.1, < 4.2)
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.3.2)
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.1.6)
17
- i18n (~> 0.6, >= 0.6.9)
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.1)
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.5)
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.4)
39
+ eventmachine (1.0.7)
40
40
  ffi (1.9.6)
41
- ffi-rzmq (2.0.1)
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.3.2)
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.3.2)
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.10)
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.1.0)
64
- rspec-core (~> 3.1.0)
65
- rspec-expectations (~> 3.1.0)
66
- rspec-mocks (~> 3.1.0)
67
- rspec-core (3.1.7)
68
- rspec-support (~> 3.1.0)
69
- rspec-expectations (3.1.2)
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.1.0)
72
- rspec-mocks (3.1.3)
73
- rspec-support (~> 3.1.0)
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.8.0)
79
- simplecov-html (0.8.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
@@ -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
- log.error("ZSS::Error raised while processing request: #{error}", metadata({ error: error }))
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 }))
@@ -1,3 +1,3 @@
1
1
  module ZSS
2
- VERSION = '0.3.1'
2
+ VERSION = '0.3.2'
3
3
  end
@@ -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', '>= 4.1', '< 4.2'
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.3.2'
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.1
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-01-14 00:00:00.000000000 Z
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.3.2
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.3.2
208
+ version: 0.4.1
215
209
  description: ZeroMQ SOA Suite
216
210
  email:
217
211
  - prnjanuario@gmail.com