aozoragen 0.3.4 → 0.3.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 728ce3bb7e29455d9964d2cc3445c116d82a6692
4
- data.tar.gz: f746800df12be4f7ea5112ec22d8fd60ba3639df
3
+ metadata.gz: de62178d5740cc72cfbbdcbd7c2cf10a32c996c5
4
+ data.tar.gz: 0f0b0bfb99ea018ed97b9804b6dd006a3f87c125
5
5
  SHA512:
6
- metadata.gz: 28261bd866b7c4b13014ec9321c3cf32c219f4ee5739400239cdaa2ec5340659d95445f83120a2ac8c07e908d5a95c95b01d1134e68d75b4e050dba8ecd8d5bc
7
- data.tar.gz: 8a125587bfa5d63b951c8b047b0823cc7c0104751c9c2e719b5a1ea7b2427cac72a039637b972d3441f90736884ffbd4d07fac99ddf33f3b92ca45cf7e11609e
6
+ metadata.gz: dd6a40aa750b65e409abf0f73516ac0eb22724f803e7438a63e416a984fe2f156eea12ba0772165fa19634b7ab22c4901292317ddc04ec1a0780e6255aa0c944
7
+ data.tar.gz: 804b3a8af31cb54688deb97b6fa910dad083c8d886fea1c46612922d627b70b3fcefd0583d2137cfb1eef81f8ac2af0dbbcb9c9bf5a99674d23210a55499988c
@@ -0,0 +1 @@
1
+ strategy: 'bundler'
@@ -29,7 +29,8 @@ module Aozoragen
29
29
  end
30
30
 
31
31
  def each_chapter
32
- (@index_html / '.subtitle a').each do |a|
32
+ (@index_html / '.subtitle a').each_with_index do |a, idx|
33
+ sleep 5 unless idx == 0 # sleep 5 secs against access deny by host
33
34
  uri = @index_uri + a.attr('href')
34
35
 
35
36
  chapter = Nokogiri(open(uri, 'r:utf-8', &:read).tr('《》.|', '『』・|'))
@@ -1,3 +1,3 @@
1
1
  module Aozoragen
2
- VERSION = "0.3.4"
2
+ VERSION = "0.3.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aozoragen
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - TADA Tadashi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-16 00:00:00.000000000 Z
11
+ date: 2017-02-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri
@@ -34,6 +34,7 @@ extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
36
  - ".gitignore"
37
+ - ".tachikoma.yml"
37
38
  - Gemfile
38
39
  - README.md
39
40
  - Rakefile
@@ -66,7 +67,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
66
67
  version: '0'
67
68
  requirements: []
68
69
  rubyforge_project:
69
- rubygems_version: 2.2.2
70
+ rubygems_version: 2.6.8
70
71
  signing_key:
71
72
  specification_version: 4
72
73
  summary: Generating AOZORA format text of eBook novels via some Web sites.