mongomapper_plugins 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -27,14 +27,8 @@ module MongoMapper
27
27
  end
28
28
 
29
29
  class InvalidVersion < StandardError; end
30
-
31
- module Addition
32
- def self.included(model)
33
- model.plugin VersionedUpdate
34
- end
35
- end
36
30
  end
37
31
  end
38
32
  end
39
33
 
40
- MongoMapper::Document.append_inclusions MongoMapper::Plugins::VersionedUpdate::Addition
34
+ MongoMapper::Document.plugin MongoMapper::Plugins::VersionedUpdate
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongomapper_plugins
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -14,7 +14,7 @@ default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler
17
- requirement: &2153202020 !ruby/object:Gem::Requirement
17
+ requirement: &2153690340 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,7 +22,7 @@ dependencies:
22
22
  version: '1.0'
23
23
  type: :development
24
24
  prerelease: false
25
- version_requirements: *2153202020
25
+ version_requirements: *2153690340
26
26
  description: A repository of MongoMapper plugins.
27
27
  email: andrew@andrewtimberlake.com
28
28
  executables: []