geothird_friendly_id 4.0.9.1 → 4.0.9.2
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/slug_generator.rb +1 -1
- data/lib/friendly_id.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: 9ae114dd7e2bd75c73339f947fe669bf714e3bca
|
4
|
+
data.tar.gz: f4d3050de726f941d29e0d488d7e69151ff047e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce5e37d7a05901ae7b348154d661194472df459bc870a0fd2f575e34560731ae494f942881fac16d1ed8e49b37ce717254229f2e6c7e069bc91322fdb6753f1e
|
7
|
+
data.tar.gz: f6f358264b853a067923d42cbc51e06fefa696780d4601eb5e5dff82631a05646fbd955816dc9f204c317cbe17af0530d8781ad86533501c5925216f6a1618cd
|
@@ -58,7 +58,7 @@ module FriendlyId
|
|
58
58
|
# Awful hack for SQLite3, which does not pick up '\' as the escape character without this.
|
59
59
|
base << "ESCAPE '\\'" if sluggable.connection.adapter_name =~ /sqlite/i
|
60
60
|
scope = sluggable_class.unscoped.where(base, normalized, wildcard)
|
61
|
-
scope = scope.where("#{pkey} <> ?", value) unless sluggable.new_record?
|
61
|
+
scope = scope.with_deleted.where("#{pkey} <> ?", value) unless sluggable.new_record?
|
62
62
|
scope = scope.order("LENGTH(#{column}) DESC, #{column} DESC")
|
63
63
|
end
|
64
64
|
|
data/lib/friendly_id.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: geothird_friendly_id
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.9.
|
4
|
+
version: 4.0.9.2
|
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-06-03 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: railties
|