asciidoctor-iso 0.10.0 → 0.10.1
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/.travis.yml +1 -0
- data/lib/asciidoctor/iso/ref.rb +2 -2
- data/lib/asciidoctor/iso/version.rb +1 -1
- data/spec/assets/iso.doc +7 -7
- metadata +1 -1
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 5ae350c2e4edf9c90dcba4d2ad5c318800a8d26b199c6b7c90375847f58fc46b
         | 
| 4 | 
            +
              data.tar.gz: af561d03b111302e8a7dad8c714e93ae335bf7d768d67fd328a2e57282da8582
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 83c629ce75f58024f2d096634cfe9111862470250500218f5face86849e8eb14567076f439f9907445880767dcd4d42bfb4c7351e437b0d56b95c057e5f0d2ff
         | 
| 7 | 
            +
              data.tar.gz: 242f6a1f91a4e3b86776f60fb13ff5cc806651bd2e56ae4bd4e7e24fb84b8d120fe0ff52519ae3b8e37edf710e959c5fc7d11817be8fb30066c262c5b5a36dfa
         | 
    
        data/.travis.yml
    CHANGED
    
    
    
        data/lib/asciidoctor/iso/ref.rb
    CHANGED
    
    | @@ -66,7 +66,7 @@ module Asciidoctor | |
| 66 66 | 
             
                  end
         | 
| 67 67 |  | 
| 68 68 | 
             
                  def isorefmatches3(xml, m)
         | 
| 69 | 
            -
                    hasyr =  m. | 
| 69 | 
            +
                    hasyr =  m.names.include?("year")
         | 
| 70 70 | 
             
                    ref = fetch_ref xml, m[:code], hasyr ? m[:year] : nil, all_parts: true
         | 
| 71 71 | 
             
                    return use_my_anchor(ref, m[:anchor]) if ref
         | 
| 72 72 | 
             
                    xml.bibitem(**attr_code(ref_attributes(m))) do |t|
         | 
| @@ -105,7 +105,7 @@ module Asciidoctor | |
| 105 105 | 
             
                    end
         | 
| 106 106 | 
             
                    unless m[:code] && /^\d+$/.match(m[:code])
         | 
| 107 107 | 
             
                      ref = fetch_ref xml, m[:code], 
         | 
| 108 | 
            -
                        m. | 
| 108 | 
            +
                        m.names.include?("year") ? m[:year] : nil, {}
         | 
| 109 109 | 
             
                      return use_my_anchor(ref, m[:anchor]) if ref
         | 
| 110 110 | 
             
                    end
         | 
| 111 111 | 
             
                    refitem_render(xml, m)
         | 
    
        data/spec/assets/iso.doc
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            MIME-Version: 1.0
         | 
| 2 | 
            -
            Content-Type: multipart/related; boundary="----= | 
| 2 | 
            +
            Content-Type: multipart/related; boundary="----=_NextPart_30405c9c.cfdb.4e46"
         | 
| 3 3 |  | 
| 4 | 
            -
            ------= | 
| 4 | 
            +
            ------=_NextPart_30405c9c.cfdb.4e46
         | 
| 5 5 | 
             
            Content-Location: file:///C:/Doc/spec/assets/iso.htm
         | 
| 6 6 | 
             
            Content-Type: text/html; charset="utf-8"
         | 
| 7 7 |  | 
| @@ -2069,11 +2069,11 @@ Switzerland<p class="MsoNormal"></p></span></p> | |
| 2069 2069 | 
             
            <p class="MsoToc1"><span lang="EN-GB" xml:lang="EN-GB"><span style="mso-element:field-begin"></span><span style="mso-spacerun:yes"> </span>TOC
         | 
| 2070 2070 | 
             
              \o "1-2" \h \z \u <span style="mso-element:field-separator"></span></span>
         | 
| 2071 2071 | 
             
            <span class="MsoHyperlink"><span lang="EN-GB" style="mso-no-proof:yes" xml:lang="EN-GB">
         | 
| 2072 | 
            -
            <a href="# | 
| 2072 | 
            +
            <a href="#_Toc893822203">Foreword<span lang="EN-GB" class="MsoTocTextSpan" xml:lang="EN-GB">
         | 
| 2073 2073 | 
             
            <span style="mso-tab-count:1 dotted">. </span>
         | 
| 2074 2074 | 
             
            </span><span lang="EN-GB" class="MsoTocTextSpan" xml:lang="EN-GB">
         | 
| 2075 2075 | 
             
            <span style="mso-element:field-begin"></span></span>
         | 
| 2076 | 
            -
            <span lang="EN-GB" class="MsoTocTextSpan" xml:lang="EN-GB"> PAGEREF  | 
| 2076 | 
            +
            <span lang="EN-GB" class="MsoTocTextSpan" xml:lang="EN-GB"> PAGEREF _Toc893822203 \h </span>
         | 
| 2077 2077 | 
             
              <span lang="EN-GB" class="MsoTocTextSpan" xml:lang="EN-GB"><span style="mso-element:field-separator"></span></span><span lang="EN-GB" class="MsoTocTextSpan" xml:lang="EN-GB">1</span>
         | 
| 2078 2078 | 
             
              <span lang="EN-GB" class="MsoTocTextSpan" xml:lang="EN-GB"></span><span lang="EN-GB" class="MsoTocTextSpan" xml:lang="EN-GB"><span style="mso-element:field-end"></span></span></a></span></span></p>
         | 
| 2079 2079 |  | 
| @@ -2106,7 +2106,7 @@ Switzerland<p class="MsoNormal"></p></span></p> | |
| 2106 2106 | 
             
            </html>
         | 
| 2107 2107 |  | 
| 2108 2108 |  | 
| 2109 | 
            -
            ------= | 
| 2109 | 
            +
            ------=_NextPart_30405c9c.cfdb.4e46
         | 
| 2110 2110 | 
             
            Content-Location: file:///C:/Doc/spec/assets/iso_files/filelist.xml
         | 
| 2111 2111 | 
             
            Content-Transfer-Encoding: base64
         | 
| 2112 2112 | 
             
            Content-Type: application/xml
         | 
| @@ -2116,7 +2116,7 @@ ICAgICAgIDxvOk1haW5GaWxlIEhSZWY9Ii4uL3NwZWMvYXNzZXRzL2lzby5odG0iLz4gIDxvOkZp | |
| 2116 2116 | 
             
            bGUgSFJlZj0iZmlsZWxpc3QueG1sIi8+CiAgPG86RmlsZSBIUmVmPSJoZWFkZXIuaHRtbCIvPgo8
         | 
| 2117 2117 | 
             
            L3htbD4K
         | 
| 2118 2118 |  | 
| 2119 | 
            -
            ------= | 
| 2119 | 
            +
            ------=_NextPart_30405c9c.cfdb.4e46
         | 
| 2120 2120 | 
             
            Content-Location: file:///C:/Doc/spec/assets/iso_files/header.html
         | 
| 2121 2121 | 
             
            Content-Transfer-Encoding: base64
         | 
| 2122 2122 | 
             
            Content-Type: text/html charset="utf-8"
         | 
| @@ -2309,4 +2309,4 @@ cD4NCg0KPHAgY2xhc3M9TXNvRm9vdGVyPjxzcGFuIGxhbmc9RU4tQVUgc3R5bGU9J2ZvbnQtc2l6 | |
| 2309 2309 | 
             
            ZToxMC4wcHQ7Jz7CqQ0KJm5ic3A7Jm5ic3A74oCTIEFsbCByaWdodHMgcmVzZXJ2ZWQ8bzpwPjwv
         | 
| 2310 2310 | 
             
            bzpwPjwvc3Bhbj48L3A+DQoNCjwvZGl2Pg0KDQoNCg0KPC9ib2R5Pg0KDQo8L2h0bWw+DQo=
         | 
| 2311 2311 |  | 
| 2312 | 
            -
            ------= | 
| 2312 | 
            +
            ------=_NextPart_30405c9c.cfdb.4e46--
         |