kramdown-rfc2629 1.6.22 → 1.6.23

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/bin/echars +17 -0
  3. data/kramdown-rfc2629.gemspec +5 -3
  4. metadata +18 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 36eb88304fc5acb9cb238a4f8a57e71ef9da4dec152b69341d203646bc3d2b9b
4
- data.tar.gz: 42b17cfb81557c9acb78f3de7425e9a3582af7e7f816e952d6d6d73ea0da663a
3
+ metadata.gz: 2e994dac31e695c4203ca35b0df65b13448c70aba486db70f298889df2167fea
4
+ data.tar.gz: 79446008180f573a09754ab1177cd39a288c834cbaadd52baba07c39f8f072a2
5
5
  SHA512:
6
- metadata.gz: dd2112c31d9fc36f675535f058cd99a5bb3a5eb1e0ab1a30f2e40b0d6e4a0d9b230e7f955ee349baadaf0380fc7ef44cf90ff48f7ce185a0a291178aef310abc
7
- data.tar.gz: fd9801e85edf0e0b4af4d16945331ead8c455f7ddca5a43922f11a172a52a4000e2442e687d384b25e65d53f1e7b3193bf1e6e2d17f222caaaa6038536f9ab37
6
+ metadata.gz: dc4410fea9b25ec15bdb246c6fc03c4af3004769e2ec39612f7fa8c834b0e5905f3df3df0a79ee95de536531e8693196cede9114d4093aa7e777d311e2f24724
7
+ data.tar.gz: 80da3cd1af86b1cc3f87d7f0a31da88778b0ed763a4792e4bda6dea06aeeff89a4a5505b6634d9db36e5f5fb0eea888160286a905ecd707da3f47e7141274405
data/bin/echars ADDED
@@ -0,0 +1,17 @@
1
+ #!/usr/bin/env ruby
2
+ require 'unicode/name'
3
+ hist = Hash.new(0)
4
+ ARGF.read.each_char do |c|
5
+ hist[c] += 1 unless c.ord.between?(32, 126)
6
+ end
7
+ hist.delete("\n")
8
+ cl = "*** Latin"
9
+ hist.keys.sort.partition {|c| c =~ /\A\p{Latin}\z/}.each do |l|
10
+ puts cl unless l.empty?
11
+ l.each do |c|
12
+ puts "#{c}: U+#{"%04X %4d" % [c.ord, hist[c]]
13
+ } #{Unicode::Name.correct(c) ||
14
+ Unicode::Name.label(c)}"
15
+ end
16
+ cl = "*** Non-Latin"
17
+ end
@@ -1,6 +1,6 @@
1
1
  spec = Gem::Specification.new do |s|
2
2
  s.name = 'kramdown-rfc2629'
3
- s.version = '1.6.22'
3
+ s.version = '1.6.23'
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.}
@@ -8,9 +8,11 @@ spec = Gem::Specification.new do |s|
8
8
  s.add_dependency('kramdown-parser-gfm', '~> 1.1')
9
9
  s.add_dependency('certified', '~> 1.0')
10
10
  s.add_dependency('json_pure', '~> 2.0')
11
- s.files = Dir['lib/**/*.rb'] + %w(README.md LICENSE kramdown-rfc2629.gemspec bin/kdrfc bin/kramdown-rfc bin/kramdown-rfc2629 bin/doilit bin/kramdown-rfc-extract-markdown data/kramdown-rfc2629.erb data/encoding-fallbacks.txt data/math.json bin/kramdown-rfc-cache-subseries-bibxml bin/kramdown-rfc-autolink-iref-cleanup bin/de-gfm)
11
+ s.add_dependency('unicode-name', '~> 1.0')
12
+ s.files = Dir['lib/**/*.rb'] + %w(README.md LICENSE kramdown-rfc2629.gemspec bin/kdrfc bin/kramdown-rfc bin/kramdown-rfc2629 bin/doilit bin/echars bin/kramdown-rfc-extract-markdown data/kramdown-rfc2629.erb data/encoding-fallbacks.txt data/math.json bin/kramdown-rfc-cache-subseries-bibxml bin/kramdown-rfc-autolink-iref-cleanup bin/de-gfm)
12
13
  s.require_path = 'lib'
13
- s.executables = ['kramdown-rfc', 'kramdown-rfc2629', 'doilit', 'kramdown-rfc-extract-markdown',
14
+ s.executables = ['kramdown-rfc', 'kramdown-rfc2629', 'doilit', 'echars',
15
+ 'kramdown-rfc-extract-markdown',
14
16
  'kdrfc', 'kramdown-rfc-cache-i-d-bibxml',
15
17
  'kramdown-rfc-cache-subseries-bibxml',
16
18
  'kramdown-rfc-autolink-iref-cleanup',
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.22
4
+ version: 1.6.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - Carsten Bormann
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-30 00:00:00.000000000 Z
11
+ date: 2023-02-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: kramdown
@@ -66,6 +66,20 @@ dependencies:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '2.0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: unicode-name
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '1.0'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '1.0'
69
83
  description: |-
70
84
  An RFCXML (RFC 799x) generating backend for Thomas Leitner's
71
85
  "kramdown" markdown parser. Mostly useful for RFC writers.
@@ -74,6 +88,7 @@ executables:
74
88
  - kramdown-rfc
75
89
  - kramdown-rfc2629
76
90
  - doilit
91
+ - echars
77
92
  - kramdown-rfc-extract-markdown
78
93
  - kdrfc
79
94
  - kramdown-rfc-cache-i-d-bibxml
@@ -87,6 +102,7 @@ files:
87
102
  - README.md
88
103
  - bin/de-gfm
89
104
  - bin/doilit
105
+ - bin/echars
90
106
  - bin/kdrfc
91
107
  - bin/kramdown-rfc
92
108
  - bin/kramdown-rfc-autolink-iref-cleanup