istox 0.1.81.pre.test9 → 0.1.81.pre.test10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 709e450a6f5c8ae8a44d8c52eb7cedaece6a4cafde0761e198dad80308b3af01
4
- data.tar.gz: b6db801e20945d448e1b90fb8aa32d073b39c5fed7e97e9095cecaaca1958d48
3
+ metadata.gz: 137bc00193a848330fba21e01f23d89d9c06ff55604bf75e5d6368ea14bf0192
4
+ data.tar.gz: 6cf96f0726fd3dc5680a9b332536613fc8da2679a2a965791b51c30bac66d580
5
5
  SHA512:
6
- metadata.gz: 69491f982e218c130936029d47601d330f25e8103020b358f53712edcbf76653a4b341669065c24a6a162d14a0ef9bf32adff5f45de9e0267c53e50151a3fd67
7
- data.tar.gz: 06b3580527d154aae956e09102e19bb4db4b9473e32c9be4b60e6892b903dfa817c7b264f4f7d7b2507d1333499a97128c6f0194c5bfa011e4ad1b81fd615312
6
+ metadata.gz: 9b1071eb5a4d22a8763ae6d7255a3211f16f8fdff943226632229279b24f00941bf4efc83ee332960cc7b8bc189d2d45727ca303c1b231bd549cdd1e7598343e
7
+ data.tar.gz: 3b72c52f64f0104c6f0d18a6875cd93cde6e249ac200dc6372551498bb6890c8370aa620d7bced6af1a94f7f9f6abb76b7d4547ca1cb3702ece300bef9e58913
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- istox (0.1.81.pre.test8)
4
+ istox (0.1.81.pre.test9)
5
5
  binding_of_caller
6
6
  bunny (>= 2.12.0)
7
7
  graphlient
@@ -15,7 +15,7 @@ module Istox
15
15
  total_allocated = 0.0
16
16
  total_unallocated = 0.0
17
17
  total_investment = 0.0
18
- cutoff_price = ::Istox::FMath.div(soft_cap, total_supply)
18
+ cutoff_price = ::Istox::FMath.round_up(::Istox::FMath.div(soft_cap, total_supply), 2)
19
19
  is_cutoff = false
20
20
 
21
21
  # return result immediately if no interest
data/lib/istox/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Istox
2
- VERSION = '0.1.81-test9'.freeze
2
+ VERSION = '0.1.81-test10'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: istox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.81.pre.test9
4
+ version: 0.1.81.pre.test10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Siong Leng