gepub 0.6.0 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/gepub/book.rb +4 -4
  2. data/lib/gepub/version.rb +1 -1
  3. metadata +7 -7
data/lib/gepub/book.rb CHANGED
@@ -75,8 +75,8 @@ module GEPUB
75
75
  item = @package.add_item(href,io,id,attributes)
76
76
  toc = @toc
77
77
  (class << item;self;end).send(:define_method, :toc_text,
78
- Proc.new { |text, id = nil|
79
- toc.push(:item => item, :text => text, :id => id)
78
+ Proc.new { |text|
79
+ toc.push(:item => item, :text => text, :id => nil)
80
80
  item
81
81
  })
82
82
  yield item if block_given?
@@ -87,8 +87,8 @@ module GEPUB
87
87
  item = @package.add_ordered_item(href,io,id,attributes)
88
88
  toc = @toc
89
89
  (class << item;self;end).send(:define_method, :toc_text,
90
- Proc.new { |text, id = nil|
91
- toc.push(:item => item, :text => text, :id => id)
90
+ Proc.new { |text|
91
+ toc.push(:item => item, :text => text, :id => nil)
92
92
  item
93
93
  })
94
94
  yield item if block_given?
data/lib/gepub/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module GEPUB
2
- VERSION = "0.6.0"
2
+ VERSION = "0.6.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gepub
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-02-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
16
- requirement: &70114096287200 !ruby/object:Gem::Requirement
16
+ requirement: &70155015272060 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '2'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *70114096287200
24
+ version_requirements: *70155015272060
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: nokogiri
27
- requirement: &70114091707580 !ruby/object:Gem::Requirement
27
+ requirement: &70155015271560 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 1.5.0
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70114091707580
35
+ version_requirements: *70155015271560
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rubyzip
38
- requirement: &70114091706120 !ruby/object:Gem::Requirement
38
+ requirement: &70155015271100 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,7 +43,7 @@ dependencies:
43
43
  version: 0.9.6
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *70114091706120
46
+ version_requirements: *70155015271100
47
47
  description: gepub is a EPUB parser/generator. Generates EPUB2 opf. will support EPUB3
48
48
  parse/generation
49
49
  email: