tezos_client 1.4.1 → 1.4.2

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: 92a3126df9c366800e22df7dceda0ac25f30ea97d53dd98aa9497d208047d428
4
- data.tar.gz: 8eebd23077fe8aa0d6f79ed4620c40554aad2ce1ca7d9d0ffc63fb0b963c2559
3
+ metadata.gz: 1c8d4619d5d7e8e2284ffeaabf6246eaf8d820f9bd6254531fab3e8d91ccaa34
4
+ data.tar.gz: 7e1af738f349993d04fb2927f74997c97b450ec237be00da00beba3493537318
5
5
  SHA512:
6
- metadata.gz: c1d9dcffed8b093bbac4973667441caf9c665c4228f8119f72fe7e3593bc50422d9b11198a907521e911401ca464d9dd0dff975be2d77dc57e7cd8ee5639d7be
7
- data.tar.gz: 68ffadaed7188bf5927e844213134de291e55230817c6340c4492b37181dbc520b460522a938faafa6a6eeeee759446bc858e19ffe4011b040eeddbae24b2db6
6
+ metadata.gz: 12cb96c43a471b6b95bbff5bd08ffa881625665c8a8b3f1cf863f3e689e56943fcab60da963800a5f1d41c1e7d232a1082123b87dc617369eba6660b54982385
7
+ data.tar.gz: a6aac981053e825b65802caca8855113068f9a8e9a9cfdcc4fcd57c594083c9b6b65563ea61874ae145f6e9ee528b78edefc1c1ecee8161c5135fab7d196b8fd
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+
3
+ class TezosClient
4
+ module Tools
5
+ class ConvertToHash < ActiveInteraction::Base
6
+ class KeyHash < Base
7
+ def decode
8
+ Address.new(data: data, type: type).decode
9
+ end
10
+ end
11
+ end
12
+ end
13
+ end
14
+
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+
3
+ class TezosClient
4
+ module Tools
5
+ class ConvertToHash < ActiveInteraction::Base
6
+ class Set < Base
7
+ def decode
8
+ List.new(data: data, type: type).decode.to_set
9
+ end
10
+ end
11
+ end
12
+ end
13
+ end
14
+
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class TezosClient
4
- VERSION = "1.4.1"
4
+ VERSION = "1.4.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tezos_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.1
4
+ version: 1.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pierre Michard
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: exe
12
12
  cert_chain: []
13
- date: 2021-05-31 00:00:00.000000000 Z
13
+ date: 2021-07-19 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler
@@ -285,11 +285,13 @@ files:
285
285
  - lib/tezos_client/tools/convert_to_hash/bytes.rb
286
286
  - lib/tezos_client/tools/convert_to_hash/int.rb
287
287
  - lib/tezos_client/tools/convert_to_hash/key.rb
288
+ - lib/tezos_client/tools/convert_to_hash/key_hash.rb
288
289
  - lib/tezos_client/tools/convert_to_hash/list.rb
289
290
  - lib/tezos_client/tools/convert_to_hash/map.rb
290
291
  - lib/tezos_client/tools/convert_to_hash/nat.rb
291
292
  - lib/tezos_client/tools/convert_to_hash/option.rb
292
293
  - lib/tezos_client/tools/convert_to_hash/pair.rb
294
+ - lib/tezos_client/tools/convert_to_hash/set.rb
293
295
  - lib/tezos_client/tools/convert_to_hash/signature.rb
294
296
  - lib/tezos_client/tools/convert_to_hash/string.rb
295
297
  - lib/tezos_client/tools/convert_to_hash/timestamp.rb
@@ -332,7 +334,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
332
334
  - !ruby/object:Gem::Version
333
335
  version: '0'
334
336
  requirements: []
335
- rubygems_version: 3.0.8
337
+ rubygems_version: 3.0.4
336
338
  signing_key:
337
339
  specification_version: 4
338
340
  summary: Wrapper to the tezos client.