sibit 0.7.2 → 0.7.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/sibit/version.rb +1 -1
  3. data/lib/sibit.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8b9718bc8fe630a39247c01b3c9d4a5e631709c48f06fccc9b63c7fa10e67f2d
4
- data.tar.gz: b960f89f169ccb01d87017f546bd818bd559e8d28924d9eb044ba7afb14e443f
3
+ metadata.gz: 97fc6e459620d8c1b470291e6680c8a163c34b54ca78c8f47a8e95812cef273d
4
+ data.tar.gz: 5af36c2a284b1bad0746da7c05c8afd6685a7726dd79129bce050a4f7e8ed524
5
5
  SHA512:
6
- metadata.gz: 9bcdc3c1e028aecc3ddfceeb2cce3fab667f75bff6dfd65a6fae0aa15a6dc97024b3018a5eb76ad8da7e19942c10910c38339ea49752c6c85d851475c7d82343
7
- data.tar.gz: 32da3065c371cfda7bcf6374dd0592f74d602fe434d50f2107ac5fd6a0bc41bd2cbe618c870466d3dca5a288b7a73d3f8acef94df934d579559683aa3aa87878
6
+ metadata.gz: 9523d9228dde8234aebfaf1af0e0f7d3046c58694581aaff0795450c7508b26f98fa698b4c1669a4f11445e8a99e0f0a5c54da0b4034c01e2bbb3575f1e00516
7
+ data.tar.gz: e9f384160b3ab50f61f697a47860620bd39caeade8636ee8611630577f0d6f1c0c88cd01d1a0560fd4370ea2d6fd94dd46c50c9da28befa2500c2e858c2b858a
data/lib/sibit/version.rb CHANGED
@@ -26,5 +26,5 @@
26
26
  # License:: MIT
27
27
  class Sibit
28
28
  # Current version of the library.
29
- VERSION = '0.7.2'
29
+ VERSION = '0.7.3'
30
30
  end
data/lib/sibit.rb CHANGED
@@ -211,7 +211,7 @@ class Sibit
211
211
  start = Time.now
212
212
  uri = URI('https://blockchain.info/pushtx')
213
213
  res = Net::HTTP.post_form(uri, tx: body)
214
- raise Error, "Failed to post tx to #{uri}: #{res.code}" unless res.code == '200'
214
+ raise Error, "Failed to post tx to #{uri}: #{res.code}\n#{res.body}" unless res.code == '200'
215
215
  debug("POST #{uri}: #{res.code} in #{age(start)}")
216
216
  end
217
217
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sibit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.2
4
+ version: 0.7.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yegor Bugayenko