pochette 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a017e533b5f1d3f65ac7b806d1d91efae1a1ee6b
4
- data.tar.gz: a561a5c25acb769f73308b2aa2d8086da9f2e7c3
3
+ metadata.gz: a3358945910c692a646178c3009dd5fd05aa9358
4
+ data.tar.gz: ee277dd669abf57f26b0f9577aa72151fab44781
5
5
  SHA512:
6
- metadata.gz: eda52dde1acbf52a00edb364840506beacaf4f36176852dd4ba35035382802f7461bcd573a60d89e34cfee950163720ef7706c0a18fb15231ede2cbaaa28b1ba
7
- data.tar.gz: aaf7184e79879a6b6b6303f05d108a3678a66a64170d0a8803370f468b4a2a3d688413d4eae4891cc26cac36110fe44d6f66755aadb2708a0d4cff051ffc8fcc
6
+ metadata.gz: 8dd8f2a7c8893370730d0109b5aa564797c1e13cb2f4e5ad336f83a794f047ade9a4c3b9762207e0ad4f8dd817a5e256ee164f8163e489e9297f66f6d9ca3266
7
+ data.tar.gz: a0ed76f72a993e2b871c29df9f57fbf38ec5641daedf6d37764e6cb2b4e19f405425093744c92d064ad7a262a78059c30241d2566a96c63b0f3a137655dd15e1
@@ -112,7 +112,7 @@ protected
112
112
 
113
113
  def select_utxos
114
114
  utxo_blacklist = options[:utxo_blacklist] || []
115
- all_utxos = Pochette.backend.list_unspent(addresses)
115
+ all_utxos = backend.list_unspent(addresses)
116
116
  available_utxos = all_utxos.reject do |utxo|
117
117
  utxo_blacklist.include?([utxo[1], utxo[2]])
118
118
  end
@@ -82,6 +82,6 @@ protected
82
82
 
83
83
  def build_transactions
84
84
  txids = inputs.collect{|i| i[1] }
85
- self.transactions = Pochette.backend.list_transactions(txids)
85
+ self.transactions = backend.list_transactions(txids)
86
86
  end
87
87
  end
@@ -1,3 +1,3 @@
1
1
  module Pochette
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
data/pochette.gemspec CHANGED
@@ -23,12 +23,11 @@ Gem::Specification.new do |spec|
23
23
  spec.add_dependency "activesupport", "~> 4.2"
24
24
  spec.add_dependency "bitcoin_rpc", "~> 0.1.1"
25
25
  spec.add_dependency "bitcoin-ruby", "~> 0.0.7"
26
- spec.add_dependency "contracts"
26
+ spec.add_dependency "contracts", "~> 0.12.0"
27
27
 
28
28
  spec.add_development_dependency "bundler", "~> 1.9"
29
29
  spec.add_development_dependency "rake", "~> 10.0"
30
30
  spec.add_development_dependency "rspec", "~> 3"
31
31
  spec.add_development_dependency "webmock", "~> 1.21"
32
32
  spec.add_development_dependency "timecop", "~> 0.8.0"
33
- spec.add_development_dependency "byebug"
34
33
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pochette
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nubis
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-09-29 00:00:00.000000000 Z
12
+ date: 2015-09-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
@@ -57,16 +57,16 @@ dependencies:
57
57
  name: contracts
58
58
  requirement: !ruby/object:Gem::Requirement
59
59
  requirements:
60
- - - ">="
60
+ - - "~>"
61
61
  - !ruby/object:Gem::Version
62
- version: '0'
62
+ version: 0.12.0
63
63
  type: :runtime
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - ">="
67
+ - - "~>"
68
68
  - !ruby/object:Gem::Version
69
- version: '0'
69
+ version: 0.12.0
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: bundler
72
72
  requirement: !ruby/object:Gem::Requirement
@@ -137,20 +137,6 @@ dependencies:
137
137
  - - "~>"
138
138
  - !ruby/object:Gem::Version
139
139
  version: 0.8.0
140
- - !ruby/object:Gem::Dependency
141
- name: byebug
142
- requirement: !ruby/object:Gem::Requirement
143
- requirements:
144
- - - ">="
145
- - !ruby/object:Gem::Version
146
- version: '0'
147
- type: :development
148
- prerelease: false
149
- version_requirements: !ruby/object:Gem::Requirement
150
- requirements:
151
- - - ">="
152
- - !ruby/object:Gem::Version
153
- version: '0'
154
140
  description: "Pochette is a Bitcoin Wallet backend offering a common\n interface
155
141
  to several bitcoin nodes so you can build single purpose wallets.\n You can pass
156
142
  in a bunch of addresses and outputs and it will select the\n appropriate unspent