tezos_client 0.4.11 → 0.4.12

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
  SHA256:
3
- metadata.gz: c0a4f06598c871a6a091162764772e2314c0e066f3a802cf272bd123010c99a8
4
- data.tar.gz: 379749cd74ba26165beda45f4379c84bd48ab1cd1380d142f7a1c298b8c41c97
3
+ metadata.gz: db31af8c7d27741675b8d47988a58f86017e772412d36586ffef83efad386f3a
4
+ data.tar.gz: cb3b90eaa88a32e674e4cfcfc5de383d7d3a1cfa501a5e2462ff6b7502333636
5
5
  SHA512:
6
- metadata.gz: f9dba5d7b1d7ed4189fd19f798e6a0d472f81d216e6809323187a5b3328aac9c4b5d2c06145486762c1f80b8a9f2658901f57f811b1ab2c90606d852cdd15b18
7
- data.tar.gz: 653e578e0b6593fc9186e449cc5af8646ee3b331e9f31000ad316ce6c078d1aba7282a39d8d2f42f709abade18ad4791d4866cce44d8de1b59c411c14646ee29
6
+ metadata.gz: f4ea3d1c38a4788c9663fe02490672259ef73a4c9c22a73cd67a6ce39ae700d7344218bd390036dcd1d35d4a16633fd2b4d06bbf1e31c526c6906012aceb7ef5
7
+ data.tar.gz: b73777756e0be9b988b3d3b66910b2675b79ea22b3a080ccc97610315a64b880dc66205d5f72bc4692b31325c816f401bf8e92a1df1cf9ac59c0609e917ded56
@@ -29,6 +29,7 @@ class TezosClient
29
29
  :transfer
30
30
 
31
31
  def_delegators :liquidity_interface,
32
- :get_storage
32
+ :get_storage,
33
+ :pack_data
33
34
  end
34
35
  end
@@ -128,5 +128,10 @@ class TezosClient
128
128
  JSON.parse res
129
129
  end
130
130
  end
131
+
132
+ def pack_data(data:, type:)
133
+ res = call_liquidity "--pack '#{data}' '#{type}'"
134
+ res.strip
135
+ end
131
136
  end
132
137
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class TezosClient
4
- VERSION = "0.4.11"
4
+ VERSION = "0.4.12"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tezos_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.11
4
+ version: 0.4.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pierre Michard
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-10-07 00:00:00.000000000 Z
11
+ date: 2019-10-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler