stuffed_bunny 0.0.4 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/lib/stuffed_bunny/bunny_overrides.rb +3 -1
- data/lib/stuffed_bunny/version.rb +1 -1
- data/lib/stuffed_bunny.rb +1 -1
- data/spec/queue_spec.rb +1 -1
- metadata +5 -19
checksums.yaml
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
ZDk4NWY2MzA1ZDhmZGRjYjljYWRjZjkzNjE2ZGFkYzQ0Y2VhMzcxMQ==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
NDgwMjJmNzA4MmU2YzVhZWM5NWE0MTJmNGQ1YmJkYjY0Yjk0MjI2Zg==
|
7
|
+
SHA512:
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
OTYxYWVkNDA4ZjVlOGY2ZjgyYWY5NTdkZGM3NzZhZmYzNGYwNTNiZjVkOGJm
|
10
|
+
YzhmZDkyNWNkZjEzYTQ3MGM5N2NjODk3NDY2NTg4ZDZlYjA4MGVkNzk4ODhl
|
11
|
+
NmFkMDI4NjAyNDYzMzlhMmZmM2E3YjZhNzM4ODg4OGQwOTJhYmE=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
MzBjMTVkZmIzMmE1YWQ1Njc4MDEwOTY3ZGY3NmRhMzM2NTFiNDE5ODhiMWY2
|
14
|
+
MzRiNjJmYjczYzhhM2EyOTMzNzI2MGZkMTJmNDViYWQ4OWVlNzRiNWM2N2My
|
15
|
+
MjY0ZDdkYmUwNDRmNTA4NjNmNmFhM2Q4OTgwYmY5Y2Y4NzFhMTg=
|
@@ -31,7 +31,7 @@ module Bunny
|
|
31
31
|
end
|
32
32
|
|
33
33
|
def queue(queue_name, options=nil)
|
34
|
-
Bunny::Queue.new
|
34
|
+
Bunny::Queue.new nil
|
35
35
|
end
|
36
36
|
end
|
37
37
|
|
@@ -65,6 +65,8 @@ module Bunny
|
|
65
65
|
end
|
66
66
|
|
67
67
|
class Queue
|
68
|
+
def initialize(channel_or_connection, name = nil, opts = {})
|
69
|
+
end
|
68
70
|
def delete(*args)
|
69
71
|
:delete_ok
|
70
72
|
end
|
data/lib/stuffed_bunny.rb
CHANGED
@@ -2,7 +2,7 @@ require 'stuffed_bunny/version'
|
|
2
2
|
require 'stuffed_bunny/bunny_overrides'
|
3
3
|
|
4
4
|
module StuffedBunny
|
5
|
-
# Call this in a test's
|
5
|
+
# Call this in a test's teardown method to clear messages in the exchanges.
|
6
6
|
def self.reset!
|
7
7
|
Bunny.reset_exchanges
|
8
8
|
end
|
data/spec/queue_spec.rb
CHANGED
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stuffed_bunny
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
5
|
-
prerelease:
|
4
|
+
version: 1.0.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Chris Murphy
|
@@ -10,12 +9,11 @@ authors:
|
|
10
9
|
autorequire:
|
11
10
|
bindir: bin
|
12
11
|
cert_chain: []
|
13
|
-
date:
|
12
|
+
date: 2014-02-10 00:00:00.000000000 Z
|
14
13
|
dependencies:
|
15
14
|
- !ruby/object:Gem::Dependency
|
16
15
|
name: bunny
|
17
16
|
requirement: !ruby/object:Gem::Requirement
|
18
|
-
none: false
|
19
17
|
requirements:
|
20
18
|
- - ~>
|
21
19
|
- !ruby/object:Gem::Version
|
@@ -23,7 +21,6 @@ dependencies:
|
|
23
21
|
type: :development
|
24
22
|
prerelease: false
|
25
23
|
version_requirements: !ruby/object:Gem::Requirement
|
26
|
-
none: false
|
27
24
|
requirements:
|
28
25
|
- - ~>
|
29
26
|
- !ruby/object:Gem::Version
|
@@ -31,7 +28,6 @@ dependencies:
|
|
31
28
|
- !ruby/object:Gem::Dependency
|
32
29
|
name: minitest-reporters
|
33
30
|
requirement: !ruby/object:Gem::Requirement
|
34
|
-
none: false
|
35
31
|
requirements:
|
36
32
|
- - ! '>='
|
37
33
|
- !ruby/object:Gem::Version
|
@@ -39,7 +35,6 @@ dependencies:
|
|
39
35
|
type: :development
|
40
36
|
prerelease: false
|
41
37
|
version_requirements: !ruby/object:Gem::Requirement
|
42
|
-
none: false
|
43
38
|
requirements:
|
44
39
|
- - ! '>='
|
45
40
|
- !ruby/object:Gem::Version
|
@@ -47,7 +42,6 @@ dependencies:
|
|
47
42
|
- !ruby/object:Gem::Dependency
|
48
43
|
name: rake
|
49
44
|
requirement: !ruby/object:Gem::Requirement
|
50
|
-
none: false
|
51
45
|
requirements:
|
52
46
|
- - '='
|
53
47
|
- !ruby/object:Gem::Version
|
@@ -55,7 +49,6 @@ dependencies:
|
|
55
49
|
type: :development
|
56
50
|
prerelease: false
|
57
51
|
version_requirements: !ruby/object:Gem::Requirement
|
58
|
-
none: false
|
59
52
|
requirements:
|
60
53
|
- - '='
|
61
54
|
- !ruby/object:Gem::Version
|
@@ -83,33 +76,26 @@ files:
|
|
83
76
|
- stuffed_bunny.gemspec
|
84
77
|
homepage: https://github.com/customink/stuffed_bunny
|
85
78
|
licenses: []
|
79
|
+
metadata: {}
|
86
80
|
post_install_message:
|
87
81
|
rdoc_options: []
|
88
82
|
require_paths:
|
89
83
|
- lib
|
90
84
|
required_ruby_version: !ruby/object:Gem::Requirement
|
91
|
-
none: false
|
92
85
|
requirements:
|
93
86
|
- - ! '>='
|
94
87
|
- !ruby/object:Gem::Version
|
95
88
|
version: '0'
|
96
|
-
segments:
|
97
|
-
- 0
|
98
|
-
hash: 1986827251272161089
|
99
89
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
100
|
-
none: false
|
101
90
|
requirements:
|
102
91
|
- - ! '>='
|
103
92
|
- !ruby/object:Gem::Version
|
104
93
|
version: '0'
|
105
|
-
segments:
|
106
|
-
- 0
|
107
|
-
hash: 1986827251272161089
|
108
94
|
requirements: []
|
109
95
|
rubyforge_project:
|
110
|
-
rubygems_version: 1.
|
96
|
+
rubygems_version: 2.1.11
|
111
97
|
signing_key:
|
112
|
-
specification_version:
|
98
|
+
specification_version: 4
|
113
99
|
summary: Provides stubbing of the Bunny gem.
|
114
100
|
test_files:
|
115
101
|
- spec/bunny_spec.rb
|