ethereum 0.4.50 → 0.4.60
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ethereum/contract.rb +2 -1
- data/lib/ethereum/version.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: b5a060d0e2305651f8d71af4a99dbcbd630d42a4
|
4
|
+
data.tar.gz: 4a49ace49f14060f92cab9e40e72e717f0b8c204
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3e3a6c7675a94e594e2b79892a9794cf5b3321f19c99edf64bf41dc501bbf32296065b6a9b69c869fbc10ecf9b5fb00fb1dbd3f97c48e444f4be4110a71116a2
|
7
|
+
data.tar.gz: 9ec8007d267ff301b4145c4b98ee906ab86f699f7d7eec2ba44e36c5242d769135a4db0ffc5612d55c9f830df5b31099d4ec67d69453995f877e080b7a9217d2
|
data/lib/ethereum/contract.rb
CHANGED
@@ -102,7 +102,8 @@ module Ethereum
|
|
102
102
|
raw_result = connection.call({to: self.address, from: self.sender, data: payload.join()})["result"]
|
103
103
|
formatted_result = fun.outputs.collect {|x| x.type }.zip(raw_result.gsub(/^0x/,'').scan(/.{64}/))
|
104
104
|
output = formatted_result.collect {|x| formatter.from_payload(x) }
|
105
|
-
return {data: payload.join(), raw: raw_result, formatted: output}
|
105
|
+
#return {data: payload.join(), raw: raw_result, formatted: output}
|
106
|
+
return output
|
106
107
|
end
|
107
108
|
|
108
109
|
define_method "transact_#{derived_function_name}".to_sym do |*args|
|
data/lib/ethereum/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ethereum
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.60
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- DigixGlobal Pte Ltd (https://dgx.io)
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-10-
|
11
|
+
date: 2015-10-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|