gepub 0.4.2 → 0.4.3

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.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/gepub.gemspec +1 -1
  3. data/lib/gepub/gepuber.rb +1 -1
  4. metadata +1 -1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.2
1
+ 0.4.3
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.2"
8
+ s.version = "0.4.3"
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,7 +44,7 @@ module GEPUB
44
44
  add_nav(item, @table_of_contents[f])
45
45
  @table_of_contents.each {
46
46
  |k,v|
47
- k =~ /^#{@table_of_contents[f]}#(.?)$/
47
+ k =~ /^#{f}#(.?)$/
48
48
  add_nav(item, @table_of_contents[f], $1) unless $1.nil?
49
49
  }
50
50
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: gepub
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.4.2
5
+ version: 0.4.3
6
6
  platform: ruby
7
7
  authors:
8
8
  - KOJIMA Satoshi