acts_as_paranoid 0.4.1 → 0.4.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE +1 -1
- data/{README.markdown → README.md} +26 -17
- data/lib/acts_as_paranoid/core.rb +16 -8
- data/lib/acts_as_paranoid/relation.rb +2 -2
- data/lib/acts_as_paranoid/version.rb +3 -0
- data/lib/acts_as_paranoid.rb +10 -14
- data/test/test_associations.rb +222 -0
- data/test/test_core.rb +387 -0
- data/test/test_default_scopes.rb +52 -0
- data/test/test_helper.rb +442 -0
- data/test/test_inheritance.rb +14 -0
- data/test/test_observers.rb +16 -0
- data/test/test_relations.rb +117 -0
- data/test/test_validations.rb +42 -0
- metadata +102 -28
metadata
CHANGED
@@ -1,70 +1,144 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: acts_as_paranoid
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
5
|
-
prerelease:
|
4
|
+
version: 0.4.5
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
7
|
+
- Zachary Scott
|
8
|
+
- André Medeiros
|
8
9
|
- Goncalo Silva
|
9
10
|
- Charles G.
|
10
11
|
- Rick Olson
|
11
12
|
autorequire:
|
12
13
|
bindir: bin
|
13
14
|
cert_chain: []
|
14
|
-
date:
|
15
|
+
date: 2016-07-09 00:00:00.000000000 Z
|
15
16
|
dependencies:
|
16
17
|
- !ruby/object:Gem::Dependency
|
17
18
|
name: activerecord
|
18
|
-
requirement:
|
19
|
-
none: false
|
19
|
+
requirement: !ruby/object:Gem::Requirement
|
20
20
|
requirements:
|
21
|
-
- - ~>
|
21
|
+
- - "~>"
|
22
22
|
- !ruby/object:Gem::Version
|
23
23
|
version: '3.2'
|
24
24
|
type: :runtime
|
25
25
|
prerelease: false
|
26
|
-
version_requirements:
|
27
|
-
|
28
|
-
|
26
|
+
version_requirements: !ruby/object:Gem::Requirement
|
27
|
+
requirements:
|
28
|
+
- - "~>"
|
29
|
+
- !ruby/object:Gem::Version
|
30
|
+
version: '3.2'
|
31
|
+
- !ruby/object:Gem::Dependency
|
32
|
+
name: bundler
|
33
|
+
requirement: !ruby/object:Gem::Requirement
|
34
|
+
requirements:
|
35
|
+
- - "~>"
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '1.5'
|
38
|
+
type: :development
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
requirements:
|
42
|
+
- - "~>"
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
version: '1.5'
|
45
|
+
- !ruby/object:Gem::Dependency
|
46
|
+
name: rake
|
47
|
+
requirement: !ruby/object:Gem::Requirement
|
48
|
+
requirements:
|
49
|
+
- - ">="
|
50
|
+
- !ruby/object:Gem::Version
|
51
|
+
version: '0'
|
52
|
+
type: :development
|
53
|
+
prerelease: false
|
54
|
+
version_requirements: !ruby/object:Gem::Requirement
|
55
|
+
requirements:
|
56
|
+
- - ">="
|
57
|
+
- !ruby/object:Gem::Version
|
58
|
+
version: '0'
|
59
|
+
- !ruby/object:Gem::Dependency
|
60
|
+
name: rdoc
|
61
|
+
requirement: !ruby/object:Gem::Requirement
|
62
|
+
requirements:
|
63
|
+
- - ">="
|
64
|
+
- !ruby/object:Gem::Version
|
65
|
+
version: '0'
|
66
|
+
type: :development
|
67
|
+
prerelease: false
|
68
|
+
version_requirements: !ruby/object:Gem::Requirement
|
69
|
+
requirements:
|
70
|
+
- - ">="
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: '0'
|
73
|
+
- !ruby/object:Gem::Dependency
|
74
|
+
name: minitest
|
75
|
+
requirement: !ruby/object:Gem::Requirement
|
76
|
+
requirements:
|
77
|
+
- - "~>"
|
78
|
+
- !ruby/object:Gem::Version
|
79
|
+
version: '4.0'
|
80
|
+
type: :development
|
81
|
+
prerelease: false
|
82
|
+
version_requirements: !ruby/object:Gem::Requirement
|
83
|
+
requirements:
|
84
|
+
- - "~>"
|
85
|
+
- !ruby/object:Gem::Version
|
86
|
+
version: '4.0'
|
87
|
+
description: Check the home page for more in-depth information.
|
29
88
|
email:
|
30
|
-
-
|
89
|
+
- e@zzak.io
|
31
90
|
executables: []
|
32
91
|
extensions: []
|
33
92
|
extra_rdoc_files: []
|
34
93
|
files:
|
94
|
+
- LICENSE
|
95
|
+
- README.md
|
96
|
+
- lib/acts_as_paranoid.rb
|
35
97
|
- lib/acts_as_paranoid/associations.rb
|
36
98
|
- lib/acts_as_paranoid/core.rb
|
37
99
|
- lib/acts_as_paranoid/relation.rb
|
38
100
|
- lib/acts_as_paranoid/validations.rb
|
39
|
-
- lib/acts_as_paranoid.rb
|
40
|
-
-
|
41
|
-
-
|
42
|
-
|
43
|
-
|
101
|
+
- lib/acts_as_paranoid/version.rb
|
102
|
+
- test/test_associations.rb
|
103
|
+
- test/test_core.rb
|
104
|
+
- test/test_default_scopes.rb
|
105
|
+
- test/test_helper.rb
|
106
|
+
- test/test_inheritance.rb
|
107
|
+
- test/test_observers.rb
|
108
|
+
- test/test_relations.rb
|
109
|
+
- test/test_validations.rb
|
110
|
+
homepage: https://github.com/zzak/acts_as_paranoid
|
111
|
+
licenses:
|
112
|
+
- MIT
|
113
|
+
metadata: {}
|
44
114
|
post_install_message:
|
45
115
|
rdoc_options: []
|
46
116
|
require_paths:
|
47
117
|
- lib
|
48
118
|
required_ruby_version: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
119
|
requirements:
|
51
|
-
- -
|
120
|
+
- - ">="
|
52
121
|
- !ruby/object:Gem::Version
|
53
122
|
version: '0'
|
54
|
-
segments:
|
55
|
-
- 0
|
56
|
-
hash: -1045242170192102573
|
57
123
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
58
|
-
none: false
|
59
124
|
requirements:
|
60
|
-
- -
|
125
|
+
- - ">="
|
61
126
|
- !ruby/object:Gem::Version
|
62
127
|
version: 1.3.6
|
63
128
|
requirements: []
|
64
|
-
rubyforge_project:
|
65
|
-
rubygems_version:
|
129
|
+
rubyforge_project:
|
130
|
+
rubygems_version: 2.5.1
|
66
131
|
signing_key:
|
67
|
-
specification_version:
|
68
|
-
summary: Active Record
|
69
|
-
|
70
|
-
test_files:
|
132
|
+
specification_version: 4
|
133
|
+
summary: Active Record plugin which allows you to hide and restore records without
|
134
|
+
actually deleting them.
|
135
|
+
test_files:
|
136
|
+
- test/test_inheritance.rb
|
137
|
+
- test/test_observers.rb
|
138
|
+
- test/test_relations.rb
|
139
|
+
- test/test_core.rb
|
140
|
+
- test/test_validations.rb
|
141
|
+
- test/test_associations.rb
|
142
|
+
- test/test_helper.rb
|
143
|
+
- test/test_default_scopes.rb
|
144
|
+
has_rdoc:
|