dumper 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -24,7 +24,8 @@ module Dumper
24
24
  end
25
25
 
26
26
  def config_for(rails_env=nil)
27
- return unless mongo = find_instance_in_object_space(Mongo::DB)
27
+ return unless defined?(Mongo::DB) &&
28
+ mongo = find_instance_in_object_space(Mongo::DB)
28
29
 
29
30
  {
30
31
  :host => mongo.connection.host,
@@ -1,3 +1,3 @@
1
1
  module Dumper
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dumper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: