mongoid_identity_map 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -17,4 +17,4 @@ module MongoidIdentityMap
17
17
  end
18
18
  end
19
19
 
20
- Mongoid::Collection.send(:include, MongoidIdentityMap::IdentityMappable) unless defined?(Rails) && Rails.env.test?
20
+ Mongoid::Collection.send(:include, MongoidIdentityMap::IdentityMappable)
@@ -1,7 +1,7 @@
1
1
  module MongoidIdentityMap
2
2
  class Railtie < Rails::Railtie
3
3
  initializer "mongoid_identity_map.initializer" do |app|
4
- app.middleware.use MongoidIdentityMap::ClearMiddleware unless Rails.env.test?
4
+ app.middleware.use MongoidIdentityMap::ClearMiddleware
5
5
  end
6
6
  end
7
7
  end
@@ -1,3 +1,3 @@
1
1
  module MongoidIdentityMap
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 2
9
- version: 0.1.2
8
+ - 3
9
+ version: 0.1.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - Guilherme Cirne
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2011-05-02 00:00:00 -03:00
17
+ date: 2011-05-03 00:00:00 -03:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency