kramdown-rfc2629 1.7.31 → 1.7.32
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/kramdown-rfc2629.gemspec +1 -1
- data/lib/kramdown-rfc2629.rb +3 -3
- 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: e1ec4e46603245629b50bc37c1e7477d89b986766be380488926ee4150e0b2ea
|
|
4
|
+
data.tar.gz: efafc27a553ee9f5fa197be3477be52113141532aaee5db72999ec6f11408489
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b6e9f111db5a55d856bae5c6b2b55ee60cd0c999f428a4496cc526db019881f8551d841143cacbc13b438f3d09fd5f2a2e4d7a3422b3cf9621130fbb63dd0e64
|
|
7
|
+
data.tar.gz: c6246e7b16be72eeb6ee892b505857944004b16075c2ee0c2e86e5959322e0f3eae458b5f54f574544bf0b32f6fc566ba75549f30f5fa428cfc7611a8f11a2f1
|
data/kramdown-rfc2629.gemspec
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
spec = Gem::Specification.new do |s|
|
|
2
2
|
s.name = 'kramdown-rfc2629'
|
|
3
|
-
s.version = '1.7.
|
|
3
|
+
s.version = '1.7.32'
|
|
4
4
|
s.summary = "Kramdown extension for generating RFCXML (RFC 799x)."
|
|
5
5
|
s.description = %{An RFCXML (RFC 799x) generating backend for Thomas Leitner's
|
|
6
6
|
"kramdown" markdown parser. Mostly useful for RFC writers.}
|
data/lib/kramdown-rfc2629.rb
CHANGED
|
@@ -776,7 +776,7 @@ COLORS
|
|
|
776
776
|
warn "** There is no sourcecode-type “cbor”."
|
|
777
777
|
warn "** Do you mean “cbor-diag” (diagnostic notation)"
|
|
778
778
|
warn "** or “cbor-pretty” (annotated hex-dump)?"
|
|
779
|
-
when "json"
|
|
779
|
+
when "json", /\+json\z/
|
|
780
780
|
checks ||= "json"
|
|
781
781
|
when /\A(.*)-from-yaml\z/
|
|
782
782
|
t = $1
|
|
@@ -825,11 +825,11 @@ COLORS
|
|
|
825
825
|
when "json"
|
|
826
826
|
# check for 8792; undo if needed:
|
|
827
827
|
begin
|
|
828
|
-
JSON.
|
|
828
|
+
JSON.parse(handle_artwork_sourcecode(check_input))
|
|
829
829
|
rescue => e
|
|
830
830
|
err1 = "*** #{loc_str}: JSON isn't: #{JSON.dump(e.message[0..40])}\n"
|
|
831
831
|
begin
|
|
832
|
-
JSON.
|
|
832
|
+
JSON.parse("{" << handle_artwork_sourcecode(check_input) << "}")
|
|
833
833
|
rescue => e
|
|
834
834
|
warn err1 << "*** not even with braces added around: #{JSON.dump(e.message[0..40])}"
|
|
835
835
|
end
|