rails3_acts_as_paranoid 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/acts_as_paranoid/associations.rb +1 -0
- metadata +4 -4
@@ -13,6 +13,7 @@ module ActsAsParanoid
|
|
13
13
|
result = belongs_to_without_deleted(target, options)
|
14
14
|
|
15
15
|
if with_deleted
|
16
|
+
result.options[:with_deleted] = with_deleted
|
16
17
|
class_eval <<-RUBY, __FILE__, __LINE__
|
17
18
|
def #{target}_with_unscoped(*args)
|
18
19
|
association = association(:#{target})
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails3_acts_as_paranoid
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2012-05-16 00:00:00.000000000Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activerecord
|
16
|
-
requirement: &
|
16
|
+
requirement: &70118109527820 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
version: '3.2'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70118109527820
|
25
25
|
description: Active Record (~>3.2) plugin which allows you to hide and restore records
|
26
26
|
without actually deleting them. Check its GitHub page for more in-depth information.
|
27
27
|
email:
|
@@ -51,7 +51,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
51
51
|
version: '0'
|
52
52
|
segments:
|
53
53
|
- 0
|
54
|
-
hash: -
|
54
|
+
hash: -893378719868361513
|
55
55
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
56
56
|
none: false
|
57
57
|
requirements:
|