onchain 2.0.4 → 2.0.5

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/onchain/sweeper.rb +2 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ca958c4252ca9f068ac5df9f81af86e77de79626
4
- data.tar.gz: 737de01dc291cabf7482cb9e8cf615ca1d7680ae
3
+ metadata.gz: 76c699a0f5365c385f143ff3c25734a5627a8ad1
4
+ data.tar.gz: 8e626e7fd3e433d759617b900095a3d9c4fa7624
5
5
  SHA512:
6
- metadata.gz: 07b53ce9964d06414eb86f019e7450ea61cc848b6ceb9b8beb0d2c0ff758946260638db15163c8630f191a45d72b25000ba3c3c3730b83c24fe4efb5d88f495b
7
- data.tar.gz: 6f20cec8401bad068e0f088e4ca70994004bee2d658ca97cf0cbbd1248811391a738aaa2fcba11150b2bc20bac10e787605d09f50fc4e048a3d010a47220055c
6
+ metadata.gz: 09076ab32bb96385635f136eb9198ad97dcd9b02c3ff8b641f8a070732adc6379741acf2da324c6750786d1f2548321c9ddcd6fbaedfd87481ad1acc9d7a0b48
7
+ data.tar.gz: ed1e02b6cf0889fe1eccd4f45bc6253e3585f82332b071a92db5df70e3d69b460b8a09c11038184424b2eee3c976ae6a8d3d3cf4ee268c00f330552243bc7ae2
@@ -125,7 +125,7 @@ class OnChain::Sweeper
125
125
  return OnChain.bin_to_hex(tx.to_payload), paths
126
126
  end
127
127
 
128
- def post_tx_for_signing(tx_hex, paths)
128
+ def post_tx_for_signing(tx_hex, paths, address)
129
129
 
130
130
  meta = ''
131
131
  if paths != nil
@@ -136,6 +136,7 @@ class OnChain::Sweeper
136
136
 
137
137
  return HTTParty.post('https://onchain.herokuapp.com/api/v1/transaction',
138
138
  :body => { :tx => tx_hex,
139
+ :address => address,
139
140
  :meta_data => meta,
140
141
  :user_email => ENV['ONCHAIN_EMAIL'],
141
142
  :user_token => ENV['ONCHAIN_TOKEN'] })
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: 2.0.4
4
+ version: 2.0.5
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-12-03 00:00:00.000000000 Z
11
+ date: 2014-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake