monero 0.0.0.6 → 0.0.0.8

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: 6f101397a4eeed495e2e232c3ef8e03713c4e9ec
4
- data.tar.gz: b0482fe096fe147724201b71619d6bc01b735471
3
+ metadata.gz: 27c4e033d415d77d4ce9ab1cd1da67606c1c6f96
4
+ data.tar.gz: 752cea86b3569ade300a446bd5bedcaeff2e6aa1
5
5
  SHA512:
6
- metadata.gz: a7e74cbc8b742d4a249a91a70d546528ee7af818905722c6d3f209fa00c608ca119d0a92cd7b913c04e35123f414f478ae17ad0bc892b7b02fff78de7a65ee7d
7
- data.tar.gz: 58319317ed27df21eb1d226404a9dba30a307acf2ec43c97168b47ae9c22fb07e0b758d675e0317451ac02ad2a8b55f4b5da5582c68765d9b64ad8b874f4ecbf
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
- RPC::Wallet.create_address "family savings"
61
- => {"address"=>"BZFWM5MrhK64DD5TH1JVxR4JbuQpmRSFKi4SHQD2TrSrDFU8AK16YSjN7K8WSfjAfnZeJeskBtkgr73LbPZc4vMbQr3YvHj", "address_index"=>1}
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
- RPC::Wallet.get_addresses
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: 48ie1HGrxvp4PE8DwSaKSSJtwnwAWitsE6U3oiybsa9VVrywayMJJZpMx1MvqJfxihBv9cnriufv5KXWd45xVQCrPAjkFBR
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
 
@@ -8,12 +8,8 @@ require 'rpc/transfer'
8
8
  require 'rpc/incoming_transfer'
9
9
 
10
10
  module RPC
11
- def self.height
12
- RPC::Wallet.getheight
13
- end
14
-
15
11
  def self.config
16
- @@config ||= RPC::Config.instance
12
+ @@config ||= RPC::Config.instance
17
13
  end
18
14
  end
19
15
 
@@ -1,3 +1,3 @@
1
1
  module RPC
2
- VERSION = "0.0.0.6"
2
+ VERSION = "0.0.0.8"
3
3
  end
@@ -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").constantize.new(transfer)}
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.6
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-19 00:00:00.000000000 Z
11
+ date: 2018-06-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler