onchain 1.3.6 → 1.3.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/onchain/sweeper.rb +4 -4
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2d922bba5d40cdba4b60569952eb452a3f2a6efd
|
4
|
+
data.tar.gz: b8c74edfc9dd67c6a18ded412f0ec464cfa7bf3c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1174acbe66b8b94d109573dd60cea267079f56ab6a848686f944ad79d64a4ae63acd6d475b0cd8f04108da14016f6c8d6675c724177e37995dff4939ddf84a77
|
7
|
+
data.tar.gz: 876700bfa69e07e578579c73b9c3f4d2a2f252c56907539c7b197b18b80d79631142f2e86e129cc02173d1958b4ec4c4b8f24da56fe331d5c579f89d8fb38b8d
|
data/lib/onchain/sweeper.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
require '
|
1
|
+
require 'httparty'
|
2
2
|
|
3
3
|
class OnChain::Sweeper
|
4
4
|
class << self
|
@@ -145,11 +145,11 @@ class OnChain::Sweeper
|
|
145
145
|
end
|
146
146
|
end
|
147
147
|
|
148
|
-
|
149
|
-
|
148
|
+
return HTTParty.post('https://onchain.io/api/v1/transaction',
|
149
|
+
:body => { :tx => tx_hex,
|
150
150
|
:meta_data => meta,
|
151
151
|
:user_email => ENV['ONCHAIN_EMAIL'],
|
152
|
-
:user_token => ENV['ONCHAIN_TOKEN']
|
152
|
+
:user_token => ENV['ONCHAIN_TOKEN'] })
|
153
153
|
end
|
154
154
|
|
155
155
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: onchain
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ian Purton
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-11-
|
11
|
+
date: 2014-11-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -81,7 +81,7 @@ dependencies:
|
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
84
|
+
name: httparty
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - ">="
|