bit_wallet 0.7.3 → 0.7.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (20) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +8 -0
  3. data/lib/bit_wallet/account.rb +8 -1
  4. data/lib/bit_wallet/version.rb +1 -1
  5. data/spec/fixtures/vcr_cassettes/BitWallet_Account/_balance/should_be_able_to_override_the_min_conf.yml +4 -4
  6. data/spec/fixtures/vcr_cassettes/BitWallet_Account/_balance/should_default_to_the_config_min_conf.yml +4 -4
  7. data/spec/fixtures/vcr_cassettes/BitWallet_Account/_balance/should_return_the_balance_of_the_account.yml +8 -8
  8. data/spec/fixtures/vcr_cassettes/BitWallet_Account/_recent_transactions/should_default_to_list_10_transactions.yml +54 -54
  9. data/spec/fixtures/vcr_cassettes/BitWallet_Account/_recent_transactions/when_transaction_limit_is_6/should_list_the_6_most_recent_transactions.yml +42 -42
  10. data/spec/fixtures/vcr_cassettes/BitWallet_Account/_send_amount/_to_is_a_BitWallet_Address/should_send_it_to_the_address_of_the_given_BitWallet_Address.yml +15 -15
  11. data/spec/fixtures/vcr_cassettes/BitWallet_Account/_send_amount/account_does_not_have_enough_money/should_fail_with_the_InsufficientFunds_error.yml +12 -12
  12. data/spec/fixtures/vcr_cassettes/BitWallet_Account/_send_amount/should_send_money_to_the_given_address.yml +15 -15
  13. data/spec/fixtures/vcr_cassettes/BitWallet_Account/_send_many/should_send_the_amounts_of_money_to_the_specified_accounts.yml +18 -18
  14. data/spec/fixtures/vcr_cassettes/BitWallet_Account/_total_received/should_return_the_total_amount_received_by_the_address.yml +4 -4
  15. data/spec/fixtures/vcr_cassettes/BitWallet_Account/addresses/.yml +4 -4
  16. data/spec/fixtures/vcr_cassettes/BitWallet_Account/on_initialization/should_be_assigned_that_name.yml +4 -4
  17. data/spec/fixtures/vcr_cassettes/BitWallet_Account/on_initialization/should_have_a_default_name.yml +4 -4
  18. data/spec/fixtures/vcr_cassettes/BitWallet_Account/on_initialization/when_the_account_name_already_exists/should_return_that_same_address.yml +4 -4
  19. data/spec/fixtures/vcr_cassettes/BitWallet_Account/wallet/.yml +4 -4
  20. metadata +2 -2
@@ -23,7 +23,7 @@ http_interactions:
23
23
  message: OK
24
24
  headers:
25
25
  Date:
26
- - Sun, 24 Aug 2014 06:45:41 +0000
26
+ - Sat, 30 Aug 2014 12:34:10 +0000
27
27
  Connection:
28
28
  - keep-alive
29
29
  Content-Length:
@@ -35,9 +35,9 @@ http_interactions:
35
35
  body:
36
36
  encoding: UTF-8
37
37
  string: |
38
- {"result":"n4hAihMyHYQxpR6ULeQ2PEZfCjzkZLhf8V","error":null,"id":"jsonrpc"}
38
+ {"result":"muqV3zM47Wi14D9jnzmGBNTbTaap3V6rDn","error":null,"id":"jsonrpc"}
39
39
  http_version:
40
- recorded_at: Sun, 24 Aug 2014 06:45:41 GMT
40
+ recorded_at: Sat, 30 Aug 2014 12:34:10 GMT
41
41
  - request:
42
42
  method: post
43
43
  uri: http://bitcoinrpc:thisisjustapasswordfortesting@localhost:19001/
@@ -61,7 +61,7 @@ http_interactions:
61
61
  message: OK
62
62
  headers:
63
63
  Date:
64
- - Sun, 24 Aug 2014 06:45:41 +0000
64
+ - Sat, 30 Aug 2014 12:34:10 +0000
65
65
  Connection:
66
66
  - keep-alive
67
67
  Content-Length:
@@ -73,9 +73,9 @@ http_interactions:
73
73
  body:
74
74
  encoding: UTF-8
75
75
  string: |
76
- {"result":"moR6hSXb8QaeFWHnpEMNcBdVaiZym737ow","error":null,"id":"jsonrpc"}
76
+ {"result":"muG5tZRGtvbzq7qrmSf29b5QdZ1c46Au9s","error":null,"id":"jsonrpc"}
77
77
  http_version:
78
- recorded_at: Sun, 24 Aug 2014 06:45:41 GMT
78
+ recorded_at: Sat, 30 Aug 2014 12:34:10 GMT
79
79
  - request:
80
80
  method: post
81
81
  uri: http://bitcoinrpc:thisisjustapasswordfortesting@localhost:19001/
@@ -99,7 +99,7 @@ http_interactions:
99
99
  message: OK
100
100
  headers:
101
101
  Date:
102
- - Sun, 24 Aug 2014 06:45:41 +0000
102
+ - Sat, 30 Aug 2014 12:34:10 +0000
103
103
  Connection:
104
104
  - keep-alive
105
105
  Content-Length:
@@ -111,15 +111,15 @@ http_interactions:
111
111
  body:
112
112
  encoding: UTF-8
113
113
  string: |
114
- {"result":"n1CKM5qG2aceMUjiVHSN47wa3NwibCLuaX","error":null,"id":"jsonrpc"}
114
+ {"result":"miqWcaAx6FdP7TbSZFeaUkvrtNzS49eRsk","error":null,"id":"jsonrpc"}
115
115
  http_version:
116
- recorded_at: Sun, 24 Aug 2014 06:45:41 GMT
116
+ recorded_at: Sat, 30 Aug 2014 12:34:10 GMT
117
117
  - request:
118
118
  method: post
119
119
  uri: http://bitcoinrpc:thisisjustapasswordfortesting@localhost:19001/
120
120
  body:
121
121
  encoding: UTF-8
122
- string: '{"method":"sendmany","params":["",{"moR6hSXb8QaeFWHnpEMNcBdVaiZym737ow":0.4,"n1CKM5qG2aceMUjiVHSN47wa3NwibCLuaX":2.323},0],"id":"jsonrpc"}'
122
+ string: '{"method":"sendmany","params":["",{"muG5tZRGtvbzq7qrmSf29b5QdZ1c46Au9s":0.4,"miqWcaAx6FdP7TbSZFeaUkvrtNzS49eRsk":2.323},0],"id":"jsonrpc"}'
123
123
  headers:
124
124
  Accept:
125
125
  - "*/*; q=0.5, application/xml"
@@ -137,7 +137,7 @@ http_interactions:
137
137
  message: OK
138
138
  headers:
139
139
  Date:
140
- - Sun, 24 Aug 2014 06:45:41 +0000
140
+ - Sat, 30 Aug 2014 12:34:10 +0000
141
141
  Connection:
142
142
  - keep-alive
143
143
  Content-Length:
@@ -149,9 +149,9 @@ http_interactions:
149
149
  body:
150
150
  encoding: UTF-8
151
151
  string: |
152
- {"result":"0b74b8c97dc3b2a860758f699d71c6803e656eb7840052e59c58a20a03b80593","error":null,"id":"jsonrpc"}
152
+ {"result":"ab9bf7e53ec07e7b83e51044f5ea20155d420ed62bf4a7ba74481f0733f82434","error":null,"id":"jsonrpc"}
153
153
  http_version:
154
- recorded_at: Sun, 24 Aug 2014 06:45:41 GMT
154
+ recorded_at: Sat, 30 Aug 2014 12:34:10 GMT
155
155
  - request:
156
156
  method: post
157
157
  uri: http://bitcoinrpc:thisisjustapasswordfortesting@localhost:19001/
@@ -175,7 +175,7 @@ http_interactions:
175
175
  message: OK
176
176
  headers:
177
177
  Date:
178
- - Sun, 24 Aug 2014 06:45:41 +0000
178
+ - Sat, 30 Aug 2014 12:34:10 +0000
179
179
  Connection:
180
180
  - keep-alive
181
181
  Content-Length:
@@ -189,7 +189,7 @@ http_interactions:
189
189
  string: |
190
190
  {"result":0.40000000,"error":null,"id":"jsonrpc"}
191
191
  http_version:
192
- recorded_at: Sun, 24 Aug 2014 06:45:41 GMT
192
+ recorded_at: Sat, 30 Aug 2014 12:34:10 GMT
193
193
  - request:
194
194
  method: post
195
195
  uri: http://bitcoinrpc:thisisjustapasswordfortesting@localhost:19001/
@@ -213,7 +213,7 @@ http_interactions:
213
213
  message: OK
214
214
  headers:
215
215
  Date:
216
- - Sun, 24 Aug 2014 06:45:41 +0000
216
+ - Sat, 30 Aug 2014 12:34:10 +0000
217
217
  Connection:
218
218
  - keep-alive
219
219
  Content-Length:
@@ -227,5 +227,5 @@ http_interactions:
227
227
  string: |
228
228
  {"result":2.32300000,"error":null,"id":"jsonrpc"}
229
229
  http_version:
230
- recorded_at: Sun, 24 Aug 2014 06:45:41 GMT
231
- recorded_with: VCR 2.8.0
230
+ recorded_at: Sat, 30 Aug 2014 12:34:10 GMT
231
+ recorded_with: VCR 2.9.2
@@ -23,7 +23,7 @@ http_interactions:
23
23
  message: OK
24
24
  headers:
25
25
  Date:
26
- - Sun, 24 Aug 2014 06:45:34 +0000
26
+ - Sat, 30 Aug 2014 12:33:47 +0000
27
27
  Connection:
28
28
  - keep-alive
29
29
  Content-Length:
@@ -35,7 +35,7 @@ http_interactions:
35
35
  body:
36
36
  encoding: UTF-8
37
37
  string: |
38
- {"result":"myaxL4iYhtHodsbCxaKBgPNsft8E1UgV3B","error":null,"id":"jsonrpc"}
38
+ {"result":"mqtQQNHDwP1bsNT3UD21uMY5d812jsMwnx","error":null,"id":"jsonrpc"}
39
39
  http_version:
40
- recorded_at: Sun, 24 Aug 2014 06:45:34 GMT
41
- recorded_with: VCR 2.8.0
40
+ recorded_at: Sat, 30 Aug 2014 12:33:47 GMT
41
+ recorded_with: VCR 2.9.2
@@ -23,7 +23,7 @@ http_interactions:
23
23
  message: OK
24
24
  headers:
25
25
  Date:
26
- - Sun, 24 Aug 2014 06:46:25 +0000
26
+ - Sat, 30 Aug 2014 12:33:40 +0000
27
27
  Connection:
28
28
  - keep-alive
29
29
  Content-Length:
@@ -35,7 +35,7 @@ http_interactions:
35
35
  body:
36
36
  encoding: UTF-8
37
37
  string: |
38
- {"result":"mu4f8kSTdWfLfKyUX6LgNMoCrbNN34kHkT","error":null,"id":"jsonrpc"}
38
+ {"result":"mnztBN7VQc6nFnDPfeUf4UaWDt4vepbA2S","error":null,"id":"jsonrpc"}
39
39
  http_version:
40
- recorded_at: Sun, 24 Aug 2014 06:46:26 GMT
41
- recorded_with: VCR 2.8.0
40
+ recorded_at: Sat, 30 Aug 2014 12:33:40 GMT
41
+ recorded_with: VCR 2.9.2
@@ -23,7 +23,7 @@ http_interactions:
23
23
  message: OK
24
24
  headers:
25
25
  Date:
26
- - Sun, 24 Aug 2014 06:46:40 +0000
26
+ - Sat, 30 Aug 2014 12:34:24 +0000
27
27
  Connection:
28
28
  - keep-alive
29
29
  Content-Length:
@@ -35,7 +35,7 @@ http_interactions:
35
35
  body:
36
36
  encoding: UTF-8
37
37
  string: |
38
- {"result":"mz8A8RePwGn7hTYkYrk7uyaaW8b5DGDXxQ","error":null,"id":"jsonrpc"}
38
+ {"result":"n4q8N1hirxCMoEEbRzvmL2J1TZFCk3MtZE","error":null,"id":"jsonrpc"}
39
39
  http_version:
40
- recorded_at: Sun, 24 Aug 2014 06:46:40 GMT
41
- recorded_with: VCR 2.8.0
40
+ recorded_at: Sat, 30 Aug 2014 12:34:24 GMT
41
+ recorded_with: VCR 2.9.2
@@ -23,7 +23,7 @@ http_interactions:
23
23
  message: OK
24
24
  headers:
25
25
  Date:
26
- - Sun, 24 Aug 2014 06:46:32 +0000
26
+ - Sat, 30 Aug 2014 12:34:17 +0000
27
27
  Connection:
28
28
  - keep-alive
29
29
  Content-Length:
@@ -35,7 +35,7 @@ http_interactions:
35
35
  body:
36
36
  encoding: UTF-8
37
37
  string: |
38
- {"result":"mpXm8kjtNSba1qpW2ZVjQYmhQdCFJhqvpM","error":null,"id":"jsonrpc"}
38
+ {"result":"mxnQspMmG8cfh1uoCuhxWhAHpaoL3Nx5aL","error":null,"id":"jsonrpc"}
39
39
  http_version:
40
- recorded_at: Sun, 24 Aug 2014 06:46:33 GMT
41
- recorded_with: VCR 2.8.0
40
+ recorded_at: Sat, 30 Aug 2014 12:34:17 GMT
41
+ recorded_with: VCR 2.9.2
@@ -23,7 +23,7 @@ http_interactions:
23
23
  message: OK
24
24
  headers:
25
25
  Date:
26
- - Sun, 24 Aug 2014 06:46:47 +0000
26
+ - Sat, 30 Aug 2014 12:34:31 +0000
27
27
  Connection:
28
28
  - keep-alive
29
29
  Content-Length:
@@ -35,7 +35,7 @@ http_interactions:
35
35
  body:
36
36
  encoding: UTF-8
37
37
  string: |
38
- {"result":"mzZGnHq9GDB7hwdzPNHzY25gcD3aF6ueKT","error":null,"id":"jsonrpc"}
38
+ {"result":"n2nWHVehaq27ebgqL8q2EeGxiZY8zAD6QN","error":null,"id":"jsonrpc"}
39
39
  http_version:
40
- recorded_at: Sun, 24 Aug 2014 06:46:47 GMT
41
- recorded_with: VCR 2.8.0
40
+ recorded_at: Sat, 30 Aug 2014 12:34:31 GMT
41
+ recorded_with: VCR 2.9.2
@@ -23,7 +23,7 @@ http_interactions:
23
23
  message: OK
24
24
  headers:
25
25
  Date:
26
- - Sun, 24 Aug 2014 06:47:26 +0000
26
+ - Sat, 30 Aug 2014 12:35:29 +0000
27
27
  Connection:
28
28
  - keep-alive
29
29
  Content-Length:
@@ -35,7 +35,7 @@ http_interactions:
35
35
  body:
36
36
  encoding: UTF-8
37
37
  string: |
38
- {"result":"mxhGkc3MqB56Gd7BSpAPkvqVgNCL62h8BS","error":null,"id":"jsonrpc"}
38
+ {"result":"mxjPPJVAJr3kdhGo5onuptYcpKfuMSyDw3","error":null,"id":"jsonrpc"}
39
39
  http_version:
40
- recorded_at: Sun, 24 Aug 2014 06:47:26 GMT
41
- recorded_with: VCR 2.8.0
40
+ recorded_at: Sat, 30 Aug 2014 12:35:29 GMT
41
+ recorded_with: VCR 2.9.2
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bit_wallet
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.3
4
+ version: 0.7.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ramon Tayag
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-24 00:00:00.000000000 Z
11
+ date: 2014-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bitcoin-client