judgelint 0.1.7-aarch64-linux → 0.1.8-aarch64-linux

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: 27961d6e4a1e8329a123cee50be37cd5657c727d1c8babf8e09ec86049044d58
4
- data.tar.gz: ec33d19a4acc734ad7ab1c766e2275d771d7c2ca29931b35a188bffc5ca08d42
3
+ metadata.gz: 659fe1c68ebef7aff0e2dbdca9c8bdcfae628881402f72bb5af1a70e80a29080
4
+ data.tar.gz: eabaff5894732f4d9d1c1da878ffaa1f3ab74b9b37db9cac6b907a1e1ce031bd
5
5
  SHA512:
6
- metadata.gz: 6e4be169bc91730c1bd868bd9fe3645e36b592e7f4335502860e20cfc80106355d2dd8c8e119050b64cec6cb759db309f9f0c0d003ed051a69681484014e7587
7
- data.tar.gz: 4faf11c5e4ce0319a87560ccd50d19349b00992c588ebd8c9074f9d2b4e1430327546d269d98070d9c0d06ae3cac5ca5898976440beb98adfbb049ff8c6e9929
6
+ metadata.gz: 2600c1837f6c3a51c906a468c33455a6367a7894d917c384ebdbb32b419cc9f3be34e950d9f7cae1b588d3eb6392816d5a263daaf890c806060438e277cef58e
7
+ data.tar.gz: 35ce76f6848f14120ef3789051ebe2ba9daf1c5240364aed9e7639e016b0d6a330de36f05794a5fd781051be1d1358db13e1c193fa8791b4c776da20c990e60e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.8 (2026-10-26)
4
+
5
+ - YAML that names a class `safe_load` won't build, like `!ruby/sym` or a
6
+ date, is a config error instead of a crash with a stack trace. So are
7
+ YAML aliases.
8
+
3
9
  ## 0.1.7 (2026-10-26)
4
10
 
5
11
  - A symlink that points to itself no longer crashes a run. Ruby's Dir.glob
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Judgelint
4
- VERSION = "0.1.7"
4
+ VERSION = "0.1.8"
5
5
  end
data/lib/judgelint.rb CHANGED
@@ -52,7 +52,10 @@ module Judgelint
52
52
  raise ConfigError, "#{path} must be a mapping" unless data.is_a?(Hash)
53
53
 
54
54
  data
55
- rescue Psych::SyntaxError => e
55
+ rescue Psych::AliasesNotEnabled
56
+ raise ConfigError, "#{path}: YAML aliases aren't supported"
57
+ rescue Psych::Exception => e
58
+ # Bad syntax, or a tag naming a class safe_load won't build.
56
59
  raise ConfigError, "#{path}: #{e.message}"
57
60
  end
58
61
  end
data/libexec/judgelint CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: judgelint
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: aarch64-linux
6
6
  authors:
7
7
  - JP Camara