money-tree 0.9.0 → 0.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/.simplecov +2 -2
- data/README.md +22 -17
- data/certs/mattatgemco.pem +24 -0
- data/checksum/money-tree-0.9.0.gem.sha512 +1 -0
- data/lib/money-tree/key.rb +9 -9
- data/lib/money-tree/node.rb +4 -4
- data/lib/money-tree/version.rb +1 -1
- data/lib/openssl_extensions.rb +1 -1
- data/money-tree.gemspec +3 -3
- data/spec/lib/money-tree/node_spec.rb +190 -190
- data/spec/lib/money-tree/private_key_spec.rb +11 -1
- metadata +28 -22
- metadata.gz.sig +0 -0
@@ -93,7 +93,17 @@ describe MoneyTree::PrivateKey do
|
|
93
93
|
describe "parse_raw_key" do
|
94
94
|
it "returns error if key is not Bignum, hex, base64, or wif formatted" do
|
95
95
|
expect { @key = MoneyTree::PrivateKey.new(key: "Thisisnotakey") }.to raise_error(MoneyTree::Key::KeyFormatNotFound)
|
96
|
-
|
96
|
+
end
|
97
|
+
|
98
|
+
it "raises an error that can be caught using a standard exception block" do
|
99
|
+
exception_raised = false
|
100
|
+
|
101
|
+
begin
|
102
|
+
MoneyTree::PrivateKey.new(key: "Thisisnotakey")
|
103
|
+
rescue => ex
|
104
|
+
exception_raised = true
|
105
|
+
end
|
106
|
+
fail unless exception_raised
|
97
107
|
end
|
98
108
|
end
|
99
109
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: money-tree
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.10.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Micah Winkelspecht
|
@@ -10,26 +10,30 @@ bindir: bin
|
|
10
10
|
cert_chain:
|
11
11
|
- |
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
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5jbzAWBgNVHRIEDzANgQttYXR0QGdlbS5jbzANBgkqhkiG9w0BAQsFAAOCAYEA
|
27
|
+
kOxYnOsB+NwHwLc2lHEZ8ubxanq2qIZDhvVQ4M31gwmba43xO7vq0ktFxYRvozs4
|
28
|
+
74dQ6bmY2e7njoFgeutyJwxulA+BC71mDQA1s4WsZo7Z2TRgB0GViVqHrzq+jY+M
|
29
|
+
p9mTHQqKH+2j0P9T4DXSzq4qOaBA3YROAwAzYI9N8MObeWkRt2pZ4zYQrAniP2nd
|
30
|
+
wzXs/G5lWbbntVcvQOfAAXBipSJ3X5P2EGpUytP9ZpGdezY5HZzuiJFcmCf1CM3t
|
31
|
+
VX4NZjbJak9gOY0AFD0Aw497sYenm0VBExclOmeRuZLffpWteTTL//utpG3bbFPl
|
32
|
+
jQ78uzsrexYTYW5IshjfSIf3TZxm50Z45pyOTow5EOP1Nd7OmKOcI8hrLGv5+AlD
|
33
|
+
hCnomUTUNsM4Rjwl5rzQiIn3ezv6+0tlg4rWJmVTuOGwcHk/oj1In2sPjCqm0pgx
|
34
|
+
TLnMa8gr6aUpuHR5s2N4ZH0Q2YIsaD6cv7DYXt+G4MRut3njOYHfkqsSVykO6hvr
|
31
35
|
-----END CERTIFICATE-----
|
32
|
-
date:
|
36
|
+
date: 2018-05-30 00:00:00.000000000 Z
|
33
37
|
dependencies:
|
34
38
|
- !ruby/object:Gem::Dependency
|
35
39
|
name: ffi
|
@@ -144,6 +148,8 @@ files:
|
|
144
148
|
- LICENSE.txt
|
145
149
|
- README.md
|
146
150
|
- Rakefile
|
151
|
+
- certs/mattatgemco.pem
|
152
|
+
- checksum/money-tree-0.9.0.gem.sha512
|
147
153
|
- donation_btc_qr_code.gif
|
148
154
|
- lib/money-tree.rb
|
149
155
|
- lib/money-tree/address.rb
|
@@ -161,7 +167,7 @@ files:
|
|
161
167
|
- spec/lib/money-tree/public_key_spec.rb
|
162
168
|
- spec/lib/money-tree/support_spec.rb
|
163
169
|
- spec/spec_helper.rb
|
164
|
-
homepage:
|
170
|
+
homepage: https://github.com/gemhq/money-tree
|
165
171
|
licenses:
|
166
172
|
- MIT
|
167
173
|
metadata: {}
|
@@ -181,7 +187,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
181
187
|
version: '0'
|
182
188
|
requirements: []
|
183
189
|
rubyforge_project:
|
184
|
-
rubygems_version: 2.
|
190
|
+
rubygems_version: 2.7.7
|
185
191
|
signing_key:
|
186
192
|
specification_version: 4
|
187
193
|
summary: Bitcoin Hierarchical Deterministic Wallets in Ruby! (Bitcoin standard BIP0032)
|
metadata.gz.sig
CHANGED
Binary file
|