herb 0.10.3 → 0.10.4
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/herb/engine.rb +1 -1
- data/lib/herb/project.rb +3 -3
- data/lib/herb/version.rb +1 -1
- data/sig/herb/engine.rbs +1 -1
- data/src/include/version.h +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: bfa16f197a7265434d5d11a9bed0b9bb5ed4e89e3e40839f859351ffa00f830d
|
|
4
|
+
data.tar.gz: bae26e11f08a76d3260d9337641a7b7d725b8981313957af67ba79b88c386b6e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: be4e90d02a64523920015ed7812830f3a96bd16a320fbb0aa4e64ee195ae22680400a0f5be0398068875bd31f7b8cf301f36c5f65f2d7301f9843ef21ca905ba
|
|
7
|
+
data.tar.gz: 790102af84a7e922d29d92be9950b7c7010a946bebacd0d4f7d493e5f42f9a29e3ad6a5075471871a9a2a2089da5a60bda074caf4237c0def97c49db6e767d12
|
data/lib/herb/engine.rb
CHANGED
data/lib/herb/project.rb
CHANGED
|
@@ -334,7 +334,7 @@ module Herb
|
|
|
334
334
|
puts "```ruby"
|
|
335
335
|
puts engine.src
|
|
336
336
|
puts "```"
|
|
337
|
-
rescue StandardError
|
|
337
|
+
rescue Herb::Engine::CompilationError, StandardError
|
|
338
338
|
# Skip if compilation fails entirely
|
|
339
339
|
end
|
|
340
340
|
end
|
|
@@ -507,7 +507,7 @@ module Herb
|
|
|
507
507
|
compilation_error: compilation_error,
|
|
508
508
|
diagnostics: [{ name: error_name, message: e.message }],
|
|
509
509
|
log: "⚠️ Compilation failed for #{file_path} (validation error)" }
|
|
510
|
-
rescue StandardError
|
|
510
|
+
rescue Herb::Engine::CompilationError, StandardError
|
|
511
511
|
# Not a validator-caused error, continue with other checks
|
|
512
512
|
end
|
|
513
513
|
|
|
@@ -518,7 +518,7 @@ module Herb
|
|
|
518
518
|
compilation_error: compilation_error,
|
|
519
519
|
diagnostics: [{ name: "CompilationError", message: "#{e.message} (strict mode)" }],
|
|
520
520
|
log: "🔒 Compilation failed for #{file_path} (strict mode error)" }
|
|
521
|
-
rescue StandardError
|
|
521
|
+
rescue Herb::Engine::CompilationError, StandardError
|
|
522
522
|
# Fall through
|
|
523
523
|
end
|
|
524
524
|
|
data/lib/herb/version.rb
CHANGED
data/sig/herb/engine.rbs
CHANGED
data/src/include/version.h
CHANGED