Skip to content

Commit

Permalink
version 1.1.53
Browse files Browse the repository at this point in the history
  • Loading branch information
nerzh committed Oct 8, 2022
1 parent 7584dcf commit 50e7d89
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
6 changes: 3 additions & 3 deletions lib/code_generator/code_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -243,9 +243,9 @@ def customTypes
content << "#{TAB}#{TAB}MODULE = self.to_s.downcase.gsub(/^(.+::|)(\\w+)$/, '\\2').freeze\n\n"
content << "#{TAB}#{TAB}def initialize(context_config: {})\n"
content << "#{TAB}#{TAB}#{TAB}@context_config = context_config\n"
content << "#{TAB}#{TAB}#{TAB}@request_id = Concurrent::AtomicFixnum.new(1)\n"
content << "#{TAB}#{TAB}#{TAB}@requests = Concurrent::Hash.new()\n"
content << "#{TAB}#{TAB}#{TAB}@monitor = Monitor.new()\n"
content << "#{TAB}#{TAB}#{TAB}@request_id = RequestId.new\n"
content << "#{TAB}#{TAB}#{TAB}@requests = Requests.new\n"
content << "#{TAB}#{TAB}#{TAB}@monitor = Monitor.new\n"
content << "#{TAB}#{TAB}#{TAB}config = TonBinding.make_string(context_config.to_json)\n"
content << "#{TAB}#{TAB}#{TAB}context_ptr = TonBinding.tc_create_context(config)\n"
content << "#{TAB}#{TAB}#{TAB}@context = TonBinding.read_string_to_hash(context_ptr)['result']\n"
Expand Down
3 changes: 1 addition & 2 deletions lib/everscale-client-ruby/Client/Client.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
module TonClient

class Client
include CommonInstanceHelpers

Expand All @@ -8,8 +9,6 @@ class Client

def initialize(context_config: {})
@context_config = context_config
# @request_id = Concurrent::AtomicFixnum.new(1)
# @requests = Concurrent::Hash.new
@request_id = RequestId.new
@requests = Requests.new
@monitor = Monitor.new
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.51"
VERSION = "1.1.53"
end

0 comments on commit 50e7d89

Please sign in to comment.