soft_deletion 0.5.5 → 0.5.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile.lock +1 -1
- data/lib/soft_deletion/dependency.rb +1 -1
- data/lib/soft_deletion/version.rb +1 -1
- data/spec/soft_deletion_spec.rb +1 -1
- metadata +6 -14
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 9866ca2df495d3a180f22f3d56451b1fda15e538
|
4
|
+
data.tar.gz: 69fbbbd1217bd01038164a9b3f19f9fa327c330e
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 7af7dfb1add14ea8cbe36db9f87406d750ec072a24bf0a3e2f4a3d8a477a889ad7e45b3d405451e6fe7c9be9412e6f465aed8d1fa4703b26458de1e029e3a85a
|
7
|
+
data.tar.gz: 6012cd76f241b0f1f0423fa29aa3d0d2e19cfda02ad781384ed46ef51c171380e368fa7037c9df625bf92d6aa1e879a8d4e25c78bb2737a8fbd90c40aac20eef
|
data/Gemfile.lock
CHANGED
data/spec/soft_deletion_spec.rb
CHANGED
@@ -350,7 +350,7 @@ describe SoftDeletion do
|
|
350
350
|
it "custom sql to delete all" do
|
351
351
|
category = DDACategory.create!
|
352
352
|
forum = category.forums.create!
|
353
|
-
|
353
|
+
Forum.should_receive(:mark_as_soft_deleted_sql).and_return "fooo"
|
354
354
|
category.forums.should_receive(:update_all).with("fooo")
|
355
355
|
category.soft_delete!
|
356
356
|
end
|
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: soft_deletion
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
5
|
-
prerelease:
|
4
|
+
version: 0.5.6
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Zendesk
|
@@ -42,32 +41,25 @@ files:
|
|
42
41
|
homepage: https://github.com/grosser/soft_deletion
|
43
42
|
licenses:
|
44
43
|
- MIT
|
44
|
+
metadata: {}
|
45
45
|
post_install_message:
|
46
46
|
rdoc_options: []
|
47
47
|
require_paths:
|
48
48
|
- lib
|
49
49
|
required_ruby_version: !ruby/object:Gem::Requirement
|
50
|
-
none: false
|
51
50
|
requirements:
|
52
|
-
- -
|
51
|
+
- - '>='
|
53
52
|
- !ruby/object:Gem::Version
|
54
53
|
version: '0'
|
55
|
-
segments:
|
56
|
-
- 0
|
57
|
-
hash: 4555391312656709535
|
58
54
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
59
|
-
none: false
|
60
55
|
requirements:
|
61
|
-
- -
|
56
|
+
- - '>='
|
62
57
|
- !ruby/object:Gem::Version
|
63
58
|
version: '0'
|
64
|
-
segments:
|
65
|
-
- 0
|
66
|
-
hash: 4555391312656709535
|
67
59
|
requirements: []
|
68
60
|
rubyforge_project:
|
69
|
-
rubygems_version:
|
61
|
+
rubygems_version: 2.0.3
|
70
62
|
signing_key:
|
71
|
-
specification_version:
|
63
|
+
specification_version: 4
|
72
64
|
summary: Explicit soft deletion for ActiveRecord via deleted_at and default scope.
|
73
65
|
test_files: []
|