mongoid-paranoia 1.2.0 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/mongoid/paranoia/version.rb +1 -1
- data/mongoid-paranoia.gemspec +1 -1
- metadata +5 -6
- data/CHANGELOG.md +0 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e2cadcf3b4063c6ad95cdd9c72aeedf8000166bb
|
4
|
+
data.tar.gz: 16fc73e78b17b5bb7091e38afa52eeaa177fcadd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 036e55c67d31d6efbe45da862532e373500a1a4530efa46c62d50289aadfd4dd20ba6af825133e89a92f544a97f5aed25b42760a470069cc72150fd66e9378fb
|
7
|
+
data.tar.gz: a9dd85df18376228c86d20b62cf03ac374cd29eaee4037a659903f5e0ca118a4c78e54f1c02bce1a59c889edb23bf92ea7ad1c23875cd2ae89c7fdcabf62b001
|
data/README.md
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
# mongoid-paranoia [![Build Status](https://travis-ci.org/haihappen/mongoid-paranoia.png)](https://travis-ci.org/haihappen/mongoid-paranoia)
|
2
2
|
|
3
|
-
**Important:** This gem is an extraction of [Mongoid::Paranoia](http://mongoid.
|
3
|
+
**Important:** This gem is an extraction of [Mongoid::Paranoia](http://mongoid.github.io/en/mongoid/docs/extras.html#paranoia) from the official [mongoid](http://mongoid.org) gem.
|
4
4
|
Since Mongoid::Paranoia was removed in the `4.0.0` release of Mongoid, this gem re-enables the functionality of paranoid documents.
|
5
5
|
|
6
6
|
**Please submit only bug and security fixes**. Neither I will accept new features nor changes to existing APIs.
|
7
7
|
|
8
8
|
**Attention:** There are two similarly named gems out there: `mongoid-paranoia` and `mongoid_paranoia`
|
9
9
|
|
10
|
-
* `mongoid-paranoia`'s (this one) goal is to stay API compatible, which comes at the cost of (breaking) API changes to be rejected. If you're updating a Mongoid 3.x app to Mongoid 4
|
10
|
+
* `mongoid-paranoia`'s (this one) goal is to stay API compatible, which comes at the cost of (breaking) API changes to be rejected. If you're updating a Mongoid 3.x app to Mongoid 4+ and you depend on `Mongoid::Paranoia` this gem is recommended for continuity.
|
11
11
|
|
12
12
|
* However if your code is working and you want new features, for example a `*_restore` callback, you should head over to @simi's `mongoid_paranoia` gem at https://github.com/simi/mongoid_paranoia. He is doing a great job there and is willing to accept your PRs ;)
|
13
13
|
|
data/mongoid-paranoia.gemspec
CHANGED
@@ -15,7 +15,7 @@ Gem::Specification.new do |gem|
|
|
15
15
|
gem.require_path = 'lib'
|
16
16
|
|
17
17
|
gem.add_dependency 'activesupport', '~> 4.0'
|
18
|
-
gem.add_dependency 'mongoid', '>= 4.0.0', '<=
|
18
|
+
gem.add_dependency 'mongoid', '>= 4.0.0', '<= 6.0.0'
|
19
19
|
gem.add_development_dependency 'mongoid-versioning', '~> 1.1', '>= 1.1.0'
|
20
20
|
gem.add_development_dependency 'rake', '~> 10.0'
|
21
21
|
gem.add_development_dependency 'rspec', '~> 3'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mongoid-paranoia
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mario Uher
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-11-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -33,7 +33,7 @@ dependencies:
|
|
33
33
|
version: 4.0.0
|
34
34
|
- - "<="
|
35
35
|
- !ruby/object:Gem::Version
|
36
|
-
version:
|
36
|
+
version: 6.0.0
|
37
37
|
type: :runtime
|
38
38
|
prerelease: false
|
39
39
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -43,7 +43,7 @@ dependencies:
|
|
43
43
|
version: 4.0.0
|
44
44
|
- - "<="
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version:
|
46
|
+
version: 6.0.0
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: mongoid-versioning
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
@@ -101,7 +101,6 @@ extra_rdoc_files: []
|
|
101
101
|
files:
|
102
102
|
- ".gitignore"
|
103
103
|
- ".travis.yml"
|
104
|
-
- CHANGELOG.md
|
105
104
|
- Gemfile
|
106
105
|
- README.md
|
107
106
|
- Rakefile
|
@@ -159,7 +158,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
159
158
|
version: '0'
|
160
159
|
requirements: []
|
161
160
|
rubyforge_project:
|
162
|
-
rubygems_version: 2.
|
161
|
+
rubygems_version: 2.5.0
|
163
162
|
signing_key:
|
164
163
|
specification_version: 4
|
165
164
|
summary: Extraction of mongoid-paranoia into its own gem.
|
data/CHANGELOG.md
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
# 0.3.0 (May 28, 2013)
|
2
|
-
* Updated to mongoid 3.1.4.
|
3
|
-
|
4
|
-
# 0.2.1 (May 28, 2013)
|
5
|
-
* Freeze on mongoid 3.1.3 for now.
|
6
|
-
* Fixes paths for Travis.
|
7
|
-
|
8
|
-
# 0.2.0 (May 11, 2013)
|
9
|
-
* Added info.
|
10
|
-
|
11
|
-
# 0.1.1 (May 11, 2013)
|
12
|
-
* Fixed dependencies.
|
13
|
-
|
14
|
-
# 0.1.0 (February 26, 2013)
|
15
|
-
* First public version.
|