aozoragen 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/aozoragen +2 -2
- data/lib/aozoragen/version.rb +1 -1
- metadata +4 -4
data/bin/aozoragen
CHANGED
@@ -49,7 +49,7 @@ ARGV.each do |u|
|
|
49
49
|
when 'github.com'
|
50
50
|
case Pathname( uri.path ).basename.to_s.sub( %r|(.*?)-.*$|, '\1' )
|
51
51
|
when 'webmysteries'
|
52
|
-
'
|
52
|
+
'webmysteries'
|
53
53
|
else
|
54
54
|
nil
|
55
55
|
end
|
@@ -66,7 +66,7 @@ ARGV.each do |u|
|
|
66
66
|
|
67
67
|
meta = book.metainfo
|
68
68
|
write_open( "#{meta[:id]}.00.txt", opts ) do |w|
|
69
|
-
w.puts "#{meta[:title]}\n#{meta[:author].join '
|
69
|
+
w.puts "#{meta[:title]}\n#{meta[:author].join '/'}\n\n\n[#改ページ]"
|
70
70
|
end
|
71
71
|
|
72
72
|
book.each_chapter do |chapter|
|
data/lib/aozoragen/version.rb
CHANGED
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.
|
4
|
+
version: 0.1.8
|
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-
|
12
|
+
date: 2012-04-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: nokogiri
|
16
|
-
requirement: &
|
16
|
+
requirement: &83201840 !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: *
|
24
|
+
version_requirements: *83201840
|
25
25
|
description: Scraping some Ebook web site and generating AOZORA format text files.
|
26
26
|
email:
|
27
27
|
- t@tdtds.jp
|