tezos_client 1.3.4 → 1.4.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5257dbe976b3fba269aa9e6d4a966d2fbc7e4deaac30d5efc76a8a5699529623
4
- data.tar.gz: 4b55b56b163c326a644fbaf62eda1e3e63b70f77e68af76ce0030f71a740c315
3
+ metadata.gz: 1c8d4619d5d7e8e2284ffeaabf6246eaf8d820f9bd6254531fab3e8d91ccaa34
4
+ data.tar.gz: 7e1af738f349993d04fb2927f74997c97b450ec237be00da00beba3493537318
5
5
  SHA512:
6
- metadata.gz: ae3837fedb178aaf48381cb110379c184097e32cfc547122c68dcf725c3b795c12bba2e172187f68da8096024abaa3e556e46804e5b31d9649920f65672038b8
7
- data.tar.gz: 04fa056b5ae0c34c4f01f4c481999a389e2246df3f6dc698327964ced7250d353e87f1533d1deb04548b578c78cda91256eb6136eb778ed85082617991bb6ccd
6
+ metadata.gz: 12cb96c43a471b6b95bbff5bd08ffa881625665c8a8b3f1cf863f3e689e56943fcab60da963800a5f1d41c1e7d232a1082123b87dc617369eba6660b54982385
7
+ data.tar.gz: a6aac981053e825b65802caca8855113068f9a8e9a9cfdcc4fcd57c594083c9b6b65563ea61874ae145f6e9ee528b78edefc1c1ecee8161c5135fab7d196b8fd
data/Gemfile.lock CHANGED
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- tezos_client (1.3.4)
5
- active_interaction (> 3.8)
4
+ tezos_client (1.4.1)
5
+ active_interaction (>= 3.8)
6
6
  activesupport (~> 6.0.0)
7
7
  base58 (~> 0.2.3)
8
8
  bip_mnemonic (~> 0.0.2)
@@ -14,24 +14,24 @@ PATH
14
14
  GEM
15
15
  remote: https://rubygems.org/
16
16
  specs:
17
- actionpack (6.0.3.5)
18
- actionview (= 6.0.3.5)
19
- activesupport (= 6.0.3.5)
17
+ actionpack (6.0.3.7)
18
+ actionview (= 6.0.3.7)
19
+ activesupport (= 6.0.3.7)
20
20
  rack (~> 2.0, >= 2.0.8)
21
21
  rack-test (>= 0.6.3)
22
22
  rails-dom-testing (~> 2.0)
23
23
  rails-html-sanitizer (~> 1.0, >= 1.2.0)
24
- actionview (6.0.3.5)
25
- activesupport (= 6.0.3.5)
24
+ actionview (6.0.3.7)
25
+ activesupport (= 6.0.3.7)
26
26
  builder (~> 3.1)
27
27
  erubi (~> 1.4)
28
28
  rails-dom-testing (~> 2.0)
29
29
  rails-html-sanitizer (~> 1.1, >= 1.2.0)
30
- active_interaction (4.0.0)
30
+ active_interaction (4.0.1)
31
31
  activemodel (>= 5, < 7)
32
- activemodel (6.0.3.5)
33
- activesupport (= 6.0.3.5)
34
- activesupport (6.0.3.5)
32
+ activemodel (6.0.3.7)
33
+ activesupport (= 6.0.3.7)
34
+ activesupport (6.0.3.7)
35
35
  concurrent-ruby (~> 1.0, >= 1.0.2)
36
36
  i18n (>= 0.7, < 2)
37
37
  minitest (~> 5.1)
@@ -52,37 +52,35 @@ GEM
52
52
  domain_name (0.5.20190701)
53
53
  unf (>= 0.0.5, < 1.0.0)
54
54
  erubi (1.10.0)
55
- ffi (1.14.2)
55
+ ffi (1.15.1)
56
56
  hashdiff (1.0.1)
57
57
  http-cookie (1.0.3)
58
58
  domain_name (~> 0.5)
59
59
  httparty (0.17.3)
60
60
  mime-types (~> 3.0)
61
61
  multi_xml (>= 0.5.2)
62
- i18n (1.8.9)
62
+ i18n (1.8.10)
63
63
  concurrent-ruby (~> 1.0)
64
- loofah (2.9.0)
64
+ loofah (2.9.1)
65
65
  crass (~> 1.0.2)
66
66
  nokogiri (>= 1.5.9)
67
- method_source (0.9.2)
67
+ method_source (1.0.0)
68
68
  mime-types (3.3.1)
69
69
  mime-types-data (~> 3.2015)
70
70
  mime-types-data (3.2021.0225)
71
- mini_portile2 (2.5.0)
72
71
  minitest (5.14.4)
73
72
  money-tree (0.10.0)
74
73
  ffi
75
74
  multi_xml (0.6.0)
76
75
  netrc (0.11.0)
77
- nokogiri (1.11.1)
78
- mini_portile2 (~> 2.5.0)
76
+ nokogiri (1.11.6-x86_64-darwin)
79
77
  racc (~> 1.4)
80
78
  parallel (1.20.1)
81
- parser (3.0.0.0)
79
+ parser (3.0.1.1)
82
80
  ast (~> 2.4.1)
83
- pry (0.12.2)
84
- coderay (~> 1.1.0)
85
- method_source (~> 0.9.0)
81
+ pry (0.14.1)
82
+ coderay (~> 1.1)
83
+ method_source (~> 1.0)
86
84
  public_suffix (4.0.6)
87
85
  racc (1.5.2)
88
86
  rack (2.2.3)
@@ -93,14 +91,14 @@ GEM
93
91
  nokogiri (>= 1.6)
94
92
  rails-html-sanitizer (1.3.0)
95
93
  loofah (~> 2.3)
96
- railties (6.0.3.5)
97
- actionpack (= 6.0.3.5)
98
- activesupport (= 6.0.3.5)
94
+ railties (6.0.3.7)
95
+ actionpack (= 6.0.3.7)
96
+ activesupport (= 6.0.3.7)
99
97
  method_source
100
98
  rake (>= 0.8.7)
101
99
  thor (>= 0.20.3, < 2.0)
102
100
  rainbow (3.0.0)
103
- rake (13.0.1)
101
+ rake (13.0.3)
104
102
  rbnacl (5.0.0)
105
103
  ffi
106
104
  regexp_parser (2.1.1)
@@ -108,42 +106,46 @@ GEM
108
106
  http-cookie (>= 1.0.2, < 2.0)
109
107
  mime-types (>= 1.16, < 4.0)
110
108
  netrc (~> 0.8)
111
- rexml (3.2.4)
112
- rspec (3.9.0)
113
- rspec-core (~> 3.9.0)
114
- rspec-expectations (~> 3.9.0)
115
- rspec-mocks (~> 3.9.0)
116
- rspec-core (3.9.3)
117
- rspec-support (~> 3.9.3)
118
- rspec-expectations (3.9.4)
109
+ rexml (3.2.5)
110
+ rspec (3.10.0)
111
+ rspec-core (~> 3.10.0)
112
+ rspec-expectations (~> 3.10.0)
113
+ rspec-mocks (~> 3.10.0)
114
+ rspec-core (3.10.1)
115
+ rspec-support (~> 3.10.0)
116
+ rspec-expectations (3.10.1)
119
117
  diff-lcs (>= 1.2.0, < 2.0)
120
- rspec-support (~> 3.9.0)
121
- rspec-mocks (3.9.1)
118
+ rspec-support (~> 3.10.0)
119
+ rspec-mocks (3.10.2)
122
120
  diff-lcs (>= 1.2.0, < 2.0)
123
- rspec-support (~> 3.9.0)
124
- rspec-support (3.9.4)
125
- rubocop (0.93.1)
121
+ rspec-support (~> 3.10.0)
122
+ rspec-support (3.10.2)
123
+ rubocop (1.15.0)
126
124
  parallel (~> 1.10)
127
- parser (>= 2.7.1.5)
125
+ parser (>= 3.0.0.0)
128
126
  rainbow (>= 2.2.2, < 4.0)
129
- regexp_parser (>= 1.8)
127
+ regexp_parser (>= 1.8, < 3.0)
130
128
  rexml
131
- rubocop-ast (>= 0.6.0)
129
+ rubocop-ast (>= 1.5.0, < 2.0)
132
130
  ruby-progressbar (~> 1.7)
133
- unicode-display_width (>= 1.4.0, < 2.0)
134
- rubocop-ast (1.4.1)
135
- parser (>= 2.7.1.5)
136
- rubocop-performance (1.10.1)
137
- rubocop (>= 0.90.0, < 2.0)
131
+ unicode-display_width (>= 1.4.0, < 3.0)
132
+ rubocop-ast (1.6.0)
133
+ parser (>= 3.0.1.1)
134
+ rubocop-packaging (0.5.1)
135
+ rubocop (>= 0.89, < 2.0)
136
+ rubocop-performance (1.11.3)
137
+ rubocop (>= 1.7.0, < 2.0)
138
138
  rubocop-ast (>= 0.4.0)
139
- rubocop-rails (2.9.1)
139
+ rubocop-rails (2.10.1)
140
140
  activesupport (>= 4.2.0)
141
141
  rack (>= 1.1)
142
- rubocop (>= 0.90.0, < 2.0)
143
- rubocop-rails_config (0.7.3)
144
- railties (>= 3.0)
145
- rubocop (~> 0.74)
146
- rubocop-performance (~> 1.3)
142
+ rubocop (>= 1.7.0, < 2.0)
143
+ rubocop-rails_config (1.5.3)
144
+ railties (>= 5.0)
145
+ rubocop (>= 1.13)
146
+ rubocop-ast (>= 1.0.1)
147
+ rubocop-packaging (~> 0.5)
148
+ rubocop-performance (~> 1.11)
147
149
  rubocop-rails (~> 2.0)
148
150
  ruby-progressbar (1.11.0)
149
151
  thor (1.1.0)
@@ -153,19 +155,19 @@ GEM
153
155
  unf (0.1.4)
154
156
  unf_ext
155
157
  unf_ext (0.0.7.7)
156
- unicode-display_width (1.7.0)
158
+ unicode-display_width (2.0.0)
157
159
  vcr (4.0.0)
158
- webmock (3.7.6)
160
+ webmock (3.13.0)
159
161
  addressable (>= 2.3.6)
160
162
  crack (>= 0.3.2)
161
163
  hashdiff (>= 0.4.0, < 2.0.0)
162
164
  zeitwerk (2.4.2)
163
165
 
164
166
  PLATFORMS
165
- ruby
167
+ x86_64-darwin-19
166
168
 
167
169
  DEPENDENCIES
168
- bundler (~> 1.16)
170
+ bundler (~> 2.1)
169
171
  pry
170
172
  rake (~> 13.0)
171
173
  rspec (~> 3.0)
@@ -175,4 +177,4 @@ DEPENDENCIES
175
177
  webmock
176
178
 
177
179
  BUNDLED WITH
178
- 1.17.3
180
+ 2.2.18
data/README.md CHANGED
@@ -20,10 +20,10 @@ npm i -g michelson-to-micheline
20
20
  ```
21
21
 
22
22
  ### SmartPy
23
- [SmartPy](https://smartpy.io/)
23
+ [SmartPy](https://smartpy.io/releases/20210317-bc925bb73dc885ac2b4dde9689e805d9b0bc6125/)
24
24
 
25
25
  ```bash
26
- sh <(curl -s https://smartpy.io/dev-20200924-23b26494361d96abf034bdbb1ad1af396f95fd61/cli/SmartPy.sh) local-install-auto
26
+ sh <(curl -s https://smartpy.io/releases/20210317-bc925bb73dc885ac2b4dde9689e805d9b0bc6125/cli/install.sh)
27
27
  export PATH=$PATH:$HOME/smartpy-cli/
28
28
  ```
29
29
 
data/lib/tezos_client.rb CHANGED
@@ -82,7 +82,7 @@ class TezosClient
82
82
  #
83
83
  # @return [Hash] result of the origination containing :operation_id, :operation_result and :originated_contract
84
84
  #
85
- def originate_contract(from:, amount:, secret_key: nil, script: nil, init_params: nil, dry_run: false, **args)
85
+ def originate_contract(from:, amount:, secret_key: nil, script: nil, init_params: [], dry_run: false, **args)
86
86
  origination_args = {
87
87
  rpc_interface: rpc_interface,
88
88
  from: from,
@@ -92,9 +92,9 @@ class TezosClient
92
92
  }
93
93
 
94
94
  origination_args[:script] = contract_interface(script).origination_script(
95
- from: from,
96
95
  script: script,
97
- init_params: init_params
96
+ init_params: init_params,
97
+ **args
98
98
  )
99
99
 
100
100
  operation = OriginationOperation.new(origination_args)
@@ -1,20 +1,18 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require_relative "smartpy_inteface/smartpy_wrapper"
4
- require_relative "smartpy_inteface/micheline_serializer_wrapper"
5
4
 
6
5
  class TezosClient
7
6
  class SmartpyInterface
8
7
  include Logger
9
8
  include SmartpyWrapper
10
- include MichelineSerializerWrapper
11
9
 
12
10
  attr_reader :options
13
11
 
14
12
  def json_scripts(args)
15
13
  compile_to_michelson(args) do |contract_script_filename, init_script_filename|
16
14
  micheline_contract = File.read(contract_script_filename)
17
- micheline_storage = convert_michelson_to_micheline(File.read(init_script_filename))
15
+ micheline_storage = File.read(init_script_filename)
18
16
 
19
17
  [JSON.parse(micheline_storage), JSON.parse(micheline_contract)]
20
18
  end
@@ -34,12 +32,46 @@ class TezosClient
34
32
  Tools::TemporaryFile.with_file_copy(args[:script]) do |script_copy_path|
35
33
  script_basename = script_copy_path.split("/").last.sub(/.py$/, "")
36
34
  script_path = "/tmp/#{script_basename}/"
37
- init_script_filename = "#{script_basename}_storage_init.tz"
38
- contract_script_filename = "#{script_basename}_compiled.json"
39
- call_smartpy ["compile", script_copy_path, args[:init_params], script_path]
35
+ init_script_filename = "step_000_cont_0_storage.json"
36
+ contract_script_filename = "step_000_cont_0_contract.json"
40
37
 
41
- yield(script_path + contract_script_filename, script_path + init_script_filename)
38
+ cmd_line = ["compile", script_copy_path, script_path].concat(
39
+ optional_inputs(args[:smartpy_flags], args[:init_params])
40
+ )
41
+
42
+ call_smartpy cmd_line
43
+
44
+ yield(script_path + "default/" + contract_script_filename, script_path + "default/" + init_script_filename)
42
45
  end
43
46
  end
47
+
48
+ def optional_inputs(flags, init_params)
49
+ inputs = []
50
+
51
+ inputs.concat(optional_flags(flags))
52
+ inputs.concat(optional_args(init_params))
53
+
54
+ inputs
55
+ end
56
+
57
+ def optional_flags(flags)
58
+ (flags || {}).map do |key, value|
59
+ if value.is_a?(FalseClass) || value.is_a?(TrueClass)
60
+ "--#{key}"
61
+ else
62
+ ["--#{key}", value.to_s]
63
+ end
64
+ end.flatten
65
+ end
66
+
67
+ def optional_args(init_params = [])
68
+ return [] if init_params.count.zero?
69
+
70
+ ["--"].concat(
71
+ init_params.map do |init_param|
72
+ init_param.to_json
73
+ end
74
+ )
75
+ end
44
76
  end
45
77
  end
@@ -7,12 +7,19 @@ class TezosClient
7
7
  class ConvertToHash < ActiveInteraction::Base
8
8
  class BigMap < Base
9
9
  def decode
10
- ::TezosClient::BigMap.new(
11
- var_name,
12
- data[:int],
13
- type[:args].second,
14
- type[:args].first
15
- )
10
+ if data.is_a? Hash
11
+ ::TezosClient::BigMap.new(
12
+ var_name,
13
+ data[:int],
14
+ type[:args].second,
15
+ type[:args].first
16
+ )
17
+ else
18
+ TezosClient::Tools::ConvertToHash::Map.new(
19
+ data: data,
20
+ type: type
21
+ ).value[var_name]
22
+ end
16
23
  end
17
24
  end
18
25
  end
@@ -7,20 +7,20 @@ class TezosClient
7
7
  include TezosClient::Crypto
8
8
 
9
9
  def decode
10
- if data.key?(:bytes)
11
- if data[:bytes].start_with?("00")
12
- encode_tz(:edpk, data[:bytes][2..-1])
13
- elsif data[:bytes].start_with?("01")
14
- encode_tz(:sppk, data[:bytes][2..-1])
15
- elsif data[:bytes].start_with?("02")
16
- encode_tz(:p2pk, data[:bytes][2..-1])
17
- else
18
- data[:bytes]
19
- end
10
+ if tmp_data.start_with?("00")
11
+ encode_tz(:edpk, tmp_data[2..-1])
12
+ elsif tmp_data.start_with?("01")
13
+ encode_tz(:sppk, tmp_data[2..-1])
14
+ elsif tmp_data.start_with?("02")
15
+ encode_tz(:p2pk, tmp_data[2..-1])
20
16
  else
21
- data[:string]
17
+ tmp_data
22
18
  end
23
19
  end
20
+
21
+ def tmp_data
22
+ @tmp_data ||= data[:bytes] || data[:string]
23
+ end
24
24
  end
25
25
  end
26
26
  end
@@ -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.3.4"
4
+ VERSION = "1.4.2"
5
5
  end
data/tezos_client.gemspec CHANGED
@@ -7,12 +7,12 @@ require "tezos_client/version"
7
7
  Gem::Specification.new do |spec|
8
8
  spec.name = "tezos_client"
9
9
  spec.version = TezosClient::VERSION
10
- spec.authors = ["Pierre Michard"]
11
- spec.email = ["pierre@moneytrack.io"]
10
+ spec.authors = ["Pierre Michard", "Sébastien Lauret", "Othmane El Kesri"]
11
+ spec.email = ["pierre@moneytrack.io", "sebastien@moneytrack.io", "othmane@moneytrack.io"]
12
12
 
13
13
  spec.summary = "Wrapper to the tezos client."
14
14
  spec.description = ""
15
- spec.homepage = "http://moneytrack.io"
15
+ spec.homepage = "https://moneytrack.io"
16
16
  spec.license = "MIT"
17
17
 
18
18
  # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
@@ -33,7 +33,7 @@ Gem::Specification.new do |spec|
33
33
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
34
34
  spec.require_paths = ["lib"]
35
35
 
36
- spec.add_development_dependency "bundler", "~> 1.16"
36
+ spec.add_development_dependency "bundler", "~> 2.1"
37
37
  spec.add_development_dependency "rake", "~> 13.0"
38
38
  spec.add_development_dependency "rspec", "~> 3.0"
39
39
  spec.add_development_dependency "rubocop-rails_config"
@@ -41,7 +41,7 @@ Gem::Specification.new do |spec|
41
41
  spec.add_development_dependency "vcr", "~> 4.0.0"
42
42
  spec.add_development_dependency "pry"
43
43
 
44
- spec.add_dependency "active_interaction", "> 3.8"
44
+ spec.add_dependency "active_interaction", ">= 3.8"
45
45
  spec.add_dependency "base58", "~> 0.2.3"
46
46
  spec.add_dependency "httparty", "~> 0.17.0"
47
47
  spec.add_dependency "rbnacl", "~> 5.0.0"
metadata CHANGED
@@ -1,14 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tezos_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.4
4
+ version: 1.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pierre Michard
8
+ - Sébastien Lauret
9
+ - Othmane El Kesri
8
10
  autorequire:
9
11
  bindir: exe
10
12
  cert_chain: []
11
- date: 2021-03-04 00:00:00.000000000 Z
13
+ date: 2021-07-19 00:00:00.000000000 Z
12
14
  dependencies:
13
15
  - !ruby/object:Gem::Dependency
14
16
  name: bundler
@@ -16,14 +18,14 @@ dependencies:
16
18
  requirements:
17
19
  - - "~>"
18
20
  - !ruby/object:Gem::Version
19
- version: '1.16'
21
+ version: '2.1'
20
22
  type: :development
21
23
  prerelease: false
22
24
  version_requirements: !ruby/object:Gem::Requirement
23
25
  requirements:
24
26
  - - "~>"
25
27
  - !ruby/object:Gem::Version
26
- version: '1.16'
28
+ version: '2.1'
27
29
  - !ruby/object:Gem::Dependency
28
30
  name: rake
29
31
  requirement: !ruby/object:Gem::Requirement
@@ -112,14 +114,14 @@ dependencies:
112
114
  name: active_interaction
113
115
  requirement: !ruby/object:Gem::Requirement
114
116
  requirements:
115
- - - ">"
117
+ - - ">="
116
118
  - !ruby/object:Gem::Version
117
119
  version: '3.8'
118
120
  type: :runtime
119
121
  prerelease: false
120
122
  version_requirements: !ruby/object:Gem::Requirement
121
123
  requirements:
122
- - - ">"
124
+ - - ">="
123
125
  - !ruby/object:Gem::Version
124
126
  version: '3.8'
125
127
  - !ruby/object:Gem::Dependency
@@ -223,6 +225,8 @@ dependencies:
223
225
  description: ''
224
226
  email:
225
227
  - pierre@moneytrack.io
228
+ - sebastien@moneytrack.io
229
+ - othmane@moneytrack.io
226
230
  executables: []
227
231
  extensions: []
228
232
  extra_rdoc_files: []
@@ -270,7 +274,6 @@ files:
270
274
  - lib/tezos_client/rpc_interface/monitor.rb
271
275
  - lib/tezos_client/rpc_interface/operations.rb
272
276
  - lib/tezos_client/rpc_interface/request_manager.rb
273
- - lib/tezos_client/smartpy_inteface/micheline_serializer_wrapper.rb
274
277
  - lib/tezos_client/smartpy_inteface/smartpy_wrapper.rb
275
278
  - lib/tezos_client/smartpy_interface.rb
276
279
  - lib/tezos_client/string_utils.rb
@@ -282,11 +285,13 @@ files:
282
285
  - lib/tezos_client/tools/convert_to_hash/bytes.rb
283
286
  - lib/tezos_client/tools/convert_to_hash/int.rb
284
287
  - lib/tezos_client/tools/convert_to_hash/key.rb
288
+ - lib/tezos_client/tools/convert_to_hash/key_hash.rb
285
289
  - lib/tezos_client/tools/convert_to_hash/list.rb
286
290
  - lib/tezos_client/tools/convert_to_hash/map.rb
287
291
  - lib/tezos_client/tools/convert_to_hash/nat.rb
288
292
  - lib/tezos_client/tools/convert_to_hash/option.rb
289
293
  - lib/tezos_client/tools/convert_to_hash/pair.rb
294
+ - lib/tezos_client/tools/convert_to_hash/set.rb
290
295
  - lib/tezos_client/tools/convert_to_hash/signature.rb
291
296
  - lib/tezos_client/tools/convert_to_hash/string.rb
292
297
  - lib/tezos_client/tools/convert_to_hash/timestamp.rb
@@ -309,7 +314,7 @@ files:
309
314
  - lib/tezos_client/version.rb
310
315
  - tezos_client.gemspec
311
316
  - travis-scripts/prepare-ubuntu.sh
312
- homepage: http://moneytrack.io
317
+ homepage: https://moneytrack.io
313
318
  licenses:
314
319
  - MIT
315
320
  metadata:
@@ -329,7 +334,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
329
334
  - !ruby/object:Gem::Version
330
335
  version: '0'
331
336
  requirements: []
332
- rubygems_version: 3.0.3
337
+ rubygems_version: 3.0.4
333
338
  signing_key:
334
339
  specification_version: 4
335
340
  summary: Wrapper to the tezos client.
@@ -1,17 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- class TezosClient
4
- class SmartpyInterface
5
- module MichelineSerializerWrapper
6
- def convert_michelson_to_micheline(script)
7
- cmd = ["michelson-to-micheline", script]
8
-
9
- Tools::SystemCall.execute(cmd)
10
- end
11
-
12
- def actual_project_path
13
- TezosClient.root_path
14
- end
15
- end
16
- end
17
- end