license_scout 2.0.12 → 2.0.13
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.
- checksums.yaml +4 -4
- data/lib/license_scout/license.rb +1 -1
- data/lib/license_scout/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: '083c186a1281fd2129f52315c6b91021b51d5c1eb469d644a4e0e51086ab3f6d'
|
|
4
|
+
data.tar.gz: 0e10fefd19ce350e9a891a289bd6f9401da76c9a42611f7b7f8dafc10e9f30f6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c08146739c6f6ed594d1da256ebdfe63ba635a575a7e56b152fba488927674660ea58d5caf72eec6194767d095ff31d98341f2cdd47ee2ff8498bd5061922953
|
|
7
|
+
data.tar.gz: 96ced0aa9fa584b0921ed11a5f30aa60a5da75d72a0dceef4a011c36882b672c7325f653cbe3c15cad651518b443f57c8d6962971624a395dc0af8a8f0324a33
|
|
@@ -107,7 +107,7 @@ module LicenseScout
|
|
|
107
107
|
begin
|
|
108
108
|
LicenseScout::Log.debug("[license] Pulling license content for #{license_id} from #{new_url}")
|
|
109
109
|
open(new_url).read
|
|
110
|
-
rescue OpenURI::HTTPError, Errno::ECONNREFUSED
|
|
110
|
+
rescue OpenURI::HTTPError, Errno::ECONNREFUSED, SocketError
|
|
111
111
|
LicenseScout::Log.warn("[license] Unable to download license for #{license_id} from #{new_url}")
|
|
112
112
|
nil
|
|
113
113
|
rescue RuntimeError => e
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: license_scout
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.
|
|
4
|
+
version: 2.0.13
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Serdar Sutay
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2018-06-
|
|
12
|
+
date: 2018-06-15 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: ffi-yajl
|