hokipoki 0.8.1 → 0.8.2
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 +4 -5
- 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: a3e90b9d154db9191acdd7edc681417cc7777b492797a77e72505be3e99e78dc
|
|
4
|
+
data.tar.gz: 05f6175e3485d3ce9f2ba58fd05dc1c8c0ed53fa007ac81f775ee31205347f8b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: dbbcd2354d6ee442d8fbda7a0065692792d8863c8332d7ba88dc389064b9f86ab71a7eb23908059f6c2e06a1ac7f3eb9722273f3f9c44a9d338363b8c6f2590c
|
|
7
|
+
data.tar.gz: 9ec6addf3ee80855af9e12d5ce6e3989d5c396467bac53ebdf51933766994563c64dc3e48570dcdb10e12031ae660ac033b20e83956750dc36d0b68762b1ea2f
|
|
@@ -306,15 +306,14 @@ module Hokipoki
|
|
|
306
306
|
file_content = File.read(main_config_file)
|
|
307
307
|
|
|
308
308
|
if file_content.include?('Hokipoki.configure')
|
|
309
|
-
# Add to existing Hokipoki.configure block
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
309
|
+
# Add to existing Hokipoki.configure block - insert before the final 'end'
|
|
310
|
+
insert_into_file main_config_file, before: /^end\s*$/ do
|
|
311
|
+
<<~RUBY
|
|
312
|
+
|
|
313
313
|
# Parasite attachment enabled
|
|
314
314
|
config.parasite_attachment = true
|
|
315
315
|
config.parasite_type = '#{options[:parasite_type]}'
|
|
316
316
|
RUBY
|
|
317
|
-
+ $2
|
|
318
317
|
end
|
|
319
318
|
else
|
|
320
319
|
# Add new Hokipoki.configure block
|
data/lib/hokipoki/version.rb
CHANGED