Skip to content

Commit

Permalink
version 1.1.30
Browse files Browse the repository at this point in the history
  • Loading branch information
nerzh committed Jun 3, 2022
1 parent c373fd6 commit 13b0562
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 19 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Ruby Client for Free TON SDK

[![GEM](https://img.shields.io/badge/ruby-gem-orange)](https://rubygems.org/gems/everscale-client-ruby)
[![SPM](https://img.shields.io/badge/SDK%20VERSION-1.34.0-green)](https://github.com/tonlabs/TON-SDK)
[![SPM](https://img.shields.io/badge/SDK%20VERSION-1.34.2-green)](https://github.com/tonlabs/TON-SDK)

## Install

Expand Down Expand Up @@ -4822,7 +4822,7 @@ giver_amount=10000000000

```
everscale-client-ruby update
ton-client-ruby update
```

Expand All @@ -4832,15 +4832,15 @@ or

```
curl https://raw.githubusercontent.com/tonlabs/ever-sdk/master/tools/api.json > api.json
curl https://raw.githubusercontent.com/tonlabs/TON-SDK/master/tools/api.json > api.json
```


```
everscale-client-ruby update ./api.json
ton-client-ruby update ./api.json
```

Expand All @@ -4849,14 +4849,14 @@ or

```
cd everscale-client-ruby
cd ton-client-ruby
```


```
./bin/everscale-client-ruby update
./bin/ton-client-ruby update
```

24 changes: 12 additions & 12 deletions lib/code_generator/code_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,25 +59,25 @@ def generateReadme(types)
Install TON-SDK
```bash
ton-client-ruby setup
# result - path to dylib file for ton-client-ruby configuration
# result - path to dylib file for everscale-client-ruby configuration
```
### Manual build FreeTON SDK
0. Install Rust to your OS
1. git clone https://github.com/tonlabs/TON-SDK
2. cd ./TON-SDK
1. git clone https://github.com/tonlabs/ever-sdk
2. cd ./ever-sdk
3. cargo update
4. cargo build --release
## Usage
```ruby
# For MAcOS
TonClient.configure { |config| config.ffi_lib(./TON-SDK/target/release/libton_client.dylib) }
TonClient.configure { |config| config.ffi_lib(./ever-sdk/target/release/libton_client.dylib) }
# For Linux
# TonClient.configure { |config| config.ffi_lib(./TON-SDK/target/release/libton_client.so) }
# TonClient.configure { |config| config.ffi_lib(./ever-sdk/target/release/libton_client.so) }
client = TonClient.create(config: {network: {server_address: "net.ton.dev"}})
client = TonClient.create(config: {network: {endpoints: ["https://eri01.net.everos.dev", "https://rbx01.net.everos.dev"]}})
# All methods are asynchronous
Expand Down Expand Up @@ -148,7 +148,7 @@ def generateReadme(types)
example for NodeSE
```
spec_ffi=./TON-SDK/target/release/libton_client.dylib
spec_ffi=./ever-sdk/target/release/libton_client.dylib
server_address=http://localhost:80
giver_abi_name=GiverNodeSE
giver_amount=10000000000
Expand All @@ -167,21 +167,21 @@ def generateReadme(types)
\n## Update\n\n
```\n
ton-client-ruby update\n
everscale-client-ruby update\n
```\n\n
or\n\n
```\n
curl https://raw.githubusercontent.com/tonlabs/TON-SDK/master/tools/api.json > api.json\n\n
curl https://raw.githubusercontent.com/tonlabs/ever-sdk/master/tools/api.json > api.json\n\n
```\n\n
```\n
ton-client-ruby update ./api.json\n
everscale-client-ruby update ./api.json\n
```\n
or\n\n
```\n
cd ton-client-ruby\n
cd everscale-client-ruby\n
```\n\n
```\n
./bin/ton-client-ruby update\n
./bin/everscale-client-ruby update\n
```\n
}
content = checkContent(content)
Expand Down
2 changes: 1 addition & 1 deletion lib/everscale-client-ruby/version.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module TonClient
VERSION = "1.1.29"
VERSION = "1.1.30"
end

0 comments on commit 13b0562

Please sign in to comment.