klipbook 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
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 ||= unless options[:o] == 'Current directory'
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
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "klipbook"
8
- s.version = "1.0.0"
8
+ s.version = "1.0.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Ray Grasso"]
@@ -1,3 +1,3 @@
1
1
  module Klipbook
2
- VERSION = '1.0.0'
2
+ VERSION = '1.0.1'
3
3
  end
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.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: -434895124641263041
327
+ hash: -4508748763061441065
328
328
  required_rubygems_version: !ruby/object:Gem::Requirement
329
329
  none: false
330
330
  requirements: