kramdown-rfc2629 1.6.17 → 1.6.19
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/kramdown-rfc-cache-i-d-bibxml +2 -2
- data/kramdown-rfc2629.gemspec +1 -1
- data/lib/kramdown-rfc2629.rb +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c9420854e2a94d90920b07235fa94c0e49d57eb166e126cd3802fc6fce135271
|
4
|
+
data.tar.gz: 0b36ade9a83c4e48e2aa2a95b935001e8cf4d5afb226ffd19104c67c43e243df
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4be21e41f1eac8424d118c00f40c4ab1b10988b48cbe618a9347961f5e9dfc20b4af544235d8cac60059c4b713b9ed36480dba987aee3eafdcf02800467a488d
|
7
|
+
data.tar.gz: 50576e9002911cde89a4b1cae411e9f589481430ff0c58157fbcd0b2553cef365db6cab32a4dd9dd79ba88c256e7862b647a1bbe9c407b85607318aa72f6595b
|
@@ -80,9 +80,9 @@ active_names.each do |name|
|
|
80
80
|
namepart = $1
|
81
81
|
version = $2
|
82
82
|
name0 = "reference.I-D.#{namepart}.xml"
|
83
|
-
noisy(name0) if File.
|
83
|
+
noisy(name0) if File.exist?(name0)
|
84
84
|
name1 = "reference.I-D.draft-#{namepart}-#{version}.xml"
|
85
|
-
if File.
|
85
|
+
if File.exist?(name1)
|
86
86
|
noisy(name1)
|
87
87
|
FileUtils.touch(name0) # because name1 already exists, we believe name0 is fresh
|
88
88
|
else
|
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.6.
|
3
|
+
s.version = '1.6.19'
|
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
@@ -456,7 +456,7 @@ COLORS
|
|
456
456
|
|
457
457
|
def memoize(meth, *args)
|
458
458
|
require 'digest'
|
459
|
-
Dir.mkdir(REFCACHEDIR) unless Dir.
|
459
|
+
Dir.mkdir(REFCACHEDIR) unless Dir.exist?(REFCACHEDIR)
|
460
460
|
kdrfc_version = Gem.loaded_specs["kramdown-rfc2629"].version.to_s.gsub('.', '_') rescue "UNKNOWN"
|
461
461
|
fn = "#{REFCACHEDIR}/kdrfc-#{kdrfc_version}-#{meth}-#{Digest::SHA256.hexdigest(Marshal.dump(args))[0...40]}.cache"
|
462
462
|
begin
|
@@ -1015,7 +1015,7 @@ COLORS
|
|
1015
1015
|
# this is now slightly dangerous as multiple urls could map to the same cachefile
|
1016
1016
|
def get_and_cache_resource(url, cachefile, tvalid = 7200, tn = Time.now)
|
1017
1017
|
fn = "#{REFCACHEDIR}/#{cachefile}"
|
1018
|
-
Dir.mkdir(REFCACHEDIR) unless Dir.
|
1018
|
+
Dir.mkdir(REFCACHEDIR) unless Dir.exist?(REFCACHEDIR)
|
1019
1019
|
f = File.stat(fn) rescue nil unless KRAMDOWN_REFCACHE_REFETCH
|
1020
1020
|
if !KRAMDOWN_OFFLINE && (!f || tn - f.mtime >= tvalid)
|
1021
1021
|
if f
|
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.
|
4
|
+
version: 1.6.19
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Carsten Bormann
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-01-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: kramdown
|
@@ -127,7 +127,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
127
127
|
- !ruby/object:Gem::Version
|
128
128
|
version: '0'
|
129
129
|
requirements: []
|
130
|
-
rubygems_version: 3.
|
130
|
+
rubygems_version: 3.4.2
|
131
131
|
signing_key:
|
132
132
|
specification_version: 4
|
133
133
|
summary: Kramdown extension for generating RFCXML (RFC 799x).
|