everscale-client-ruby 1.1.67 → 1.1.68
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e8bdc1c27e392f348852e7f7f09b13e9df6280745ac763fc8afa03b376fce453
|
4
|
+
data.tar.gz: c0e62fd12dcb8b88dbf8baf241f9d209fdd6d43d3843a19c2fcb0f59ca891ffa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9be656b9ed66ded20e57ef9120d9d09eb279092142a36c7696e68b90283a8fcaaa9bcb0f63f8202f1c6db0fea04eeb464eab55ba77904f002ed8f7d22c11f4a5
|
7
|
+
data.tar.gz: a427ab508894e999aa2aaff388ce2480df47fbd7a718bfa18ff6c9a8c2354d6f37821c4a636a381c6e1aff666420c810162a8f416835f1f6538306207603fd34
|
data/bin/everscale-client-ruby
CHANGED
@@ -9,7 +9,7 @@ if ARGV[0] == 'update' && ARGV[1] == nil
|
|
9
9
|
`cd #{script_file_path}/.. && curl https://raw.githubusercontent.com/tonlabs/TON-SDK/master/tools/api.json > api.json`
|
10
10
|
api_json_path = "#{script_file_path}/../api.json"
|
11
11
|
json = ''
|
12
|
-
if File.
|
12
|
+
if File.exist?(api_json_path)
|
13
13
|
json = File.read(api_json_path)
|
14
14
|
else
|
15
15
|
p "File #{api_json_path} is not exist"
|
@@ -23,7 +23,7 @@ if ARGV[0] == 'update' && ARGV[1] == nil
|
|
23
23
|
elsif ARGV[0] == 'update'
|
24
24
|
api_json_path = ARGV[1]
|
25
25
|
json = ''
|
26
|
-
if File.
|
26
|
+
if File.exist?(api_json_path)
|
27
27
|
json = File.read(api_json_path)
|
28
28
|
else
|
29
29
|
p "Current directory: #{Dir.pwd}. File #{api_json_path} is not exist"
|
@@ -31,7 +31,7 @@ class CodeGenerator
|
|
31
31
|
else
|
32
32
|
newModuleContent = generateModule(mod)
|
33
33
|
end
|
34
|
-
if File.
|
34
|
+
if File.exist?(moduleFilePath)
|
35
35
|
File.delete(moduleFilePath)
|
36
36
|
end
|
37
37
|
File.open(moduleFilePath, 'w+') { |f| f.write(newModuleContent) }
|
@@ -213,7 +213,7 @@ cd everscale-client-ruby\n
|
|
213
213
|
```\n
|
214
214
|
}
|
215
215
|
content = checkContent(content)
|
216
|
-
if File.
|
216
|
+
if File.exist?(readmePath)
|
217
217
|
File.delete(readmePath)
|
218
218
|
end
|
219
219
|
File.open(readmePath, 'w+') { |f| f.write(content) }
|
@@ -10,7 +10,7 @@ GEM_DIR = "#{script_file_path}/../.."
|
|
10
10
|
`cd #{script_file_path} && curl https://raw.githubusercontent.com/tonlabs/TON-SDK/master/tools/api.json > api.json`
|
11
11
|
api_json_path = "#{script_file_path}/../../api.json"
|
12
12
|
json = ''
|
13
|
-
if File.
|
13
|
+
if File.exist?(api_json_path)
|
14
14
|
json = File.read(api_json_path)
|
15
15
|
else
|
16
16
|
p "File #{api_json_path} is not exist"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: everscale-client-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.68
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- nerzh
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-04-
|
11
|
+
date: 2023-04-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ffi
|
@@ -142,7 +142,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
142
142
|
- !ruby/object:Gem::Version
|
143
143
|
version: '0'
|
144
144
|
requirements: []
|
145
|
-
rubygems_version: 3.
|
145
|
+
rubygems_version: 3.4.12
|
146
146
|
signing_key:
|
147
147
|
specification_version: 4
|
148
148
|
summary: This is gem everscale-client-ruby
|