mongoid-paranoia 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.travis.yml +19 -0
- data/CHANGELOG.md +3 -0
- data/Gemfile +0 -1
- data/README.md +1 -1
- data/gemfiles/mongoid_master.gemfile +7 -0
- data/lib/mongoid/paranoia/version.rb +1 -1
- data/mongoid-paranoia.gemspec +1 -1
- data/spec/mongoid/paranoia_spec.rb +1 -1
- data/spec/spec_helper.rb +2 -0
- metadata +14 -6
data/.travis.yml
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
language: ruby
|
|
2
|
+
|
|
3
|
+
rvm:
|
|
4
|
+
- 1.9.3
|
|
5
|
+
- 2.0.0
|
|
6
|
+
- ruby-head
|
|
7
|
+
|
|
8
|
+
gemfile:
|
|
9
|
+
- Gemfile
|
|
10
|
+
- gemfiles/mongoid_master.gemfile
|
|
11
|
+
|
|
12
|
+
branches:
|
|
13
|
+
only:
|
|
14
|
+
- master
|
|
15
|
+
|
|
16
|
+
matrix:
|
|
17
|
+
allow_failures:
|
|
18
|
+
- rvm: ruby-head
|
|
19
|
+
- gemfile: gemfiles/mongoid_master.gemfile
|
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
data/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# mongoid-paranoia
|
|
1
|
+
# mongoid-paranoia [](https://travis-ci.org/haihappen/mongoid-paranoia)
|
|
2
2
|
|
|
3
3
|
**Important:** This gem is an extraction of [Mongoid::Paranoia](http://mongoid.org/en/mongoid/docs/extras.html#paranoia) from the official [mongoid](http://mongoid.org) gem. Since Mongoid::Paranoia will be removed in the upcoming `4.0.0` release of mongoid, this gem re-enables the functionality of paranoid documents.
|
|
4
4
|
|
data/mongoid-paranoia.gemspec
CHANGED
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
name: mongoid-paranoia
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease:
|
|
5
|
-
version: 0.2.
|
|
5
|
+
version: 0.2.1
|
|
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-05-
|
|
12
|
+
date: 2013-05-28 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
prerelease: false
|
|
@@ -31,17 +31,23 @@ dependencies:
|
|
|
31
31
|
prerelease: false
|
|
32
32
|
version_requirements: !ruby/object:Gem::Requirement
|
|
33
33
|
requirements:
|
|
34
|
-
- -
|
|
34
|
+
- - ! '>='
|
|
35
|
+
- !ruby/object:Gem::Version
|
|
36
|
+
version: '3.0'
|
|
37
|
+
- - <
|
|
35
38
|
- !ruby/object:Gem::Version
|
|
36
|
-
version: 3.
|
|
39
|
+
version: 3.1.4
|
|
37
40
|
none: false
|
|
38
41
|
type: :runtime
|
|
39
42
|
name: mongoid
|
|
40
43
|
requirement: !ruby/object:Gem::Requirement
|
|
41
44
|
requirements:
|
|
42
|
-
- -
|
|
45
|
+
- - ! '>='
|
|
46
|
+
- !ruby/object:Gem::Version
|
|
47
|
+
version: '3.0'
|
|
48
|
+
- - <
|
|
43
49
|
- !ruby/object:Gem::Version
|
|
44
|
-
version: 3.
|
|
50
|
+
version: 3.1.4
|
|
45
51
|
none: false
|
|
46
52
|
description: There may be times when you don't want documents to actually get deleted
|
|
47
53
|
from the database, but "flagged" as deleted.
|
|
@@ -51,10 +57,12 @@ extensions: []
|
|
|
51
57
|
extra_rdoc_files: []
|
|
52
58
|
files:
|
|
53
59
|
- .gitignore
|
|
60
|
+
- .travis.yml
|
|
54
61
|
- CHANGELOG.md
|
|
55
62
|
- Gemfile
|
|
56
63
|
- README.md
|
|
57
64
|
- Rakefile
|
|
65
|
+
- gemfiles/mongoid_master.gemfile
|
|
58
66
|
- lib/mongoid/paranoia.rb
|
|
59
67
|
- lib/mongoid/paranoia/version.rb
|
|
60
68
|
- mongoid-paranoia.gemspec
|