aozoragen 0.1.8 → 0.1.9

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -24,7 +24,7 @@ Gemを使ってインストールする:
24
24
  * Webミステリーズ! <http://www.webmysteries.jp/>
25
25
  * Webミステリーズ!の掲載作品には目次ページがないため、GitHubのWikiで代用する。
26
26
  * h1要素に書名、h2要素に続くリストで著者名、h3要素に続くリストで連載各回のURLを表現する。
27
- * WikiページのURLは、ファイル名が「webmisteries-」で始まるようにする。
27
+ * WikiページのURLは、ファイル名が「webmysteries-」で始まるようにする。
28
28
  * 指定例: https://github.com/tdtds/aozoragen/wiki/webmysteries-mm9_destruction
29
29
 
30
30
  ### aozora2pdf
@@ -30,7 +30,7 @@ module Aozoragen
30
30
  book_title = metainfo[:title]
31
31
  (@index_html / 'ul.btnList li.withDate a' ).each do |a|
32
32
  uri = @index_uri + a.attr( :href )
33
- text = get_content( uri, book_title )
33
+ text = get_content( uri, book_title ).normalize_char
34
34
  yield( {id: Pathname( uri.path ).dirname.basename.to_s, uri: uri, text: text} )
35
35
  end
36
36
  end
@@ -1,3 +1,3 @@
1
1
  module Aozoragen
2
- VERSION = "0.1.8"
2
+ VERSION = "0.1.9"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aozoragen
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-04-23 00:00:00.000000000 Z
12
+ date: 2012-04-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: nokogiri
16
- requirement: &83201840 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,12 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *83201840
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '0'
25
30
  description: Scraping some Ebook web site and generating AOZORA format text files.
26
31
  email:
27
32
  - t@tdtds.jp
@@ -64,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
64
69
  version: '0'
65
70
  requirements: []
66
71
  rubyforge_project:
67
- rubygems_version: 1.8.11
72
+ rubygems_version: 1.8.23
68
73
  signing_key:
69
74
  specification_version: 3
70
75
  summary: Generating AOZORA format text of eBook novels via some Web sites.