gdax 0.0.0

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.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 9dbd403c93df9143769a1cdf58401a81f28af720
4
+ data.tar.gz: 1a230936a4f72efce432302b65a7e19f8f322b56
5
+ SHA512:
6
+ metadata.gz: 6a8443708dd17a3af04f81bf80d46aaa87e1d7ca5e3e0555c124bc383c66ac16212c991edbf62a36993c3720d42f9c7a8434159dc12da7845821191fdff07661
7
+ data.tar.gz: 91b458b030f17f4757ff200845c3bd4aec8d032997bea403697a6f614401f680a6932c527c111c9f3bdce428dedc6867f37c0bfb983534ef5ea7257651a13a3e
@@ -0,0 +1 @@
1
+ service_name: travis-ci
@@ -0,0 +1,12 @@
1
+ root = true
2
+
3
+ [*]
4
+ indent_style = space
5
+ indent_size = 2
6
+ end_of_line = lf
7
+ charset = utf-8
8
+ trim_trailing_whitespace = true
9
+ insert_final_newline = true
10
+
11
+ [*.{sh,markdown}]
12
+ indent_size = 4
@@ -0,0 +1,24 @@
1
+ .DS_Store
2
+ .*.swp
3
+ *.class
4
+ *.rbc
5
+ *.gem
6
+ /doc/
7
+ .yardoc
8
+ .rvmrc
9
+ Gemfile.lock
10
+ .rbx/*
11
+ .tags
12
+ .tags_sorted_by_file
13
+ .Apple*
14
+ bin/*
15
+ .bundle/*
16
+ vendor/*
17
+ playground/*
18
+ *.org
19
+ repl-*
20
+ debug/*
21
+ *.dump
22
+ deploy.docs.sh
23
+ .ruby-version
24
+ coverage/
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --color
2
+ --require spec_helper
3
+ --format=documentation
@@ -0,0 +1,9 @@
1
+ AllCops:
2
+ TargetRubyVersion: 2.4
3
+ DisplayCopNames: true
4
+ Include:
5
+ - 'lib/**/*'
6
+ Exclude:
7
+ - 'spec/**/*'
8
+
9
+ inherit_from: .rubocop_todo.yml
@@ -0,0 +1,15 @@
1
+ # This configuration was generated by
2
+ # `rubocop --auto-gen-config`
3
+ # on 2017-11-30 17:41:06 -0500 using RuboCop version 0.51.0.
4
+ # The point is for the user to remove these configuration records
5
+ # one by one as the offenses are removed from the code base.
6
+ # Note that changes in the inspected code, or installation of new
7
+ # versions of RuboCop, may require this file to be generated again.
8
+
9
+ # Offense count: 2
10
+ # Configuration parameters: ExpectMatchingDefinition, Regex, IgnoreExecutableScripts, AllowedAcronyms.
11
+ # AllowedAcronyms: CLI, DSL, ACL, API, ASCII, CPU, CSS, DNS, EOF, GUID, HTML, HTTP, HTTPS, ID, IP, JSON, LHS, QPS, RAM, RHS, RPC, SLA, SMTP, SQL, SSH, TCP, TLS, TTL, UDP, UI, UID, UUID, URI, URL, UTF8, VM, XML, XMPP, XSRF, XSS
12
+ Naming/FileName:
13
+ Exclude:
14
+ - 'Gemfile'
15
+ - 'Rakefile'
@@ -0,0 +1 @@
1
+ gdax
@@ -0,0 +1,10 @@
1
+ language: ruby
2
+ sudo: false
3
+
4
+ rvm:
5
+ - 2.1.9
6
+ - 2.4.2
7
+
8
+ branches:
9
+ only:
10
+ - master
@@ -0,0 +1,8 @@
1
+ --no-private
2
+ --protected
3
+ --markup="markdown" lib/**/*.rb
4
+ --main README.md
5
+ --hide-tag todo
6
+ -
7
+ LICENSE
8
+ CHANGELOG.md
@@ -0,0 +1 @@
1
+ ## v0.1.0
data/Gemfile ADDED
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ source 'https://rubygems.org'
4
+
5
+ gemspec
data/LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2017 Andrew Rempe and contributors.
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,2 @@
1
+ Ruby GDAX REST API Client
2
+ =========================
@@ -0,0 +1,39 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'rubygems'
4
+ require 'bundler'
5
+ Bundler.setup :default, :test, :development
6
+
7
+ Bundler::GemHelper.install_tasks
8
+
9
+ require 'rspec/core/rake_task'
10
+ RSpec::Core::RakeTask.new(:spec) do |spec|
11
+ spec.pattern = 'spec/**/*_spec.rb'
12
+ end
13
+
14
+ RSpec::Core::RakeTask.new(:rcov) do |spec|
15
+ spec.pattern = 'spec/**/*_spec.rb'
16
+ spec.rcov = true
17
+ end
18
+
19
+ task :spec
20
+
21
+ require 'rubocop/rake_task'
22
+ RuboCop::RakeTask.new
23
+
24
+ task default: %i[rubocop spec]
25
+
26
+ require 'yard'
27
+ DOC_FILES = %w[lib/**/*.rb README.md].freeze
28
+
29
+ YARD::Rake::YardocTask.new(:doc) do |t|
30
+ t.files = DOC_FILES
31
+ end
32
+
33
+ require 'irb'
34
+ desc 'Open irb with gem loaded'
35
+ task :console do
36
+ require 'gdax'
37
+ ARGV.clear
38
+ IRB.start
39
+ end
File without changes
@@ -0,0 +1,30 @@
1
+ #!/usr/bin/env gem build
2
+ # frozen_string_literal: true
3
+
4
+ require 'base64'
5
+ require File.expand_path('../lib/gdax/version', __FILE__)
6
+
7
+ Gem::Specification.new do |s|
8
+ s.name = 'gdax'
9
+ s.version = GDAX::VERSION.dup
10
+ s.platform = Gem::Platform::RUBY
11
+ s.authors = ['Andrew Rempe']
12
+ s.email = [Base64.decode64('YW5kcmV3cmVtcGVAZ21haWwuY29t\n')]
13
+ s.summary = 'Ruby client for the GDAX Exchange API'
14
+ s.description = 'Full featured Ruby client to GDAX Exchange API by Coinbase'
15
+ s.license = 'MIT'
16
+
17
+ s.required_ruby_version = Gem::Requirement.new '>= 2.0'
18
+
19
+ s.add_development_dependency 'coveralls'
20
+ s.add_development_dependency 'rake', '~> 10.5'
21
+ s.add_development_dependency 'rspec', '~> 3.4'
22
+ s.add_development_dependency 'rubocop', '= 0.51.0'
23
+ s.add_development_dependency 'term-ansicolor', '~> 1.3'
24
+ s.add_development_dependency 'tins', '= 1.6.0'
25
+ s.add_development_dependency 'yard'
26
+
27
+ s.files = `git ls-files`.split "\n"
28
+ s.test_files = `git ls-files -- spec/*`.split "\n"
29
+ s.require_paths = %w[lib]
30
+ end
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'gdax/version'
4
+
5
+ #
6
+ # A Ruby client to GDAX REST API
7
+ #
8
+ module GDAX
9
+ end
@@ -0,0 +1,6 @@
1
+ # frozen_string_literal: true
2
+
3
+ module GDAX
4
+ # @return [String] Version of the library
5
+ VERSION = '0.0.0'
6
+ end
@@ -0,0 +1,15 @@
1
+ require 'rspec'
2
+
3
+ $LOAD_PATH.unshift File.expand_path('../lib', __FILE__)
4
+
5
+ require 'bundler'
6
+ Bundler.setup :default, :test
7
+ Bundler.require
8
+
9
+ require 'coveralls'
10
+ Coveralls.wear!
11
+
12
+ require 'gdax'
13
+
14
+ RSpec.configure do |config|
15
+ end
@@ -0,0 +1,2 @@
1
+ describe GDAX do
2
+ end
metadata ADDED
@@ -0,0 +1,164 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: gdax
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Andrew Rempe
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2017-11-30 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: coveralls
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '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.5'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.5'
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.4'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '3.4'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rubocop
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - '='
60
+ - !ruby/object:Gem::Version
61
+ version: 0.51.0
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - '='
67
+ - !ruby/object:Gem::Version
68
+ version: 0.51.0
69
+ - !ruby/object:Gem::Dependency
70
+ name: term-ansicolor
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '1.3'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '1.3'
83
+ - !ruby/object:Gem::Dependency
84
+ name: tins
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - '='
88
+ - !ruby/object:Gem::Version
89
+ version: 1.6.0
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - '='
95
+ - !ruby/object:Gem::Version
96
+ version: 1.6.0
97
+ - !ruby/object:Gem::Dependency
98
+ name: yard
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ description: Full featured Ruby client to GDAX Exchange API by Coinbase
112
+ email:
113
+ - andrewrempe@gmail.com
114
+ executables: []
115
+ extensions: []
116
+ extra_rdoc_files: []
117
+ files:
118
+ - ".coveralls.yml"
119
+ - ".editorconfig"
120
+ - ".gitignore"
121
+ - ".rspec"
122
+ - ".rubocop.yml"
123
+ - ".rubocop_todo.yml"
124
+ - ".ruby-gemset"
125
+ - ".travis.yml"
126
+ - ".yardopts"
127
+ - CHANGELOG.md
128
+ - Gemfile
129
+ - LICENSE
130
+ - README.md
131
+ - Rakefile
132
+ - UPGRADING.md
133
+ - gdax.gemspec
134
+ - lib/gdax.rb
135
+ - lib/gdax/version.rb
136
+ - spec/spec_helper.rb
137
+ - spec/unit/gdax_spec.rb
138
+ homepage:
139
+ licenses:
140
+ - MIT
141
+ metadata: {}
142
+ post_install_message:
143
+ rdoc_options: []
144
+ require_paths:
145
+ - lib
146
+ required_ruby_version: !ruby/object:Gem::Requirement
147
+ requirements:
148
+ - - ">="
149
+ - !ruby/object:Gem::Version
150
+ version: '2.0'
151
+ required_rubygems_version: !ruby/object:Gem::Requirement
152
+ requirements:
153
+ - - ">="
154
+ - !ruby/object:Gem::Version
155
+ version: '0'
156
+ requirements: []
157
+ rubyforge_project:
158
+ rubygems_version: 2.6.13
159
+ signing_key:
160
+ specification_version: 4
161
+ summary: Ruby client for the GDAX Exchange API
162
+ test_files:
163
+ - spec/spec_helper.rb
164
+ - spec/unit/gdax_spec.rb