iost_ruby 0.1.1

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 923fec13eaf7faf94ab68d4250b4c37d7ffb64479e183623f46fe4bfb5d71f32
4
+ data.tar.gz: 9c180d24fa30911a4523554da490328c991f34e459e93e0ee95004578a677a95
5
+ SHA512:
6
+ metadata.gz: 23eff54ce115e334aa169ade40332d4dec9b126c83b0bdc7c05bff57a07f61bc0c5d48246b6723072a3a7cb1308551d76cb5c96e544a4e8bd9c2fe4bcd1dc34f
7
+ data.tar.gz: 596e5e8119af7e760968a6c53055b1bd08caed705f3e84ef48d2a27ab730c2157f46f38f74aa6afbbe71606eedc38fb35bd0ff8110e5db062817081a7e2c7ae1
data/.gitignore ADDED
@@ -0,0 +1,11 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+
10
+ # rspec failure tracking
11
+ .rspec_status
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.travis.yml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ sudo: false
3
+ language: ruby
4
+ cache: bundler
5
+ rvm:
6
+ - 2.6.5
7
+ before_install: gem install bundler -v 2.0.2
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at kosamit@gmail.com. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source "https://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in iost_ruby.gemspec
4
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,81 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ iost_ruby (0.1.0)
5
+ base58 (~> 0.2.3)
6
+ btcruby (~> 1.8)
7
+ digest-sha3
8
+ ecdsa (~> 1.1)
9
+ ed25519 (~> 1.2, >= 1.2.4)
10
+ faraday (~> 0.17)
11
+ faraday_middleware (~> 0.14)
12
+ fast_jsonapi (~> 1.5)
13
+ json (~> 2.3)
14
+ openssl (~> 2.1, >= 2.1.2)
15
+ sha3 (~> 1.0, >= 1.0.1)
16
+ tweetnacl (~> 1.0)
17
+
18
+ GEM
19
+ remote: https://rubygems.org/
20
+ specs:
21
+ activesupport (6.0.2.1)
22
+ concurrent-ruby (~> 1.0, >= 1.0.2)
23
+ i18n (>= 0.7, < 2)
24
+ minitest (~> 5.1)
25
+ tzinfo (~> 1.1)
26
+ zeitwerk (~> 2.2)
27
+ base58 (0.2.3)
28
+ btcruby (1.8)
29
+ ffi (~> 1.9, >= 1.9.3)
30
+ concurrent-ruby (1.1.6)
31
+ diff-lcs (1.3)
32
+ digest-sha3 (1.1.0)
33
+ ecdsa (1.2.0)
34
+ ed25519 (1.2.4)
35
+ faraday (0.17.3)
36
+ multipart-post (>= 1.2, < 3)
37
+ faraday_middleware (0.14.0)
38
+ faraday (>= 0.7.4, < 1.0)
39
+ fast_jsonapi (1.5)
40
+ activesupport (>= 4.2)
41
+ ffi (1.12.2)
42
+ i18n (1.8.2)
43
+ concurrent-ruby (~> 1.0)
44
+ ipaddr (1.2.2)
45
+ json (2.3.0)
46
+ minitest (5.14.0)
47
+ multipart-post (2.1.1)
48
+ openssl (2.1.2)
49
+ ipaddr
50
+ rake (10.5.0)
51
+ rspec (3.9.0)
52
+ rspec-core (~> 3.9.0)
53
+ rspec-expectations (~> 3.9.0)
54
+ rspec-mocks (~> 3.9.0)
55
+ rspec-core (3.9.1)
56
+ rspec-support (~> 3.9.1)
57
+ rspec-expectations (3.9.0)
58
+ diff-lcs (>= 1.2.0, < 2.0)
59
+ rspec-support (~> 3.9.0)
60
+ rspec-mocks (3.9.1)
61
+ diff-lcs (>= 1.2.0, < 2.0)
62
+ rspec-support (~> 3.9.0)
63
+ rspec-support (3.9.2)
64
+ sha3 (1.0.1)
65
+ thread_safe (0.3.6)
66
+ tweetnacl (1.0.0)
67
+ tzinfo (1.2.6)
68
+ thread_safe (~> 0.1)
69
+ zeitwerk (2.2.2)
70
+
71
+ PLATFORMS
72
+ ruby
73
+
74
+ DEPENDENCIES
75
+ bundler (~> 2.0)
76
+ iost_ruby!
77
+ rake (~> 10.0)
78
+ rspec (~> 3.0)
79
+
80
+ BUNDLED WITH
81
+ 2.0.2
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2020 kosamit
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,39 @@
1
+ # IostRuby
2
+ IOST SDK for Ruby.
3
+
4
+ ## Installation
5
+
6
+ Add this line to your application's Gemfile:
7
+
8
+ ```ruby
9
+ gem 'iost_ruby'
10
+ ```
11
+
12
+ And then execute:
13
+
14
+ $ bundle
15
+
16
+ Or install it yourself as:
17
+
18
+ $ gem install iost_ruby
19
+
20
+ ## Usage
21
+
22
+
23
+ ## Development
24
+
25
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
26
+
27
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
28
+
29
+ ## Contributing
30
+
31
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/iost_ruby. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
32
+
33
+ ## License
34
+
35
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
36
+
37
+ ## Code of Conduct
38
+
39
+ Everyone interacting in the IostRuby project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/iost_ruby/blob/master/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "iost_ruby"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
data/iost_ruby.gemspec ADDED
@@ -0,0 +1,35 @@
1
+ lib = File.expand_path("lib", __dir__)
2
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
+ require "iost_ruby/version"
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = "iost_ruby"
7
+ spec.version = IostRuby::VERSION
8
+ spec.authors = ["kosamit"]
9
+ spec.email = ["kosamit@gmail.com"]
10
+
11
+ spec.summary = %q{IOST SDK for Ruby.}
12
+ spec.description = %q{IOST SDK for Ruby. This is development edition.}
13
+ spec.homepage = "https://github.com/kosamit/iost_ruby"
14
+ spec.license = "MIT"
15
+
16
+ spec.metadata["homepage_uri"] = spec.homepage
17
+ spec.metadata["source_code_uri"] = "https://github.com/kosamit/iost_ruby"
18
+
19
+ # Specify which files should be added to the gem when it is released.
20
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
21
+ spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
22
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
23
+ end
24
+ spec.bindir = "exe"
25
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
26
+ spec.require_paths = ["lib"]
27
+
28
+ spec.add_development_dependency "bundler", "~> 2.0"
29
+ spec.add_development_dependency "rake", "~> 10.0"
30
+ spec.add_development_dependency "rspec", "~> 3.0"
31
+
32
+ spec.add_dependency 'faraday', '~> 0.17'
33
+ spec.add_dependency 'faraday_middleware', '~> 0.14'
34
+ spec.add_dependency 'json', '~> 2.3'
35
+ end
@@ -0,0 +1,72 @@
1
+ module IostRuby
2
+ class Api
3
+ def initialize(options = {})
4
+ @client ||= IostRuby::Client.new(options)
5
+ end
6
+
7
+ def node_info
8
+ @client.request :get, 'getNodeInfo'
9
+ end
10
+
11
+ def chain_info
12
+ @client.request :get, 'getChainInfo'
13
+ end
14
+
15
+ def gas_ratio
16
+ @client.request :get, 'getGasRatio'
17
+ end
18
+
19
+ def ram_info
20
+ @client.request :get, 'getRAMInfo'
21
+ end
22
+
23
+ def tx_by_hash(hash)
24
+ @client.request :get, "getTxByHash/#{hash}"
25
+ end
26
+
27
+ def tx_receipt_by_tx_hash(hash)
28
+ @client.request :get, "getTxReceiptByTxHash/#{hash}"
29
+ end
30
+
31
+ # true: ブロック内のトランザクションの詳細情報を表示、false: 表示しない
32
+ def block_by_hash(hash, complete = false)
33
+ @client.request :get, "getBlockByHash/#{hash}/#{complete}"
34
+ end
35
+
36
+ def block_by_number(number, complete = false)
37
+ @client.request :get, "getBlockByNumber/#{number}/#{complete}"
38
+ end
39
+
40
+ # true: 最長のチェーンからデータを取得、false: 不可逆ブロックからデータを取得
41
+ def account(name, by_longest_chain = true)
42
+ @client.request :get, "getAccount/#{name}/#{by_longest_chain}"
43
+ end
44
+
45
+ # true: 最長のチェーンからデータを取得、false: 不可逆ブロックからデータを取得
46
+ def token_balance(account, token, by_longest_chain = true)
47
+ @client.request :get, "getTokenBalance/#{account}/#{token}/#{by_longest_chain}"
48
+ end
49
+
50
+ def producer_vote_info(name, by_longest_chain = true)
51
+ @client.request :get, "GetProducerVoteInfo/#{name}/#{by_longest_chain}"
52
+ end
53
+
54
+ # true - get data from longest chain; false - get data from irreversible blocks
55
+ def contract(id, by_longest_chain = true)
56
+ @client.request :get, "getContract/#{id}/#{by_longest_chain}"
57
+ end
58
+
59
+ # true - get data from the longest chain; false - get data from irreversible blocks
60
+ def contract_storage(id, key, field, by_longest_chain = true)
61
+ @client.request :post, "getContractStorage", "{\"id\":\"#{id}\",\"key\":\"#{key}\",\"field\":\"#{field}\",\"by_longest_chain\":#{by_longest_chain}}"
62
+ end
63
+
64
+ def contract_storage_field(id, key, field, by_longest_chain = true)
65
+ @client.request :post, "getContractStorageFields", "{\"id\":\"#{id}\",\"key\":\"#{key}\",\"field\":\"#{field}\",\"by_longest_chain\":#{by_longest_chain}}"
66
+ end
67
+
68
+ def batch_contract_storage
69
+ @client.request :post, "getBatchContractStorage"
70
+ end
71
+ end
72
+ end
@@ -0,0 +1,102 @@
1
+ require 'faraday'
2
+ require 'faraday_middleware'
3
+ require 'uri'
4
+ require 'json'
5
+ require 'time'
6
+
7
+ module IostRuby
8
+ class Client
9
+ DEFAULTS = {
10
+ url: -> { ENV['IOST_URL'] },
11
+ scheme: 'http',
12
+ host: '127.0.0.1',
13
+ port: 30001,
14
+ timeout: 5
15
+ }.freeze
16
+
17
+ attr_reader :options
18
+
19
+ # @param [hash] options HTTP Client connection information
20
+ # @option options [Symbol] :url URL
21
+ # @option options [Symbol] :scheme default http (http only)
22
+ # @option options [Symbol] :host default 127.0.0.1
23
+ # @option options [Symbol] :port default 30001
24
+ # @option options [Symbol] :timeout default 5
25
+ def initialize(options = {})
26
+ @options = parse_options(options)
27
+ end
28
+
29
+ def request(method, path, params = {})
30
+ if params.is_a?(Hash) && !params.empty?
31
+ params.reject! { |_, value| value.nil? }
32
+ end
33
+
34
+ res = connection.send(method, path, params)
35
+ body = res.body
36
+ hash = parse_body(body) unless body.empty?
37
+ block_given? ? yield(hash) : hash
38
+ end
39
+
40
+ def request!(method, path, params = {})
41
+ hash = request(method, path, params)
42
+ raise error_handling(hash) if hash && hash.key?(:error)
43
+ block_given? ? yield(hash) : hash
44
+ end
45
+
46
+ private
47
+
48
+ def error_handling(hash)
49
+ error_klass = case hash[:error]
50
+ when 'Not Found' then Iost::NotFoundError
51
+ when 'Bad Request' then Iost::BadRequestError
52
+ when 'Internal Server Error' then Iost::InternalServerError
53
+ else Iost::Error
54
+ end
55
+ error_klass.new(hash[:message])
56
+ end
57
+
58
+ def connection
59
+ @connection ||= Faraday.new(url: @options[:url]) do |f|
60
+ f.options[:timeout] = @options[:timeout]
61
+ f.request :json
62
+ f.adapter Faraday.default_adapter
63
+ end
64
+ end
65
+
66
+ def parse_body(body)
67
+ JSON.parse(body, symbolize_names: true)
68
+ end
69
+
70
+ def parse_options(options = {})
71
+ defaults = DEFAULTS.dup
72
+ options = options.dup
73
+
74
+ defaults[:url] = defaults[:url].call if defaults[:url].respond_to?(:call)
75
+
76
+ defaults.keys.each do |key|
77
+ options[key] = options[key.to_s] if options.key?(key.to_s)
78
+ end
79
+
80
+ url = options[:url] || defaults[:url]
81
+
82
+ if url
83
+ uri = URI(url)
84
+ defaults[:scheme] = uri.scheme
85
+ defaults[:host] = uri.host
86
+ defaults[:port] = uri.port
87
+ end
88
+
89
+ defaults.keys.each do |key|
90
+ options[key] = defaults[key] if options[key].nil?
91
+ end
92
+
93
+ options[:url] = URI::Generic.build(
94
+ scheme: options[:scheme],
95
+ host: options[:host],
96
+ port: options[:port]
97
+ ).to_s
98
+
99
+ options
100
+ end
101
+ end
102
+ end
@@ -0,0 +1,3 @@
1
+ module IostRuby
2
+ VERSION = "0.1.1"
3
+ end
data/lib/iost_ruby.rb ADDED
@@ -0,0 +1,7 @@
1
+ require "iost_ruby/version"
2
+ require "iost_ruby/client"
3
+ require "iost_ruby/api"
4
+
5
+ module IostRuby
6
+ end
7
+
metadata ADDED
@@ -0,0 +1,145 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: iost_ruby
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.1
5
+ platform: ruby
6
+ authors:
7
+ - kosamit
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2020-03-01 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '2.0'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '2.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '3.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '3.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: faraday
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '0.17'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '0.17'
69
+ - !ruby/object:Gem::Dependency
70
+ name: faraday_middleware
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '0.14'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '0.14'
83
+ - !ruby/object:Gem::Dependency
84
+ name: json
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '2.3'
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '2.3'
97
+ description: IOST SDK for Ruby. This is development edition.
98
+ email:
99
+ - kosamit@gmail.com
100
+ executables: []
101
+ extensions: []
102
+ extra_rdoc_files: []
103
+ files:
104
+ - ".gitignore"
105
+ - ".rspec"
106
+ - ".travis.yml"
107
+ - CODE_OF_CONDUCT.md
108
+ - Gemfile
109
+ - Gemfile.lock
110
+ - LICENSE.txt
111
+ - README.md
112
+ - Rakefile
113
+ - bin/console
114
+ - bin/setup
115
+ - iost_ruby.gemspec
116
+ - lib/iost_ruby.rb
117
+ - lib/iost_ruby/api.rb
118
+ - lib/iost_ruby/client.rb
119
+ - lib/iost_ruby/version.rb
120
+ homepage: https://github.com/kosamit/iost_ruby
121
+ licenses:
122
+ - MIT
123
+ metadata:
124
+ homepage_uri: https://github.com/kosamit/iost_ruby
125
+ source_code_uri: https://github.com/kosamit/iost_ruby
126
+ post_install_message:
127
+ rdoc_options: []
128
+ require_paths:
129
+ - lib
130
+ required_ruby_version: !ruby/object:Gem::Requirement
131
+ requirements:
132
+ - - ">="
133
+ - !ruby/object:Gem::Version
134
+ version: '0'
135
+ required_rubygems_version: !ruby/object:Gem::Requirement
136
+ requirements:
137
+ - - ">="
138
+ - !ruby/object:Gem::Version
139
+ version: '0'
140
+ requirements: []
141
+ rubygems_version: 3.0.3
142
+ signing_key:
143
+ specification_version: 4
144
+ summary: IOST SDK for Ruby.
145
+ test_files: []