exmo_api 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 03d087b99e91c18cf049f4d8542cf5df9c6f5ac188e709436f805aac51587aed
4
+ data.tar.gz: 3c9745dcb0fc537d38984d5f9bfe51cbb4eb7aa8fb1f0e4851e4fd6f073d5f2b
5
+ SHA512:
6
+ metadata.gz: 8844c73b7d15533658d99e2d867580ed7cba22d557179e6452c6f667425d879bfa70328662aace6e13a901ccb4f118d30431e9d8d908c6be78448df4991076a7
7
+ data.tar.gz: '068b36ce20b1fafedd03e72d3c7e2df36a2245366b768d06d829045824b912cb9b4340a417c4f11bbeb124f7465c5a056e6a216a3a3d4e8cb298de0c23a237ae'
data/.gitignore ADDED
@@ -0,0 +1,9 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+ .rspec_status
data/.rspec ADDED
@@ -0,0 +1 @@
1
+ --require spec_helper
data/.rubocop.yml ADDED
@@ -0,0 +1,38 @@
1
+ AllCops:
2
+ TargetRubyVersion: 2.5.1
3
+
4
+ Exclude:
5
+ - "Guardfile"
6
+ - "Rakefile"
7
+ - "bin/**/*"
8
+
9
+ ##################### Styles ##################################
10
+
11
+ Style/Documentation:
12
+ Enabled: false
13
+
14
+ Style/SymbolArray:
15
+ Enabled: false
16
+
17
+ #################### Lint ##################################
18
+
19
+ Lint/AmbiguousBlockAssociation:
20
+ Enabled: false
21
+
22
+ ##################### Metrics ##################################
23
+
24
+ Metrics/LineLength:
25
+ Max: 110
26
+
27
+ Metrics/ClassLength:
28
+ Max: 200
29
+
30
+ Metrics/ModuleLength:
31
+ Max: 200
32
+ Exclude:
33
+ - "**/*_spec.rb"
34
+
35
+ Metrics/BlockLength:
36
+ Max: 50
37
+ Exclude:
38
+ - "**/*_spec.rb"
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ source "https://rubygems.org"
2
+
3
+ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
+
5
+ # Specify your gem's dependencies in exmo_api.gemspec
6
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,138 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ exmo_api (0.1.0)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+ addressable (2.5.2)
10
+ public_suffix (>= 2.0.2, < 4.0)
11
+ ast (2.4.0)
12
+ axiom-types (0.1.1)
13
+ descendants_tracker (~> 0.0.4)
14
+ ice_nine (~> 0.11.0)
15
+ thread_safe (~> 0.3, >= 0.3.1)
16
+ bundler-audit (0.6.0)
17
+ bundler (~> 1.2)
18
+ thor (~> 0.18)
19
+ childprocess (0.9.0)
20
+ ffi (~> 1.0, >= 1.0.11)
21
+ codeclimate-engine-rb (0.4.1)
22
+ virtus (~> 1.0)
23
+ coderay (1.1.2)
24
+ coercible (1.0.0)
25
+ descendants_tracker (~> 0.0.1)
26
+ crack (0.4.3)
27
+ safe_yaml (~> 1.0.0)
28
+ descendants_tracker (0.0.4)
29
+ thread_safe (~> 0.3, >= 0.3.1)
30
+ diff-lcs (1.3)
31
+ equalizer (0.0.11)
32
+ ffi (1.9.25)
33
+ formatador (0.2.5)
34
+ guard (2.14.2)
35
+ formatador (>= 0.2.4)
36
+ listen (>= 2.7, < 4.0)
37
+ lumberjack (>= 1.0.12, < 2.0)
38
+ nenv (~> 0.1)
39
+ notiffany (~> 0.0)
40
+ pry (>= 0.9.12)
41
+ shellany (~> 0.0)
42
+ thor (>= 0.18.1)
43
+ guard-compat (1.2.1)
44
+ guard-rspec (4.7.3)
45
+ guard (~> 2.1)
46
+ guard-compat (~> 1.1)
47
+ rspec (>= 2.99.0, < 4.0)
48
+ hashdiff (0.3.7)
49
+ ice_nine (0.11.2)
50
+ iniparse (1.4.4)
51
+ jaro_winkler (1.5.1)
52
+ kwalify (0.7.2)
53
+ listen (3.1.5)
54
+ rb-fsevent (~> 0.9, >= 0.9.4)
55
+ rb-inotify (~> 0.9, >= 0.9.7)
56
+ ruby_dep (~> 1.2)
57
+ lumberjack (1.0.13)
58
+ method_source (0.9.0)
59
+ nenv (0.3.0)
60
+ notiffany (0.1.1)
61
+ nenv (~> 0.1)
62
+ shellany (~> 0.0)
63
+ overcommit (0.45.0)
64
+ childprocess (~> 0.6, >= 0.6.3)
65
+ iniparse (~> 1.4)
66
+ parallel (1.12.1)
67
+ parser (2.5.1.2)
68
+ ast (~> 2.4.0)
69
+ powerpack (0.1.2)
70
+ pry (0.11.3)
71
+ coderay (~> 1.1.0)
72
+ method_source (~> 0.9.0)
73
+ public_suffix (3.0.3)
74
+ rainbow (3.0.0)
75
+ rake (10.5.0)
76
+ rb-fsevent (0.10.3)
77
+ rb-inotify (0.9.10)
78
+ ffi (>= 0.5.0, < 2)
79
+ reek (5.0.2)
80
+ codeclimate-engine-rb (~> 0.4.0)
81
+ kwalify (~> 0.7.0)
82
+ parser (>= 2.5.0.0, < 2.6, != 2.5.1.1)
83
+ rainbow (>= 2.0, < 4.0)
84
+ rspec (3.8.0)
85
+ rspec-core (~> 3.8.0)
86
+ rspec-expectations (~> 3.8.0)
87
+ rspec-mocks (~> 3.8.0)
88
+ rspec-core (3.8.0)
89
+ rspec-support (~> 3.8.0)
90
+ rspec-expectations (3.8.1)
91
+ diff-lcs (>= 1.2.0, < 2.0)
92
+ rspec-support (~> 3.8.0)
93
+ rspec-mocks (3.8.0)
94
+ diff-lcs (>= 1.2.0, < 2.0)
95
+ rspec-support (~> 3.8.0)
96
+ rspec-support (3.8.0)
97
+ rubocop (0.58.2)
98
+ jaro_winkler (~> 1.5.1)
99
+ parallel (~> 1.10)
100
+ parser (>= 2.5, != 2.5.1.1)
101
+ powerpack (~> 0.1)
102
+ rainbow (>= 2.2.2, < 4.0)
103
+ ruby-progressbar (~> 1.7)
104
+ unicode-display_width (~> 1.0, >= 1.0.1)
105
+ ruby-progressbar (1.10.0)
106
+ ruby_dep (1.5.0)
107
+ safe_yaml (1.0.4)
108
+ shellany (0.0.1)
109
+ thor (0.20.0)
110
+ thread_safe (0.3.6)
111
+ unicode-display_width (1.4.0)
112
+ virtus (1.0.5)
113
+ axiom-types (~> 0.1)
114
+ coercible (~> 1.0)
115
+ descendants_tracker (~> 0.0, >= 0.0.3)
116
+ equalizer (~> 0.0, >= 0.0.9)
117
+ webmock (3.4.2)
118
+ addressable (>= 2.3.6)
119
+ crack (>= 0.3.2)
120
+ hashdiff
121
+
122
+ PLATFORMS
123
+ ruby
124
+
125
+ DEPENDENCIES
126
+ bundler (~> 1.16)
127
+ bundler-audit (~> 0.6.0)
128
+ exmo_api!
129
+ guard-rspec (~> 4.7, >= 4.7.3)
130
+ overcommit
131
+ rake (~> 10.0)
132
+ reek
133
+ rspec (~> 3.0)
134
+ rubocop
135
+ webmock (~> 3.4, >= 3.4.2)
136
+
137
+ BUNDLED WITH
138
+ 1.16.4
data/Guardfile ADDED
@@ -0,0 +1,70 @@
1
+ # A sample Guardfile
2
+ # More info at https://github.com/guard/guard#readme
3
+
4
+ ## Uncomment and set this to only include directories you want to watch
5
+ # directories %w(app lib config test spec features) \
6
+ # .select{|d| Dir.exists?(d) ? d : UI.warning("Directory #{d} does not exist")}
7
+
8
+ ## Note: if you are using the `directories` clause above and you are not
9
+ ## watching the project directory ('.'), then you will want to move
10
+ ## the Guardfile to a watched dir and symlink it back, e.g.
11
+ #
12
+ # $ mkdir config
13
+ # $ mv Guardfile config/
14
+ # $ ln -s config/Guardfile .
15
+ #
16
+ # and, you'll have to watch "config/Guardfile" instead of "Guardfile"
17
+
18
+ # Note: The cmd option is now required due to the increasing number of ways
19
+ # rspec may be run, below are examples of the most common uses.
20
+ # * bundler: 'bundle exec rspec'
21
+ # * bundler binstubs: 'bin/rspec'
22
+ # * spring: 'bin/rspec' (This will use spring if running and you have
23
+ # installed the spring binstubs per the docs)
24
+ # * zeus: 'zeus rspec' (requires the server to be started separately)
25
+ # * 'just' rspec: 'rspec'
26
+
27
+ guard :rspec, cmd: "bundle exec rspec" do
28
+ require "guard/rspec/dsl"
29
+ dsl = Guard::RSpec::Dsl.new(self)
30
+
31
+ # Feel free to open issues for suggestions and improvements
32
+
33
+ # RSpec files
34
+ rspec = dsl.rspec
35
+ watch(rspec.spec_helper) { rspec.spec_dir }
36
+ watch(rspec.spec_support) { rspec.spec_dir }
37
+ watch(rspec.spec_files)
38
+
39
+ # Ruby files
40
+ ruby = dsl.ruby
41
+ dsl.watch_spec_files_for(ruby.lib_files)
42
+
43
+ # Rails files
44
+ rails = dsl.rails(view_extensions: %w(erb haml slim))
45
+ dsl.watch_spec_files_for(rails.app_files)
46
+ dsl.watch_spec_files_for(rails.views)
47
+
48
+ watch(rails.controllers) do |m|
49
+ [
50
+ rspec.spec.call("routing/#{m[1]}_routing"),
51
+ rspec.spec.call("controllers/#{m[1]}_controller"),
52
+ rspec.spec.call("acceptance/#{m[1]}")
53
+ ]
54
+ end
55
+
56
+ # Rails config changes
57
+ watch(rails.spec_helper) { rspec.spec_dir }
58
+ watch(rails.routes) { "#{rspec.spec_dir}/routing" }
59
+ watch(rails.app_controller) { "#{rspec.spec_dir}/controllers" }
60
+
61
+ # Capybara features specs
62
+ watch(rails.view_dirs) { |m| rspec.spec.call("features/#{m[1]}") }
63
+ watch(rails.layouts) { |m| rspec.spec.call("features/#{m[1]}") }
64
+
65
+ # Turnip features and steps
66
+ watch(%r{^spec/acceptance/(.+)\.feature$})
67
+ watch(%r{^spec/acceptance/steps/(.+)_steps\.rb$}) do |m|
68
+ Dir[File.join("**/#{m[1]}.feature")][0] || "spec/acceptance"
69
+ end
70
+ end
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2018 Igor Malinovskiy
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
+ # ExmoApi
2
+
3
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/exmo_api`. To experiment with that code, run `bin/console` for an interactive prompt.
4
+
5
+ TODO: Delete this and the text above, and describe your gem
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'exmo_api'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install exmo_api
22
+
23
+ ## Usage
24
+
25
+ TODO: Write usage instructions here
26
+
27
+ ## Development
28
+
29
+ After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
+
31
+ 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).
32
+
33
+ ## Contributing
34
+
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/exmo_api.
36
+
37
+ ## License
38
+
39
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
data/Rakefile ADDED
@@ -0,0 +1,2 @@
1
+ require "bundler/gem_tasks"
2
+ task :default => :spec
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "exmo_api"
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 sh
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/exmo_api.gemspec ADDED
@@ -0,0 +1,35 @@
1
+ # frozen_string_literal: true
2
+
3
+ lib = File.expand_path('lib', __dir__)
4
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
+ require 'exmo_api/version'
6
+
7
+ Gem::Specification.new do |spec|
8
+ spec.name = 'exmo_api'
9
+ spec.version = ExmoApi::VERSION
10
+ spec.authors = ['Igor Malinovskiy']
11
+ spec.email = ['igor.malinovskiy@netfixllc.org']
12
+
13
+ spec.summary = 'Ruby wrapper for Exmo.com API'
14
+ spec.description = 'This gem provides access to public and trade API of Exmo.com exchange'
15
+ spec.homepage = 'https://github.com/psyipm/exmo_api'
16
+ spec.license = 'MIT'
17
+
18
+ # Specify which files should be added to the gem when it is released.
19
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
20
+ spec.files = Dir.chdir(File.expand_path(__dir__)) do
21
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
22
+ end
23
+ spec.bindir = 'bin'
24
+ spec.require_paths = ['lib']
25
+
26
+ spec.add_development_dependency 'bundler', '~> 1.16'
27
+ spec.add_development_dependency 'bundler-audit', '~> 0.6.0'
28
+ spec.add_development_dependency 'guard-rspec', '~> 4.7', '>= 4.7.3'
29
+ spec.add_development_dependency 'overcommit'
30
+ spec.add_development_dependency 'rake', '~> 10.0'
31
+ spec.add_development_dependency 'reek'
32
+ spec.add_development_dependency 'rspec', '~> 3.0'
33
+ spec.add_development_dependency 'rubocop'
34
+ spec.add_development_dependency 'webmock', '~> 3.4', '>= 3.4.2'
35
+ end
@@ -0,0 +1,31 @@
1
+ # frozen_string_literal: true
2
+
3
+ module ExmoApi
4
+ class Config
5
+ def initialize
6
+ load_defaults
7
+ end
8
+
9
+ attr_accessor :api_key,
10
+ :api_secret,
11
+ :api_endpoint,
12
+ :public_api_methods
13
+
14
+ private
15
+
16
+ def load_defaults
17
+ @api_endpoint = 'https://api.exmo.com/v1'
18
+
19
+ @api_key = 'test_api_key'
20
+ @api_secret = 'test_api_secret'
21
+
22
+ @public_api_methods = [
23
+ :trades,
24
+ :order_book,
25
+ :ticker,
26
+ :pair_settings,
27
+ :currency
28
+ ]
29
+ end
30
+ end
31
+ end
@@ -0,0 +1,71 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'net/http'
4
+ require 'json'
5
+ require 'openssl'
6
+
7
+ module ExmoApi
8
+ class Request
9
+ attr_reader :api_method
10
+
11
+ def initialize(api_method, params = {})
12
+ @api_method = api_method
13
+ @params = params
14
+ end
15
+
16
+ def perform
17
+ JSON.parse response.body.to_s
18
+ end
19
+
20
+ def response
21
+ @response ||= http.request(build_request)
22
+ end
23
+
24
+ private
25
+
26
+ def http
27
+ @http ||= Net::HTTP.new(uri.host, uri.port)
28
+ @http.use_ssl = true if uri.scheme == 'https'
29
+ @http
30
+ end
31
+
32
+ def build_request
33
+ request.body = post_data
34
+
35
+ request
36
+ end
37
+
38
+ def post_data
39
+ @post_data ||= URI.encode_www_form(params)
40
+ end
41
+
42
+ def params
43
+ @params.merge(nonce: Time.now.strftime('%s%6N'))
44
+ end
45
+
46
+ def request
47
+ @request ||= Net::HTTP::Post.new(uri.path, headers)
48
+ end
49
+
50
+ def headers
51
+ return {} if public_method?
52
+
53
+ digest = OpenSSL::Digest.new('sha512')
54
+ signature = OpenSSL::HMAC.hexdigest(digest, config.api_secret, post_data)
55
+
56
+ { 'Sign' => signature, 'Key' => config.api_key }
57
+ end
58
+
59
+ def public_method?
60
+ config.public_api_methods.include?(api_method.to_sym)
61
+ end
62
+
63
+ def uri
64
+ URI.parse([config.api_endpoint, api_method].join('/'))
65
+ end
66
+
67
+ def config
68
+ ExmoApi.configuration
69
+ end
70
+ end
71
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module ExmoApi
4
+ VERSION = '0.1.0'
5
+ end
data/lib/exmo_api.rb ADDED
@@ -0,0 +1,21 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'exmo_api/version'
4
+
5
+ module ExmoApi
6
+ autoload :Config, 'exmo_api/config'
7
+ autoload :Request, 'exmo_api/request'
8
+
9
+ def self.configuration
10
+ @configuration ||= Config.new
11
+ end
12
+
13
+ # @example
14
+ # ExmoApi.setup do |config|
15
+ # config.api_endpoint = 'https://api.exmo.com/v1'
16
+ # end
17
+ #
18
+ def self.setup
19
+ yield configuration
20
+ end
21
+ end
metadata ADDED
@@ -0,0 +1,198 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: exmo_api
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Igor Malinovskiy
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2018-08-23 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: '1.16'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.16'
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler-audit
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: 0.6.0
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 0.6.0
41
+ - !ruby/object:Gem::Dependency
42
+ name: guard-rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '4.7'
48
+ - - ">="
49
+ - !ruby/object:Gem::Version
50
+ version: 4.7.3
51
+ type: :development
52
+ prerelease: false
53
+ version_requirements: !ruby/object:Gem::Requirement
54
+ requirements:
55
+ - - "~>"
56
+ - !ruby/object:Gem::Version
57
+ version: '4.7'
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ version: 4.7.3
61
+ - !ruby/object:Gem::Dependency
62
+ name: overcommit
63
+ requirement: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - ">="
66
+ - !ruby/object:Gem::Version
67
+ version: '0'
68
+ type: :development
69
+ prerelease: false
70
+ version_requirements: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - ">="
73
+ - !ruby/object:Gem::Version
74
+ version: '0'
75
+ - !ruby/object:Gem::Dependency
76
+ name: rake
77
+ requirement: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - "~>"
80
+ - !ruby/object:Gem::Version
81
+ version: '10.0'
82
+ type: :development
83
+ prerelease: false
84
+ version_requirements: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - "~>"
87
+ - !ruby/object:Gem::Version
88
+ version: '10.0'
89
+ - !ruby/object:Gem::Dependency
90
+ name: reek
91
+ requirement: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - ">="
94
+ - !ruby/object:Gem::Version
95
+ version: '0'
96
+ type: :development
97
+ prerelease: false
98
+ version_requirements: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - ">="
101
+ - !ruby/object:Gem::Version
102
+ version: '0'
103
+ - !ruby/object:Gem::Dependency
104
+ name: rspec
105
+ requirement: !ruby/object:Gem::Requirement
106
+ requirements:
107
+ - - "~>"
108
+ - !ruby/object:Gem::Version
109
+ version: '3.0'
110
+ type: :development
111
+ prerelease: false
112
+ version_requirements: !ruby/object:Gem::Requirement
113
+ requirements:
114
+ - - "~>"
115
+ - !ruby/object:Gem::Version
116
+ version: '3.0'
117
+ - !ruby/object:Gem::Dependency
118
+ name: rubocop
119
+ requirement: !ruby/object:Gem::Requirement
120
+ requirements:
121
+ - - ">="
122
+ - !ruby/object:Gem::Version
123
+ version: '0'
124
+ type: :development
125
+ prerelease: false
126
+ version_requirements: !ruby/object:Gem::Requirement
127
+ requirements:
128
+ - - ">="
129
+ - !ruby/object:Gem::Version
130
+ version: '0'
131
+ - !ruby/object:Gem::Dependency
132
+ name: webmock
133
+ requirement: !ruby/object:Gem::Requirement
134
+ requirements:
135
+ - - "~>"
136
+ - !ruby/object:Gem::Version
137
+ version: '3.4'
138
+ - - ">="
139
+ - !ruby/object:Gem::Version
140
+ version: 3.4.2
141
+ type: :development
142
+ prerelease: false
143
+ version_requirements: !ruby/object:Gem::Requirement
144
+ requirements:
145
+ - - "~>"
146
+ - !ruby/object:Gem::Version
147
+ version: '3.4'
148
+ - - ">="
149
+ - !ruby/object:Gem::Version
150
+ version: 3.4.2
151
+ description: This gem provides access to public and trade API of Exmo.com exchange
152
+ email:
153
+ - igor.malinovskiy@netfixllc.org
154
+ executables: []
155
+ extensions: []
156
+ extra_rdoc_files: []
157
+ files:
158
+ - ".gitignore"
159
+ - ".rspec"
160
+ - ".rubocop.yml"
161
+ - Gemfile
162
+ - Gemfile.lock
163
+ - Guardfile
164
+ - LICENSE.txt
165
+ - README.md
166
+ - Rakefile
167
+ - bin/console
168
+ - bin/setup
169
+ - exmo_api.gemspec
170
+ - lib/exmo_api.rb
171
+ - lib/exmo_api/config.rb
172
+ - lib/exmo_api/request.rb
173
+ - lib/exmo_api/version.rb
174
+ homepage: https://github.com/psyipm/exmo_api
175
+ licenses:
176
+ - MIT
177
+ metadata: {}
178
+ post_install_message:
179
+ rdoc_options: []
180
+ require_paths:
181
+ - lib
182
+ required_ruby_version: !ruby/object:Gem::Requirement
183
+ requirements:
184
+ - - ">="
185
+ - !ruby/object:Gem::Version
186
+ version: '0'
187
+ required_rubygems_version: !ruby/object:Gem::Requirement
188
+ requirements:
189
+ - - ">="
190
+ - !ruby/object:Gem::Version
191
+ version: '0'
192
+ requirements: []
193
+ rubyforge_project:
194
+ rubygems_version: 2.7.7
195
+ signing_key:
196
+ specification_version: 4
197
+ summary: Ruby wrapper for Exmo.com API
198
+ test_files: []