kramdown-rfc2629 1.6.15 → 1.6.16

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: d667e6af185771592ba7f5b42b1671821b3f8c722aec85af0f9606d2d9857886
4
- data.tar.gz: 43b32714ed1aa1be0666a78bf81587f49e4c34a42bc3236a12c5afcac7455ae8
3
+ metadata.gz: c27f3051dfa496902009b54c1999bcc3c54e28aec350bc04d1d69cfed6dd47f8
4
+ data.tar.gz: bf804a07bf573d56a6c4aaa561613b97efcd2803bb7ba4f98f38c7b196a409f2
5
5
  SHA512:
6
- metadata.gz: a6b1488ba454538d9a12c6c21fb35c8a916d8a5c5352b140934ae9efce9e87e929aaa6dc302fe6a0c6e3e4f2959860667119bddf734388cf707784529d31d158
7
- data.tar.gz: 3f427762bfec7d57eb13038d442ca0f5752257dcfd45174bc74e53016307713acba005ecee53705f668a9957cd69173391164273894fc6272c33dd6ff475d42f
6
+ metadata.gz: 31250b75f0f17bc4afe558110461ffb5821cebdbffe2114d69bd6985dd0bd6152bcdcee02994726f08232495781da16453e9f7484f00cd94813d4f2568d6b934
7
+ data.tar.gz: 17a58bc7ac58cc18e7472802f9a0dc91b6a309adb4f3632ad563b54485b2bd913bb4abce8e8aac682633d81fee860bc5b9d81b8c6e168a41e1c5b36a910e8cf1
@@ -99,16 +99,23 @@
99
99
  mail_local, mail_host = mail.split("@", 2)
100
100
  end
101
101
  if mail_host -%>
102
- <% mail_subdomain, mail_domain = mail_host.split(".", 2) -%>
103
- <% group = venue[:group] || mail_local # XXX -%>
104
- <% arch = venue[:arch] || "https://mailarchive.ietf.org/arch/browse/#{mail_local}/" -%>
105
- <% subscribe = venue[:subscribe] || "https://www.ietf.org/mailman/listinfo/#{mail_local}/" -%>
106
- <% GROUPS = {"ietf" => "Working ", "irtf" => "Research "} -%>
107
- <% gtype ||= "#{GROUPS[mail_subdomain]}Group" -%>
102
+ <% default_links = {
103
+ "iab.org" => true,
104
+ "ietf.org" => true,
105
+ "irtf.org" => true,
106
+ }[mail_host]
107
+ mail_subdomain, mail_domain = mail_host.split(".", 2)
108
+ group = venue[:group] || mail_local # XXX
109
+ arch = venue[:arch] || default_links && "https://mailarchive.ietf.org/arch/browse/#{mail_local}/"
110
+ subscribe = venue[:subscribe] || default_links && "https://www.ietf.org/mailman/listinfo/#{mail_local}/"
111
+ GROUPS = {"ietf" => "Working ", "irtf" => "Research "}
112
+ gtype ||= "#{GROUPS[mail_subdomain]}Group" -%>
108
113
  Discussion of this document takes place on the
109
- <%=group%> <%=gtype%> mailing list (<eref target="mailto:<%=mail%>"/>),
110
- which is archived at <eref target="<%=arch%>"/>.
114
+ <%=group%> <%=gtype%> mailing list (<eref target="mailto:<%=mail%>"/>)<% if arch -%>,
115
+ which is archived at <eref target="<%=arch%>"/><% end -%>.
116
+ <% if subscribe -%>
111
117
  Subscribe at <eref target="<%=subscribe%>"/>.
118
+ <% end -%>
112
119
  <% end -%>
113
120
  <% if homepage -%>
114
121
  <%=gtype%> information can be found at <eref target="<%=homepage%>"/>.
@@ -1,6 +1,6 @@
1
1
  spec = Gem::Specification.new do |s|
2
2
  s.name = 'kramdown-rfc2629'
3
- s.version = '1.6.15'
3
+ s.version = '1.6.16'
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.}
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.15
4
+ version: 1.6.16
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-08-02 00:00:00.000000000 Z
11
+ date: 2022-08-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: kramdown