kramdown-rfc2629 1.7.6 → 1.7.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fa027b12b5ef1dc11718e82a28bc2a126208b7480048a41a03eebfd75fd5f2d7
4
- data.tar.gz: fa96be9f490186b8634c52abfcf613e1b5f4b30e329b398879a93394bf0b92f7
3
+ metadata.gz: d6a85efbf1f07ea2b7ea1bd765cf6e1b81ab1dfd3615b725ebc657593568fd35
4
+ data.tar.gz: 27439b1db2adb2395561a41b6a34e1607f71d21c10968b5e52b2483b1b3d9cab
5
5
  SHA512:
6
- metadata.gz: 2880e284c22e96e281498028f3e2339ff1f91e7326791c547851022505df9a169dbe47a76604b5fd67de5c3a3cfe180153c93f8b9798bae16764314301ec0ddf
7
- data.tar.gz: 65d2639fe7c971cf67ab27bd115b18c794a78f7021febd46527b6f61fd8c748f3c515cbd913c14565b650c7bf4c53b699405142a9b6fd04de2c7fd8e3a222c6a
6
+ metadata.gz: 173a34ae9dcf04c4b64e5c7c2145bf9f5ac96e45fe305dff11762355f39e1d92cb2ab1101437e78b1333918454f056080900a0c30497565f8195621d3b31ce5d
7
+ data.tar.gz: 804071697144e02f000bc9dfa74fc8492b9a41f4d42466d9b8b38ce613a8089f36f4edd09a391065382fa7f02e579eaec7db4812fe2df21800972c2228b7b07f
@@ -1,6 +1,6 @@
1
1
  spec = Gem::Specification.new do |s|
2
2
  s.name = 'kramdown-rfc2629'
3
- s.version = '1.7.6'
3
+ s.version = '1.7.7'
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.}
@@ -70,7 +70,8 @@ end
70
70
  def boilerplate(key)
71
71
  ret = ''
72
72
  case key.downcase
73
- when /\Abcp14(info)?(\+)?(-tagged)?\z/i
73
+ when /\Abcp14(info)?(\+)?(-tagged)?(-bcp)?\z/i
74
+ # $1 $2 $3 $4
74
75
  if $1
75
76
  ret << <<RFC8174ise
76
77
  Although this document is not an IETF Standards Track publication, it
@@ -108,6 +109,13 @@ PLUS
108
109
  *[OPTIONAL]: <bcp14>
109
110
  TAGGED
110
111
  end
112
+ if $4 # experimental; idnits complains:
113
+ # ** The document seems to lack a both a reference to RFC 2119 and the
114
+ # recommended RFC 2119 boilerplate, even if it appears to use RFC 2119
115
+ # keywords -- however, there's a paragraph with a matching beginning.
116
+ # Boilerplate error?
117
+ ret.sub!("{{!RFC2119}} {{!RFC8174}}", "{{!BCP14}}")
118
+ end
111
119
  ret
112
120
  when /\Arfc\s*7942(info)?\z/i
113
121
  if $1
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kramdown-rfc2629
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.6
4
+ version: 1.7.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Carsten Bormann
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-23 00:00:00.000000000 Z
11
+ date: 2024-03-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: kramdown