metanorma-jis 0.3.5 → 0.3.7
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 +4 -4
- data/lib/html2doc/lists.rb +1 -1
- data/lib/isodoc/jis/base_convert.rb +1 -1
- data/lib/isodoc/jis/figure.rb +1 -1
- data/lib/isodoc/jis/html_convert.rb +1 -1
- data/lib/isodoc/jis/i18n-ja.yaml +1 -0
- data/lib/isodoc/jis/i18n.rb +1 -1
- data/lib/isodoc/jis/init.rb +2 -2
- data/lib/isodoc/jis/jis.international-standard.xsl +1332 -207
- data/lib/isodoc/jis/metadata.rb +1 -1
- data/lib/isodoc/jis/pdf_convert.rb +1 -1
- data/lib/isodoc/jis/presentation_section.rb +1 -1
- data/lib/isodoc/jis/presentation_xml_convert.rb +38 -2
- data/lib/isodoc/jis/table.rb +1 -1
- data/lib/isodoc/jis/word_cleanup.rb +2 -2
- data/lib/isodoc/jis/word_convert.rb +1 -1
- data/lib/isodoc/jis/xref.rb +55 -17
- data/lib/metanorma/jis/biblio-standoc.rng +13 -0
- data/lib/metanorma/jis/biblio.rng +19 -12
- data/lib/metanorma/jis/cleanup.rb +2 -2
- data/lib/metanorma/jis/converter.rb +11 -11
- data/lib/metanorma/jis/front.rb +2 -2
- data/lib/metanorma/jis/processor.rb +15 -6
- data/lib/metanorma/jis/relaton-jis.rng +1 -0
- data/lib/metanorma/jis/validate.rb +2 -2
- data/lib/metanorma/jis/version.rb +2 -2
- data/lib/metanorma/jis.rb +1 -1
- data/lib/metanorma-jis.rb +1 -1
- data/lib/relaton/render-jis/general.rb +2 -2
- data/lib/relaton/render-jis/parse.rb +8 -4
- data/metanorma-jis.gemspec +1 -1
- metadata +2 -2
data/lib/isodoc/jis/metadata.rb
CHANGED
@@ -4,7 +4,7 @@ require_relative "presentation_section"
|
|
4
4
|
require_relative "../../relaton/render-jis/general"
|
5
5
|
|
6
6
|
module IsoDoc
|
7
|
-
module
|
7
|
+
module Jis
|
8
8
|
class PresentationXMLConvert < IsoDoc::Iso::PresentationXMLConvert
|
9
9
|
def inline(docxml)
|
10
10
|
super
|
@@ -142,10 +142,46 @@ module IsoDoc
|
|
142
142
|
|
143
143
|
def date_translate(bibdata)
|
144
144
|
bibdata.xpath(ns("./date")).each do |d|
|
145
|
-
|
145
|
+
j = @i18n.japanese_date(d.text.strip)
|
146
|
+
@autonumbering_style == :japanese and
|
147
|
+
j.gsub!(/(\d+)/) do
|
148
|
+
$1.to_i.localize(:ja).spellout
|
149
|
+
end
|
150
|
+
d.children = j
|
146
151
|
end
|
147
152
|
end
|
148
153
|
|
154
|
+
def edition_translate(bibdata)
|
155
|
+
x = bibdata.at(ns("./edition")) or return
|
156
|
+
/^\d+$/.match?(x.text) or return
|
157
|
+
@i18n.edition_ordinal or return
|
158
|
+
num = x.text.to_i
|
159
|
+
@autonumbering_style == :japanese and num = num.localize(:ja).spellout
|
160
|
+
x.next =
|
161
|
+
%(<edition language="#{@lang}" numberonly="true">#{num}</edition>)
|
162
|
+
tag_translate(x, @lang, @i18n
|
163
|
+
.populate("edition_ordinal", { "var1" => num }))
|
164
|
+
end
|
165
|
+
|
166
|
+
def convert1(xml, filename, dir)
|
167
|
+
j = xml.at(ns("//metanorma-extension/presentation-metadata/" \
|
168
|
+
"autonumbering-style"))&.text
|
169
|
+
j ||= "arabic"
|
170
|
+
@autonumbering_style = j.to_sym
|
171
|
+
@xrefs.autonumbering_style = j.to_sym
|
172
|
+
super
|
173
|
+
end
|
174
|
+
|
175
|
+
def localized_strings(docxml)
|
176
|
+
super
|
177
|
+
a = docxml.at(ns("//localized-strings")) or return
|
178
|
+
ret = (0..1000).map do |i|
|
179
|
+
n = i.localize(:ja).spellout
|
180
|
+
"<localized-string key='#{i}' language='ja'>#{n}</localized-string>"
|
181
|
+
end.join("\n")
|
182
|
+
a << ret
|
183
|
+
end
|
184
|
+
|
149
185
|
include Init
|
150
186
|
end
|
151
187
|
end
|
data/lib/isodoc/jis/table.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
require_relative "../../html2doc/lists"
|
2
2
|
|
3
3
|
module IsoDoc
|
4
|
-
module
|
4
|
+
module Jis
|
5
5
|
class WordConvert < IsoDoc::Iso::WordConvert
|
6
6
|
def word_cleanup(docxml)
|
7
7
|
word_note_cleanup(docxml)
|
@@ -65,7 +65,7 @@ module IsoDoc
|
|
65
65
|
def to_word1(result, filename, dir, header)
|
66
66
|
result or return
|
67
67
|
result = from_xhtml(result).gsub(/-DOUBLE_HYPHEN_ESCAPE-/, "--")
|
68
|
-
::Html2Doc::
|
68
|
+
::Html2Doc::Jis.new(
|
69
69
|
filename: filename, imagedir: @localdir,
|
70
70
|
stylesheet: @wordstylesheet&.path,
|
71
71
|
header_file: header&.path, dir: dir,
|
data/lib/isodoc/jis/xref.rb
CHANGED
@@ -1,22 +1,45 @@
|
|
1
1
|
module IsoDoc
|
2
|
-
module
|
2
|
+
module Jis
|
3
3
|
class Counter < IsoDoc::XrefGen::Counter
|
4
4
|
def ol_type(list, depth)
|
5
5
|
return list["type"].to_sym if list["type"]
|
6
6
|
return :alphabet if depth == 1
|
7
7
|
|
8
|
-
:arabic
|
8
|
+
@style == :japanese ? :japanese : :arabic
|
9
9
|
end
|
10
10
|
|
11
11
|
def listlabel(_list, depth)
|
12
12
|
case depth
|
13
13
|
when 1 then (96 + @num).chr.to_s
|
14
|
-
else
|
14
|
+
else
|
15
|
+
if @style == :japanese
|
16
|
+
@num.localize(:ja).spellout
|
17
|
+
else
|
18
|
+
@num.to_s
|
19
|
+
end
|
15
20
|
end
|
16
21
|
end
|
17
22
|
end
|
18
23
|
|
19
24
|
class Xref < IsoDoc::Iso::Xref
|
25
|
+
attr_accessor :autonumbering_style
|
26
|
+
|
27
|
+
def clause_sep
|
28
|
+
@autonumbering_style == :japanese ? "\u30fb" : "."
|
29
|
+
end
|
30
|
+
|
31
|
+
def clause_counter(num, opts)
|
32
|
+
opts[:numerals] ||= @autonumbering_style
|
33
|
+
opts[:separator] ||= clause_sep
|
34
|
+
super
|
35
|
+
end
|
36
|
+
|
37
|
+
def list_counter(num, opts)
|
38
|
+
opts[:numerals] ||= @autonumbering_style
|
39
|
+
opts[:separator] ||= clause_sep
|
40
|
+
IsoDoc::Jis::Counter.new(num, opts)
|
41
|
+
end
|
42
|
+
|
20
43
|
def hierfigsep
|
21
44
|
@lang == "ja" ? "の" : super
|
22
45
|
end
|
@@ -28,12 +51,12 @@ module IsoDoc
|
|
28
51
|
end
|
29
52
|
|
30
53
|
def annex_name_lbl(clause, num)
|
31
|
-
obl =
|
54
|
+
obl = "(#{@labels['inform_annex']})"
|
32
55
|
clause["obligation"] == "normative" and
|
33
|
-
obl =
|
56
|
+
obl = "(#{@labels['norm_annex']})"
|
34
57
|
title = Common::case_with_markup(@labels["annex"], "capital",
|
35
58
|
@script)
|
36
|
-
|
59
|
+
"#{title} #{num}<br/>#{obl}"
|
37
60
|
end
|
38
61
|
|
39
62
|
def annex_name_anchors1(clause, num, level)
|
@@ -44,7 +67,7 @@ module IsoDoc
|
|
44
67
|
|
45
68
|
def annex_names1(clause, num, level)
|
46
69
|
annex_name_anchors1(clause, num, level)
|
47
|
-
i =
|
70
|
+
i = clause_counter(0, prefix: num)
|
48
71
|
clause.xpath(ns(SUBCLAUSES)).each do |c|
|
49
72
|
annex_names1(c, i.increment(c).print, level + 1)
|
50
73
|
end
|
@@ -81,6 +104,16 @@ module IsoDoc
|
|
81
104
|
super
|
82
105
|
end
|
83
106
|
|
107
|
+
def main_anchor_names(xml)
|
108
|
+
n = Counter.new(0, { numerals: @autonumbering_style })
|
109
|
+
clause_order_main(xml).each do |a|
|
110
|
+
xml.xpath(ns(a[:path])).each do |c|
|
111
|
+
section_names(c, n, 1)
|
112
|
+
a[:multi] or break
|
113
|
+
end
|
114
|
+
end
|
115
|
+
end
|
116
|
+
|
84
117
|
def back_clauses_anchor_names(xml)
|
85
118
|
clause_order_back(xml).each do |a|
|
86
119
|
xml.xpath(ns(a[:path])).each do |c|
|
@@ -96,7 +129,8 @@ module IsoDoc
|
|
96
129
|
|
97
130
|
def commentary_names(clause)
|
98
131
|
preface_name_anchors(clause, 1, clause_title(clause))
|
99
|
-
clause.xpath(ns(SUBCLAUSES))
|
132
|
+
clause.xpath(ns(SUBCLAUSES))
|
133
|
+
.each_with_object(clause_counter(0, {})) do |c, i|
|
100
134
|
commentary_names1(c, clause["id"], i.increment(c).print, 2)
|
101
135
|
end
|
102
136
|
end
|
@@ -104,7 +138,7 @@ module IsoDoc
|
|
104
138
|
def commentary_names1(clause, root, num, level)
|
105
139
|
commentary_name_anchors(clause, num, root, level)
|
106
140
|
clause.xpath(ns(SUBCLAUSES))
|
107
|
-
.each_with_object(
|
141
|
+
.each_with_object(clause_counter(0, prefix: num)) do |c, i|
|
108
142
|
commentary_names1(c, root, i.increment(c).print,
|
109
143
|
level + 1)
|
110
144
|
end
|
@@ -120,15 +154,19 @@ module IsoDoc
|
|
120
154
|
|
121
155
|
def list_item_anchor_names(list, list_anchor, depth, prev_label,
|
122
156
|
refer_list)
|
123
|
-
c =
|
157
|
+
c = list_counter(list["start"] ? list["start"].to_i - 1 : 0, {})
|
124
158
|
list.xpath(ns("./li")).each do |li|
|
125
159
|
bare_label, label =
|
126
|
-
list_item_value(li, c, depth,
|
127
|
-
|
160
|
+
list_item_value(li, c, depth,
|
161
|
+
{ list_anchor: list_anchor,
|
162
|
+
prev_label: prev_label,
|
163
|
+
refer_list: depth == 1 ? refer_list : nil })
|
128
164
|
li["id"] and @anchors[li["id"]] =
|
129
|
-
{ label: bare_label,
|
165
|
+
{ label: bare_label,
|
166
|
+
bare_xref: "#{bare_label})",
|
130
167
|
xref: "#{label})", type: "listitem",
|
131
|
-
refer_list: refer_list,
|
168
|
+
refer_list: refer_list,
|
169
|
+
container: list_anchor[:container] }
|
132
170
|
(li.xpath(ns(".//ol")) - li.xpath(ns(".//ol//ol"))).each do |ol|
|
133
171
|
list_item_anchor_names(ol, list_anchor, depth + 1, label,
|
134
172
|
refer_list)
|
@@ -139,10 +177,10 @@ refer_list)
|
|
139
177
|
def list_item_value(entry, counter, depth, opts)
|
140
178
|
label1 = counter.increment(entry).listlabel(entry.parent, depth)
|
141
179
|
if depth > 2
|
142
|
-
base = opts[:prev_label].
|
143
|
-
label1 = "#{base[
|
180
|
+
base = @c.decode(opts[:prev_label]).split(/\)\s*/) # List a) 1.1.1
|
181
|
+
label1 = "#{base[-1].sub(/^の/,'')}#{clause_sep}#{label1}"
|
144
182
|
[label1, list_item_anchor_label(label1, opts[:list_anchor],
|
145
|
-
base[
|
183
|
+
base[0].sub(/[\p{Zs})]+$/, ""), opts[:refer_list])]
|
146
184
|
else
|
147
185
|
[label1, list_item_anchor_label(label1, opts[:list_anchor], opts[:prev_label],
|
148
186
|
opts[:refer_list])]
|
@@ -72,6 +72,9 @@ standards defining organization, and that is rendered in a distinct manner</a:do
|
|
72
72
|
from other documents in the same doctype</a:documentation>
|
73
73
|
</ref>
|
74
74
|
</optional>
|
75
|
+
<ref name="flavor">
|
76
|
+
<a:documentation>Flavour of Metanorma used to process this document</a:documentation>
|
77
|
+
</ref>
|
75
78
|
<optional>
|
76
79
|
<ref name="editorialgroup">
|
77
80
|
<a:documentation>Groups associated with the production of the standards document, typically within
|
@@ -113,6 +116,16 @@ a standards definition organization</a:documentation>
|
|
113
116
|
<define name="DocumentSubtype">
|
114
117
|
<text/>
|
115
118
|
</define>
|
119
|
+
<define name="flavor">
|
120
|
+
<element name="flavor">
|
121
|
+
<ref name="MetanormaFlavor"/>
|
122
|
+
</element>
|
123
|
+
</define>
|
124
|
+
<define name="MetanormaFlavor">
|
125
|
+
<a:documentation>This is in fact an enum, as of this writing: standoc iso generic ietf ieee itu nist ogc csa cc iho ribose jis iec bsi bipm plateau.
|
126
|
+
However we prefer not to hardcode it, given ongoing extension.</a:documentation>
|
127
|
+
<text/>
|
128
|
+
</define>
|
116
129
|
<define name="editorialgroup">
|
117
130
|
<a:documentation>A group associated with the production of the standards document, typically within
|
118
131
|
a standards definition organization</a:documentation>
|
@@ -1382,18 +1382,7 @@ Applies whether the resource has already been created or not, and whether it is
|
|
1382
1382
|
<define name="bdate">
|
1383
1383
|
<a:documentation>Significant date in the lifecycle of the bibliographic item, including its production and its access</a:documentation>
|
1384
1384
|
<element name="date">
|
1385
|
-
<
|
1386
|
-
<a:documentation>The phase of the production of or access to a bibliographic item</a:documentation>
|
1387
|
-
<choice>
|
1388
|
-
<ref name="BibliographicDateType"/>
|
1389
|
-
<text/>
|
1390
|
-
</choice>
|
1391
|
-
</attribute>
|
1392
|
-
<optional>
|
1393
|
-
<attribute name="text">
|
1394
|
-
<a:documentation>An optional textual description of the date, especially when a Gregorian date is not applicable</a:documentation>
|
1395
|
-
</attribute>
|
1396
|
-
</optional>
|
1385
|
+
<ref name="bDateAttributes"/>
|
1397
1386
|
<optional>
|
1398
1387
|
<choice>
|
1399
1388
|
<group>
|
@@ -1416,6 +1405,20 @@ Applies whether the resource has already been created or not, and whether it is
|
|
1416
1405
|
</optional>
|
1417
1406
|
</element>
|
1418
1407
|
</define>
|
1408
|
+
<define name="bDateAttributes">
|
1409
|
+
<attribute name="type">
|
1410
|
+
<a:documentation>The phase of the production of or access to a bibliographic item</a:documentation>
|
1411
|
+
<choice>
|
1412
|
+
<ref name="BibliographicDateType"/>
|
1413
|
+
<text/>
|
1414
|
+
</choice>
|
1415
|
+
</attribute>
|
1416
|
+
<optional>
|
1417
|
+
<attribute name="text">
|
1418
|
+
<a:documentation>An optional textual description of the date, especially when a Gregorian date is not applicable</a:documentation>
|
1419
|
+
</attribute>
|
1420
|
+
</optional>
|
1421
|
+
</define>
|
1419
1422
|
<define name="docidentifier">
|
1420
1423
|
<a:documentation>An identifier of a bibliographic item in an international standard scheme</a:documentation>
|
1421
1424
|
<element name="docidentifier">
|
@@ -1884,6 +1887,10 @@ Detailed in https://www.relaton.org/model/relations/</a:documentation>
|
|
1884
1887
|
<value>hasAnnotation</value>
|
1885
1888
|
<value>draftOf</value>
|
1886
1889
|
<value>hasDraft</value>
|
1890
|
+
<value>preliminaryDraftOf</value>
|
1891
|
+
<value>hasPreliminaryDraft</value>
|
1892
|
+
<value>revisionDraftOf</value>
|
1893
|
+
<value>hasRevisionDraft</value>
|
1887
1894
|
<value>editionOf</value>
|
1888
1895
|
<value>hasEdition</value>
|
1889
1896
|
<value>updates</value>
|
@@ -5,8 +5,8 @@ require_relative "validate"
|
|
5
5
|
require_relative "cleanup"
|
6
6
|
|
7
7
|
module Metanorma
|
8
|
-
module
|
9
|
-
class Converter <
|
8
|
+
module Jis
|
9
|
+
class Converter < Iso::Converter
|
10
10
|
XML_ROOT_TAG = "jis-standard".freeze
|
11
11
|
XML_NAMESPACE = "https://www.metanorma.org/ns/jis".freeze
|
12
12
|
|
@@ -48,17 +48,17 @@ module Metanorma
|
|
48
48
|
|
49
49
|
def html_converter(node)
|
50
50
|
if node.nil?
|
51
|
-
IsoDoc::
|
51
|
+
IsoDoc::Jis::HtmlConvert.new({})
|
52
52
|
else
|
53
|
-
IsoDoc::
|
53
|
+
IsoDoc::Jis::HtmlConvert.new(html_extract_attributes(node))
|
54
54
|
end
|
55
55
|
end
|
56
56
|
|
57
57
|
def doc_converter(node)
|
58
58
|
if node.nil?
|
59
|
-
IsoDoc::
|
59
|
+
IsoDoc::Jis::WordConvert.new({})
|
60
60
|
else
|
61
|
-
IsoDoc::
|
61
|
+
IsoDoc::Jis::WordConvert.new(doc_extract_attributes(node))
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
@@ -66,19 +66,19 @@ module Metanorma
|
|
66
66
|
return if node.attr("no-pdf")
|
67
67
|
|
68
68
|
if node.nil?
|
69
|
-
IsoDoc::
|
69
|
+
IsoDoc::Jis::PdfConvert.new({})
|
70
70
|
else
|
71
|
-
IsoDoc::
|
71
|
+
IsoDoc::Jis::PdfConvert.new(pdf_extract_attributes(node))
|
72
72
|
end
|
73
73
|
end
|
74
74
|
|
75
75
|
def presentation_xml_converter(node)
|
76
76
|
if node.nil?
|
77
|
-
IsoDoc::
|
77
|
+
IsoDoc::Jis::PresentationXMLConvert.new({})
|
78
78
|
else
|
79
|
-
IsoDoc::
|
79
|
+
IsoDoc::Jis::PresentationXMLConvert
|
80
80
|
.new(doc_extract_attributes(node)
|
81
|
-
.merge(output_formats: ::Metanorma::
|
81
|
+
.merge(output_formats: ::Metanorma::Jis::Processor.new
|
82
82
|
.output_formats))
|
83
83
|
end
|
84
84
|
end
|
data/lib/metanorma/jis/front.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
require "metanorma/processor"
|
2
2
|
|
3
3
|
module Metanorma
|
4
|
-
module
|
4
|
+
module Jis
|
5
5
|
class Processor < Metanorma::Processor
|
6
6
|
|
7
7
|
def initialize # rubocop:disable Lint/MissingSuper
|
@@ -23,6 +23,15 @@ module Metanorma
|
|
23
23
|
"STIX Two Math" => nil,
|
24
24
|
"IPAexGothic" => nil,
|
25
25
|
"IPAexMincho" => nil,
|
26
|
+
=begin
|
27
|
+
"Noto Serif JP" => nil,
|
28
|
+
"Noto Serif JP ExtraLight" => nil,
|
29
|
+
"Noto Serif JP Medium" => nil,
|
30
|
+
"Noto Serif JP Bold" => nil,
|
31
|
+
"Noto Serif JP Black" => nil,
|
32
|
+
"Noto Sans JP Thin" => nil,
|
33
|
+
"Noto Sans JP Medium" => nil,
|
34
|
+
=end
|
26
35
|
"Courier New" => nil,
|
27
36
|
"Cambria Math" => nil,
|
28
37
|
"Times New Roman" => nil,
|
@@ -31,20 +40,20 @@ module Metanorma
|
|
31
40
|
end
|
32
41
|
|
33
42
|
def version
|
34
|
-
"Metanorma::
|
43
|
+
"Metanorma::Jis #{Metanorma::Jis::VERSION}"
|
35
44
|
end
|
36
45
|
|
37
46
|
def output(xml, inname, outname, format, options = {})
|
38
47
|
options_preprocess(options)
|
39
48
|
case format
|
40
49
|
when :html
|
41
|
-
IsoDoc::
|
50
|
+
IsoDoc::Jis::HtmlConvert.new(options).convert(inname, xml, nil, outname)
|
42
51
|
when :doc
|
43
|
-
IsoDoc::
|
52
|
+
IsoDoc::Jis::WordConvert.new(options).convert(inname, xml, nil, outname)
|
44
53
|
when :pdf
|
45
|
-
IsoDoc::
|
54
|
+
IsoDoc::Jis::PdfConvert.new(options).convert(inname, xml, nil, outname)
|
46
55
|
when :presentation
|
47
|
-
IsoDoc::
|
56
|
+
IsoDoc::Jis::PresentationXMLConvert.new(options).convert(inname, xml, nil, outname)
|
48
57
|
else
|
49
58
|
super
|
50
59
|
end
|
data/lib/metanorma/jis.rb
CHANGED
data/lib/metanorma-jis.rb
CHANGED
@@ -5,7 +5,7 @@ require_relative "parse"
|
|
5
5
|
|
6
6
|
module Relaton
|
7
7
|
module Render
|
8
|
-
module
|
8
|
+
module Jis
|
9
9
|
class General < ::Relaton::Render::Iso::General
|
10
10
|
def config_loc
|
11
11
|
YAML.load_file(File.join(File.dirname(__FILE__), "config.yml"))
|
@@ -13,7 +13,7 @@ module Relaton
|
|
13
13
|
|
14
14
|
def klass_initialize(_options)
|
15
15
|
super
|
16
|
-
@parseklass = Relaton::Render::
|
16
|
+
@parseklass = Relaton::Render::Jis::Parse
|
17
17
|
end
|
18
18
|
|
19
19
|
def render1(doc)
|
@@ -2,19 +2,23 @@ require "metanorma-iso"
|
|
2
2
|
|
3
3
|
module Relaton
|
4
4
|
module Render
|
5
|
-
module
|
5
|
+
module Jis
|
6
6
|
class Parse < ::Relaton::Render::Iso::Parse
|
7
7
|
def simple_or_host_xml2hash(doc, host)
|
8
8
|
ret = super
|
9
|
-
|
10
|
-
|
9
|
+
orgs = %i(publisher_raw author_raw authorizer_raw)
|
10
|
+
.each_with_object([]) do |i, m|
|
11
|
+
ret[i] and m << ret[i]
|
12
|
+
end
|
13
|
+
ret.merge(home_standard: home_standard(doc, orgs.flatten))
|
11
14
|
end
|
12
15
|
|
13
16
|
def home_standard(_doc, pubs)
|
14
17
|
pubs&.any? do |r|
|
15
18
|
["International Organization for Standardization", "ISO",
|
16
19
|
"International Electrotechnical Commission", "IEC",
|
17
|
-
"
|
20
|
+
"日本規格協会", "一般財団法人 日本規格協会",
|
21
|
+
"Japanese Industrial Standards"]
|
18
22
|
.include?(r[:nonpersonal])
|
19
23
|
end
|
20
24
|
end
|
data/metanorma-jis.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-jis
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-10-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: japanese_calendar
|