carnivore-actor 0.1.6 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/Gemfile.lock +28 -0
- data/carnivore-actor-0.1.6.gem +0 -0
- data/lib/carnivore-actor/actor.rb +5 -3
- data/lib/carnivore-actor/version.rb +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a5f596043cc1c8aa428a25ad4cf72814b6f3ba42
|
4
|
+
data.tar.gz: 8080852a0dca2ea00f13cb47f5bff271b0b1b78a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a0e895bb4c5e0a52f0c2c2bd9f18b4bfd4cde757f04b33938c35b545935a83f3336642b6219523a9c94bde825570811513ce26982f646d254a34e4e05b25d52f
|
7
|
+
data.tar.gz: cf9e5fcce1cb7ecc3445db64405870f7f580c7dbbc802059b9eaf34c18c331a210c22afa65c83fb994b1071d4dc7d84bb0fa2ca8304422ba5eb21ec3c928e281
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
carnivore-actor (0.1.7)
|
5
|
+
carnivore (> 0.1.10)
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: https://rubygems.org/
|
9
|
+
specs:
|
10
|
+
carnivore (0.2.10)
|
11
|
+
celluloid
|
12
|
+
hashie
|
13
|
+
mixlib-config
|
14
|
+
multi_json
|
15
|
+
celluloid (0.16.0)
|
16
|
+
timers (~> 4.0.0)
|
17
|
+
hashie (3.3.1)
|
18
|
+
hitimes (1.2.2)
|
19
|
+
mixlib-config (2.1.0)
|
20
|
+
multi_json (1.10.1)
|
21
|
+
timers (4.0.1)
|
22
|
+
hitimes
|
23
|
+
|
24
|
+
PLATFORMS
|
25
|
+
ruby
|
26
|
+
|
27
|
+
DEPENDENCIES
|
28
|
+
carnivore-actor!
|
Binary file
|
@@ -29,10 +29,12 @@ module Carnivore
|
|
29
29
|
# is made to "remote" source instead of self (jackal hack)
|
30
30
|
def transmit(payload, *args)
|
31
31
|
if(arguments[:remote_name])
|
32
|
-
Carnivore::Supervisor.supervisor[arguments[:remote_name]].transmit(
|
32
|
+
Carnivore::Supervisor.supervisor[arguments[:remote_name]].transmit(
|
33
|
+
MultiJson.dump(payload)
|
34
|
+
)
|
33
35
|
true
|
34
36
|
else
|
35
|
-
@messages << payload
|
37
|
+
@messages << MultiJson.dump(payload)
|
36
38
|
signal(:available_messages)
|
37
39
|
true
|
38
40
|
end
|
@@ -44,7 +46,7 @@ module Carnivore
|
|
44
46
|
def current_messages
|
45
47
|
msgs = @messages.dup
|
46
48
|
@messages.clear
|
47
|
-
msgs
|
49
|
+
msgs.map(&:to_smash)
|
48
50
|
end
|
49
51
|
end
|
50
52
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: carnivore-actor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Roberts
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-10-
|
11
|
+
date: 2014-10-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: carnivore
|
@@ -33,9 +33,11 @@ files:
|
|
33
33
|
- CHANGELOG.md
|
34
34
|
- CONTRIBUTING.md
|
35
35
|
- Gemfile
|
36
|
+
- Gemfile.lock
|
36
37
|
- LICENSE
|
37
38
|
- README.md
|
38
39
|
- carnivore-actor-0.1.4.gem
|
40
|
+
- carnivore-actor-0.1.6.gem
|
39
41
|
- carnivore-actor.gemspec
|
40
42
|
- lib/carnivore-actor.rb
|
41
43
|
- lib/carnivore-actor/actor.rb
|