brightbox-warren 0.8.6 → 0.8.7
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +1 -0
- data/Manifest +3 -0
- data/warren.gemspec +3 -3
- metadata +2 -3
- data/lib/warren/adapters/dummy_adapter.rb +0 -12
data/CHANGELOG
CHANGED
data/Manifest
CHANGED
@@ -9,6 +9,8 @@ examples/simple/bunny_receiver.rb
|
|
9
9
|
examples/simple/bunny_sender.rb
|
10
10
|
lib/warren/adapters/amqp_adapter.rb
|
11
11
|
lib/warren/adapters/bunny_adapter.rb
|
12
|
+
lib/warren/adapters/dummy_adapter.rb
|
13
|
+
lib/warren/adapters/test_adapter.rb
|
12
14
|
lib/warren/connection.rb
|
13
15
|
lib/warren/filters/shared_secret.rb
|
14
16
|
lib/warren/filters/yaml.rb
|
@@ -21,6 +23,7 @@ Rakefile
|
|
21
23
|
readme.rdoc
|
22
24
|
spec/spec.opts
|
23
25
|
spec/spec_helper.rb
|
26
|
+
spec/warren/adapters/test_adapter_spec.rb
|
24
27
|
spec/warren/connection_spec.rb
|
25
28
|
spec/warren/queue_spec.rb
|
26
29
|
spec/warren/warren_spec.rb
|
data/warren.gemspec
CHANGED
@@ -2,15 +2,15 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{warren}
|
5
|
-
s.version = "0.8.
|
5
|
+
s.version = "0.8.7"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Caius Durling, David Smalley"]
|
9
|
-
s.date = %q{2009-
|
9
|
+
s.date = %q{2009-07-03}
|
10
10
|
s.description = %q{Library for pushing messages onto and off RabbitMQ queues}
|
11
11
|
s.email = %q{support@brightbox.co.uk}
|
12
12
|
s.extra_rdoc_files = ["CHANGELOG", "lib/warren/adapters/amqp_adapter.rb", "lib/warren/adapters/bunny_adapter.rb", "lib/warren/connection.rb", "lib/warren/filters/shared_secret.rb", "lib/warren/filters/yaml.rb", "lib/warren/message_filter.rb", "lib/warren/queue.rb", "lib/warren.rb", "LICENSE", "tasks/rdoc.rake", "tasks/rspec.rake"]
|
13
|
-
s.files = ["CHANGELOG", "examples/authed/receiver.rb", "examples/authed/secret.rb", "examples/authed/sender.rb", "examples/simple/amqp_mass_sender.rb", "examples/simple/amqp_receiver.rb", "examples/simple/amqp_sender.rb", "examples/simple/bunny_receiver.rb", "examples/simple/bunny_sender.rb", "lib/warren/adapters/amqp_adapter.rb", "lib/warren/adapters/bunny_adapter.rb", "lib/warren/
|
13
|
+
s.files = ["CHANGELOG", "examples/authed/receiver.rb", "examples/authed/secret.rb", "examples/authed/sender.rb", "examples/simple/amqp_mass_sender.rb", "examples/simple/amqp_receiver.rb", "examples/simple/amqp_sender.rb", "examples/simple/bunny_receiver.rb", "examples/simple/bunny_sender.rb", "lib/warren/adapters/amqp_adapter.rb", "lib/warren/adapters/bunny_adapter.rb", "lib/warren/connection.rb", "lib/warren/filters/shared_secret.rb", "lib/warren/filters/yaml.rb", "lib/warren/message_filter.rb", "lib/warren/queue.rb", "lib/warren.rb", "LICENSE", "Manifest", "Rakefile", "readme.rdoc", "spec/spec.opts", "spec/spec_helper.rb", "spec/warren/connection_spec.rb", "spec/warren/queue_spec.rb", "spec/warren/warren_spec.rb", "tasks/rdoc.rake", "tasks/rspec.rake", "warren.gemspec"]
|
14
14
|
s.homepage = %q{http://github.com/brightbox/warren}
|
15
15
|
s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Warren", "--main", "readme.rdoc"]
|
16
16
|
s.require_paths = ["lib"]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: brightbox-warren
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Caius Durling, David Smalley
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-07-03 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -53,7 +53,6 @@ files:
|
|
53
53
|
- examples/simple/bunny_sender.rb
|
54
54
|
- lib/warren/adapters/amqp_adapter.rb
|
55
55
|
- lib/warren/adapters/bunny_adapter.rb
|
56
|
-
- lib/warren/adapters/dummy_adapter.rb
|
57
56
|
- lib/warren/connection.rb
|
58
57
|
- lib/warren/filters/shared_secret.rb
|
59
58
|
- lib/warren/filters/yaml.rb
|
@@ -1,12 +0,0 @@
|
|
1
|
-
require "rubygems"
|
2
|
-
|
3
|
-
class DummyAdapter < Warren::Queue
|
4
|
-
def self.publish queue_name, payload, &blk
|
5
|
-
puts "publishing #{payload.inspect} to #{queue_name}"
|
6
|
-
end
|
7
|
-
|
8
|
-
def self.subscribe queue_name, &block
|
9
|
-
puts "subscribing to #{queue_name}"
|
10
|
-
end
|
11
|
-
end
|
12
|
-
|