mil_friendly_id 4.0.9.8 → 4.0.9.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/friendly_id.rb +1 -1
- data/lib/friendly_id/history.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 54a549be419afe56b7d8c56ee914a2d9a5f621f5
|
4
|
+
data.tar.gz: 3812ef19637d5eeb46b474aac9b42a18b342dc4f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d37c48613fc7b59328cc5f9fe065c635630a26f7f8f57e898d8ff80005dcec2dd15fd3c5d6c1d1651472e8832bc5d5040ae18edbf5c9f3cf1fa8a177ab71a855
|
7
|
+
data.tar.gz: b9849bf2956ed6945d74b95714c2e20f670a95ac8d2a82ce274fff1d0673bedfd2ae126b89bbf9b21c6d83a2854fe32505cd5c858fc23fdaf149bd19a6b9ddfe
|
data/lib/friendly_id.rb
CHANGED
data/lib/friendly_id/history.rb
CHANGED
@@ -77,7 +77,7 @@ method.
|
|
77
77
|
# Allow reversion back to a previously used slug
|
78
78
|
relation = slugs.where(:slug => friendly_id)
|
79
79
|
result = relation.select("id").lock(true).all
|
80
|
-
relation.delete_all unless result.empty?
|
80
|
+
relation.with_deleted.delete_all! unless result.empty?
|
81
81
|
slugs.create! do |record|
|
82
82
|
record.slug = friendly_id
|
83
83
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mil_friendly_id
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.9.
|
4
|
+
version: 4.0.9.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Norman Clarke
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-08-29 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: acts_as_paranoid
|