hokipoki 0.8.1 → 0.8.3
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
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c866b8ac2472ecaca2a5d77dc27886d3affbaecc4f8023bc5641a063bdc8cdb9
|
|
4
|
+
data.tar.gz: 461e2e11be7ce85d59f718a7ac811518e5f26a0c77879c76ca5d7c3be137cd83
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c5b779c4bd7d33216f53dbb3e244b54edf7fc6e90de5a383a22bab8af40569ad09e19bd1bdd335d71e17d9600dcacbdac7480346b9ef33ffa2c482b852b2560f
|
|
7
|
+
data.tar.gz: ed3ba4258cdda70d167002b38aaec0f15f9ea54a11d2d16f1f4efa162ce65a75a4c67a4e6a63d01a1ea10ee239bbd6da998138ddbbfd3db9f71a490b896c3936
|
|
@@ -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
|
|
@@ -377,16 +377,18 @@ module Parasite
|
|
|
377
377
|
end
|
|
378
378
|
RUBY
|
|
379
379
|
|
|
380
|
-
# Add to application configuration
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
380
|
+
# Add to application configuration - insert before the final 'end'
|
|
381
|
+
insert_into_file "config/application.rb", before: /^ end\s*$/ do
|
|
382
|
+
<<~RUBY
|
|
383
|
+
|
|
384
|
+
# Start Claude detection service in development
|
|
385
|
+
if Rails.env.development?
|
|
386
|
+
config.after_initialize do
|
|
387
|
+
ClaudeDetectionService.instance.start_monitoring
|
|
388
|
+
end
|
|
389
|
+
end
|
|
390
|
+
RUBY
|
|
391
|
+
end
|
|
390
392
|
end
|
|
391
393
|
|
|
392
394
|
def setup_context_injection
|
data/lib/hokipoki/version.rb
CHANGED