We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8c689e3 + 324267c commit 33e8f8cCopy full SHA for 33e8f8c
1 file changed
lib/geo_combine/ogp.rb
@@ -207,7 +207,7 @@ def slug
207
sluggify(filter_name(name))
208
end
209
210
- SLUG_BLACKLIST = %w[
+ SLUG_STRIP_VALUES = %w[
211
SDE_DATA.
212
SDE.
213
SDE2.
@@ -218,8 +218,8 @@ def slug
218
219
def filter_name(name)
220
# strip out schema and usernames
221
- SLUG_BLACKLIST.each do |blacklisted|
222
- name.sub!(blacklisted, '')
+ SLUG_STRIP_VALUES.each do |strip_val|
+ name.sub!(strip_val, '')
223
224
unless name.size > 1
225
# use first word of title is empty name
0 commit comments