kitabu 1.0.3 → 1.0.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dd4794fdd60170ff115772a2b0e6e6369de4126f
4
- data.tar.gz: c32b3a2311c2377acbe835b215a914152177c404
3
+ metadata.gz: 0bfa84894a520006839726e740e537d767ec6c0e
4
+ data.tar.gz: 1f99732fbebedf9fb72f2bce04401ea6b5db74b3
5
5
  SHA512:
6
- metadata.gz: 976182ded83b2d17c6ea5c728c7fbfb50db6fcd0d8e127ce4a4b5195e68a5bb86892556a39c3a3450d2eaf61fcf1e51c8612ed0c068d57801a192735b6479434
7
- data.tar.gz: 278e6e935ed8847faa18cb593b902fc179266c2193ab8e7524372efed0f5640939f7391b95ab50c84ca2353b397b69875259d51934be87b3e46533fe25700265
6
+ metadata.gz: 4ee3bc46ff2be05228ccb938c9ff3f3b426c721368504901d8280ae80e77f75d00827ebcd1c6b10bdad6aed335cbc278156ba75c82870e70e9c695f5a42f876d
7
+ data.tar.gz: f34ea860bc0299cf233fedf527777e75cc61d88df6d738f6cd8f4ea1881c05a0413f44b42d7be2ada58937688a5a97c5f1c5553bbf00ac1c62a6f0743c38c538
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- kitabu (1.0.3)
4
+ kitabu (1.0.4)
5
5
  RedCloth
6
6
  activesupport
7
7
  coderay
@@ -22,14 +22,14 @@ GEM
22
22
  awesome_print (1.1.0)
23
23
  builder (3.2.0)
24
24
  coderay (1.0.9)
25
- diff-lcs (1.2.1)
25
+ diff-lcs (1.2.2)
26
26
  eeepub-with-cover-support (0.8.7)
27
27
  builder
28
28
  rubyzip
29
29
  i18n (0.6.4)
30
30
  method_source (0.8.1)
31
- multi_json (1.6.1)
32
- nokogiri (1.5.6)
31
+ multi_json (1.7.2)
32
+ nokogiri (1.5.9)
33
33
  notifier (0.4.1)
34
34
  pry (0.9.12)
35
35
  coderay (~> 1.0.5)
@@ -37,21 +37,21 @@ GEM
37
37
  slop (~> 3.4)
38
38
  pry-nav (0.2.3)
39
39
  pry (~> 0.9.10)
40
- rake (10.0.3)
40
+ rake (10.0.4)
41
41
  rdiscount (2.0.7.1)
42
42
  rspec (2.13.0)
43
43
  rspec-core (~> 2.13.0)
44
44
  rspec-expectations (~> 2.13.0)
45
45
  rspec-mocks (~> 2.13.0)
46
- rspec-core (2.13.0)
46
+ rspec-core (2.13.1)
47
47
  rspec-expectations (2.13.0)
48
48
  diff-lcs (>= 1.1.3, < 2.0)
49
49
  rspec-mocks (2.13.0)
50
50
  rubyzip (0.9.9)
51
- slop (3.4.3)
51
+ slop (3.4.4)
52
52
  test_notifier (1.0.1)
53
53
  notifier
54
- thor (0.17.0)
54
+ thor (0.18.1)
55
55
 
56
56
  PLATFORMS
57
57
  ruby
@@ -9,7 +9,7 @@ module Kitabu
9
9
  end
10
10
 
11
11
  def initialize(args = [], options = {}, config = {})
12
- if config[:current_task].name == "new" && args.empty?
12
+ if (config[:current_task] || config[:current_command]).name == "new" && args.empty?
13
13
  raise Error, "The e-Book path is required. For details run: kitabu help new"
14
14
  end
15
15
 
@@ -2,7 +2,7 @@ module Kitabu
2
2
  module Version
3
3
  MAJOR = 1
4
4
  MINOR = 0
5
- PATCH = 3
5
+ PATCH = 4
6
6
  STRING = "#{MAJOR}.#{MINOR}.#{PATCH}"
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kitabu
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nando Vieira
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-03-09 00:00:00.000000000 Z
11
+ date: 2013-03-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -364,7 +364,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
364
364
  version: '0'
365
365
  requirements: []
366
366
  rubyforge_project:
367
- rubygems_version: 2.0.2
367
+ rubygems_version: 2.0.3
368
368
  signing_key:
369
369
  specification_version: 4
370
370
  summary: A framework that generates PDF and e-Pub from Markdown, Textile, and HTML