coincapper 1.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.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 51ccb6a048494876bbd683964f0f0f81f73faff6
4
+ data.tar.gz: 8c943acf1733761424d552fc601a60b72822acdf
5
+ SHA512:
6
+ metadata.gz: 84959ca7d3e1dd8dc743b4e24b70b08a91702db3567342a59c4f7262c67ed4dd1dcf5c002cc56fa3c29983759c44e9abe174801b389dce7a84ea976c99387dc0
7
+ data.tar.gz: 910a35423289d094763ee017a632988e2cb9e422632cf44df0c297e4cd2cb840d4a861038cab592e58e6f60c6863ffb959ba13f617a2f05623a1853be45b8dc7
data/.gitignore ADDED
@@ -0,0 +1,13 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+ coverage/*
11
+
12
+ # rspec failure tracking
13
+ .rspec_status
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format documentation
2
+ --color
data/.rubocop.yml ADDED
@@ -0,0 +1,14 @@
1
+ AllCops:
2
+ TargetRubyVersion: 2.3
3
+ Exclude:
4
+ - 'Gemfile'
5
+ Documentation:
6
+ Enabled: false
7
+ LineLength:
8
+ Max: 140
9
+ Style/RaiseArgs:
10
+ EnforcedStyle: compact
11
+ Metrics/AbcSize:
12
+ Enabled: false
13
+ Metrics/MethodLength:
14
+ Max: 30
data/.travis.yml ADDED
@@ -0,0 +1,7 @@
1
+ sudo: false
2
+ language: ruby
3
+ cache: bundler
4
+ rvm:
5
+ - 2.3.0
6
+ before_install: gem install bundler -v 1.15.1
7
+ script: 'bundle exec rake'
@@ -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 ankitsamar@outlook.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 coinmarketcap.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2017 Ankit Samarthya
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,81 @@
1
+ [![Gem Version](https://badge.fury.io/rb/coincapper.svg)](https://badge.fury.io/rb/coincapper) [![Build Status](https://travis-ci.org/kurt-smith/coincapper.svg?branch=master)](https://travis-ci.org/kurt-smith/coincapper) [![Code Climate](https://codeclimate.com/github/kurt-smith/coincapper/badges/gpa.svg)](https://codeclimate.com/github/kurt-smith/coincapper) [![Coverage Status](https://coveralls.io/repos/github/kurt-smith/coincapper/badge.svg?branch=master)](https://coveralls.io/github/kurt-smith/coincapper?branch=master) [![Issue Count](https://codeclimate.com/github/kurt-smith/coinmarketcap/badges/issue_count.svg)](https://codeclimate.com/github/kurt-smith/coincapper)
2
+
3
+ # CoinCapper
4
+
5
+ Rub gem that provides a wrapper to the public coinmarketcap.com V1 API.
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'coincapper', git: 'https://github.com/kurt-smith/coincapper', branch: 'master'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install coincapper
22
+
23
+ ## Usage
24
+
25
+ ### Coinmarketcap.com API responses
26
+
27
+ #### All Coins
28
+
29
+ ```ruby
30
+ CoinCapper.coins(limit: 0, rank: nil, currency: nil)
31
+ ```
32
+
33
+ #### Coin by Coin Market Cap ID
34
+
35
+ ```ruby
36
+ CoinCapper.coin('litecoin', currency: nil)
37
+ ```
38
+
39
+ #### Global
40
+
41
+ ```ruby
42
+ CoinCapper.global(currency: nil)
43
+ ```
44
+
45
+ ### Additional Functionality
46
+
47
+ #### Coin by symbol
48
+
49
+ ```ruby
50
+ CoinCapper.coin_by_symbol('FUN')
51
+ ```
52
+
53
+ #### Retrieve markets by coin
54
+
55
+ ```ruby
56
+ CoinCapper.coin_markets(id: 'iota', symbol: nil)
57
+ ```
58
+
59
+ #### Retrieve Coin historical price
60
+
61
+ ```ruby
62
+ CoinCapper.historical_price('request-network', '2018-01-01', '2018-01-08')
63
+ ```
64
+
65
+ ## Development
66
+
67
+ 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.
68
+
69
+ 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).
70
+
71
+ ## Contributing
72
+
73
+ Bug reports and pull requests are welcome on GitHub at https://github.com/kurt-smith/coinmarketcap. 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.
74
+
75
+ ## License
76
+
77
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
78
+
79
+ ## Code of Conduct
80
+
81
+ Everyone interacting in the CoinCapper project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/kurt-smith/coinmarketcap/blob/master/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "bundler/gem_tasks"
4
+ require "rspec/core/rake_task"
5
+
6
+ RSpec::Core::RakeTask.new(:spec)
7
+
8
+ task default: :spec
data/bin/console ADDED
@@ -0,0 +1,15 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ require 'bundler/setup'
5
+ require 'coincapper'
6
+
7
+ # You can add fixtures and/or initialization code here to make experimenting
8
+ # with your gem easier. You can also use a different console, if you like.
9
+
10
+ # (If you use this, don't forget to add pry to your Gemfile!)
11
+ # require "pry"
12
+ # Pry.start
13
+
14
+ require 'irb'
15
+ 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
@@ -0,0 +1,44 @@
1
+ # frozen_string_literal: true
2
+
3
+ lib = File.expand_path('../lib', __FILE__)
4
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
+ require 'coincapper/version'
6
+
7
+ Gem::Specification.new do |spec|
8
+ spec.name = 'coincapper'
9
+ spec.version = CoinCapper::VERSION
10
+ spec.authors = ['Kurt Smith']
11
+ spec.email = ['zippydev@protonmail.com']
12
+
13
+ spec.summary = 'Coin Market Cap V1 API wrapper'
14
+ spec.description = 'coinmarketcap.com V1 API wrapper including additional historical prices and coin market pairs.'
15
+ spec.homepage = 'https://github.com/kurt-smith/coincapper'
16
+ spec.license = 'MIT'
17
+
18
+ # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
19
+ # to allow pushing to a single host or delete this section to allow pushing to any host.
20
+ if spec.respond_to?(:metadata)
21
+ spec.metadata['allowed_push_host'] = 'https://rubygems.org'
22
+ else
23
+ raise 'RubyGems 2.0 or newer is required to protect against public gem pushes.'
24
+ end
25
+
26
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
27
+ f.match(%r{^(test|spec|features)/})
28
+ end
29
+ spec.bindir = 'exe'
30
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
31
+ spec.require_paths = ['lib']
32
+
33
+ spec.add_dependency 'activesupport', '~> 5.1'
34
+ spec.add_dependency 'http', '~> 3.0'
35
+ spec.add_dependency 'nokogiri', '~> 1.8'
36
+
37
+ spec.add_development_dependency 'bundler', '~> 1.14'
38
+ spec.add_development_dependency 'pry', '~> 0.11'
39
+ spec.add_development_dependency 'rake', '~> 10.0'
40
+ spec.add_development_dependency 'rspec', '~> 3.7'
41
+ spec.add_development_dependency 'rubocop'
42
+ spec.add_development_dependency 'simplecov'
43
+ spec.add_development_dependency 'webmock', '~> 3.2'
44
+ end
data/lib/coincapper.rb ADDED
@@ -0,0 +1,125 @@
1
+ # frozen_string_literal: false
2
+
3
+ require 'active_support'
4
+ require 'active_support/core_ext'
5
+ require 'coincapper/version'
6
+ require 'http'
7
+ require 'nokogiri'
8
+
9
+ module CoinCapper
10
+ API_URL = 'https://api.coinmarketcap.com/v1'.freeze
11
+ BASE_URL = 'https://coinmarketcap.com'.freeze
12
+
13
+ # @param rank [Integer] Coins market cap rank greater than or equal
14
+ # @param limit [Integer] Maximum limit set. Defaults to 0 to return all results
15
+ # @param currency [String] Country currency code to convert price
16
+ # @return [Array<Hash>]
17
+ # @see https://coinmarketcap.com/api/
18
+ def self.coins(limit: 0, rank: nil, currency: nil)
19
+ params = {
20
+ limit: limit,
21
+ start: rank,
22
+ convert: currency
23
+ }.compact.to_param
24
+
25
+ url = "#{API_URL}/ticker/"
26
+ url << "?#{params}" if params.present?
27
+
28
+ response = HTTP.get(url)
29
+ JSON.parse(response.body.to_s, symbolize_names: true)
30
+ end
31
+
32
+ # @param id [Integer] Coinmarketcap coin id
33
+ # @param currency [String] Country currency code to convert price
34
+ # @return [Hash]
35
+ def self.coin(id, currency: nil)
36
+ params = {
37
+ convert: currency
38
+ }.compact.to_param
39
+
40
+ url = "#{API_URL}/ticker/#{id}/"
41
+ url << "?#{params}" if params.present?
42
+
43
+ response = HTTP.get(url)
44
+ json = JSON.parse(response.body.to_s, symbolize_names: true)
45
+ json.is_a?(Array) ? json.first : json
46
+ end
47
+
48
+ # @param symbol [String] Coin symbol
49
+ # @return [Hash]
50
+ def self.coin_by_symbol(symbol)
51
+ response = HTTP.get("#{API_URL}/ticker/?limit=0")
52
+ json = JSON.parse(response.body.to_s, symbolize_names: true)
53
+ json.find { |x| x[:symbol].strip.casecmp(symbol.strip.upcase).zero? }
54
+ end
55
+
56
+ # @param id [String] Coin market cap id
57
+ # @param symbol [String] Coin symbol
58
+ # @return [Array<Hash>]
59
+ def self.coin_markets(id: nil, symbol: nil)
60
+ raise ArgumentError.new('id or symbol is required') if id.blank? && symbol.blank?
61
+
62
+ coin_id = symbol.present? ? coin_by_symbol(symbol)[:id] : id
63
+ response = HTTP.get("#{BASE_URL}/currencies/#{coin_id}/\#markets")
64
+ html = Nokogiri::HTML(response.body.to_s)
65
+ rows = html.css('table#markets-table tbody tr')
66
+
67
+ markets = rows.each_with_object([]) do |row, arr|
68
+ td = row.css('td')
69
+ arr << {
70
+ source: td[1].text.strip,
71
+ pair: td[2].text.strip,
72
+ volume_usd: td[3].text.strip[/\$(.+)/, 1].delete(',').to_f,
73
+ price_usd: td[4].text.strip[/\$(.+)/, 1].delete(',').to_f,
74
+ volume_percentage: td[5].text.to_f,
75
+ last_updated: td[6].text.strip
76
+ }
77
+ end
78
+
79
+ markets
80
+ end
81
+
82
+ # @param currency [String] Country currency code to convert price
83
+ # @return [Hash]
84
+ def self.global(currency: nil)
85
+ params = {
86
+ convert: currency
87
+ }.compact.to_param
88
+
89
+ url = "#{API_URL}/global/"
90
+ url << "?#{params}" if params.present?
91
+
92
+ response = HTTP.get(url)
93
+ JSON.parse(response.body.to_s, symbolize_names: true)
94
+ end
95
+
96
+ # @param id [String] Coinmarketcap coin id
97
+ # @param start_date [String] Start date (YYYY-MM-DD)
98
+ # @param end_date [String] End date (YYYY-MM-DD)
99
+ # @return [Array<Hash>]
100
+ def self.historical_price(id, start_date, end_date)
101
+ sd = start_date.to_date.to_s.delete('-')
102
+ ed = end_date.to_date.to_s.delete('-')
103
+
104
+ url = "#{BASE_URL}/currencies/#{id}/historical-data/?start=#{sd}&end=#{ed}"
105
+ response = HTTP.get(url)
106
+ html = Nokogiri::HTML(response.body.to_s)
107
+ rows = html.css('#historical-data table tbody tr')
108
+
109
+ prices = rows.each_with_object([]) do |row, arr|
110
+ td = row.css('td')
111
+ daily = {
112
+ date: Date.parse(td[0].text).to_s,
113
+ open: td[1].text.to_f,
114
+ high: td[2].text.to_f,
115
+ low: td[3].text.to_f,
116
+ close: td[4].text.to_f
117
+ }
118
+
119
+ daily[:average] = ((daily[:high] + daily[:low]).to_d / 2).to_f
120
+ arr << daily
121
+ end
122
+
123
+ prices
124
+ end
125
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module CoinCapper
4
+ VERSION = '1.0.0'
5
+ end
metadata ADDED
@@ -0,0 +1,200 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: coincapper
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Kurt Smith
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2018-01-28 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: activesupport
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '5.1'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '5.1'
27
+ - !ruby/object:Gem::Dependency
28
+ name: http
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '3.0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '3.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: nokogiri
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '1.8'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.8'
55
+ - !ruby/object:Gem::Dependency
56
+ name: bundler
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '1.14'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '1.14'
69
+ - !ruby/object:Gem::Dependency
70
+ name: pry
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '0.11'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '0.11'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rake
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '10.0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '10.0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: rspec
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '3.7'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '3.7'
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'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: simplecov
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ - !ruby/object:Gem::Dependency
140
+ name: webmock
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - "~>"
144
+ - !ruby/object:Gem::Version
145
+ version: '3.2'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - "~>"
151
+ - !ruby/object:Gem::Version
152
+ version: '3.2'
153
+ description: coinmarketcap.com V1 API wrapper including additional historical prices
154
+ and coin market pairs.
155
+ email:
156
+ - zippydev@protonmail.com
157
+ executables: []
158
+ extensions: []
159
+ extra_rdoc_files: []
160
+ files:
161
+ - ".gitignore"
162
+ - ".rspec"
163
+ - ".rubocop.yml"
164
+ - ".travis.yml"
165
+ - CODE_OF_CONDUCT.md
166
+ - Gemfile
167
+ - LICENSE.txt
168
+ - README.md
169
+ - Rakefile
170
+ - bin/console
171
+ - bin/setup
172
+ - coincapper.gemspec
173
+ - lib/coincapper.rb
174
+ - lib/coincapper/version.rb
175
+ homepage: https://github.com/kurt-smith/coincapper
176
+ licenses:
177
+ - MIT
178
+ metadata:
179
+ allowed_push_host: https://rubygems.org
180
+ post_install_message:
181
+ rdoc_options: []
182
+ require_paths:
183
+ - lib
184
+ required_ruby_version: !ruby/object:Gem::Requirement
185
+ requirements:
186
+ - - ">="
187
+ - !ruby/object:Gem::Version
188
+ version: '0'
189
+ required_rubygems_version: !ruby/object:Gem::Requirement
190
+ requirements:
191
+ - - ">="
192
+ - !ruby/object:Gem::Version
193
+ version: '0'
194
+ requirements: []
195
+ rubyforge_project:
196
+ rubygems_version: 2.6.11
197
+ signing_key:
198
+ specification_version: 4
199
+ summary: Coin Market Cap V1 API wrapper
200
+ test_files: []