openassets-ruby 0.4.1 → 0.4.2
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 +1 -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: 8cb74b7ff102e4a38b524cd3ff774aa2716ebb7e
|
4
|
+
data.tar.gz: 3d2870050fd2f78a9f49206db8d1d05612dca0c2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a8d86752cf95c1b7c1ed029a5722bea64463da46a8c210b9f0776f17832a73fff29591861f466f20c33e317b5a4ab12ceae6a442c213bd4ae39a2762a002d9fa
|
7
|
+
data.tar.gz: 645bb2f400a2e4a440300d12de088762bc139335d578eea09a490b9464f087223de6052874c50b2d233ba730a62ed4f47e50d05152ba5e2d3eda2ae059a96495
|
@@ -57,7 +57,7 @@ module OpenAssets
|
|
57
57
|
# @param[String] url The URL of Asset Definition.
|
58
58
|
def self.parse_url(url)
|
59
59
|
begin
|
60
|
-
definition = parse_json(RestClient.get url, :
|
60
|
+
definition = parse_json(RestClient::Request.execute(:method => :get, :url => url, :timeout => 10, :open_timeout => 10))
|
61
61
|
definition.asset_definition_url = url
|
62
62
|
definition
|
63
63
|
rescue => e
|
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.4.
|
4
|
+
version: 0.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- azuchi
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-04-
|
11
|
+
date: 2016-04-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bitcoin-ruby
|