mongo_mapper_versioned 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,7 +2,7 @@
2
2
  module MongoMapper
3
3
  module Plugins
4
4
  module Versioned
5
- Version = '0.2.0'
5
+ Version = '0.2.1'
6
6
  end
7
7
  end
8
8
  end
@@ -4,7 +4,7 @@ module MongoMapper
4
4
 
5
5
  module ClassMethods
6
6
  def versioned(options={})
7
- configuration = { :ignored_keys => %w(_id version_number created_at updated_at creator_id updater_id) }
7
+ configuration = { :ignored_keys => %w(_id version_number) }
8
8
  configuration[:ignored_keys].concat(options[:ignored_keys]).uniq if options.key?(:ignored_keys)
9
9
 
10
10
  key :version_number, Integer, :default => 1, :index => true
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongo_mapper_versioned
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
5
- prerelease: false
4
+ hash: 21
5
+ prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 0
10
- version: 0.2.0
9
+ - 1
10
+ version: 0.2.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Tomas Celizna
@@ -15,12 +15,13 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-12-27 00:00:00 +01:00
18
+ date: 2011-01-07 00:00:00 +01:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
- prerelease: false
23
- version_requirements: &id001 !ruby/object:Gem::Requirement
22
+ type: :runtime
23
+ name: mongo_mapper
24
+ requirement: &id001 !ruby/object:Gem::Requirement
24
25
  none: false
25
26
  requirements:
26
27
  - - ">="
@@ -29,12 +30,12 @@ dependencies:
29
30
  segments:
30
31
  - 0
31
32
  version: "0"
32
- requirement: *id001
33
- name: mongo_mapper
34
- type: :runtime
35
- - !ruby/object:Gem::Dependency
36
33
  prerelease: false
37
- version_requirements: &id002 !ruby/object:Gem::Requirement
34
+ version_requirements: *id001
35
+ - !ruby/object:Gem::Dependency
36
+ type: :development
37
+ name: rake
38
+ requirement: &id002 !ruby/object:Gem::Requirement
38
39
  none: false
39
40
  requirements:
40
41
  - - ">="
@@ -43,9 +44,8 @@ dependencies:
43
44
  segments:
44
45
  - 0
45
46
  version: "0"
46
- requirement: *id002
47
- name: rake
48
- type: :development
47
+ prerelease: false
48
+ version_requirements: *id002
49
49
  description:
50
50
  email:
51
51
  - tomas.celizna@gmail.com
@@ -92,7 +92,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
92
92
  requirements: []
93
93
 
94
94
  rubyforge_project:
95
- rubygems_version: 1.3.7
95
+ rubygems_version: 1.4.1
96
96
  signing_key:
97
97
  specification_version: 3
98
98
  summary: Versioned plugin for MongoMapper