ocean-rails 6.2.1 → 7.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ocean/version.rb +1 -1
- data/lib/ocean/zero_log.rb +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5280692bf4bae31bacdb33d6d841281640d58207
|
4
|
+
data.tar.gz: 3e31d56ee4031c14930ea6641634ec2e88603002
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 642ddc30b02ea82a928b1a2575ec49dd67bf63ed1dcd21a969bdb0f11ac6537bf13bb81857372f87c990e6207b22777793cc3772c249044bb54adbcfb6c8d4ac
|
7
|
+
data.tar.gz: 8b9aa548400f1265d60d1829991a21335c3205e207a56fa7251eb7df5516f0f59c32f493f3d9dc4c0461bf745844274e2aeba7c3bf60a8a6b8905dfa04a928e0
|
data/lib/ocean/version.rb
CHANGED
data/lib/ocean/zero_log.rb
CHANGED
@@ -91,7 +91,7 @@ class ZeroLog
|
|
91
91
|
loggers = context.socket(ZMQ::PUSH)
|
92
92
|
log_hosts.each do |host|
|
93
93
|
#puts "Connecting to the PULL server #{host}"
|
94
|
-
loggers.connect("tcp://#{host}:
|
94
|
+
loggers.connect("tcp://#{host}:9999")
|
95
95
|
end
|
96
96
|
# Connect SUB to PUSH via a queue and block
|
97
97
|
ZMQ::Device.new(ZMQ::QUEUE, subscriber, loggers)
|
@@ -153,7 +153,7 @@ class ZeroLog
|
|
153
153
|
#puts "Starting PULL server"
|
154
154
|
puller = context.socket(ZMQ::PULL)
|
155
155
|
#puts "Binding to the PULL socket"
|
156
|
-
puller.bind("tcp://*:
|
156
|
+
puller.bind("tcp://*:9999")
|
157
157
|
# Set up the PUSH socket
|
158
158
|
pusher = context.socket(ZMQ::PUSH)
|
159
159
|
#puts "Binding to the PUSH socket"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ocean-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 7.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Bengtson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-03-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -294,7 +294,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
294
294
|
version: '0'
|
295
295
|
requirements: []
|
296
296
|
rubyforge_project:
|
297
|
-
rubygems_version: 2.
|
297
|
+
rubygems_version: 2.6.11
|
298
298
|
signing_key:
|
299
299
|
specification_version: 4
|
300
300
|
summary: This gem implements common Ocean behaviour for Ruby and Ruby on Rails.
|