torquebox-no-op 2.0.3 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,10 @@
1
1
  module TorqueBox
2
2
  module Injectors
3
3
  def inject(*args)
4
+ fetch(*args)
5
+ end
6
+
7
+ def fetch(*args)
4
8
  DummyResource.new
5
9
  end
6
10
 
@@ -8,6 +12,9 @@ module TorqueBox
8
12
  def publish(*args)
9
13
  # no-op
10
14
  end
15
+ def receive(*args)
16
+ # no-op
17
+ end
11
18
  end
12
19
  end
13
20
  end
@@ -17,7 +17,16 @@ module TorqueBox
17
17
  end
18
18
 
19
19
  class MessageProcessor
20
-
20
+ end
21
+
22
+ class Queue
23
+ def publish(*args)
24
+ # no-op
25
+ end
26
+
27
+ def receive(*args)
28
+ # no-op
29
+ end
21
30
  end
22
31
  end
23
32
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: torquebox-no-op
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 2.0.3
5
+ version: 2.1.0
6
6
  platform: ruby
7
7
  authors:
8
8
  - The TorqueBox Team
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2012-05-04 00:00:00 Z
13
+ date: 2012-07-26 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rspec
@@ -35,10 +35,10 @@ extra_rdoc_files: []
35
35
  files:
36
36
  - licenses/lgpl-2.1.txt
37
37
  - lib/torquebox-no-op.rb
38
- - lib/torquebox/no-op/injectors.rb
39
- - lib/torquebox/no-op/version.rb
40
38
  - lib/torquebox/no-op/stomp.rb
39
+ - lib/torquebox/no-op/version.rb
41
40
  - lib/torquebox/no-op/messaging.rb
41
+ - lib/torquebox/no-op/injectors.rb
42
42
  homepage: http://torquebox.org/
43
43
  licenses:
44
44
  - lgpl