klipbook 1.0.0 → 1.0.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.
- data/bin/klipbook +5 -5
- data/klipbook.gemspec +1 -1
- data/lib/klipbook/version.rb +1 -1
- metadata +2 -2
    
        data/bin/klipbook
    CHANGED
    
    | @@ -71,6 +71,10 @@ pre do |globals,command,options,args| | |
| 71 71 | 
             
              true
         | 
| 72 72 | 
             
            end
         | 
| 73 73 |  | 
| 74 | 
            +
            on_error do |exception|
         | 
| 75 | 
            +
              true
         | 
| 76 | 
            +
            end
         | 
| 77 | 
            +
             | 
| 74 78 | 
             
            def source_spec(args)
         | 
| 75 79 | 
             
              @source_spec ||= (args[0] || Klipbook::Config.new.read[:source])
         | 
| 76 80 | 
             
            end
         | 
| @@ -80,11 +84,7 @@ def fetch_books(args, globals) | |
| 80 84 | 
             
            end
         | 
| 81 85 |  | 
| 82 86 | 
             
            def output_dir(options)
         | 
| 83 | 
            -
              @output_dir ||=  | 
| 84 | 
            -
                options[:o]
         | 
| 85 | 
            -
              else
         | 
| 86 | 
            -
                Klipbook::Config.new.read[:output] || Dir.pwd
         | 
| 87 | 
            -
              end
         | 
| 87 | 
            +
              @output_dir ||= (options[:o] || Klipbook::Config.new.read[:output] || Dir.pwd)
         | 
| 88 88 | 
             
            end
         | 
| 89 89 |  | 
| 90 90 | 
             
            exit run(ARGV)
         | 
    
        data/klipbook.gemspec
    CHANGED
    
    
    
        data/lib/klipbook/version.rb
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: klipbook
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 1.0. | 
| 4 | 
            +
              version: 1.0.1
         | 
| 5 5 | 
             
              prerelease: 
         | 
| 6 6 | 
             
            platform: ruby
         | 
| 7 7 | 
             
            authors:
         | 
| @@ -324,7 +324,7 @@ required_ruby_version: !ruby/object:Gem::Requirement | |
| 324 324 | 
             
                  version: '0'
         | 
| 325 325 | 
             
                  segments:
         | 
| 326 326 | 
             
                  - 0
         | 
| 327 | 
            -
                  hash: - | 
| 327 | 
            +
                  hash: -4508748763061441065
         | 
| 328 328 | 
             
            required_rubygems_version: !ruby/object:Gem::Requirement
         | 
| 329 329 | 
             
              none: false
         | 
| 330 330 | 
             
              requirements:
         |