pochette_toshi 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pochette_toshi.rb +1 -1
- data/lib/pochette_toshi/version.rb +1 -1
- data/pochette_toshi.gemspec +1 -0
- metadata +15 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a7c9bfb71ed94aeeeefab9fb2fedb216159b99fa
|
4
|
+
data.tar.gz: 185b3e27c051d994ee558ef09c41fa3e4f646ecc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 746d80c8fb958171be301e59be21dd2f009ad5ff38a24042aac6d94a581fe4f1bc6305a10da8a4055a94e996dc6d2b6ae1fb1c0ada8e0689b6c0f199bb7ef963
|
7
|
+
data.tar.gz: 1d4166804bbd96d16100b76d81018b0c5655ba7b91a1abf1e582e726726e8304017d0233bd47a8c9545907eee849b2b222b2b7ab884f9a779aad1a3e7358d231
|
data/lib/pochette_toshi.rb
CHANGED
@@ -218,7 +218,7 @@ class Pochette::Backends::Toshi
|
|
218
218
|
domain = Pochette.testnet ? 'testnet3' : 'bitcoin'
|
219
219
|
response = RestClient.post "https://#{domain}.toshi.io/api/v0/transactions",
|
220
220
|
{"hex" => hex}.to_json, content_type: :json, accept: :json
|
221
|
-
response['hash']
|
221
|
+
Oj.load(response)['hash']
|
222
222
|
end
|
223
223
|
|
224
224
|
def query(sql)
|
data/pochette_toshi.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pochette_toshi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nubis
|
@@ -108,6 +108,20 @@ dependencies:
|
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '2'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: webmock
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '1.21'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '1.21'
|
111
125
|
description: Toshi backend for the pochette wallet library
|
112
126
|
email:
|
113
127
|
- yo@nubis.im
|