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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1d4b622cbd300e262adc6c5875868eacd31cfa8c
4
- data.tar.gz: 84a6cb7b5e16abc16d5dc2c6c358d8d5060971df
3
+ metadata.gz: 8cb74b7ff102e4a38b524cd3ff774aa2716ebb7e
4
+ data.tar.gz: 3d2870050fd2f78a9f49206db8d1d05612dca0c2
5
5
  SHA512:
6
- metadata.gz: 28bcd984069a611314d0796a1e510f453336dc20ac78841f9920ec1af8230773078f1b050d4ac1ee04abd119c9db297104ee3abee704a057863125f1c609b52a
7
- data.tar.gz: d52b2e1a4adf6167670b2d529e95a3cd271bc8f0664504c97c401dd6ea88bb1e8806dcc1a5d78b4119c51898468004441e51b7cb9b366b414f99baebbf67f4b5
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, :accept => :json)
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
@@ -1,3 +1,3 @@
1
1
  module OpenAssets
2
- VERSION = '0.4.1'
2
+ VERSION = '0.4.2'
3
3
  end
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.1
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-05 00:00:00.000000000 Z
11
+ date: 2016-04-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bitcoin-ruby