vchain_client 1.0.26 → 1.0.27
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/vchain_client.rb +4 -5
- 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: e9a44ad6c64ea0fbc2ddc1a13255998fa284f962
|
|
4
|
+
data.tar.gz: de99abcebfd599013ab542ebe7584233a55c5067
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2817cf5f35f0a4ab505c0ebc78c75cc9e6cc1030a31f79529dc4a64831b29a8290927f1b6b5dda6291a4a187a120cf737167c914bb9aa6b8ed689ef3218518d9
|
|
7
|
+
data.tar.gz: 65ce56780439d351d80a1f85555b121e94c224ab197826bb90ecf5893aebfdea7a419fc3073dee4bf52d63cf078ba1eb15e7e9ac6a86fe1efff7154ca603e1e9
|
data/lib/vchain_client.rb
CHANGED
|
@@ -281,8 +281,6 @@ module VChainClient
|
|
|
281
281
|
|
|
282
282
|
end
|
|
283
283
|
|
|
284
|
-
puts raw_document
|
|
285
|
-
|
|
286
284
|
out_document = VChainClient::Client.hash_doc(raw_document)
|
|
287
285
|
|
|
288
286
|
out_document = VChainClient::Client.cut(out_document)
|
|
@@ -476,9 +474,10 @@ module VChainClient
|
|
|
476
474
|
end
|
|
477
475
|
|
|
478
476
|
begin
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
477
|
+
|
|
478
|
+
res = RestClient::Resource.new api_url, :timeout => nil, :open_timeout => nil
|
|
479
|
+
|
|
480
|
+
req = res.post send_data.to_json, :content_type => 'application/json'
|
|
482
481
|
|
|
483
482
|
if req.code != 200
|
|
484
483
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: vchain_client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.27
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Aleksandr Gorelik
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-02-
|
|
11
|
+
date: 2017-02-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: log4r
|