kindler 0.1.1 → 0.1.2

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/kindler/version.rb +1 -1
  2. data/lib/kindler.rb +2 -2
  3. metadata +3 -3
@@ -1,3 +1,3 @@
1
1
  module Kindler
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
data/lib/kindler.rb CHANGED
@@ -135,8 +135,8 @@ module Kindler
135
135
  contents = ''
136
136
  pages_by_section = {}
137
137
  pages.each do |page|
138
- pages_by_section[page[:title]] ||= []
139
- pages_by_section[page[:title]] << page
138
+ pages_by_section[page[:section]] ||= []
139
+ pages_by_section[page[:section]] << page
140
140
  end
141
141
  contents << <<-MAG
142
142
  <navPoint playOrder="0" class="periodical" id="periodical">
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kindler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-02-04 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: nokogiri
16
- requirement: &2161897040 !ruby/object:Gem::Requirement
16
+ requirement: &2157696760 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *2161897040
24
+ version_requirements: *2157696760
25
25
  description: kindler is a rubygem allow you to generate kindle mobi book very easily
26
26
  email:
27
27
  - mike.d.1984@gmail.com