kramdown-rfc2629 1.6.16 → 1.6.18

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: c27f3051dfa496902009b54c1999bcc3c54e28aec350bc04d1d69cfed6dd47f8
4
- data.tar.gz: bf804a07bf573d56a6c4aaa561613b97efcd2803bb7ba4f98f38c7b196a409f2
3
+ metadata.gz: be0d0c90e5390fe73001e9f827df69ee40a194df93757f8e74dbd8b104ffd600
4
+ data.tar.gz: 6c66c04385cf8ade11ba97e9026f75f6ebf76b499f23f52b315544df2c95783e
5
5
  SHA512:
6
- metadata.gz: 31250b75f0f17bc4afe558110461ffb5821cebdbffe2114d69bd6985dd0bd6152bcdcee02994726f08232495781da16453e9f7484f00cd94813d4f2568d6b934
7
- data.tar.gz: 17a58bc7ac58cc18e7472802f9a0dc91b6a309adb4f3632ad563b54485b2bd913bb4abce8e8aac682633d81fee860bc5b9d81b8c6e168a41e1c5b36a910e8cf1
6
+ metadata.gz: 52eb346902070069dda10fadd79047960c9da37c879c52087a2942d6d970bf969a6edb62fdb05ee7f22de741a2d3553a06c8f7e3e4b5d4070144a763fb0af2a3
7
+ data.tar.gz: c38aa7b8d52bea77e63bea7303d570b395ba7f1a7c1a46812ff504cdaba778230695842e5b8d32fcb7845dda07f11b418e0f0f709bf13ab6334ec1940284abaf
@@ -1,6 +1,6 @@
1
1
  spec = Gem::Specification.new do |s|
2
2
  s.name = 'kramdown-rfc2629'
3
- s.version = '1.6.16'
3
+ s.version = '1.6.18'
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.}
@@ -456,7 +456,7 @@ COLORS
456
456
 
457
457
  def memoize(meth, *args)
458
458
  require 'digest'
459
- Dir.mkdir(REFCACHEDIR) unless Dir.exists?(REFCACHEDIR)
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
@@ -506,6 +506,7 @@ COLORS
506
506
  elsif t == "protocol-aasvg"
507
507
  result1, err, _s = Open3.capture3("#{DEFAULT_AASVG}#{svg_opt}", stdin_data: result);
508
508
  dont_clean = true
509
+ dont_check = true
509
510
  else
510
511
  result1 = nil
511
512
  end
@@ -515,6 +516,7 @@ COLORS
515
516
  when "aasvg"
516
517
  result1, err, _s = Open3.capture3("#{DEFAULT_AASVG}#{svg_opt}", stdin_data: result);
517
518
  dont_clean = true
519
+ dont_check = true
518
520
  when "ditaa" # XXX: This needs some form of option-setting
519
521
  result1, err, _s = Open3.capture3("ditaa #{file.path} --svg -o -#{svg_opt}", stdin_data: result);
520
522
  when "mscgen"
@@ -1013,7 +1015,7 @@ COLORS
1013
1015
  # this is now slightly dangerous as multiple urls could map to the same cachefile
1014
1016
  def get_and_cache_resource(url, cachefile, tvalid = 7200, tn = Time.now)
1015
1017
  fn = "#{REFCACHEDIR}/#{cachefile}"
1016
- Dir.mkdir(REFCACHEDIR) unless Dir.exists?(REFCACHEDIR)
1018
+ Dir.mkdir(REFCACHEDIR) unless Dir.exist?(REFCACHEDIR)
1017
1019
  f = File.stat(fn) rescue nil unless KRAMDOWN_REFCACHE_REFETCH
1018
1020
  if !KRAMDOWN_OFFLINE && (!f || tn - f.mtime >= tvalid)
1019
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.16
4
+ version: 1.6.18
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-04 00:00:00.000000000 Z
11
+ date: 2023-01-09 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.3.11
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).