coin-op 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/coin-op/bit/spendable.rb +3 -0
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2901af471862b2ef2ccdc2ca7fc7192a71400d93
4
- data.tar.gz: 538d7b513fc85ef0da0bdb8175886708766e2bd9
3
+ metadata.gz: 15c0933fbbf6c12f7a0991e4a889f1ca232a006d
4
+ data.tar.gz: acf109f9766f69d87e14160cb8df32b06e475696
5
5
  SHA512:
6
- metadata.gz: b19ee9fc1272c34d5380ad87eaa4b32e121d17059b80ba97ff568b4e09debdd881b9e0ec78cd63ca35c118bfee9c3541b3cd4dbfc4e6d7815c8f7a65cf26c686
7
- data.tar.gz: 57f64f37f1e18e3e1d8b50f7fa8eda1ee89bb6b3e05af583ff39c45e50d04bae46231bd0857051c68df96b68278e8d21c173ab357e1a0ae25cdd19e974250b59
6
+ metadata.gz: 3d79df943d4f273f8b067bc6e632cd4691090202a191738d87c844f7a8cc2dc71d3a918e1c96d84a5d36b3399a28789a997c8fe8d9e3f90478b261fc254539a2
7
+ data.tar.gz: e426b4496eb66d122b8fb82e6d08d71e6b35c16fdb649f57ee5ada6fe05d251cae64230693ebf666125c1337691d9f653452b3346cbc41b2c3e14a7f59ec2d26
@@ -1,6 +1,9 @@
1
1
  module CoinOp::Bit
2
2
  module Spendable
3
3
 
4
+ class InsufficientFunds < RuntimeError
5
+ end
6
+
4
7
  def network
5
8
  raise "implement #network in your class"
6
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: coin-op
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthew King
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-25 00:00:00.000000000 Z
11
+ date: 2014-07-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bitcoin-ruby