gimli 0.5.5 → 0.5.6
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/README.textile +1 -1
- data/config/style.css +1 -1
- data/lib/gimli/version.rb +1 -1
- data/spec/gimli/markup_file_spec.rb +3 -3
- data/spec/spec_helper.rb +3 -0
- metadata +18 -18
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA1:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 6434df05cd94a7a2408aee4c881f5a0589c550b9
         | 
| 4 | 
            +
              data.tar.gz: 9cc7764fba90d3c10f8502644fa28cfab4f022cd
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 0cab2c3cc30e388c9d1ccc62bf73fc805ff8912798441fe8404d797a27fa601cbda97298d8815c4d61ec44a00f766786f369da8f8e326bea6ee987df591d808a
         | 
| 7 | 
            +
              data.tar.gz: 2f6e4219801a74c2f1b7ee09d6b094178f242bb3c7b86f3bf57683765e8d3232c7e9cd104c98018a4f8f14725a9cd7963890e80002079a8a90bd069807daac0d
         | 
    
        data/README.textile
    CHANGED
    
    | @@ -55,7 +55,7 @@ bc. $ gimli -f test.md -w '--toc --footer-right "[page]/[toPage]"' | |
| 55 55 |  | 
| 56 56 | 
             
            This gives a pdf with a table of contents and page numbers in the footer.
         | 
| 57 57 |  | 
| 58 | 
            -
            See the "man page": | 
| 58 | 
            +
            See the "man page":http://wkhtmltopdf.org/usage/wkhtmltopdf.txt for wkhtmltopdf for all possible parameters.
         | 
| 59 59 |  | 
| 60 60 | 
             
            Run @gimli -h@ for a full list of options available
         | 
| 61 61 |  | 
    
        data/config/style.css
    CHANGED
    
    
    
        data/lib/gimli/version.rb
    CHANGED
    
    
| @@ -11,15 +11,15 @@ describe Gimli::MarkupFile do | |
| 11 11 | 
             
              end
         | 
| 12 12 |  | 
| 13 13 | 
             
              it 'should recognize valid format' do
         | 
| 14 | 
            -
                @file.valid_format?('textile').should  | 
| 14 | 
            +
                @file.valid_format?('textile').should be true
         | 
| 15 15 | 
             
              end
         | 
| 16 16 |  | 
| 17 17 | 
             
              it 'should recognize invalid format' do
         | 
| 18 | 
            -
                @file.valid_format?('abc123').should  | 
| 18 | 
            +
                @file.valid_format?('abc123').should be false
         | 
| 19 19 | 
             
              end
         | 
| 20 20 |  | 
| 21 21 | 
             
              it 'should recognize nil as invalid format' do
         | 
| 22 | 
            -
                @file.valid_format?(nil).should  | 
| 22 | 
            +
                @file.valid_format?(nil).should be false
         | 
| 23 23 | 
             
              end
         | 
| 24 24 |  | 
| 25 25 | 
             
              it 'should give the name as the filename without the extension' do
         | 
    
        data/spec/spec_helper.rb
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: gimli
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 0.5. | 
| 4 | 
            +
              version: 0.5.6
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Fredrik Wallgren
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2014- | 
| 11 | 
            +
            date: 2014-11-04 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: github-markup
         | 
| @@ -16,28 +16,28 @@ dependencies: | |
| 16 16 | 
             
                requirements:
         | 
| 17 17 | 
             
                - - "~>"
         | 
| 18 18 | 
             
                  - !ruby/object:Gem::Version
         | 
| 19 | 
            -
                    version:  | 
| 19 | 
            +
                    version: '1.3'
         | 
| 20 20 | 
             
              type: :runtime
         | 
| 21 21 | 
             
              prerelease: false
         | 
| 22 22 | 
             
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 23 23 | 
             
                requirements:
         | 
| 24 24 | 
             
                - - "~>"
         | 
| 25 25 | 
             
                  - !ruby/object:Gem::Version
         | 
| 26 | 
            -
                    version:  | 
| 26 | 
            +
                    version: '1.3'
         | 
| 27 27 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 28 28 | 
             
              name: redcarpet
         | 
| 29 29 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| 30 30 | 
             
                requirements:
         | 
| 31 31 | 
             
                - - "~>"
         | 
| 32 32 | 
             
                  - !ruby/object:Gem::Version
         | 
| 33 | 
            -
                    version: 2 | 
| 33 | 
            +
                    version: '3.2'
         | 
| 34 34 | 
             
              type: :runtime
         | 
| 35 35 | 
             
              prerelease: false
         | 
| 36 36 | 
             
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 37 37 | 
             
                requirements:
         | 
| 38 38 | 
             
                - - "~>"
         | 
| 39 39 | 
             
                  - !ruby/object:Gem::Version
         | 
| 40 | 
            -
                    version: 2 | 
| 40 | 
            +
                    version: '3.2'
         | 
| 41 41 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 42 42 | 
             
              name: RedCloth
         | 
| 43 43 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| @@ -58,42 +58,42 @@ dependencies: | |
| 58 58 | 
             
                requirements:
         | 
| 59 59 | 
             
                - - "~>"
         | 
| 60 60 | 
             
                  - !ruby/object:Gem::Version
         | 
| 61 | 
            -
                    version: 1. | 
| 61 | 
            +
                    version: '1.1'
         | 
| 62 62 | 
             
              type: :runtime
         | 
| 63 63 | 
             
              prerelease: false
         | 
| 64 64 | 
             
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 65 65 | 
             
                requirements:
         | 
| 66 66 | 
             
                - - "~>"
         | 
| 67 67 | 
             
                  - !ruby/object:Gem::Version
         | 
| 68 | 
            -
                    version: 1. | 
| 68 | 
            +
                    version: '1.1'
         | 
| 69 69 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 70 70 | 
             
              name: nokogiri
         | 
| 71 71 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| 72 72 | 
             
                requirements:
         | 
| 73 73 | 
             
                - - "~>"
         | 
| 74 74 | 
             
                  - !ruby/object:Gem::Version
         | 
| 75 | 
            -
                    version: 1. | 
| 75 | 
            +
                    version: 1.6.3
         | 
| 76 76 | 
             
              type: :runtime
         | 
| 77 77 | 
             
              prerelease: false
         | 
| 78 78 | 
             
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 79 79 | 
             
                requirements:
         | 
| 80 80 | 
             
                - - "~>"
         | 
| 81 81 | 
             
                  - !ruby/object:Gem::Version
         | 
| 82 | 
            -
                    version: 1. | 
| 82 | 
            +
                    version: 1.6.3
         | 
| 83 83 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 84 84 | 
             
              name: wkhtmltopdf-binary
         | 
| 85 85 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| 86 86 | 
             
                requirements:
         | 
| 87 87 | 
             
                - - "~>"
         | 
| 88 88 | 
             
                  - !ruby/object:Gem::Version
         | 
| 89 | 
            -
                    version: 0.9.9. | 
| 89 | 
            +
                    version: 0.9.9.3
         | 
| 90 90 | 
             
              type: :runtime
         | 
| 91 91 | 
             
              prerelease: false
         | 
| 92 92 | 
             
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 93 93 | 
             
                requirements:
         | 
| 94 94 | 
             
                - - "~>"
         | 
| 95 95 | 
             
                  - !ruby/object:Gem::Version
         | 
| 96 | 
            -
                    version: 0.9.9. | 
| 96 | 
            +
                    version: 0.9.9.3
         | 
| 97 97 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 98 98 | 
             
              name: optiflag
         | 
| 99 99 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| @@ -174,21 +174,24 @@ extra_rdoc_files: | |
| 174 174 | 
             
            - README.textile
         | 
| 175 175 | 
             
            - LICENSE
         | 
| 176 176 | 
             
            files:
         | 
| 177 | 
            +
            - LICENSE
         | 
| 178 | 
            +
            - README.textile
         | 
| 177 179 | 
             
            - bin/gimli
         | 
| 180 | 
            +
            - config/style.css
         | 
| 178 181 | 
             
            - ext/github_markup.rb
         | 
| 182 | 
            +
            - lib/gimli.rb
         | 
| 179 183 | 
             
            - lib/gimli/config.rb
         | 
| 180 184 | 
             
            - lib/gimli/converter.rb
         | 
| 185 | 
            +
            - lib/gimli/markup.rb
         | 
| 181 186 | 
             
            - lib/gimli/markup/code.rb
         | 
| 182 187 | 
             
            - lib/gimli/markup/code_block.rb
         | 
| 183 188 | 
             
            - lib/gimli/markup/renderer.rb
         | 
| 184 189 | 
             
            - lib/gimli/markup/yaml_frontmatter_remover.rb
         | 
| 185 | 
            -
            - lib/gimli/markup.rb
         | 
| 186 190 | 
             
            - lib/gimli/markupfile.rb
         | 
| 187 191 | 
             
            - lib/gimli/path.rb
         | 
| 188 192 | 
             
            - lib/gimli/setup.rb
         | 
| 189 193 | 
             
            - lib/gimli/version.rb
         | 
| 190 194 | 
             
            - lib/gimli/wkhtmltopdf.rb
         | 
| 191 | 
            -
            - lib/gimli.rb
         | 
| 192 195 | 
             
            - spec/fixtures/autolink_url.md
         | 
| 193 196 | 
             
            - spec/fixtures/code_block.textile
         | 
| 194 197 | 
             
            - spec/fixtures/code_block_with_utf8.md
         | 
| @@ -212,9 +215,6 @@ files: | |
| 212 215 | 
             
            - spec/gimli/wkhtmltopdf_spec.rb
         | 
| 213 216 | 
             
            - spec/integration_spec.rb
         | 
| 214 217 | 
             
            - spec/spec_helper.rb
         | 
| 215 | 
            -
            - config/style.css
         | 
| 216 | 
            -
            - LICENSE
         | 
| 217 | 
            -
            - README.textile
         | 
| 218 218 | 
             
            homepage: https://github.com/walle/gimli
         | 
| 219 219 | 
             
            licenses: []
         | 
| 220 220 | 
             
            metadata: {}
         | 
| @@ -235,7 +235,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement | |
| 235 235 | 
             
                  version: '0'
         | 
| 236 236 | 
             
            requirements: []
         | 
| 237 237 | 
             
            rubyforge_project: gimli
         | 
| 238 | 
            -
            rubygems_version: 2. | 
| 238 | 
            +
            rubygems_version: 2.2.2
         | 
| 239 239 | 
             
            signing_key: 
         | 
| 240 240 | 
             
            specification_version: 4
         | 
| 241 241 | 
             
            summary: Utility for converting markup files to pdf files.
         |