bookscan 0.5.8 → 0.5.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/Gemfile +1 -1
  2. data/VERSION +1 -1
  3. data/bookscan.gemspec +10 -11
  4. data/lib/bookscan/agent.rb +1 -1
  5. metadata +29 -31
data/Gemfile CHANGED
@@ -4,7 +4,7 @@ source "http://rubygems.org"
4
4
  # gem "activesupport", ">= 2.3.5"
5
5
  gem 'mutter'
6
6
  gem 'keystorage', '> 0.1'
7
- gem 'mechanize', '>= 1.0.0'
7
+ gem 'mechanize', '>= 2.0.1'
8
8
  gem 'highline', '> 1.6'
9
9
  gem 'progressbar', '>= 0.9.0'
10
10
  gem 'httpclient', '>= 2.1.6.1'
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.8
1
+ 0.5.9
@@ -5,15 +5,14 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{bookscan}
8
- s.version = "0.5.8"
8
+ s.version = "0.5.9"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Yoshihiro TAKAHARA"]
12
- s.date = %q{2011-05-31}
13
- s.default_executable = %q{bookscan}
11
+ s.authors = [%q{Yoshihiro TAKAHARA}]
12
+ s.date = %q{2011-08-08}
14
13
  s.description = %q{This is a scraper of Bookscan (http://www.bookscan.co.jp) Service.This is *NOT* a official software of Bookscan.}
15
14
  s.email = %q{y.takahara@gmail.com}
16
- s.executables = ["bookscan"]
15
+ s.executables = [%q{bookscan}]
17
16
  s.extra_rdoc_files = [
18
17
  "LICENSE.txt",
19
18
  "README.rdoc"
@@ -38,9 +37,9 @@ Gem::Specification.new do |s|
38
37
  "test/test_bookscan.rb"
39
38
  ]
40
39
  s.homepage = %q{http://github.com/tumf/bookscan}
41
- s.licenses = ["MIT"]
42
- s.require_paths = ["lib"]
43
- s.rubygems_version = %q{1.6.2}
40
+ s.licenses = [%q{MIT}]
41
+ s.require_paths = [%q{lib}]
42
+ s.rubygems_version = %q{1.8.6}
44
43
  s.summary = %q{BookScan Scraper}
45
44
  s.test_files = [
46
45
  "test/helper.rb",
@@ -53,7 +52,7 @@ Gem::Specification.new do |s|
53
52
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
54
53
  s.add_runtime_dependency(%q<mutter>, [">= 0"])
55
54
  s.add_runtime_dependency(%q<keystorage>, ["> 0.1"])
56
- s.add_runtime_dependency(%q<mechanize>, [">= 1.0.0"])
55
+ s.add_runtime_dependency(%q<mechanize>, [">= 2.0.1"])
57
56
  s.add_runtime_dependency(%q<highline>, ["> 1.6"])
58
57
  s.add_runtime_dependency(%q<progressbar>, [">= 0.9.0"])
59
58
  s.add_runtime_dependency(%q<httpclient>, [">= 2.1.6.1"])
@@ -64,7 +63,7 @@ Gem::Specification.new do |s|
64
63
  else
65
64
  s.add_dependency(%q<mutter>, [">= 0"])
66
65
  s.add_dependency(%q<keystorage>, ["> 0.1"])
67
- s.add_dependency(%q<mechanize>, [">= 1.0.0"])
66
+ s.add_dependency(%q<mechanize>, [">= 2.0.1"])
68
67
  s.add_dependency(%q<highline>, ["> 1.6"])
69
68
  s.add_dependency(%q<progressbar>, [">= 0.9.0"])
70
69
  s.add_dependency(%q<httpclient>, [">= 2.1.6.1"])
@@ -76,7 +75,7 @@ Gem::Specification.new do |s|
76
75
  else
77
76
  s.add_dependency(%q<mutter>, [">= 0"])
78
77
  s.add_dependency(%q<keystorage>, ["> 0.1"])
79
- s.add_dependency(%q<mechanize>, [">= 1.0.0"])
78
+ s.add_dependency(%q<mechanize>, [">= 2.0.1"])
80
79
  s.add_dependency(%q<highline>, ["> 1.6"])
81
80
  s.add_dependency(%q<progressbar>, [">= 0.9.0"])
82
81
  s.add_dependency(%q<httpclient>, [">= 2.1.6.1"])
@@ -163,7 +163,7 @@ module Bookscan
163
163
  def download(url,path)
164
164
  url = URI.parse(url)
165
165
  cli = HTTPClient.new
166
- @cookie_jar.cookies(url).each do |cookie|
166
+ cookie_jar.cookies(url).each do |cookie|
167
167
  cli.cookie_manager.parse(cookie.to_s,url)
168
168
  end
169
169
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bookscan
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
- - 8
10
- version: 0.5.8
9
+ - 9
10
+ version: 0.5.9
11
11
  platform: ruby
12
12
  authors:
13
13
  - Yoshihiro TAKAHARA
@@ -15,11 +15,9 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-05-31 00:00:00 +09:00
19
- default_executable: bookscan
18
+ date: 2011-08-08 00:00:00 Z
20
19
  dependencies:
21
20
  - !ruby/object:Gem::Dependency
22
- prerelease: false
23
21
  type: :runtime
24
22
  requirement: &id001 !ruby/object:Gem::Requirement
25
23
  none: false
@@ -30,10 +28,10 @@ dependencies:
30
28
  segments:
31
29
  - 0
32
30
  version: "0"
33
- name: mutter
34
31
  version_requirements: *id001
35
- - !ruby/object:Gem::Dependency
32
+ name: mutter
36
33
  prerelease: false
34
+ - !ruby/object:Gem::Dependency
37
35
  type: :runtime
38
36
  requirement: &id002 !ruby/object:Gem::Requirement
39
37
  none: false
@@ -45,26 +43,26 @@ dependencies:
45
43
  - 0
46
44
  - 1
47
45
  version: "0.1"
48
- name: keystorage
49
46
  version_requirements: *id002
50
- - !ruby/object:Gem::Dependency
47
+ name: keystorage
51
48
  prerelease: false
49
+ - !ruby/object:Gem::Dependency
52
50
  type: :runtime
53
51
  requirement: &id003 !ruby/object:Gem::Requirement
54
52
  none: false
55
53
  requirements:
56
54
  - - ">="
57
55
  - !ruby/object:Gem::Version
58
- hash: 23
56
+ hash: 13
59
57
  segments:
60
- - 1
61
- - 0
58
+ - 2
62
59
  - 0
63
- version: 1.0.0
64
- name: mechanize
60
+ - 1
61
+ version: 2.0.1
65
62
  version_requirements: *id003
66
- - !ruby/object:Gem::Dependency
63
+ name: mechanize
67
64
  prerelease: false
65
+ - !ruby/object:Gem::Dependency
68
66
  type: :runtime
69
67
  requirement: &id004 !ruby/object:Gem::Requirement
70
68
  none: false
@@ -76,10 +74,10 @@ dependencies:
76
74
  - 1
77
75
  - 6
78
76
  version: "1.6"
79
- name: highline
80
77
  version_requirements: *id004
81
- - !ruby/object:Gem::Dependency
78
+ name: highline
82
79
  prerelease: false
80
+ - !ruby/object:Gem::Dependency
83
81
  type: :runtime
84
82
  requirement: &id005 !ruby/object:Gem::Requirement
85
83
  none: false
@@ -92,10 +90,10 @@ dependencies:
92
90
  - 9
93
91
  - 0
94
92
  version: 0.9.0
95
- name: progressbar
96
93
  version_requirements: *id005
97
- - !ruby/object:Gem::Dependency
94
+ name: progressbar
98
95
  prerelease: false
96
+ - !ruby/object:Gem::Dependency
99
97
  type: :runtime
100
98
  requirement: &id006 !ruby/object:Gem::Requirement
101
99
  none: false
@@ -109,10 +107,10 @@ dependencies:
109
107
  - 6
110
108
  - 1
111
109
  version: 2.1.6.1
112
- name: httpclient
113
110
  version_requirements: *id006
114
- - !ruby/object:Gem::Dependency
111
+ name: httpclient
115
112
  prerelease: false
113
+ - !ruby/object:Gem::Dependency
116
114
  type: :development
117
115
  requirement: &id007 !ruby/object:Gem::Requirement
118
116
  none: false
@@ -123,10 +121,10 @@ dependencies:
123
121
  segments:
124
122
  - 0
125
123
  version: "0"
126
- name: shoulda
127
124
  version_requirements: *id007
128
- - !ruby/object:Gem::Dependency
125
+ name: shoulda
129
126
  prerelease: false
127
+ - !ruby/object:Gem::Dependency
130
128
  type: :development
131
129
  requirement: &id008 !ruby/object:Gem::Requirement
132
130
  none: false
@@ -139,10 +137,10 @@ dependencies:
139
137
  - 0
140
138
  - 0
141
139
  version: 1.0.0
142
- name: bundler
143
140
  version_requirements: *id008
144
- - !ruby/object:Gem::Dependency
141
+ name: bundler
145
142
  prerelease: false
143
+ - !ruby/object:Gem::Dependency
146
144
  type: :development
147
145
  requirement: &id009 !ruby/object:Gem::Requirement
148
146
  none: false
@@ -155,10 +153,10 @@ dependencies:
155
153
  - 5
156
154
  - 2
157
155
  version: 1.5.2
158
- name: jeweler
159
156
  version_requirements: *id009
160
- - !ruby/object:Gem::Dependency
157
+ name: jeweler
161
158
  prerelease: false
159
+ - !ruby/object:Gem::Dependency
162
160
  type: :development
163
161
  requirement: &id010 !ruby/object:Gem::Requirement
164
162
  none: false
@@ -169,8 +167,9 @@ dependencies:
169
167
  segments:
170
168
  - 0
171
169
  version: "0"
172
- name: rcov
173
170
  version_requirements: *id010
171
+ name: rcov
172
+ prerelease: false
174
173
  description: This is a scraper of Bookscan (http://www.bookscan.co.jp) Service.This is *NOT* a official software of Bookscan.
175
174
  email: y.takahara@gmail.com
176
175
  executables:
@@ -198,7 +197,6 @@ files:
198
197
  - lib/bookscan/groups.rb
199
198
  - test/helper.rb
200
199
  - test/test_bookscan.rb
201
- has_rdoc: true
202
200
  homepage: http://github.com/tumf/bookscan
203
201
  licenses:
204
202
  - MIT
@@ -228,7 +226,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
228
226
  requirements: []
229
227
 
230
228
  rubyforge_project:
231
- rubygems_version: 1.6.2
229
+ rubygems_version: 1.8.6
232
230
  signing_key:
233
231
  specification_version: 3
234
232
  summary: BookScan Scraper