pushyd 0.22.0 → 0.23.0

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: fd36ea01bb992654b0c3a791e49baa77b0e66140
4
- data.tar.gz: 1ee9dd52f747456503f799bd98cee05f5f90e66a
3
+ metadata.gz: 8ba6f2c7c7310e2767380a940d9c7416f1ac87fc
4
+ data.tar.gz: c9db478c51b6d7f77bb385bcb96e847181b9ca86
5
5
  SHA512:
6
- metadata.gz: fcd38ca1879c702300a43ff3c64568bb738419111b8fe10f4b4307dea965853bfd382616b2384f7730f1409e10694813d5242f851ed8a24cbf2aa266b9c71f11
7
- data.tar.gz: e0924559663f6d9accde4e22cf7f09c0fedcc801b9b55546651c6e235d042325fc87791700c0546e37ce3d1d4f08736c462cb6405663cc7a5b938c6e44693a43
6
+ metadata.gz: d7dcb8428586078ce08b30c7ce978d377c71889af1ae745ca00490288724dc9dd2830ef36fe5c2f85e01063a5637dd270110e4fa851a203ea6e97a03257810a2
7
+ data.tar.gz: 0f7156adeb70165a7753fa7d676db908b6aaf4d918b70f50e892234517264c5cbfd6a0cea35c80e498ee9b42148596c8dccad157dce3ffc4b77cbb9bce9980f0
data/Gemfile.lock CHANGED
@@ -1,9 +1,9 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- pushyd (0.22.0)
4
+ pushyd (0.23.0)
5
5
  api-auth
6
- bmc-daemon-lib (~> 0.4.3)
6
+ bmc-daemon-lib (~> 0.5.0)
7
7
  bunny (~> 2.3)
8
8
  daemons
9
9
  json
@@ -19,9 +19,9 @@ GEM
19
19
  amq-protocol (2.0.1)
20
20
  api-auth (2.0.1)
21
21
  ast (2.3.0)
22
- bmc-daemon-lib (0.4.3)
22
+ bmc-daemon-lib (0.5.0)
23
23
  chamber (~> 2.9.1)
24
- bunny (2.5.1)
24
+ bunny (2.6.1)
25
25
  amq-protocol (>= 2.0.1)
26
26
  chamber (2.9.1)
27
27
  hashie (~> 3.3)
@@ -44,7 +44,7 @@ GEM
44
44
  mime-types (2.99.3)
45
45
  multi_json (1.12.1)
46
46
  netrc (0.11.0)
47
- newrelic_rpm (3.16.3.323)
47
+ newrelic_rpm (3.17.0.325)
48
48
  parser (2.3.1.4)
49
49
  ast (~> 2.2)
50
50
  powerpack (0.1.1)
@@ -69,7 +69,7 @@ GEM
69
69
  diff-lcs (>= 1.2.0, < 2.0)
70
70
  rspec-support (~> 3.5.0)
71
71
  rspec-support (3.5.0)
72
- rubocop (0.43.0)
72
+ rubocop (0.44.1)
73
73
  parser (>= 2.3.1.1, < 3.0)
74
74
  powerpack (~> 0.1)
75
75
  rainbow (>= 1.99.1, < 3.0)
@@ -96,4 +96,4 @@ DEPENDENCIES
96
96
  rubocop
97
97
 
98
98
  BUNDLED WITH
99
- 1.12.5
99
+ 1.13.5
data/lib/pushyd/proxy.rb CHANGED
@@ -31,12 +31,14 @@ module PushyDaemon
31
31
  # Check config and subscribe rules
32
32
  create_consumers
33
33
 
34
+ # Send config table to logs
35
+ log_info "Proxy initialized", @table.to_s
36
+ puts @table.to_s
37
+
38
+
34
39
  # Create a new shouter, and start its loop
35
40
  create_shouter
36
41
 
37
- # Send config table to logs
38
- log_info "Proxy initialized", @table.to_s.lines
39
-
40
42
  rescue BmcDaemonLib::MqConsumerException, EndpointConnectionError, ShouterInterrupted, Errno::EACCES => e
41
43
  log_error "Proxy: #{e.message}"
42
44
  abort "EXITING #{e.class}: #{e.message}"
@@ -115,7 +117,6 @@ module PushyDaemon
115
117
  @consumers << consumer
116
118
  end
117
119
 
118
-
119
120
  def consumer_cancelled all={}
120
121
  log_error "consumer_cancelled remotely: #{all.inspect}"
121
122
  end
data/pushyd.gemspec CHANGED
@@ -1,7 +1,7 @@
1
1
  # coding: utf-8
2
2
  Gem::Specification.new do |spec|
3
3
  # Project version
4
- spec.version = "0.22.0"
4
+ spec.version = "0.23.0"
5
5
 
6
6
  # Project description
7
7
  spec.name = "pushyd"
@@ -28,7 +28,7 @@ Gem::Specification.new do |spec|
28
28
  # spec.add_development_dependency "pry"
29
29
 
30
30
  # Runtime dependencies
31
- spec.add_runtime_dependency "bmc-daemon-lib", "~> 0.4.3"
31
+ spec.add_runtime_dependency "bmc-daemon-lib", "~> 0.5.0"
32
32
  spec.add_runtime_dependency "daemons"
33
33
  spec.add_runtime_dependency "json"
34
34
  spec.add_runtime_dependency "bunny", "~> 2.3"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pushyd
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.22.0
4
+ version: 0.23.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bruno MEDICI
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-11 00:00:00.000000000 Z
11
+ date: 2016-10-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -86,14 +86,14 @@ dependencies:
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: 0.4.3
89
+ version: 0.5.0
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: 0.4.3
96
+ version: 0.5.0
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: daemons
99
99
  requirement: !ruby/object:Gem::Requirement
@@ -250,7 +250,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
250
250
  version: '0'
251
251
  requirements: []
252
252
  rubyforge_project:
253
- rubygems_version: 2.6.6
253
+ rubygems_version: 2.5.1
254
254
  signing_key:
255
255
  specification_version: 4
256
256
  summary: A nice proxy listenning to a RabbitMQ bus, repeating selected messages in