gepub 0.4.3 → 0.4.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/gepub.gemspec +1 -1
  3. data/lib/gepub/gepuber.rb +2 -2
  4. metadata +1 -1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.3
1
+ 0.4.5
data/gepub.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{gepub}
8
- s.version = "0.4.3"
8
+ s.version = "0.4.5"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["KOJIMA Satoshi"]
data/lib/gepub/gepuber.rb CHANGED
@@ -44,8 +44,8 @@ module GEPUB
44
44
  add_nav(item, @table_of_contents[f])
45
45
  @table_of_contents.each {
46
46
  |k,v|
47
- k =~ /^#{f}#(.?)$/
48
- add_nav(item, @table_of_contents[f], $1) unless $1.nil?
47
+ k =~ /^#{f}#(.*)$/
48
+ add_nav(item, v, $1) unless $1.nil?
49
49
  }
50
50
  end
51
51
  }
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: gepub
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.4.3
5
+ version: 0.4.5
6
6
  platform: ruby
7
7
  authors:
8
8
  - KOJIMA Satoshi