kramdown-rfc2629 1.6.11 → 1.6.12

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: a7e2b28056c1ef692cd6de23d4436dd71ee6be8020d276f400965b61b59d779c
4
- data.tar.gz: 143b99d9d781337fc783fc993504d4e691dc24ce4f228f7132e02dc6594c3bc0
3
+ metadata.gz: ac3949475273a7c4f72acf86a47d2c9fb176c2a6f81c8d9cc9db03d595c61248
4
+ data.tar.gz: 165b94bb4a9306134e92515dae4eec7a9022b0264d95484d7f31a316982d3b01
5
5
  SHA512:
6
- metadata.gz: b39291781b26db62fb2cf7c37f00d2a855b1f50d725c3a4e6dbba56eea1e3f432ceb93dc2adbda26ed8f59bca0a59519ccf24cbef23c62b97600599120da8811
7
- data.tar.gz: 7631706a9ac2935ff3d882ff34910dd1db0a7fcebe2ccd7e4648a012ad50cff8a5afbbb52e5ca1d40e98680ddf1bbf2228592130345580d4a5ca8d8fd64762d6
6
+ metadata.gz: 1686e35bd93c3e9ff63f42bb830845e3b7accf1b2b7621fb78d49b0fafc3c1edeaea53a645c6e81d8ee5c9f468c54fb0920cb91831325c210d9b98d810f64564
7
+ data.tar.gz: 5599b22f40492bbfffc8a5d34af3e9ddc69452757bc0c9eb95a97ce312bdc730d3858ffbe1b00bce3af8377d651a3277d3ec82acd0b62e65f7436c8051797bd7
@@ -1,6 +1,6 @@
1
1
  spec = Gem::Specification.new do |s|
2
2
  s.name = 'kramdown-rfc2629'
3
- s.version = '1.6.11'
3
+ s.version = '1.6.12'
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.}
@@ -37,7 +37,7 @@ module Kramdown
37
37
  def replace_abbreviations(el, regexps = nil)
38
38
  unless regexps # DUPLICATED AND MODIFIED CODE FROM UPSTREAM, CHECK ON UPSTREAM UPGRADE
39
39
  sorted_abbrevs = @root.options[:abbrev_defs].keys.sort {|a, b| b.length <=> a.length }
40
- regexps = [Regexp.union(*sorted_abbrevs.map {|k|
40
+ regexps = [Regexp.union(*sorted_abbrevs.map {|k|
41
41
  /#{Regexp.escape(k).gsub(/\\\s/, "[\\s\\p{Z}]+").force_encoding(Encoding::UTF_8)}/})]
42
42
  # warn regexps.inspect
43
43
  regexps << /(?=(?:\W|^)#{regexps.first}(?!\w))/ # regexp should only match on word boundaries
@@ -721,7 +721,7 @@ COLORS
721
721
  if sl = el.attr.delete('slugifiedName') # could do general name- play
722
722
  attrstring = html_attributes({'slugifiedName' => sl})
723
723
  end
724
- # noabbrev: true -- Workaround for https://trac.ietf.org/trac/xml2rfc/ticket/683
724
+ # noabbrev: true -- Workaround for https://github.com/ietf-tools/xml2rfc/issues/683
725
725
  nm = inner(el, indent, opts.merge(noabbrev: true))
726
726
  if ttl = el.attr['title']
727
727
  warn "*** Section has two titles: >>#{ttl}<< and >>#{nm}<<"
@@ -1057,7 +1057,7 @@ COLORS
1057
1057
  def self.bcp_std_ref(t, n)
1058
1058
  warn "*** #{t} anchors not supported in v2 format" unless $options.v3
1059
1059
  [name = "reference.#{t}.#{"%04d" % n.to_i}.xml",
1060
- "#{XML_RESOURCE_ORG_PREFIX}/bibxml-rfcsubseries-new/#{name}"] # FOR NOW
1060
+ "#{XML_RESOURCE_ORG_PREFIX}/bibxml-rfcsubseries/#{name}"] # FOR NOW
1061
1061
  end
1062
1062
 
1063
1063
  # [subdirectory name, cache ttl in seconds, does it provide for ?anchor=]
@@ -1094,7 +1094,8 @@ COLORS
1094
1094
  }
1095
1095
 
1096
1096
  # XML_RESOURCE_ORG_HOST = ENV["XML_RESOURCE_ORG_HOST"] || "xml.resource.org"
1097
- XML_RESOURCE_ORG_HOST = ENV["XML_RESOURCE_ORG_HOST"] || "xml2rfc.tools.ietf.org"
1097
+ # XML_RESOURCE_ORG_HOST = ENV["XML_RESOURCE_ORG_HOST"] || "xml2rfc.tools.ietf.org"
1098
+ XML_RESOURCE_ORG_HOST = ENV["XML_RESOURCE_ORG_HOST"] || "bib.ietf.org"
1098
1099
  XML_RESOURCE_ORG_PREFIX = ENV["XML_RESOURCE_ORG_PREFIX"] ||
1099
1100
  "https://#{XML_RESOURCE_ORG_HOST}/public/rfc"
1100
1101
  KRAMDOWN_USE_TOOLS_SERVER = ENV["KRAMDOWN_USE_TOOLS_SERVER"]
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.6.11
4
+ version: 1.6.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Carsten Bormann
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-06-08 00:00:00.000000000 Z
11
+ date: 2022-06-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: kramdown