dog_biscuits 0.5.0 → 0.5.1
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 +4 -4
- data/lib/dog_biscuits/version.rb +1 -1
- data/lib/generators/dog_biscuits/install_generator.rb +1 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 17c13c37bf33b559ff77d76d2507112a62d6efd1
|
4
|
+
data.tar.gz: 12187a223f012bc6de85f205cd5628cb43a3ba9a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3e08fe8629a42634a7f786f3b59333788ca0396cbbdfe59f0c8e2a924aba6db703cf7b3e9ac4a36a79a7c8d19557ddd4d79cfcedeae5d03c983b395d885e1b72
|
7
|
+
data.tar.gz: 928ff105699df9d6c164d97c3a211e7cf8bc8f1f95a019f040809cf3eae45a422998371bdd33be7628754b01df464e494de26510e46b4d04ca1a89e3dc42949e
|
data/lib/dog_biscuits/version.rb
CHANGED
@@ -68,9 +68,7 @@ This generator makes the following changes to your application:
|
|
68
68
|
# Remove all blacklight labels from hyrax locales
|
69
69
|
def wipe_hyrax_locales
|
70
70
|
Dir.entries('config/locales').select { |file| file.start_with?('hyrax.') }.each do |locale|
|
71
|
-
gsub_file "config/locales/#{locale}", /
|
72
|
-
gsub_file "config/locales/#{locale}", / facet:(.*) index:/m, " facet:\n index:"
|
73
|
-
gsub_file "config/locales/#{locale}", / show:(.*) hyrax:/m, " show:\n hyrax:"
|
71
|
+
gsub_file "config/locales/#{locale}", / blacklight:(.*) hyrax:/m, " hyrax:"
|
74
72
|
end
|
75
73
|
end
|
76
74
|
|