gems-status 0.30.0 → 0.31.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,3 @@
1
1
  module GemsStatusMetadata
2
- VERSION = "0.30.0"
2
+ VERSION = "0.31.0"
3
3
  end
@@ -37,11 +37,15 @@ class Utils
37
37
 
38
38
  def Utils.download_md5(gem_uri)
39
39
  return @@md5_sums[gem_uri] if @@md5_sums[gem_uri]
40
- if gem_uri.user && gem_uri.password
41
- source = open(gem_uri.scheme + "://" + gem_uri.host + "/" + gem_uri.path,
42
- :http_basic_authentication=>[gem_uri.user, gem_uri.password])
43
- else
44
- source = open(gem_uri)
40
+ begin
41
+ if gem_uri.user && gem_uri.password
42
+ source = open(gem_uri.scheme + "://" + gem_uri.host + "/" + gem_uri.path,
43
+ :http_basic_authentication=>[gem_uri.user, gem_uri.password])
44
+ else
45
+ source = open(gem_uri)
46
+ end
47
+ rescue Exception => e
48
+ self.log_error e.message
45
49
  end
46
50
  md5 = Digest::MD5.hexdigest(source.read)
47
51
  @@md5_sums[gem_uri] = md5
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gems-status
3
3
  version: !ruby/object:Gem::Version
4
- hash: 103
4
+ hash: 99
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
- - 30
8
+ - 31
9
9
  - 0
10
- version: 0.30.0
10
+ version: 0.31.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jordi Massaguer Pla
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-12-21 00:00:00 Z
18
+ date: 2013-01-02 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: xml-simple
@@ -176,7 +176,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
176
176
  requirements: []
177
177
 
178
178
  rubyforge_project:
179
- rubygems_version: 1.8.15
179
+ rubygems_version: 1.8.11
180
180
  signing_key:
181
181
  specification_version: 3
182
182
  summary: compares rubygems from different sources