isodoc 1.8.2.1 → 1.8.2.2

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: dee14fd22318290ef7a79cd3dff9b69c65bb5f9ea22160255d81c6f34fb6ac82
4
- data.tar.gz: 879a52fc92753e7311f102963a3eb2db76115e6ec5add68edf9a4733dbab954e
3
+ metadata.gz: acaea1b02c6f852beb40a1344fff745a7ff335cebba6484151acc0e73d4146a4
4
+ data.tar.gz: 23fce1207ac948de9b61c487dc8a91c2fd8ceeddb1a522b3608a85aad02c1923
5
5
  SHA512:
6
- metadata.gz: 7e345be88c816bbebe4ec66aaf9e7dcc9273c4f539152c77b6500dd14a12db3cd61befc9d2702feef2c6e4d43c158ca23cab8621452ed815b1cfd6aa3197e023
7
- data.tar.gz: 3fb800c7c1b9ec54faec69ef936b95bfdf64f9d5de2b02177edf5422bd05d0f379aed55dabe4cd2ee12ac2eb29052d761ec3b4d00984d03052e9e02083d556b1
6
+ metadata.gz: ad28bd8420ad35320fc9f67470bf5e4b44b3dc7e27c48867e50bfc6446ed0b57709bc4576518337e87bf72f8920a8035e4a34dd7486c7f739c2edcfc348b709e
7
+ data.tar.gz: 3c04a7a2eb965caeda51cd538a770387bb7d0a610893f46b6c09f4ef44178024b493c077390f0a6e765b17330e3af5004e2308964920061eef3f10c73e894b2e
@@ -18,7 +18,7 @@ module IsoDoc
18
18
  info docxml, nil
19
19
  conversions(docxml)
20
20
  docxml.root["type"] = "presentation"
21
- docxml.to_xml
21
+ docxml.to_xml.gsub(/</, "<").gsub(/>/, ">")
22
22
  end
23
23
 
24
24
  def conversions(docxml)
@@ -1,3 +1,3 @@
1
1
  module IsoDoc
2
- VERSION = "1.8.2.1".freeze
2
+ VERSION = "1.8.2.2".freeze
3
3
  end
@@ -671,7 +671,7 @@ RSpec.describe IsoDoc do
671
671
  <title depth='1'>1.<tab/>Terms and definitions</title>
672
672
  <term id='second'>
673
673
  <name>1.1.</name>
674
- <preferred><strong>Second Term, &lt;Field, Usage Info 1&gt;</strong></preferred>
674
+ <preferred><strong>Second Term, &#x3c;Field, Usage Info 1&#x3e;</strong></preferred>
675
675
  <definition>Definition 1</definition>
676
676
  </term>
677
677
  <term id='C'>
@@ -80,7 +80,7 @@ RSpec.describe IsoDoc do
80
80
  <title depth='1'>1.<tab/>Terms and Definitions</title>
81
81
  <p>For the purposes of this document, the following terms and definitions apply.</p>
82
82
  <term id='paddy1'><name>1.1.</name>
83
- <preferred><strong>paddy, &lt;in agriculture, dated&gt;</strong></preferred>
83
+ <preferred><strong>paddy, &#x3c;in agriculture, dated&#x3e;</strong></preferred>
84
84
  <termsource status='modified'>
85
85
  <origin bibitemid='ISO7301' type='inline' citeas='ISO 7301:2011'><locality type='clause'>
86
86
  <referenceFrom>3.1</referenceFrom>
@@ -122,7 +122,7 @@ RSpec.describe IsoDoc do
122
122
  </term>
123
123
  <term id='paddy'><name>1.2.</name>
124
124
  <preferred><strong>paddy</strong></preferred>
125
- <admitted>paddy rice, &lt;in agriculture&gt;</admitted>
125
+ <admitted>paddy rice, &#x3c;in agriculture&#x3e;</admitted>
126
126
  <admitted>rough rice</admitted>
127
127
  <deprecates>cargo rice</deprecates>
128
128
  <definition>
@@ -556,7 +556,7 @@ RSpec.describe IsoDoc do
556
556
  <preferred><strong/></preferred>
557
557
  <preferred isInternational='true'><figure id='_'>
558
558
  <name>Figure 1</name>
559
- <pre id='_'>&lt;LITERAL&gt; FIGURATIVE</pre>
559
+ <pre id='_'>&#x3c;LITERAL&#x3e; FIGURATIVE</pre>
560
560
  </figure>
561
561
  </preferred>
562
562
  <domain>rice</domain>
data/spec/spec_helper.rb CHANGED
@@ -31,7 +31,7 @@ end
31
31
 
32
32
  def metadata(hash)
33
33
  Hash[hash.sort].delete_if do |_k, v|
34
- v.nil? || v.respond_to?(:empty?) && v.empty?
34
+ v.nil? || (v.respond_to?(:empty?) && v.empty?)
35
35
  end
36
36
  end
37
37
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: isodoc
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.2.1
4
+ version: 1.8.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.