author 1.1.1.alpha → 1.1.2.alpha
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 +8 -8
- data/lib/author/version.rb +1 -1
- data/test/helper.rb +2 -1
- data/test/sample_book/export/book.xhtml +19 -0
- metadata +3 -1
    
        checksums.yaml
    CHANGED
    
    | @@ -1,15 +1,15 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            !binary "U0hBMQ==":
         | 
| 3 3 | 
             
              metadata.gz: !binary |-
         | 
| 4 | 
            -
                 | 
| 4 | 
            +
                ZmI4YjYwOTc0ZTQxMjI2ZmYwOGIzN2ZmZjljOTMyZjdjNGJkOTFmZQ==
         | 
| 5 5 | 
             
              data.tar.gz: !binary |-
         | 
| 6 | 
            -
                 | 
| 6 | 
            +
                YWQ3YjdlODYyMmM3NjAwNjUzNWIwOTc0MTk3ZmVkOTcxNjdjNWFmOQ==
         | 
| 7 7 | 
             
            SHA512:
         | 
| 8 8 | 
             
              metadata.gz: !binary |-
         | 
| 9 | 
            -
                 | 
| 10 | 
            -
                 | 
| 11 | 
            -
                 | 
| 9 | 
            +
                ZmE3OWMxZWI0MmYxMmIyZTg3N2Y5YjkxODk1NGYwNTg3NGRhYWY3NTNlNTM1
         | 
| 10 | 
            +
                YTkzMGM5YTY1MWIzYzgyMmExMTQ3NDg4OWFjMjVlYmU3MTU1ZGFkMmVhZDkz
         | 
| 11 | 
            +
                MmQ1ZGJmOGU3NjlhNzU3Yjc0YzVhNmZlZTExNzYyNjYxZDg5MWY=
         | 
| 12 12 | 
             
              data.tar.gz: !binary |-
         | 
| 13 | 
            -
                 | 
| 14 | 
            -
                 | 
| 15 | 
            -
                 | 
| 13 | 
            +
                Zjc1NTM1MmJkYTI4Y2ExZTIxYWFhYzc1NTVkZTE4OTU1M2JlNDk2ZWNmMDgy
         | 
| 14 | 
            +
                N2RmMDNmY2E3ZGRlN2FjNGI1NThmNmRiYTgxNmRmZWUyNTA2NjNjYjFkY2E1
         | 
| 15 | 
            +
                MzEwMGVjZjY0NDhkZmZkNmM4N2QwNjAwNWQzZTE2MzFlMGVkYmE=
         | 
    
        data/lib/author/version.rb
    CHANGED
    
    
    
        data/test/helper.rb
    CHANGED
    
    | @@ -56,7 +56,8 @@ module AuthorHelpers | |
| 56 56 |  | 
| 57 57 | 
             
              def ensure_clean_book
         | 
| 58 58 | 
             
                rm_f File.join(sample_book_path, 'chapters', 'all.md')
         | 
| 59 | 
            -
                rm_f File.join(sample_book_path, 'export' | 
| 59 | 
            +
                rm_f File.join(sample_book_path, 'export')
         | 
| 60 | 
            +
                mkdir_p File.join(sample_book_path, 'export')
         | 
| 60 61 | 
             
              end
         | 
| 61 62 |  | 
| 62 63 | 
             
              def inside_sample_book
         | 
| @@ -0,0 +1,19 @@ | |
| 1 | 
            +
            <?xml version="1.0" encoding="UTF-8"?>
         | 
| 2 | 
            +
            <html xmlns="http://www.w3.org/1999/xhtml">
         | 
| 3 | 
            +
              <head>
         | 
| 4 | 
            +
                <meta charset="utf-8" />
         | 
| 5 | 
            +
                <title>Sample Book</title>
         | 
| 6 | 
            +
              </head>
         | 
| 7 | 
            +
              <body>
         | 
| 8 | 
            +
                <div id="contents">
         | 
| 9 | 
            +
                  <h2 id="this-is-chapter-one">This is chapter one</h2>
         | 
| 10 | 
            +
             | 
| 11 | 
            +
            <p>Liquid test </p>
         | 
| 12 | 
            +
             | 
| 13 | 
            +
            <h2 id="this-is-chapter-two">This is chapter two</h2>
         | 
| 14 | 
            +
             | 
| 15 | 
            +
            <h2 id="this-is-chapter-three">This is chapter three</h2>
         | 
| 16 | 
            +
             | 
| 17 | 
            +
                </div>
         | 
| 18 | 
            +
              </body>
         | 
| 19 | 
            +
            </html>
         | 
    
        metadata
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: author
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 1.1. | 
| 4 | 
            +
              version: 1.1.2.alpha
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Terry Schmidt
         | 
| @@ -173,6 +173,7 @@ files: | |
| 173 173 | 
             
            - test/sample_book/chapters/three.md
         | 
| 174 174 | 
             
            - test/sample_book/chapters/two.md
         | 
| 175 175 | 
             
            - test/sample_book/config.yml
         | 
| 176 | 
            +
            - test/sample_book/export/book.xhtml
         | 
| 176 177 | 
             
            - test/sample_book/outline.txt
         | 
| 177 178 | 
             
            - test/sample_book/templates/layout.xhtml
         | 
| 178 179 | 
             
            - test/utils/assertions.rb
         | 
| @@ -222,6 +223,7 @@ test_files: | |
| 222 223 | 
             
            - test/sample_book/chapters/three.md
         | 
| 223 224 | 
             
            - test/sample_book/chapters/two.md
         | 
| 224 225 | 
             
            - test/sample_book/config.yml
         | 
| 226 | 
            +
            - test/sample_book/export/book.xhtml
         | 
| 225 227 | 
             
            - test/sample_book/outline.txt
         | 
| 226 228 | 
             
            - test/sample_book/templates/layout.xhtml
         | 
| 227 229 | 
             
            - test/utils/assertions.rb
         |