yeptris 0.6.29.1-aarch64-linux → 0.6.29.2-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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/yeptris/yaml.rb +9 -5
  3. data/lib/yeptris.rb +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 24ab6f38bf874cdb334f4af245e30cbef171bef5955faad1f0da36ccab39a456
4
- data.tar.gz: 55b76ab2b1bac1685c4b7f5509954e55361df098173ff9c3b5a04b412e5c3ce9
3
+ metadata.gz: a28917cf7d9313f84a3c1b95096952186ae73d33c7556279d08a296f5ebdb50f
4
+ data.tar.gz: 54446e0cd2dff8f6e6d9c36b054b847714d0b45b5305a6810d9ccba2d1484a92
5
5
  SHA512:
6
- metadata.gz: cd7bfbe903b0ade9acd9287be382f85bd60029c4642793ef3b674c1e6712efafa5266e3ef12ab8c60b33eee51674054e13b88f8b7c4c9859f14f4a72e1a26770
7
- data.tar.gz: 81e70959d894ac9a0638340f2156bf42c29cdced4923bf14ebd6913eb7967ec3c917db1717d2340dcab7d1a5a614e5e7d31dbf60fb2d27c82c2458fdf62dfff4
6
+ metadata.gz: 6bbce8ee6d74f5990ab349baed4bf02342ba38bd516866253e4720869f3f4df7e582cf6b436f4b0fb2739109e2faf9ce55e2847481b02c45b4f46c156a3acc48
7
+ data.tar.gz: 4f98f864b806060c38b4b3463eb81ae0a321a2e41939b851d19dcd28d1d2bd25d29eb17605abe865700e86faacb1dab1b2cf0fcaab85477ab70225c5e50c93c6
data/lib/yeptris/yaml.rb CHANGED
@@ -269,12 +269,16 @@ module Yeptris
269
269
  return false if "-?:".include?(c) && (s.length == 1 || s[1] =~ /[ \t]/)
270
270
  return false if s.include?(": ") || s.end_with?(":") || s.include?(" #")
271
271
  return false if RESHAPES_SET[s]
272
- # compat's float grammar REQUIRES the dot ("1e3" re-reads as a
273
- # String and may dump plain); ints/sexagesimals still reshape.
274
- # psych's FLOAT has no trailing [.:] group — "1.2.3" is a
275
- # String and dumps plain (pinned by spec/yaml_spec.rb)
276
- return false if s.match?(/\A[-+]?(0|[1-9][0-9_]*)(:[0-5]?[0-9])+\z/)
272
+ # ints/sexagesimals reshape: the compat resolver accepts any
273
+ # digit start (compat11.c), psych's ScalarScanner likewise —
274
+ # "07:00:00" plain re-reads as Integer, so leading-zero hours
275
+ # quote too (psych dumps them quoted)
276
+ return false if s.match?(/\A[-+]?[0-9][0-9_]*(:[0-5]?[0-9])+\z/)
277
277
  return false if s.match?(/\A[-+]?(0|[1-9][0-9_]*)\z/)
278
+ # compat's float grammar REQUIRES the dot ("1e3" re-reads as a
279
+ # String and may dump plain); psych's FLOAT has no trailing
280
+ # [.:] group — "1.2.3" is a String and dumps plain (pinned by
281
+ # spec/yaml_spec.rb)
278
282
  return false if s.match?(/\A[-+]?[0-9][0-9_]*\.[0-9_]*([eE][-+]?[0-9]+)?\z/)
279
283
  return false if s.match?(/\A[-+]?[0-9][0-9_]*(:[0-5]?[0-9])+\.[0-9_]*\z/)
280
284
  return false if s.match?(/\A[-+]?(0x[0-9a-fA-F_]+|0b[01_]+|0o?[0-7_]+)\z/)
data/lib/yeptris.rb CHANGED
@@ -3,7 +3,7 @@
3
3
  module Yeptris
4
4
  # The gem's version lives in the parent namespace's file — the last
5
5
  # internal require (yeptris/version) retired with it.
6
- VERSION = "0.6.29.1".freeze
6
+ VERSION = "0.6.29.2".freeze
7
7
 
8
8
  # Informational notices are OPT-IN (yeptris-ruby#217): consumers
9
9
  # embed yeptris inside CLIs that assert clean stderr, and a
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yeptris
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.29.1
4
+ version: 0.6.29.2
5
5
  platform: aarch64-linux
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-10-05 00:00:00.000000000 Z
11
+ date: 2026-10-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi