abucoins 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 5bda70bb92bfa389dcb68429e67609df8bff434f
4
+ data.tar.gz: f88f6f126689cbfe0449ea9a7a2dd3bf4261bc54
5
+ SHA512:
6
+ metadata.gz: da459f046137b2dc5fdd01f13bf2f64ca94037a355bad957d0b08e83aed04a451674fddb8ce7874e2a7db06031ab8274029a3831d8a47d9dad66d700eca593bd
7
+ data.tar.gz: 2aa4a9ac8c81e05cfcec3700d81b6d6c46d935d3ba9a57b2eef59c264c314af99be4caf034783225c0637a14b03670ecb4134502d314f1ddd7dd193914c01155
@@ -0,0 +1,44 @@
1
+ # Parts of this file were adapted from
2
+ # GitHub’s collection of .gitignore file templates
3
+ # which are Copyright (c) 2016 GitHub, Inc.
4
+ # and released under the MIT License.
5
+ # For more details, visit the project page:
6
+ # https://github.com/github/gitignore
7
+
8
+ *.gem
9
+ *.rbc
10
+ /.config
11
+ /coverage/
12
+ /InstalledFiles
13
+ /pkg/
14
+ /spec/reports/
15
+ /spec/examples.txt
16
+ /test/tmp/
17
+ /test/version_tmp/
18
+ /tmp/
19
+
20
+ ## Specific to RubyMotion:
21
+ .dat*
22
+ .repl_history
23
+ build/
24
+
25
+ ## Documentation cache and generated files:
26
+ /.yardoc/
27
+ /_yardoc/
28
+ /doc/
29
+ /rdoc/
30
+
31
+ ## Environment normalization:
32
+ /.bundle/
33
+ /vendor/bundle
34
+ /lib/bundler/man/
35
+
36
+ # for a library or gem, you might want to ignore these files since the code is
37
+ # intended to run in multiple environments; otherwise, check them in:
38
+ Gemfile.lock
39
+ .ruby-version
40
+ .ruby-gemset
41
+
42
+ # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
43
+ .rvmrc
44
+ .byebug_history
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format documentation
2
+ --color
@@ -0,0 +1,9 @@
1
+ AllCops:
2
+ Include:
3
+ - Gemfile
4
+ - Guardfile
5
+ - Rakefile
6
+
7
+ Style/RegexpLiteral:
8
+ Exclude:
9
+ - Guardfile
@@ -0,0 +1,7 @@
1
+ ---
2
+ language: ruby
3
+ sudo: required
4
+ dist: trusty
5
+ cache: bundler
6
+ rvm:
7
+ - 2
@@ -0,0 +1,6 @@
1
+ --markup=markdown
2
+ lib/**/*.rb
3
+ -
4
+ README.md
5
+ CHANGELOG.md
6
+ LICENSE.txt
@@ -0,0 +1,10 @@
1
+ # Change Log
2
+
3
+ All notable changes to this project will be documented in this file.
4
+ This project adheres to [Semantic Versioning](http://semver.org/).
5
+ This change log follows the conventions of
6
+ [keep a CHANGELOG](http://keepachangelog.com/).
7
+
8
+ ## [Unreleased]
9
+
10
+ [Unreleased]: https://github.com/heelhook/abucoins/compare/v0.0.1...HEAD
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in abucoins.gemspec.
4
+ gemspec
@@ -0,0 +1,23 @@
1
+ scope groups: [:doc, :lint, :unit]
2
+
3
+ group :doc do
4
+ guard :yard do
5
+ watch(%r{^lib/(.+)\.rb$})
6
+ end
7
+ end
8
+
9
+ group :lint do
10
+ guard :rubocop do
11
+ watch(%r{.+\.rb$})
12
+ watch(%r{(?:.+/)?\.rubocop\.yml$}) { |m| File.dirname(m[0]) }
13
+ end
14
+ end
15
+
16
+ group :unit do
17
+ guard :rspec, cmd: 'bundle exec rspec --color --format Fuubar' do
18
+ watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
19
+ watch(%r{^lib/abucoins/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
20
+ watch(%r{^spec/.+_spec\.rb$})
21
+ watch('spec/spec_helper.rb') { 'spec' }
22
+ end
23
+ end
@@ -0,0 +1,20 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2018 Pablo Fernandez
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
6
+ this software and associated documentation files (the "Software"), to deal in
7
+ the Software without restriction, including without limitation the rights to
8
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9
+ the Software, and to permit persons to whom the Software is furnished to do so,
10
+ subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ 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, FITNESS
17
+ FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18
+ COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,164 @@
1
+ # abucoins
2
+
3
+ [![Gem](https://img.shields.io/gem/v/abucoins.svg)](https://rubygems.org/gems/abucoins)
4
+ [![GitHub license](https://img.shields.io/github/license/heelhook/abucoins.svg)](./LICENSE.txt)
5
+ [![Gemnasium](https://img.shields.io/gemnasium/heelhook/abucoins.svg)](https://gemnasium.com/heelhook/abucoins)
6
+ [![Travis](https://img.shields.io/travis/heelhook/abucoins.svg)](https://travis-ci.org/heelhook/abucoins)
7
+ [![Codecov](https://img.shields.io/codecov/c/github/heelhook/abucoins.svg)](https://codecov.io/github/heelhook/abucoins)
8
+ [![Code Climate](https://img.shields.io/codeclimate/github/heelhook/abucoins.svg)](https://codeclimate.com/github/heelhook/abucoins)
9
+
10
+ > Built from [makenew/ruby-gem](https://github.com/makenew/ruby-gem).n
11
+ ## Description
12
+
13
+
14
+ ## Installation
15
+
16
+ Add this line to your application's [Gemfile][Bundler]
17
+
18
+ ```ruby
19
+ gem 'abucoins'
20
+ ```
21
+
22
+ and update your bundle with
23
+
24
+ ```
25
+ $ bundle
26
+ ```
27
+
28
+ Or install it yourself with
29
+
30
+ ```
31
+ $ gem install abucoins
32
+ ```
33
+
34
+ [Bundler]: http://bundler.io/
35
+
36
+ ## Usage
37
+
38
+ ```
39
+ client = Abucoins::API.new(passphrase: ..., key: ..., secret: ...)
40
+ ```
41
+
42
+ ### Fetching accounts
43
+
44
+ ```
45
+ client.accounts
46
+ ```
47
+
48
+ ### Listing orders
49
+
50
+ ```
51
+ client.orders
52
+ ```
53
+
54
+ ### Order detils
55
+
56
+ ```
57
+ client.order(id)
58
+ ```
59
+
60
+ ### Placing an order
61
+
62
+ ```
63
+ client.create_order(
64
+ side: :buy,
65
+ size: 1.0,
66
+ price: 10000,
67
+ product_id: 'BTCEUR',
68
+ type: 'limit',
69
+ )
70
+ ```
71
+
72
+ ### Cancel an order
73
+
74
+ ```
75
+ client.cancel_order(id)
76
+ ```
77
+
78
+ ## Documentation
79
+
80
+ - [YARD documentation][RubyDoc] is hosted by RubyDoc.info.
81
+ - [Interactive documentation][Omniref] is hosted by Omniref.
82
+
83
+ [RubyDoc]: http://www.rubydoc.info/gems/abucoins
84
+ [Omniref]: https://www.omniref.com/ruby/gems/abucoins
85
+
86
+ ## Development and Testing
87
+
88
+ ### Source Code
89
+
90
+ The [abucoins source] is hosted on GitHub.
91
+ Clone the project with
92
+
93
+ ```
94
+ $ git clone https://github.com/heelhook/abucoins.git
95
+ ```
96
+
97
+ [abucoins source]: https://github.com/heelhook/abucoins
98
+
99
+ ### Requirements
100
+
101
+ You will need [Ruby] with [Bundler].
102
+
103
+ Install the development dependencies with
104
+
105
+ ```
106
+ $ bundle
107
+ ```
108
+
109
+ [Bundler]: http://bundler.io/
110
+ [Ruby]: https://www.ruby-lang.org/
111
+
112
+ ### Rake
113
+
114
+ Run `$ rake -T` to see all Rake tasks.
115
+
116
+ ```
117
+ rake build # Build abucoins-2.0.1.gem into the pkg directory
118
+ rake bump:current[tag] # Show current gem version
119
+ rake bump:major[tag] # Bump major part of gem version
120
+ rake bump:minor[tag] # Bump minor part of gem version
121
+ rake bump:patch[tag] # Bump patch part of gem version
122
+ rake bump:pre[tag] # Bump pre part of gem version
123
+ rake bump:set # Sets the version number using the VERSION environment variable
124
+ rake clean # Remove any temporary products
125
+ rake clobber # Remove any generated files
126
+ rake install # Build and install abucoins-2.0.1.gem into system gems
127
+ rake install:local # Build and install abucoins-2.0.1.gem into system gems without network access
128
+ rake release[remote] # Create tag v2.0.1 and build and push abucoins-2.0.1.gem to Rubygems
129
+ rake rubocop # Run RuboCop
130
+ rake rubocop:auto_correct # Auto-correct RuboCop offenses
131
+ rake spec # Run RSpec code examples
132
+ rake test # Run test suite
133
+ rake yard # Generate YARD Documentation
134
+ ```
135
+
136
+ ### Guard
137
+
138
+ Guard tasks have been separated into the following groups:
139
+ `doc`, `lint`, and `unit`.
140
+ By default, `$ guard` will generate documentation, lint, and run unit tests.
141
+
142
+ ## Contributing
143
+
144
+ Please submit and comment on bug reports and feature requests.
145
+
146
+ To submit a patch:
147
+
148
+ 1. Fork it (https://github.com/heelhook/abucoins/fork).
149
+ 2. Create your feature branch (`git checkout -b my-new-feature`).
150
+ 3. Make changes. Write and run tests.
151
+ 4. Commit your changes (`git commit -am 'Add some feature'`).
152
+ 5. Push to the branch (`git push origin my-new-feature`).
153
+ 6. Create a new Pull Request.
154
+
155
+ ## License
156
+
157
+ This Ruby gem is licensed under the MIT license.
158
+
159
+ ## Warranty
160
+
161
+ This software is provided "as is" and without any express or
162
+ implied warranties, including, without limitation, the implied
163
+ warranties of merchantibility and fitness for a particular
164
+ purpose.
@@ -0,0 +1,18 @@
1
+ require 'bump/tasks'
2
+ require 'bundler/gem_tasks'
3
+ require 'rspec/core/rake_task'
4
+ require 'rubocop/rake_task'
5
+ require 'yard'
6
+
7
+ task default: [:test, :yard]
8
+
9
+ desc 'Run test suite'
10
+ task test: [:rubocop, :spec]
11
+
12
+ RSpec::Core::RakeTask.new
13
+
14
+ RuboCop::RakeTask.new do |t|
15
+ t.formatters = ['progress']
16
+ end
17
+
18
+ YARD::Rake::YardocTask.new
@@ -0,0 +1,44 @@
1
+ lib = File.expand_path(File.join('..', 'lib'), __FILE__)
2
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
+ require 'abucoins/version'
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = 'abucoins'
7
+ spec.version = Abucoins::VERSION
8
+ spec.authors = ['Pablo Fernandez']
9
+ spec.email = ['pfer@me.com']
10
+ spec.description = ''
11
+ spec.summary = ''
12
+ spec.homepage = 'https://github.com/heelhook/abucoins'
13
+ spec.license = 'MIT'
14
+
15
+ spec.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
16
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
17
+ spec.test_files = spec.files.grep(%r{^(features|spec|test)/})
18
+ spec.require_paths = ['lib']
19
+
20
+ spec.required_ruby_version = '>= 2.0.1'
21
+
22
+ spec.add_development_dependency 'bundler', '~> 1.6'
23
+ spec.add_development_dependency 'rake', '~> 11.2'
24
+ spec.add_development_dependency 'bump', '~> 0.5'
25
+
26
+ spec.add_development_dependency 'guard', '~> 2.11'
27
+ spec.add_development_dependency 'guard-yard', '~> 2.1'
28
+ spec.add_development_dependency 'guard-rubocop', '~> 1.2'
29
+ spec.add_development_dependency 'guard-rspec', '~> 4.5'
30
+
31
+ spec.add_development_dependency 'rubocop', '~> 0.52.1'
32
+ spec.add_development_dependency 'rspec', '~> 3.1'
33
+ spec.add_development_dependency 'simplecov', '~> 0.9'
34
+ spec.add_development_dependency 'codecov', '~> 0.1'
35
+ spec.add_development_dependency 'fuubar', '~> 2.0'
36
+
37
+ spec.add_development_dependency 'yard', '~> 0.9.5'
38
+ spec.add_development_dependency 'redcarpet', '~> 3.2'
39
+ spec.add_development_dependency 'github-markup', '~> 1.3'
40
+
41
+ spec.add_development_dependency 'byebug', '~> 9.1'
42
+
43
+ spec.add_dependency 'rest-client', '~> 2'
44
+ end
@@ -0,0 +1 @@
1
+ inherit_from: ../.rubocop.yml
@@ -0,0 +1,2 @@
1
+ require 'abucoins/version'
2
+ require 'abucoins/abucoins'
@@ -0,0 +1,108 @@
1
+ require 'rest-client'
2
+ require 'json'
3
+ require 'base64'
4
+
5
+ module Abucoins
6
+ class API
7
+ attr_reader :passphrase,
8
+ :key,
9
+ :secret,
10
+ :url
11
+
12
+ def initialize(passphrase:, key:, secret:, url: 'https://api.abucoins.com')
13
+ @passphrase = passphrase
14
+ @key = key
15
+ @secret = secret
16
+ @url = url
17
+ end
18
+
19
+ def products
20
+ get('/products')
21
+ end
22
+
23
+ def orders
24
+ get('/orders')
25
+ end
26
+
27
+ def order(id)
28
+ get("/orders/#{id}")
29
+ end
30
+
31
+ def create_order(side:, hidden: false, time_in_force: nil, size:, price:, product_id:, type: 'limit', cancel_after: nil, post_only: nil)
32
+ opts = {
33
+ side: side,
34
+ hidden: hidden,
35
+ size: size,
36
+ price: price,
37
+ product_id: product_id,
38
+ type: type
39
+ }
40
+ opts[:time_in_force] = time_in_force unless time_in_force.nil?
41
+ opts[:cancel_after] = cancel_after unless cancel_after.nil?
42
+ opts[:post_only] = post_only unless post_only.nil?
43
+ post('/orders', opts)
44
+ end
45
+
46
+ def cancel_order(id)
47
+ delete("/orders/#{id}")
48
+ end
49
+
50
+ def accounts
51
+ get('/accounts')
52
+ end
53
+
54
+ private
55
+
56
+ def signature(timestamp, verb, path, body)
57
+ p "#{timestamp}#{verb}#{path}#{body}"
58
+ str = "#{timestamp}#{verb}#{path}#{body}"
59
+ secret = Base64.decode64(@secret)
60
+ hmac = OpenSSL::HMAC.digest('sha256', secret, str)
61
+ Base64.encode64(hmac)
62
+ end
63
+
64
+ def get(path, opts={})
65
+ response = RestClient.get("#{@url}#{path}", auth_headers(path, 'GET'))
66
+
67
+ if !opts[:skip_json]
68
+ JSON.parse(response.body)
69
+ else
70
+ response.body
71
+ end
72
+ end
73
+
74
+ def post(path, payload, opts={})
75
+ data = JSON.unparse(payload)
76
+ response = RestClient.post("#{@url}#{path}", data, auth_headers(path, 'POST', data))
77
+
78
+ if !opts[:skip_json]
79
+ JSON.parse(response.body)
80
+ else
81
+ response.body
82
+ end
83
+ end
84
+
85
+ def delete(path, opts={})
86
+ response = RestClient.delete("#{@url}#{path}", auth_headers(path, 'DELETE'))
87
+
88
+ if !opts[:skip_json]
89
+ JSON.parse(response.body)
90
+ else
91
+ response.body
92
+ end
93
+ end
94
+
95
+ def auth_headers(path, method, body='')
96
+ timestamp = Time.now.utc.to_i
97
+ sign = signature(timestamp, method, path, body)
98
+
99
+ {
100
+ 'Content-Type' => 'application/json',
101
+ 'AC-ACCESS-KEY' => @key,
102
+ 'AC-ACCESS-TIMESTAMP' => "#{timestamp}",
103
+ 'AC-ACCESS-PASSPHRASE' => @passphrase,
104
+ 'AC-ACCESS-SIGN' => sign,
105
+ }
106
+ end
107
+ end
108
+ end
@@ -0,0 +1,6 @@
1
+ # frozen_string_literal: true
2
+ # Primary module for this gem.
3
+ module Abucoins
4
+ # Current Abucoins version.
5
+ VERSION = '0.0.1'.freeze
6
+ end
@@ -0,0 +1,4 @@
1
+ inherit_from: ../.rubocop.yml
2
+
3
+ Style/StringLiterals:
4
+ Enabled: false
@@ -0,0 +1,11 @@
1
+ require 'spec_helper'
2
+
3
+ describe Abucoins::API do
4
+ subject(:ruby_gem) { Abucoins::API.new }
5
+
6
+ describe ".new" do
7
+ it "makes a new instance" do
8
+ expect(ruby_gem).to be_a Abucoins::API
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,19 @@
1
+ require 'simplecov'
2
+
3
+ SimpleCov.start
4
+
5
+ if ENV['CI'] == 'true'
6
+ require 'codecov'
7
+ SimpleCov.formatter = SimpleCov::Formatter::Codecov
8
+ else
9
+ SimpleCov.formatter = SimpleCov::Formatter::HTMLFormatter
10
+ end
11
+
12
+ require 'abucoins'
13
+
14
+ RSpec.configure do |c|
15
+ c.expect_with(:rspec) { |e| e.syntax = :expect }
16
+ c.before(:each) do
17
+ allow(FileUtils).to receive(:remove_entry_secure).with(anything)
18
+ end
19
+ end
metadata ADDED
@@ -0,0 +1,304 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: abucoins
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Pablo Fernandez
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2018-01-03 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.6'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.6'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '11.2'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '11.2'
41
+ - !ruby/object:Gem::Dependency
42
+ name: bump
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '0.5'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '0.5'
55
+ - !ruby/object:Gem::Dependency
56
+ name: guard
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '2.11'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '2.11'
69
+ - !ruby/object:Gem::Dependency
70
+ name: guard-yard
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '2.1'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '2.1'
83
+ - !ruby/object:Gem::Dependency
84
+ name: guard-rubocop
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '1.2'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '1.2'
97
+ - !ruby/object:Gem::Dependency
98
+ name: guard-rspec
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '4.5'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '4.5'
111
+ - !ruby/object:Gem::Dependency
112
+ name: rubocop
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: 0.52.1
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: 0.52.1
125
+ - !ruby/object:Gem::Dependency
126
+ name: rspec
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: '3.1'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: '3.1'
139
+ - !ruby/object:Gem::Dependency
140
+ name: simplecov
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - "~>"
144
+ - !ruby/object:Gem::Version
145
+ version: '0.9'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - "~>"
151
+ - !ruby/object:Gem::Version
152
+ version: '0.9'
153
+ - !ruby/object:Gem::Dependency
154
+ name: codecov
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - "~>"
158
+ - !ruby/object:Gem::Version
159
+ version: '0.1'
160
+ type: :development
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - "~>"
165
+ - !ruby/object:Gem::Version
166
+ version: '0.1'
167
+ - !ruby/object:Gem::Dependency
168
+ name: fuubar
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - "~>"
172
+ - !ruby/object:Gem::Version
173
+ version: '2.0'
174
+ type: :development
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - "~>"
179
+ - !ruby/object:Gem::Version
180
+ version: '2.0'
181
+ - !ruby/object:Gem::Dependency
182
+ name: yard
183
+ requirement: !ruby/object:Gem::Requirement
184
+ requirements:
185
+ - - "~>"
186
+ - !ruby/object:Gem::Version
187
+ version: 0.9.5
188
+ type: :development
189
+ prerelease: false
190
+ version_requirements: !ruby/object:Gem::Requirement
191
+ requirements:
192
+ - - "~>"
193
+ - !ruby/object:Gem::Version
194
+ version: 0.9.5
195
+ - !ruby/object:Gem::Dependency
196
+ name: redcarpet
197
+ requirement: !ruby/object:Gem::Requirement
198
+ requirements:
199
+ - - "~>"
200
+ - !ruby/object:Gem::Version
201
+ version: '3.2'
202
+ type: :development
203
+ prerelease: false
204
+ version_requirements: !ruby/object:Gem::Requirement
205
+ requirements:
206
+ - - "~>"
207
+ - !ruby/object:Gem::Version
208
+ version: '3.2'
209
+ - !ruby/object:Gem::Dependency
210
+ name: github-markup
211
+ requirement: !ruby/object:Gem::Requirement
212
+ requirements:
213
+ - - "~>"
214
+ - !ruby/object:Gem::Version
215
+ version: '1.3'
216
+ type: :development
217
+ prerelease: false
218
+ version_requirements: !ruby/object:Gem::Requirement
219
+ requirements:
220
+ - - "~>"
221
+ - !ruby/object:Gem::Version
222
+ version: '1.3'
223
+ - !ruby/object:Gem::Dependency
224
+ name: byebug
225
+ requirement: !ruby/object:Gem::Requirement
226
+ requirements:
227
+ - - "~>"
228
+ - !ruby/object:Gem::Version
229
+ version: '9.1'
230
+ type: :development
231
+ prerelease: false
232
+ version_requirements: !ruby/object:Gem::Requirement
233
+ requirements:
234
+ - - "~>"
235
+ - !ruby/object:Gem::Version
236
+ version: '9.1'
237
+ - !ruby/object:Gem::Dependency
238
+ name: rest-client
239
+ requirement: !ruby/object:Gem::Requirement
240
+ requirements:
241
+ - - "~>"
242
+ - !ruby/object:Gem::Version
243
+ version: '2'
244
+ type: :runtime
245
+ prerelease: false
246
+ version_requirements: !ruby/object:Gem::Requirement
247
+ requirements:
248
+ - - "~>"
249
+ - !ruby/object:Gem::Version
250
+ version: '2'
251
+ description: ''
252
+ email:
253
+ - pfer@me.com
254
+ executables: []
255
+ extensions: []
256
+ extra_rdoc_files: []
257
+ files:
258
+ - ".gitignore"
259
+ - ".rspec"
260
+ - ".rubocop.yml"
261
+ - ".travis.yml"
262
+ - ".yardopts"
263
+ - CHANGELOG.md
264
+ - Gemfile
265
+ - Guardfile
266
+ - LICENSE.txt
267
+ - README.md
268
+ - Rakefile
269
+ - abucoins.gemspec
270
+ - lib/.rubocop.yml
271
+ - lib/abucoins.rb
272
+ - lib/abucoins/abucoins.rb
273
+ - lib/abucoins/version.rb
274
+ - spec/.rubocop.yml
275
+ - spec/ruby_gem_spec.rb
276
+ - spec/spec_helper.rb
277
+ homepage: https://github.com/heelhook/abucoins
278
+ licenses:
279
+ - MIT
280
+ metadata: {}
281
+ post_install_message:
282
+ rdoc_options: []
283
+ require_paths:
284
+ - lib
285
+ required_ruby_version: !ruby/object:Gem::Requirement
286
+ requirements:
287
+ - - ">="
288
+ - !ruby/object:Gem::Version
289
+ version: 2.0.1
290
+ required_rubygems_version: !ruby/object:Gem::Requirement
291
+ requirements:
292
+ - - ">="
293
+ - !ruby/object:Gem::Version
294
+ version: '0'
295
+ requirements: []
296
+ rubyforge_project:
297
+ rubygems_version: 2.6.14
298
+ signing_key:
299
+ specification_version: 4
300
+ summary: ''
301
+ test_files:
302
+ - spec/.rubocop.yml
303
+ - spec/ruby_gem_spec.rb
304
+ - spec/spec_helper.rb