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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b17d66a87de3133d8f5a6f84d76615156c7bf9648da6825584a269c33cad85bb
4
- data.tar.gz: dab93ec7b176f1d70478ee2bc95b0a77a47104586a49bc0acc43032ab87649ff
3
+ metadata.gz: ac10b58e0ea4a2d725c0cb7f05f6a0db3ec6a813d7aefd109bc647815d769869
4
+ data.tar.gz: 48c3b21b35f643a372c33513bd298fcfe35909abca1bc39e3cdc686406ed9a1a
5
5
  SHA512:
6
- metadata.gz: 26cd4d5b9531449e9922b2cdf4ec9222bd2101a15ee27740a68865492cebc8c08f799ea40b1f8ea35d116792c062ef6cbd7923e49784d8628163429e612f7a0c
7
- data.tar.gz: deff9cde16ae317c0783bf1ddac5c7c65fb6c58c982adcaf601391d872eb95022351ecec7196b856327efe9de4c5bd0e0c07d6fa1b169a96c4eb28d63b8d14bf
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
- system("cd #{GEM_DIR} && git clone https://github.com/tonlabs/TON-SDK ./TON-SDK")
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")
@@ -1,5 +1,3 @@
1
- require 'bundler/setup'
2
- Bundler.setup
3
1
  require 'ffi'
4
2
  require "base64"
5
3
  require 'json'
@@ -1,3 +1,3 @@
1
1
  module TonClient
2
- VERSION = "1.0.2"
2
+ VERSION = "1.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ton-client-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - nerzh