queue-bus 0.5.6 → 0.5.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/queue_bus/local.rb +4 -0
- data/lib/queue_bus/version.rb +1 -1
- metadata +17 -29
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: a88e1a1ca9c71f26f860f8a9f4b907badd21de85
|
4
|
+
data.tar.gz: 30fb6af58bd4f919fe8b698f1cc47ce0b7ee6e61
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 3015c4d9d3dcd4d3ba0d206d69407fc04426ca56c86920147e8f0ad1d2c8c568171112876d0b9bdd4670515ed0d78cdf703ed4b18280df46603501f75f56ca51
|
7
|
+
data.tar.gz: 198a91f2df53aa352fcd9767251eefdc6409b4e77fe5bacd54f60c93c908f51e86e9e8c77281317b3879b5197a14452929f2bb8356e9022478d0fb150f9e81c8
|
data/lib/queue_bus/local.rb
CHANGED
@@ -9,6 +9,10 @@ module QueueBus
|
|
9
9
|
return # not doing anything
|
10
10
|
end
|
11
11
|
|
12
|
+
# To json and back to simlulate enqueueing
|
13
|
+
json = ::QueueBus::Util.encode(attributes)
|
14
|
+
attributes = ::QueueBus::Util.decode(json)
|
15
|
+
|
12
16
|
::QueueBus.log_worker("Local running: #{attributes.inspect}")
|
13
17
|
|
14
18
|
# looking for subscriptions, not queues
|
data/lib/queue_bus/version.rb
CHANGED
metadata
CHANGED
@@ -1,94 +1,83 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: queue-bus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
5
|
-
prerelease:
|
4
|
+
version: 0.5.7
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Brian Leonard
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2016-05-12 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: multi_json
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - '>='
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: '0'
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- -
|
24
|
+
- - '>='
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: '0'
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: redis
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- -
|
31
|
+
- - '>='
|
36
32
|
- !ruby/object:Gem::Version
|
37
33
|
version: '0'
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- -
|
38
|
+
- - '>='
|
44
39
|
- !ruby/object:Gem::Version
|
45
40
|
version: '0'
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: rspec
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
|
-
- -
|
45
|
+
- - '>='
|
52
46
|
- !ruby/object:Gem::Version
|
53
47
|
version: '0'
|
54
48
|
type: :development
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
|
-
- -
|
52
|
+
- - '>='
|
60
53
|
- !ruby/object:Gem::Version
|
61
54
|
version: '0'
|
62
55
|
- !ruby/object:Gem::Dependency
|
63
56
|
name: timecop
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
58
|
requirements:
|
67
|
-
- -
|
59
|
+
- - '>='
|
68
60
|
- !ruby/object:Gem::Version
|
69
61
|
version: '0'
|
70
62
|
type: :development
|
71
63
|
prerelease: false
|
72
64
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
65
|
requirements:
|
75
|
-
- -
|
66
|
+
- - '>='
|
76
67
|
- !ruby/object:Gem::Version
|
77
68
|
version: '0'
|
78
69
|
- !ruby/object:Gem::Dependency
|
79
70
|
name: json_pure
|
80
71
|
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
72
|
requirements:
|
83
|
-
- -
|
73
|
+
- - '>='
|
84
74
|
- !ruby/object:Gem::Version
|
85
75
|
version: '0'
|
86
76
|
type: :development
|
87
77
|
prerelease: false
|
88
78
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
79
|
requirements:
|
91
|
-
- -
|
80
|
+
- - '>='
|
92
81
|
- !ruby/object:Gem::Version
|
93
82
|
version: '0'
|
94
83
|
description: A simple event bus on top of common background queues. Publish and subscribe
|
@@ -150,27 +139,26 @@ files:
|
|
150
139
|
- spec/worker_spec.rb
|
151
140
|
homepage: ''
|
152
141
|
licenses: []
|
142
|
+
metadata: {}
|
153
143
|
post_install_message:
|
154
144
|
rdoc_options: []
|
155
145
|
require_paths:
|
156
146
|
- lib
|
157
147
|
required_ruby_version: !ruby/object:Gem::Requirement
|
158
|
-
none: false
|
159
148
|
requirements:
|
160
|
-
- -
|
149
|
+
- - '>='
|
161
150
|
- !ruby/object:Gem::Version
|
162
151
|
version: '0'
|
163
152
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
164
|
-
none: false
|
165
153
|
requirements:
|
166
|
-
- -
|
154
|
+
- - '>='
|
167
155
|
- !ruby/object:Gem::Version
|
168
156
|
version: '0'
|
169
157
|
requirements: []
|
170
158
|
rubyforge_project: queue-bus
|
171
|
-
rubygems_version:
|
159
|
+
rubygems_version: 2.4.8
|
172
160
|
signing_key:
|
173
|
-
specification_version:
|
161
|
+
specification_version: 4
|
174
162
|
summary: A simple event bus on top of background queues
|
175
163
|
test_files:
|
176
164
|
- spec/adapter/publish_at_spec.rb
|