sfacg 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- OWQwYmNhYmMzM2M0YWEwMjQ5ZDAxYzZjM2JiZjI1OWM2NTg1MjBmNw==
5
- data.tar.gz: !binary |-
6
- NjM0YzdiNzUwNjVkMGM5ZDJmNDZmNzBjMmUzYWMwZWIyNWRlYWNkOA==
2
+ SHA1:
3
+ metadata.gz: e3ee4c2e62c6c1ca5a696ef13d1eb29ae453f33c
4
+ data.tar.gz: f0ea14b33d165f0513440745a56474276d5aedcf
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- MjhjYmUzZDAxMWM5MDA2M2ZkNWVkMjg0NDE5NDc3YjZkNTMwNmY4YmE3OTM3
10
- ZjEyNmFlZGFhOWRkNTQ1YTFiZTYxMmM1YWVmZmNkYzMxYzRmNTNhZDQ3ZmY2
11
- NmZkZDEwNWYyYmIzYmExZTQ5ZjAyMjllOGViYmE0NjEzYmJkYTk=
12
- data.tar.gz: !binary |-
13
- MzZiYjJiYjkzNTlmMWYzZjRmMmEzNzc5OWUyNDUyNmVkNWUwNGY2OGY2ODdj
14
- NmE1NzcwNjJhYjBhY2EzZjVhZTdiYTMxYjI1ZmZlYjFkYWY4ZTg4NTNjNGI5
15
- YzI1NjdiN2RlOTY1NGJlZGY3Y2RjNjZjMTM5OWQ2NmFhMjQzNDI=
6
+ metadata.gz: 1680118a6ef64c64bb23b7e5cfe265452301465ae62ec9df97e81df652ace690239a226e21bce07ddbb164fd6864a063a153d1bd59dafc7f5405a9ec91298518
7
+ data.tar.gz: 9f11a0538fda1da946b04ded0739a8d0f6775b9a196e30d66f8bdf3d0f65a04eb08cf1994a061f91fd63015392a71ca59c92413803cae7a1d5946a5daf896078
@@ -36,11 +36,13 @@ module Sfacg
36
36
  puts "#{img_uri} -> #{file_path}"
37
37
  end
38
38
  rescue => e
39
- puts "#{e} #{e.message} #{img_uri} -> #{file_path}", e.backtrace
39
+ $stderr.puts "#{img_uri} -> #{file_path}", $!, $@.join($/)
40
40
  end
41
41
  }
42
42
  end
43
43
  threads.each(&:join)
44
+ rescue
45
+ $stderr.puts $!, $@.join($/)
44
46
  end
45
47
  end
46
48
  end
@@ -1,3 +1,3 @@
1
1
  module Sfacg
2
- VERSION = '1.0.2'
2
+ VERSION = '1.0.3'
3
3
  end
metadata CHANGED
@@ -1,44 +1,44 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sfacg
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tony Jian
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-24 00:00:00.000000000 Z
11
+ date: 2014-08-26 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
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
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
- description: sfacg comic downloader
41
+ description: sfacg comic downloader with API and CLI.
42
42
  email: tonytonyjan@gmail.com
43
43
  executables:
44
44
  - sfacg
@@ -61,12 +61,12 @@ require_paths:
61
61
  - lib
62
62
  required_ruby_version: !ruby/object:Gem::Requirement
63
63
  requirements:
64
- - - ! '>='
64
+ - - ">="
65
65
  - !ruby/object:Gem::Version
66
66
  version: '0'
67
67
  required_rubygems_version: !ruby/object:Gem::Requirement
68
68
  requirements:
69
- - - ! '>='
69
+ - - ">="
70
70
  - !ruby/object:Gem::Version
71
71
  version: '0'
72
72
  requirements: []