openassets-ruby 0.2.5 → 0.2.6

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: 14a0524ecd885560924bce4da7804e6aa39f176d
4
- data.tar.gz: 2a726966732a748b5645eb58272df80922660d63
3
+ metadata.gz: a49e262b1967bf882e9d0784792cd8d9094dd7e1
4
+ data.tar.gz: c704857446ea7bdb6c6616f182cefca019d8c010
5
5
  SHA512:
6
- metadata.gz: ae77d53785ec2b31a2692e96b5580e2dbdb5021cb2011228e26a33ca060c96fee45adf4a45dee1fc0a2b37234363f879db632315b6fbe58b589b191c48ccd602
7
- data.tar.gz: d188e2415a112a7d3d34bd3bd1c513a3672dd30f7d57c7fdef772d7ada7156796ac3ffb3e0e49bc29bc7d19d297d5bf6b6534d3fb2fc9ae145d3b16c048e3c15
6
+ metadata.gz: 30e2d67a221926202a89b8830bab16400b3a0d44e1f6d8cd9cc663fb9e5e2d81cc366e3929df5a09ed66506952b35d91cc038ba9037ad5dd6cf4a2832aa9a313
7
+ data.tar.gz: 9cb5791d2b42bb7a805ce48a4dc36ded106fcd9939bbc9275de9259e399459bbd7e1f85645522c9bb807e52fa8cab7665f147b9fbbc390bd2f50e2f17a7e2587
@@ -44,7 +44,7 @@ module OpenAssets
44
44
 
45
45
  # get divisibility defined by asset definition file.
46
46
  def divisibility
47
- return 0 unless valid_asset_definition?
47
+ return 0 if !valid_asset_definition? || @asset_definition.divisibility.nil?
48
48
  @asset_definition.divisibility
49
49
  end
50
50
 
@@ -1,3 +1,3 @@
1
1
  module OpenAssets
2
- VERSION = '0.2.5'
2
+ VERSION = '0.2.6'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openassets-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - azuchi
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-12-22 00:00:00.000000000 Z
11
+ date: 2015-12-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bitcoin-ruby