mongoid-versioning 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,2 +1,6 @@
1
+ # 0.2.0 (May 11, 2013)
2
+ * Added info.
3
+ * Fixed dependencies.
4
+
1
5
  # 0.1.0 (February 26, 2013)
2
6
  * First public version.
data/README.md CHANGED
@@ -1,4 +1,9 @@
1
1
  # mongoid-versioning
2
+ **Important:** This gem is an extraction of [Mongoid::Versioning](http://mongoid.org/en/mongoid/docs/extras.html#versioning) from the official [mongoid](http://mongoid.org) gem. Since Mongoid::Versioning will be removed in the upcoming `4.0.0` release of mongoid, this gem re-enables the functionality of versioned documents.
3
+
4
+ **Please submit only bug and security fixes**. Neighter I will accept new features nor changes to exiting APIs. Please consider forking the project if you want new features to appear! :)
5
+
6
+ ---
2
7
 
3
8
  Mongoid supports simple versioning through inclusion of the `Mongoid::Versioning` module. Including this module will create a versions embedded relation on the document that it will append to on each save. It will also update the version number on the document, which is an integer.
4
9
 
@@ -1,5 +1,5 @@
1
1
  module Mongoid
2
2
  module Versioning
3
- VERSION = '0.1.0'
3
+ VERSION = '0.2.0'
4
4
  end
5
5
  end
@@ -13,6 +13,6 @@ Gem::Specification.new do |gem|
13
13
  gem.files = `git ls-files`.split("\n")
14
14
  gem.require_path = 'lib'
15
15
 
16
- gem.add_dependency 'activesupport'
17
- gem.add_dependency 'mongoid'
16
+ gem.add_dependency 'activesupport', '>= 3.0'
17
+ gem.add_dependency 'mongoid', '~> 3.0'
18
18
  end
metadata CHANGED
@@ -2,14 +2,14 @@
2
2
  name: mongoid-versioning
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.0
5
+ version: 0.2.0
6
6
  platform: ruby
7
7
  authors:
8
8
  - Mario Uher
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-02-26 00:00:00.000000000 Z
12
+ date: 2013-05-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  prerelease: false
@@ -17,7 +17,7 @@ dependencies:
17
17
  requirements:
18
18
  - - ! '>='
19
19
  - !ruby/object:Gem::Version
20
- version: '0'
20
+ version: '3.0'
21
21
  none: false
22
22
  type: :runtime
23
23
  name: activesupport
@@ -25,23 +25,23 @@ dependencies:
25
25
  requirements:
26
26
  - - ! '>='
27
27
  - !ruby/object:Gem::Version
28
- version: '0'
28
+ version: '3.0'
29
29
  none: false
30
30
  - !ruby/object:Gem::Dependency
31
31
  prerelease: false
32
32
  version_requirements: !ruby/object:Gem::Requirement
33
33
  requirements:
34
- - - ! '>='
34
+ - - ~>
35
35
  - !ruby/object:Gem::Version
36
- version: '0'
36
+ version: '3.0'
37
37
  none: false
38
38
  type: :runtime
39
39
  name: mongoid
40
40
  requirement: !ruby/object:Gem::Requirement
41
41
  requirements:
42
- - - ! '>='
42
+ - - ~>
43
43
  - !ruby/object:Gem::Version
44
- version: '0'
44
+ version: '3.0'
45
45
  none: false
46
46
  description: Mongoid supports simple versioning through inclusion of the Mongoid::Versioning
47
47
  module.