ton-client-ruby 1.0.2 → 1.0.4
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 +4 -4
- data/bin/ton-client-ruby +3 -1
- data/lib/ton-client-ruby.rb +0 -2
- data/lib/ton-client-ruby/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ac10b58e0ea4a2d725c0cb7f05f6a0db3ec6a813d7aefd109bc647815d769869
|
4
|
+
data.tar.gz: 48c3b21b35f643a372c33513bd298fcfe35909abca1bc39e3cdc686406ed9a1a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c3587f5480d473919820b51f735a6302db4ee91871292d833fc9861401d5c29fe4a9b46be8264563aead207b01dbe024db454f2de8a1d08fff6e3c19ac7c5b3
|
7
|
+
data.tar.gz: ed4a201782a1ebb992a0af9a0e1e60ea395ed1bdb17f1dcbf7408ec6344384a89a436495134215c5a72c05884869a0a03eb7fead9ff00b21c4b5933d9a298662
|
data/bin/ton-client-ruby
CHANGED
@@ -30,7 +30,9 @@ elsif ARGV[0] == 'update' && ARGV[1] == nil
|
|
30
30
|
p 'soon from github'
|
31
31
|
elsif ARGV[0] == 'setup'
|
32
32
|
raise "\nPLEASE INSTALL RUST TO YOUR SYSTEM. \nTry this command: \ncurl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh" if `which rustc`.strip.empty?
|
33
|
-
|
33
|
+
unless Dir.exist?("#{GEM_DIR}/TON-SDK")
|
34
|
+
system("cd #{GEM_DIR} && git clone https://github.com/tonlabs/TON-SDK ./TON-SDK")
|
35
|
+
end
|
34
36
|
system("cd #{GEM_DIR}/TON-SDK && git pull --ff-only")
|
35
37
|
system("cd #{GEM_DIR}/TON-SDK && cargo update")
|
36
38
|
system("cd #{GEM_DIR}/TON-SDK && cargo build --release")
|
data/lib/ton-client-ruby.rb
CHANGED