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.
@@ -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.9.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
- MIIDXDCCAkSgAwIBAgIBATANBgkqhkiG9w0BAQUFADA6MQ8wDQYDVQQDDAZqdWxp
14
- YW4xEzARBgoJkiaJk/IsZAEZFgNnZW0xEjAQBgoJkiaJk/IsZAEZFgJjbzAeFw0x
15
- NTA0MDMwODAwMTdaFw0xNjA0MDIwODAwMTdaMDoxDzANBgNVBAMMBmp1bGlhbjET
16
- MBEGCgmSJomT8ixkARkWA2dlbTESMBAGCgmSJomT8ixkARkWAmNvMIIBIjANBgkq
17
- hkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAp0qCsOUQyTRA4f7WxoU2ctpUO5+eLZw8
18
- ILvHJy/0dC2nnIgib+FaFA8TRIGw6fjX2hQ43QJyO36zkjUhAwNu/+TBCfG+Grut
19
- 2dI9XmqU5Z6PvvXRj6Gu5IkDeIVDKILZv3bDugHJalre4BUKnwPYv5WpZ/e/c6+z
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n3ezv6+0tlg4rWJmVTuOGwcHk/oj1In2sPjCqm0pgx
34
+ TLnMa8gr6aUpuHR5s2N4ZH0Q2YIsaD6cv7DYXt+G4MRut3njOYHfkqsSVykO6hvr
31
35
  -----END CERTIFICATE-----
32
- date: 2015-05-19 00:00:00.000000000 Z
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.2.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