hokipoki 0.7.0 → 0.7.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/generators/hokipoki/attach_parasite_generator.rb +16 -2
- data/lib/hokipoki/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a28a93f7a63fe34c78ad0a7a8cbafd7b580394706ad0aed259b1f5c2d7577f55
|
|
4
|
+
data.tar.gz: 8e848a028577835f20bf1b950b4089efc58d858ec88e2f4a8fc892539ba6f4e4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f7e2f1efc86028b124b4b3ef2e84fbf374c446321e8e6ad377f4bd97cff86e79751eb8edaa8e356b44f77495e6ad520643e453b98fa734cc9652c1d004df9b7d
|
|
7
|
+
data.tar.gz: 4d84834ef11b9cc98400cf9269e01df1ac6b89f2f2bc8d7162a1fc4f751ddf399e9d090916d2db0cc1c11c05c599dd1383663e17b9dec849d571f5f80f17e5b3
|
|
@@ -306,12 +306,26 @@ module Hokipoki
|
|
|
306
306
|
config_addition = <<~RUBY
|
|
307
307
|
|
|
308
308
|
# Parasite attachment enabled
|
|
309
|
-
|
|
310
|
-
|
|
309
|
+
Rails.application.configure do |config|
|
|
310
|
+
config.parasite_attachment = true
|
|
311
|
+
config.parasite_type = '#{options[:parasite_type]}'
|
|
312
|
+
end
|
|
311
313
|
RUBY
|
|
312
314
|
|
|
313
315
|
append_to_file main_config_file, config_addition
|
|
314
316
|
say "📝 Updated main hokipoki config", :green
|
|
317
|
+
else
|
|
318
|
+
# Create the config file if it doesn't exist
|
|
319
|
+
create_file main_config_file, <<~RUBY
|
|
320
|
+
# HokiPoki Configuration
|
|
321
|
+
|
|
322
|
+
Rails.application.configure do |config|
|
|
323
|
+
# Parasite attachment enabled
|
|
324
|
+
config.parasite_attachment = true
|
|
325
|
+
config.parasite_type = '#{options[:parasite_type]}'
|
|
326
|
+
end
|
|
327
|
+
RUBY
|
|
328
|
+
say "📝 Created hokipoki config with parasite settings", :green
|
|
315
329
|
end
|
|
316
330
|
end
|
|
317
331
|
|
data/lib/hokipoki/version.rb
CHANGED