stuffed_bunny 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,4 @@
1
+ require 'bunny'
1
2
  require 'ostruct'
2
3
 
3
4
  # Overriding the Bunny gem's modules and classes.
@@ -1,3 +1,3 @@
1
1
  module StuffedBunny
2
- VERSION = '0.0.1'
2
+ VERSION = '0.0.2'
3
3
  end
data/lib/stuffed_bunny.rb CHANGED
@@ -4,7 +4,7 @@ require 'stuffed_bunny/bunny_overrides'
4
4
  module StuffedBunny
5
5
 
6
6
  # Call this in a test's setup method to stub the Bunny gem.
7
- def reset!
7
+ def self.reset!
8
8
  Bunny.reset_exchanges
9
9
  end
10
10
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stuffed_bunny
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: