yeptris 0.6.2.1-aarch64-linux → 0.6.3.1-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: 16e9c4b409f7a5fc9fadc4604e2a46fd6ce9fae64ce4f0921d0f9eed75787283
4
- data.tar.gz: b854ba994a269fedfe0d04317c1aee970ada89b313cbb74a2c4c53544796bd9c
3
+ metadata.gz: eded9c80ce83d4eb7620cba91306e7d9e2988b123201df37f810d6267bc91bd0
4
+ data.tar.gz: b5c1cd5adeb172e2ec532808f99ff6ab1bcdec99a34bdbeb9d2d1a8f87beb058
5
5
  SHA512:
6
- metadata.gz: 442dd85064b960b9b440646b43476c86c49f51617d190c3cb2863b4334214ffe7995499709eb0189fc57b7888dbe7ed89ea46832608c5b9250e554f1ff7dd73e
7
- data.tar.gz: 4097d2812d222a8043b7773163a4d3dcc67c74bda2f6ad40d8b474a6f5117641e1d663bcefd075a1be4c5bb049c784b6a8a6685cdadd1cf1abef26788668b65d
6
+ metadata.gz: '05881adf91ba34a3c4077b975605c4140d06c0a035b32ed5b8ff51da629c941bbf73b6648148d3dcdf22211e841934f12cf48207e19726603d357b42133f0af6'
7
+ data.tar.gz: 7813c2ae305bf763261fc17e5af553224b3904eaca9ef06f22c483284b5833161576b91393dbb9f9598c0c634eba328f147e01b74717c71290266d4b24b716f9
@@ -120,14 +120,18 @@ module Yeptris
120
120
  # strings route through the builder's plain-safety helper
121
121
  # (one quoting rule, DRY); other scalars are their own text
122
122
  text =
123
- if obj.is_a?(::Date) || obj.is_a?(::Time)
124
- obj.iso8601 # canonical timestamp form, not to_s
123
+ if obj.is_a?(::Time)
124
+ # psych-5's format_time (#300 family 1) the FIRST cut
125
+ # put this branch after the Date||Time iso8601 one, dead
126
+ # code: Psych.dump of a Hash still emitted iso8601 (the
127
+ # neutral surface alone was pinned)
128
+ ::Yeptris::YAML::BulkBuilder.time_text(obj)
129
+ elsif obj.is_a?(::Date)
130
+ obj.iso8601 # canonical calendar form (DateTime rides here too)
125
131
  elsif obj.nil?
126
132
  "" # libyaml's null rendering rides bare (issue #290)
127
133
  elsif obj.is_a?(::Float)
128
134
  ::Yeptris::YAML::BulkBuilder.float_text(obj)
129
- elsif obj.is_a?(::Time)
130
- ::Yeptris::YAML::BulkBuilder.time_text(obj)
131
135
  else
132
136
  obj.to_s
133
137
  end
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.2.1".freeze
6
+ VERSION = "0.6.3.1".freeze
7
7
  # The error hierarchy lives in THIS file (the parent namespace's
8
8
  # own file): nested constants do not trigger a parent-constant
9
9
  # autoload, and the law forbids internal requires — defining the
data/libyeptris.so CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yeptris
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.2.1
4
+ version: 0.6.3.1
5
5
  platform: aarch64-linux
6
6
  authors:
7
7
  - Ribose Inc.