geothird_friendly_id 4.0.9.4 → 4.0.9.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e8156570acc66ffd77342d64504f59435d8e0c3d
4
- data.tar.gz: 12d5abb500f2004dc4a5ae2864e1c2ed6a9ab1bf
3
+ metadata.gz: e4517be54a99468e6efcce36bcfeaebf0c895ef9
4
+ data.tar.gz: e5b63a953bc1e79134fa3c782cf246d3ef0b5703
5
5
  SHA512:
6
- metadata.gz: 5eed9ae32ec35718f79139a1a77713f193023cba771f4edc090e4550715dbc5a73985927a935d70aa723e926f8c59b9871412e717dc613a0a63aaca4caf22559
7
- data.tar.gz: 888c7942bb557ebdd1cfaf7a97ec3239b577e5b67ff24732325b6a4a002b31bacc3efe6908da19289a98453598eab23678355f8ca1b930644e377f1cea6903db
6
+ metadata.gz: e140a454c0774bd355b412b94c3b808bb483b5e13bebbdbc1505b8c89cead604c703e03964c2966bf084e6fa797d79fef97424af126303228cf1ba36195fa122
7
+ data.tar.gz: 731bd86bb8a54ddfef13632a427fbc56f8c78d510c308fe7b6935fbd11cd3b07dc946ad756af93f4292295f6d3404f4d4cb161f9bcf7762b300500cdaf9c8aa1
@@ -221,9 +221,9 @@ often better and easier to use {FriendlyId::Slugged slugs}.
221
221
  relation = relation_class.new(self, arel_table)
222
222
 
223
223
  if finder_needs_type_condition?
224
- relation.where(type_condition).create_with(inheritance_column.to_sym => sti_name)
224
+ relation.with_deleted.where(type_condition).create_with(inheritance_column.to_sym => sti_name)
225
225
  else
226
- relation
226
+ relation.with_deleted
227
227
  end
228
228
  end
229
229
 
data/lib/friendly_id.rb CHANGED
@@ -45,7 +45,7 @@ with numeric ids:
45
45
  module FriendlyId
46
46
 
47
47
  # The current version.
48
- VERSION = "4.0.9.4"
48
+ VERSION = "4.0.9.5"
49
49
 
50
50
  @mutex = Mutex.new
51
51
 
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
4
+ version: 4.0.9.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Norman Clarke