mastercoin-wallet 0.0.10 → 0.0.11

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.10
1
+ 0.0.11
@@ -28,7 +28,7 @@ module MastercoinWallet
28
28
  @ui = Ui_MainWindow.new
29
29
  @ui.setupUi(self)
30
30
 
31
- setWindowTitle(tr("Mastercoin wallet - v0.0.10"))
31
+ setWindowTitle(tr("Mastercoin wallet - v0.0.11"))
32
32
 
33
33
  @rows = []
34
34
 
@@ -55,7 +55,7 @@ module MastercoinWallet
55
55
  end
56
56
 
57
57
  unless @receiving_address.empty? || @amount.empty? || @password.empty? || @fee.empty?
58
- data_keys = Mastercoin::PurchaseOffer.new(currency_id: currency_id, amount: (@amount.to_f * 1e8).to_i).encode_to_compressed_public_key(MastercoinWallet.config.address)
58
+ data_keys = Mastercoin::PurchaseOffer.new(currency_id: currency_id, amount: (BigDecimal.new(@amount.to_s) * 1e8).to_i).encode_to_compressed_public_key(MastercoinWallet.config.address)
59
59
  create_transaction_with_keys(data_keys, force_fee: @fee)
60
60
  close()
61
61
  else
@@ -53,7 +53,7 @@ module MastercoinWallet
53
53
 
54
54
  unless @time.empty? || @fee_amount.empty? || @btc_amount.empty? || @amount.empty? || @password.empty?
55
55
 
56
- data_keys = Mastercoin::SellingOffer.new(currency_id: currency_id, amount: (@amount.to_f * 1e8).to_i, bitcoin_amount: (@btc_amount.to_f * 1e8).to_i, time_limit: @time.to_i, transaction_fee: (@fee_amount.to_f * 1e8).to_i).encode_to_compressed_public_key(MastercoinWallet.config.address)
56
+ data_keys = Mastercoin::SellingOffer.new(currency_id: currency_id, amount: (BigDecimal.new(@amount.to_s) * 1e8).to_i, bitcoin_amount: (@btc_amount.to_f * 1e8).to_i, time_limit: @time.to_i, transaction_fee: (@fee_amount.to_f * 1e8).to_i).encode_to_compressed_public_key(MastercoinWallet.config.address)
57
57
 
58
58
  create_transaction_with_keys(data_keys)
59
59
  close()
@@ -55,7 +55,7 @@ module MastercoinWallet
55
55
  raise "How did you get here? ^_^"
56
56
  end
57
57
 
58
- data_key = Mastercoin::SimpleSend.new(currency_id: currency_id, amount: (@amount.to_f * 1e8).to_i).encode_to_compressed_public_key(MastercoinWallet.config.address)
58
+ data_key = Mastercoin::SimpleSend.new(currency_id: currency_id, amount: (BigDecimal.new(@amount.to_s)* 1e8).to_i).encode_to_compressed_public_key(MastercoinWallet.config.address)
59
59
  create_transaction_with_keys(data_key)
60
60
  close()
61
61
  end
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "mastercoin-wallet"
8
- s.version = "0.0.10"
8
+ s.version = "0.0.11"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Maran"]
12
- s.date = "2013-11-17"
12
+ s.date = "2013-11-19"
13
13
  s.description = "Mastercoin wallet using QT bindings to create a useful gui wallet"
14
14
  s.email = "maran.hidskes@gmail.com"
15
15
  s.executables = ["console", "mastercoin-wallet"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mastercoin-wallet
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
4
+ version: 0.0.11
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-11-17 00:00:00.000000000 Z
12
+ date: 2013-11-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: mastercoin-ruby
@@ -241,7 +241,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
241
241
  version: '0'
242
242
  segments:
243
243
  - 0
244
- hash: -1585370887582184673
244
+ hash: -2691579399623644935
245
245
  required_rubygems_version: !ruby/object:Gem::Requirement
246
246
  none: false
247
247
  requirements: