monero 0.0.0.6 → 0.0.0.8
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 +4 -4
- data/README.md +4 -4
- data/lib/monero.rb +1 -5
- data/lib/rpc/version.rb +1 -1
- data/lib/rpc/wallet.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 27c4e033d415d77d4ce9ab1cd1da67606c1c6f96
|
|
4
|
+
data.tar.gz: 752cea86b3569ade300a446bd5bedcaeff2e6aa1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8180e1eeb59f2702cb2876125126c1bc2a59ca755c4737e0f7ad5663f606cef38d455017b3deca1080ad98e69d181519149009590d6b04186d96dd7e96f53e2a
|
|
7
|
+
data.tar.gz: 47b89d0a8b8e941310e8e05c3f6af5bf4470263ec3aed46950f8c852db3c6df31b83cf71ad0b1028432ed95f45a2f0ac48f51fe8a369762606177903daa445f8
|
data/README.md
CHANGED
|
@@ -57,8 +57,8 @@ ___
|
|
|
57
57
|
|
|
58
58
|
Create a new Subaddress with a label
|
|
59
59
|
|
|
60
|
-
|
|
61
|
-
|
|
60
|
+
RPC::Wallet.create_address "family savings"
|
|
61
|
+
=> {"address"=>"BZFWM5MrhK64DD5TH1JVxR4JbuQpmRSFKi4SHQD2TrSrDFU8AK16YSjN7K8WSfjAfnZeJeskBtkgr73LbPZc4vMbQr3YvHj", "address_index"=>1}
|
|
62
62
|
|
|
63
63
|
___
|
|
64
64
|
|
|
@@ -71,7 +71,7 @@ Create a new address for a payment (integrated address)
|
|
|
71
71
|
|
|
72
72
|
Get a list of all Adresses of your wallet
|
|
73
73
|
|
|
74
|
-
|
|
74
|
+
RPC::Wallet.get_addresses
|
|
75
75
|
|
|
76
76
|
___
|
|
77
77
|
|
|
@@ -170,7 +170,7 @@ ___
|
|
|
170
170
|
## Donations
|
|
171
171
|
If this was useful you might consider a small donation:
|
|
172
172
|
|
|
173
|
-
- XMR:
|
|
173
|
+
- XMR: 42gYBRdXZbDdpV8gn7ntZySQuY4kzF7upNw67cj1LkkxV3kgjqoBBU9fBPeh4mZMMb75WAkNisvKdehdiE3g7Awx3JSdd5Y
|
|
174
174
|
|
|
175
175
|
Even better would be your contribution to the code. Let's work together and make this gem a great place for all Monero fans! Don't just fork and do your own thing. My idea for this gem isn't the way we have to do. Feel free to bring yourself into this project. I'm willing to change everything from scratch if it will benefit the future.
|
|
176
176
|
|
data/lib/monero.rb
CHANGED
data/lib/rpc/version.rb
CHANGED
data/lib/rpc/wallet.rb
CHANGED
|
@@ -97,7 +97,7 @@ module RPC
|
|
|
97
97
|
h = Hash.new
|
|
98
98
|
json = RPC::Client.request("get_transfers", options)
|
|
99
99
|
json.map{|k, v|
|
|
100
|
-
h[k] = v.collect{|transfer| (RPC.config.transfer_clazz || "RPC::IncomingTransfer").
|
|
100
|
+
h[k] = v.collect{|transfer| Module.const_get((RPC.config.transfer_clazz || "RPC::IncomingTransfer")).new(transfer) }
|
|
101
101
|
}
|
|
102
102
|
return h
|
|
103
103
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: monero
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.0.
|
|
4
|
+
version: 0.0.0.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tim Kretschmer
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-06-
|
|
11
|
+
date: 2018-06-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|