mastercoin-wallet 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +18 -18
- data/VERSION +1 -1
- data/lib/mastercoin-wallet/gui/first_run_window.rb +9 -4
- data/lib/mastercoin-wallet/gui/main_window.rb +1 -1
- data/lib/mastercoin-wallet/gui/main_window.ui +2 -2
- data/lib/mastercoin-wallet/gui/ui_main.rb +3 -3
- data/mastercoin-wallet.gemspec +2 -2
- metadata +3 -3
data/Rakefile
CHANGED
@@ -35,21 +35,21 @@ Rake::RDocTask.new do |rdoc|
|
|
35
35
|
rdoc.rdoc_files.include('lib/**/*.rb')
|
36
36
|
end
|
37
37
|
|
38
|
-
require 'releasy'
|
39
|
-
Releasy::Project.new do
|
40
|
-
name "Mastercoin Wallet"
|
41
|
-
version = File.exist?('VERSION') ? File.read('VERSION') : ""
|
42
|
-
verbose # Can be removed if you don't want to see all build messages.
|
43
|
-
executable "bin/mastercoin-wallet"
|
44
|
-
files ["lib/**/*.*", "bin/*.*", "resources/*.*"]
|
45
|
-
|
46
|
-
exclude_encoding
|
47
|
-
# Create a variety of releases, for all platforms.
|
48
|
-
add_build :osx_app do
|
49
|
-
url "com.maran.mastercoin_wallet"
|
50
|
-
wrapper "../wrappers/gosu-mac-wrapper-0.7.47.tar.gz"
|
51
|
-
icon "resources/logo.icns"
|
52
|
-
end
|
53
|
-
|
54
|
-
add_deploy :local # Only deploy locally.
|
55
|
-
end
|
38
|
+
#require 'releasy'
|
39
|
+
#Releasy::Project.new do
|
40
|
+
# name "Mastercoin Wallet"
|
41
|
+
# version = File.exist?('VERSION') ? File.read('VERSION') : ""
|
42
|
+
# verbose # Can be removed if you don't want to see all build messages.
|
43
|
+
# executable "bin/mastercoin-wallet"
|
44
|
+
# files ["lib/**/*.*", "bin/*.*", "resources/*.*"]
|
45
|
+
#
|
46
|
+
# exclude_encoding
|
47
|
+
# # Create a variety of releases, for all platforms.
|
48
|
+
# add_build :osx_app do
|
49
|
+
# url "com.maran.mastercoin_wallet"
|
50
|
+
# wrapper "../wrappers/gosu-mac-wrapper-0.7.47.tar.gz"
|
51
|
+
# icon "resources/logo.icns"
|
52
|
+
# end
|
53
|
+
#
|
54
|
+
# add_deploy :local # Only deploy locally.
|
55
|
+
#end
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.5
|
@@ -82,10 +82,15 @@ module MastercoinWallet
|
|
82
82
|
@address = Bitcoin::Key.from_base58(@priv_key).addr
|
83
83
|
@address_label.setText("Address for private key: #{@address}")
|
84
84
|
check_valid
|
85
|
-
rescue RuntimeError
|
86
|
-
|
87
|
-
|
88
|
-
|
85
|
+
rescue ArgumentError, RuntimeError, OpenSSL::BNError
|
86
|
+
begin
|
87
|
+
@address = Bitcoin::Key.new(@priv_key).addr
|
88
|
+
@address_label.setText("Address for private key: #{@address}")
|
89
|
+
check_valid
|
90
|
+
rescue RuntimeError, OpenSSL::BNError
|
91
|
+
@address_label.setText("Cannot get Bitcoin address from private key.")
|
92
|
+
invalid!
|
93
|
+
end
|
89
94
|
end
|
90
95
|
end
|
91
96
|
end
|
@@ -235,7 +235,7 @@
|
|
235
235
|
<rect>
|
236
236
|
<x>10</x>
|
237
237
|
<y>-2</y>
|
238
|
-
<width>
|
238
|
+
<width>321</width>
|
239
239
|
<height>31</height>
|
240
240
|
</rect>
|
241
241
|
</property>
|
@@ -304,7 +304,7 @@
|
|
304
304
|
<rect>
|
305
305
|
<x>10</x>
|
306
306
|
<y>210</y>
|
307
|
-
<width>
|
307
|
+
<width>411</width>
|
308
308
|
<height>31</height>
|
309
309
|
</rect>
|
310
310
|
</property>
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
** Form generated from reading ui file 'main_window.ui'
|
3
3
|
**
|
4
|
-
** Created:
|
4
|
+
** Created: Tue Nov 5 21:06:14 2013
|
5
5
|
** by: Qt User Interface Compiler version 4.8.4
|
6
6
|
**
|
7
7
|
** WARNING! All changes made in this file will be lost when recompiling ui file!
|
@@ -84,7 +84,7 @@ class Ui_MainWindow
|
|
84
84
|
@orderTree.sortingEnabled = true
|
85
85
|
@label = Qt::Label.new(@tab_2)
|
86
86
|
@label.objectName = "label"
|
87
|
-
@label.geometry = Qt::Rect.new(10, -2,
|
87
|
+
@label.geometry = Qt::Rect.new(10, -2, 321, 31)
|
88
88
|
@sellingButton = Qt::PushButton.new(@tab_2)
|
89
89
|
@sellingButton.objectName = "sellingButton"
|
90
90
|
@sellingButton.geometry = Qt::Rect.new(580, 160, 131, 32)
|
@@ -94,7 +94,7 @@ class Ui_MainWindow
|
|
94
94
|
@purchaseTree.sortingEnabled = true
|
95
95
|
@label_2 = Qt::Label.new(@tab_2)
|
96
96
|
@label_2.objectName = "label_2"
|
97
|
-
@label_2.geometry = Qt::Rect.new(10, 210,
|
97
|
+
@label_2.geometry = Qt::Rect.new(10, 210, 411, 31)
|
98
98
|
@purchaseButton = Qt::PushButton.new(@tab_2)
|
99
99
|
@purchaseButton.objectName = "purchaseButton"
|
100
100
|
@purchaseButton.geometry = Qt::Rect.new(560, 380, 151, 32)
|
data/mastercoin-wallet.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "mastercoin-wallet"
|
8
|
-
s.version = "0.0.
|
8
|
+
s.version = "0.0.5"
|
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-
|
12
|
+
s.date = "2013-11-05"
|
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 = ["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.
|
4
|
+
version: 0.0.5
|
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-
|
12
|
+
date: 2013-11-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: mastercoin-ruby
|
@@ -238,7 +238,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
238
238
|
version: '0'
|
239
239
|
segments:
|
240
240
|
- 0
|
241
|
-
hash:
|
241
|
+
hash: -3844463166486002771
|
242
242
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
243
243
|
none: false
|
244
244
|
requirements:
|