yeptris 0.6.29.1 → 0.6.29.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/yeptris/yaml.rb +9 -5
- data/lib/yeptris.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7651542429f94334197d4065c3742763cbd56cf9910e572fd0bc4350a6ee9af8
|
|
4
|
+
data.tar.gz: 51cb4f4e38ad1347f29ab35372c83ef4d132b54556df34e4657ca03874a627b3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9953f85b1cf9f192102ff6ed71c276719c8cdf537c63cbf95e9940c8093c08783e2ec8773aa763f38b5bf2bf71ea5017a252c45b9af726cf6629fb23cd7fa036
|
|
7
|
+
data.tar.gz: 04b77e4bba61b1bf7382a1957c42df0ae129cef5f3f9f16b1b049b6004a1243b2540f88172931ecf835b00ee92eb2b5d462aa235a5109d122dd93a9f9236e2a9
|
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
|
-
#
|
|
273
|
-
#
|
|
274
|
-
#
|
|
275
|
-
#
|
|
276
|
-
return false if s.match?(/\A[-+]?
|
|
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.
|
|
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.
|
|
4
|
+
version: 0.6.29.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ribose Inc.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-10-
|
|
11
|
+
date: 2026-10-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: ffi
|