kindai 2.4.3 → 2.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.travis.yml +3 -0
- data/Gemfile +2 -3
- data/Gemfile.lock +52 -19
- data/Rakefile +0 -5
- data/VERSION +1 -1
- data/kindai.gemspec +12 -14
- data/spec/book_downloader_spec.rb +2 -2
- data/spec/book_spec.rb +1 -1
- metadata +24 -59
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: ec98c1b1e368dcffcd081341805af698ea2b07aa
|
4
|
+
data.tar.gz: 228c2558f3f2a69a921ad6e4f1940b673f54c9f8
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 95a131889cce307e5af91432a1e9f24c3074b93a65f7de73d54a1c6fea753f34e14014ef98c3d7d3903841b871d45136c0b207d376bb76687bb03c938a870d6c
|
7
|
+
data.tar.gz: 801babc8ce55437f50adb43e07bb6a53cc3b3fd22ff67ec25e45837713e7502b8cf362b1ebcebd3d2d83057cc60c8ffaba791da625d3e6ecd5e07d50ea94e3f1
|
data/.travis.yml
CHANGED
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,39 +1,72 @@
|
|
1
1
|
GEM
|
2
2
|
remote: http://rubygems.org/
|
3
3
|
specs:
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
4
|
+
addressable (2.3.6)
|
5
|
+
builder (3.2.2)
|
6
|
+
descendants_tracker (0.0.4)
|
7
|
+
thread_safe (~> 0.3, >= 0.3.1)
|
8
|
+
diff-lcs (1.2.5)
|
9
|
+
faraday (0.9.0)
|
10
|
+
multipart-post (>= 1.2, < 3)
|
11
|
+
git (1.2.6)
|
12
|
+
github_api (0.11.3)
|
13
|
+
addressable (~> 2.3)
|
14
|
+
descendants_tracker (~> 0.0.1)
|
15
|
+
faraday (~> 0.8, < 0.10)
|
16
|
+
hashie (>= 1.2)
|
17
|
+
multi_json (>= 1.7.5, < 2.0)
|
18
|
+
nokogiri (~> 1.6.0)
|
19
|
+
oauth2
|
20
|
+
hashie (2.1.1)
|
21
|
+
highline (1.6.21)
|
22
|
+
jeweler (2.0.1)
|
23
|
+
builder
|
24
|
+
bundler (>= 1.0)
|
8
25
|
git (>= 1.2.5)
|
26
|
+
github_api
|
27
|
+
highline (>= 1.6.15)
|
28
|
+
nokogiri (>= 1.5.10)
|
9
29
|
rake
|
10
30
|
rdoc
|
11
|
-
json (1.
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
31
|
+
json (1.8.1)
|
32
|
+
jwt (0.1.13)
|
33
|
+
multi_json (>= 1.5)
|
34
|
+
mini_portile (0.6.0)
|
35
|
+
multi_json (1.10.0)
|
36
|
+
multi_xml (0.5.5)
|
37
|
+
multipart-post (2.0.0)
|
38
|
+
nokogiri (1.6.2.1)
|
39
|
+
mini_portile (= 0.6.0)
|
40
|
+
oauth2 (0.9.3)
|
41
|
+
faraday (>= 0.8, < 0.10)
|
42
|
+
jwt (~> 0.1.8)
|
43
|
+
multi_json (~> 1.3)
|
44
|
+
multi_xml (~> 0.5)
|
45
|
+
rack (~> 1.2)
|
46
|
+
rack (1.5.2)
|
47
|
+
rake (10.3.2)
|
48
|
+
rdoc (4.1.1)
|
16
49
|
json (~> 1.4)
|
17
50
|
rmagick (2.13.2)
|
18
|
-
rspec (2.
|
19
|
-
rspec-core (~> 2.
|
20
|
-
rspec-expectations (~> 2.
|
21
|
-
rspec-mocks (~> 2.
|
22
|
-
rspec-core (2.
|
23
|
-
rspec-expectations (2.
|
51
|
+
rspec (2.14.1)
|
52
|
+
rspec-core (~> 2.14.0)
|
53
|
+
rspec-expectations (~> 2.14.0)
|
54
|
+
rspec-mocks (~> 2.14.0)
|
55
|
+
rspec-core (2.14.8)
|
56
|
+
rspec-expectations (2.14.5)
|
24
57
|
diff-lcs (>= 1.1.3, < 2.0)
|
25
|
-
rspec-mocks (2.
|
58
|
+
rspec-mocks (2.14.6)
|
59
|
+
thread_safe (0.3.3)
|
26
60
|
zipruby (0.3.6)
|
27
61
|
|
28
62
|
PLATFORMS
|
29
63
|
ruby
|
30
64
|
|
31
65
|
DEPENDENCIES
|
32
|
-
bundler (= 1.
|
33
|
-
jeweler (
|
66
|
+
bundler (= 1.6.2)
|
67
|
+
jeweler (>= 2.0.1)
|
34
68
|
json (>= 1.4)
|
35
69
|
nokogiri
|
36
|
-
rcov
|
37
70
|
rmagick (= 2.13.2)
|
38
71
|
rspec (>= 2.13.0)
|
39
72
|
zipruby
|
data/Rakefile
CHANGED
@@ -30,11 +30,6 @@ RSpec::Core::RakeTask.new(:spec) do |spec|
|
|
30
30
|
spec.pattern = FileList['spec/**/*_spec.rb']
|
31
31
|
end
|
32
32
|
|
33
|
-
RSpec::Core::RakeTask.new(:rcov) do |spec|
|
34
|
-
spec.pattern = 'spec/**/*_spec.rb'
|
35
|
-
spec.rcov = true
|
36
|
-
end
|
37
|
-
|
38
33
|
task :default => :spec
|
39
34
|
|
40
35
|
require 'rdoc/task'
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.
|
1
|
+
2.5.1
|
data/kindai.gemspec
CHANGED
@@ -2,14 +2,16 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
+
# stub: kindai 2.5.1 ruby lib
|
5
6
|
|
6
7
|
Gem::Specification.new do |s|
|
7
8
|
s.name = "kindai"
|
8
|
-
s.version = "2.
|
9
|
+
s.version = "2.5.1"
|
9
10
|
|
10
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
|
+
s.require_paths = ["lib"]
|
11
13
|
s.authors = ["hitode909"]
|
12
|
-
s.date = "
|
14
|
+
s.date = "2014-05-18"
|
13
15
|
s.description = "kindai.rb is kindai digital library downloader."
|
14
16
|
s.email = "hitode909@gmail.com"
|
15
17
|
s.executables = ["kindai.rb"]
|
@@ -50,12 +52,11 @@ Gem::Specification.new do |s|
|
|
50
52
|
s.homepage = "http://github.com/hitode909/kindairb"
|
51
53
|
s.licenses = ["MIT"]
|
52
54
|
s.rdoc_options = ["--main", "README.rdoc", "--exclude", "spec"]
|
53
|
-
s.
|
54
|
-
s.rubygems_version = "1.8.25"
|
55
|
+
s.rubygems_version = "2.2.2"
|
55
56
|
s.summary = "kindai digital library downloader"
|
56
57
|
|
57
58
|
if s.respond_to? :specification_version then
|
58
|
-
s.specification_version =
|
59
|
+
s.specification_version = 4
|
59
60
|
|
60
61
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
61
62
|
s.add_runtime_dependency(%q<nokogiri>, [">= 0"])
|
@@ -63,18 +64,16 @@ Gem::Specification.new do |s|
|
|
63
64
|
s.add_runtime_dependency(%q<zipruby>, [">= 0"])
|
64
65
|
s.add_runtime_dependency(%q<json>, [">= 1.4"])
|
65
66
|
s.add_development_dependency(%q<rspec>, [">= 2.13.0"])
|
66
|
-
s.add_development_dependency(%q<bundler>, ["= 1.
|
67
|
-
s.add_development_dependency(%q<jeweler>, ["
|
68
|
-
s.add_development_dependency(%q<rcov>, [">= 0"])
|
67
|
+
s.add_development_dependency(%q<bundler>, ["= 1.6.2"])
|
68
|
+
s.add_development_dependency(%q<jeweler>, [">= 2.0.1"])
|
69
69
|
else
|
70
70
|
s.add_dependency(%q<nokogiri>, [">= 0"])
|
71
71
|
s.add_dependency(%q<rmagick>, ["= 2.13.2"])
|
72
72
|
s.add_dependency(%q<zipruby>, [">= 0"])
|
73
73
|
s.add_dependency(%q<json>, [">= 1.4"])
|
74
74
|
s.add_dependency(%q<rspec>, [">= 2.13.0"])
|
75
|
-
s.add_dependency(%q<bundler>, ["= 1.
|
76
|
-
s.add_dependency(%q<jeweler>, ["
|
77
|
-
s.add_dependency(%q<rcov>, [">= 0"])
|
75
|
+
s.add_dependency(%q<bundler>, ["= 1.6.2"])
|
76
|
+
s.add_dependency(%q<jeweler>, [">= 2.0.1"])
|
78
77
|
end
|
79
78
|
else
|
80
79
|
s.add_dependency(%q<nokogiri>, [">= 0"])
|
@@ -82,9 +81,8 @@ Gem::Specification.new do |s|
|
|
82
81
|
s.add_dependency(%q<zipruby>, [">= 0"])
|
83
82
|
s.add_dependency(%q<json>, [">= 1.4"])
|
84
83
|
s.add_dependency(%q<rspec>, [">= 2.13.0"])
|
85
|
-
s.add_dependency(%q<bundler>, ["= 1.
|
86
|
-
s.add_dependency(%q<jeweler>, ["
|
87
|
-
s.add_dependency(%q<rcov>, [">= 0"])
|
84
|
+
s.add_dependency(%q<bundler>, ["= 1.6.2"])
|
85
|
+
s.add_dependency(%q<jeweler>, [">= 2.0.1"])
|
88
86
|
end
|
89
87
|
end
|
90
88
|
|
@@ -19,10 +19,10 @@ describe Kindai::BookDownloader do
|
|
19
19
|
|
20
20
|
it 'has base path' do
|
21
21
|
@downloader.base_path = "/path/to/library"
|
22
|
-
@downloader.book_path.should == "/path/to/library
|
22
|
+
@downloader.book_path.should == "/path/to/library/正義熱血社出版部 - 正義の叫"
|
23
23
|
|
24
24
|
@downloader.base_path = "/path/to/library/"
|
25
|
-
@downloader.book_path.should == "/path/to/library
|
25
|
+
@downloader.book_path.should == "/path/to/library/正義熱血社出版部 - 正義の叫"
|
26
26
|
end
|
27
27
|
|
28
28
|
it 'can download book' do
|
data/spec/book_spec.rb
CHANGED
metadata
CHANGED
@@ -1,36 +1,32 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kindai
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
5
|
-
prerelease:
|
4
|
+
version: 2.5.1
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- hitode909
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2014-05-18 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: nokogiri
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - ">="
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: '0'
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- -
|
24
|
+
- - ">="
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: '0'
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: rmagick
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
31
|
- - '='
|
36
32
|
- !ruby/object:Gem::Version
|
@@ -38,7 +34,6 @@ dependencies:
|
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
38
|
- - '='
|
44
39
|
- !ruby/object:Gem::Version
|
@@ -46,99 +41,73 @@ dependencies:
|
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: zipruby
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
|
-
- -
|
45
|
+
- - ">="
|
52
46
|
- !ruby/object:Gem::Version
|
53
47
|
version: '0'
|
54
48
|
type: :runtime
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
|
-
- -
|
52
|
+
- - ">="
|
60
53
|
- !ruby/object:Gem::Version
|
61
54
|
version: '0'
|
62
55
|
- !ruby/object:Gem::Dependency
|
63
56
|
name: json
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
58
|
requirements:
|
67
|
-
- -
|
59
|
+
- - ">="
|
68
60
|
- !ruby/object:Gem::Version
|
69
61
|
version: '1.4'
|
70
62
|
type: :runtime
|
71
63
|
prerelease: false
|
72
64
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
65
|
requirements:
|
75
|
-
- -
|
66
|
+
- - ">="
|
76
67
|
- !ruby/object:Gem::Version
|
77
68
|
version: '1.4'
|
78
69
|
- !ruby/object:Gem::Dependency
|
79
70
|
name: rspec
|
80
71
|
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
72
|
requirements:
|
83
|
-
- -
|
73
|
+
- - ">="
|
84
74
|
- !ruby/object:Gem::Version
|
85
75
|
version: 2.13.0
|
86
76
|
type: :development
|
87
77
|
prerelease: false
|
88
78
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
79
|
requirements:
|
91
|
-
- -
|
80
|
+
- - ">="
|
92
81
|
- !ruby/object:Gem::Version
|
93
82
|
version: 2.13.0
|
94
83
|
- !ruby/object:Gem::Dependency
|
95
84
|
name: bundler
|
96
85
|
requirement: !ruby/object:Gem::Requirement
|
97
|
-
none: false
|
98
86
|
requirements:
|
99
87
|
- - '='
|
100
88
|
- !ruby/object:Gem::Version
|
101
|
-
version: 1.
|
89
|
+
version: 1.6.2
|
102
90
|
type: :development
|
103
91
|
prerelease: false
|
104
92
|
version_requirements: !ruby/object:Gem::Requirement
|
105
|
-
none: false
|
106
93
|
requirements:
|
107
94
|
- - '='
|
108
95
|
- !ruby/object:Gem::Version
|
109
|
-
version: 1.
|
96
|
+
version: 1.6.2
|
110
97
|
- !ruby/object:Gem::Dependency
|
111
98
|
name: jeweler
|
112
99
|
requirement: !ruby/object:Gem::Requirement
|
113
|
-
none: false
|
114
100
|
requirements:
|
115
|
-
- -
|
101
|
+
- - ">="
|
116
102
|
- !ruby/object:Gem::Version
|
117
|
-
version:
|
103
|
+
version: 2.0.1
|
118
104
|
type: :development
|
119
105
|
prerelease: false
|
120
106
|
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
none: false
|
122
107
|
requirements:
|
123
|
-
- -
|
108
|
+
- - ">="
|
124
109
|
- !ruby/object:Gem::Version
|
125
|
-
version:
|
126
|
-
- !ruby/object:Gem::Dependency
|
127
|
-
name: rcov
|
128
|
-
requirement: !ruby/object:Gem::Requirement
|
129
|
-
none: false
|
130
|
-
requirements:
|
131
|
-
- - ! '>='
|
132
|
-
- !ruby/object:Gem::Version
|
133
|
-
version: '0'
|
134
|
-
type: :development
|
135
|
-
prerelease: false
|
136
|
-
version_requirements: !ruby/object:Gem::Requirement
|
137
|
-
none: false
|
138
|
-
requirements:
|
139
|
-
- - ! '>='
|
140
|
-
- !ruby/object:Gem::Version
|
141
|
-
version: '0'
|
110
|
+
version: 2.0.1
|
142
111
|
description: kindai.rb is kindai digital library downloader.
|
143
112
|
email: hitode909@gmail.com
|
144
113
|
executables:
|
@@ -148,7 +117,7 @@ extra_rdoc_files:
|
|
148
117
|
- LICENSE.txt
|
149
118
|
- README.md
|
150
119
|
files:
|
151
|
-
- .travis.yml
|
120
|
+
- ".travis.yml"
|
152
121
|
- Gemfile
|
153
122
|
- Gemfile.lock
|
154
123
|
- LICENSE.txt
|
@@ -179,33 +148,29 @@ files:
|
|
179
148
|
homepage: http://github.com/hitode909/kindairb
|
180
149
|
licenses:
|
181
150
|
- MIT
|
151
|
+
metadata: {}
|
182
152
|
post_install_message:
|
183
153
|
rdoc_options:
|
184
|
-
- --main
|
154
|
+
- "--main"
|
185
155
|
- README.rdoc
|
186
|
-
- --exclude
|
156
|
+
- "--exclude"
|
187
157
|
- spec
|
188
158
|
require_paths:
|
189
159
|
- lib
|
190
160
|
required_ruby_version: !ruby/object:Gem::Requirement
|
191
|
-
none: false
|
192
161
|
requirements:
|
193
|
-
- -
|
162
|
+
- - ">="
|
194
163
|
- !ruby/object:Gem::Version
|
195
164
|
version: '0'
|
196
|
-
segments:
|
197
|
-
- 0
|
198
|
-
hash: -407262124607335888
|
199
165
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
200
|
-
none: false
|
201
166
|
requirements:
|
202
|
-
- -
|
167
|
+
- - ">="
|
203
168
|
- !ruby/object:Gem::Version
|
204
169
|
version: '0'
|
205
170
|
requirements: []
|
206
171
|
rubyforge_project:
|
207
|
-
rubygems_version:
|
172
|
+
rubygems_version: 2.2.2
|
208
173
|
signing_key:
|
209
|
-
specification_version:
|
174
|
+
specification_version: 4
|
210
175
|
summary: kindai digital library downloader
|
211
176
|
test_files: []
|