openassets-ruby 0.5.8 → 0.5.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/openassets/protocol/asset_definition.rb +3 -1
- data/lib/openassets/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b6db9e2095845b0f41f8d2ce916eec8861e17e85
|
4
|
+
data.tar.gz: af64f14eac87c2c661880de228559c2a01857b0b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2d842c800af1c6ec40bc9e89fdea57e7772c10971331d34b199318540ce65564bd6a547f5b050bcbb5d1c3928088a9e03a3f3db513a15e959e92dd0643e0c2d7
|
7
|
+
data.tar.gz: 1cc45ea3ac9b069f7220f72c24e5c0d94fd06c81af439cf3bd4d0f921c4cbfbf81348f7086f613cbdf8f019533dbe7c9e5fd15324ab89dd2f31053f1744fdb29
|
@@ -97,7 +97,9 @@ module OpenAssets
|
|
97
97
|
cache = OpenAssets::Cache::SSLCertificateCache.new
|
98
98
|
subject = cache.get(asset_definition_url)
|
99
99
|
if subject.nil?
|
100
|
-
|
100
|
+
client = HTTPClient.new
|
101
|
+
client.redirect_uri_callback = ->(uri, res) {res.header['location'][0]}
|
102
|
+
response = client.get(asset_definition_url, :follow_redirect => true)
|
101
103
|
cert = response.peer_cert
|
102
104
|
unless cert.nil?
|
103
105
|
subjects = cert.subject.to_a
|
data/lib/openassets/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: openassets-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- azuchi
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-12-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bitcoin-ruby
|