sfacg 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sfacg/chapter.rb +2 -1
- data/lib/sfacg/version.rb +1 -1
- metadata +38 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3a11adfbfd5cb39c56b7e43fba00a5fd90d6cd1c
|
4
|
+
data.tar.gz: 5b6031b5927cf1a023845f93384f208a7a866d21
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 23433f26280420dcabaa062fb515e0c0c8fc88500c9cc784a26e94821cac49c0a06e0343170e18dd4a2cdfa7a8f094c0781c990064cbf872ab4b02937dbacd1b
|
7
|
+
data.tar.gz: e559b04403a7c0e0ad18f7eeb1a1155eb777943bbe243936319a760c4cba306b916b5659e2971e77bb591e7f12bf59fa4ca9fa7de2f22656ba127ad92df24c42
|
data/lib/sfacg/chapter.rb
CHANGED
@@ -6,6 +6,7 @@ module Sfacg
|
|
6
6
|
class Chapter
|
7
7
|
def initialize url
|
8
8
|
@uri = URI(url)
|
9
|
+
@js_uri = @images = nil
|
9
10
|
end
|
10
11
|
|
11
12
|
def js_uri
|
@@ -35,7 +36,7 @@ module Sfacg
|
|
35
36
|
File.write file_path, open(img_uri).read, mode: 'wb'
|
36
37
|
puts "#{img_uri} -> #{file_path}"
|
37
38
|
end
|
38
|
-
rescue
|
39
|
+
rescue
|
39
40
|
$stderr.puts "#{img_uri} -> #{file_path}", $!.inspect, $@
|
40
41
|
end
|
41
42
|
}
|
data/lib/sfacg/version.rb
CHANGED
metadata
CHANGED
@@ -1,43 +1,71 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sfacg
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tony Jian
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-02-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: nokogiri
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '0'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
39
53
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rake
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
41
69
|
description: sfacg comic downloader with API and CLI.
|
42
70
|
email: tonytonyjan@gmail.com
|
43
71
|
executables:
|
@@ -71,8 +99,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
71
99
|
version: '0'
|
72
100
|
requirements: []
|
73
101
|
rubyforge_project:
|
74
|
-
rubygems_version: 2.4.
|
102
|
+
rubygems_version: 2.4.5
|
75
103
|
signing_key:
|
76
104
|
specification_version: 4
|
77
105
|
summary: sfacg comic downloader
|
78
106
|
test_files: []
|
107
|
+
has_rdoc:
|