hub_spot 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
+ SHA1:
3
+ metadata.gz: f3282b2b7eae8ab367d871156a8e70cbe784549a
4
+ data.tar.gz: fc00664ae05be4fa5a23acc656dbfb2f62d0c4a9
5
+ SHA512:
6
+ metadata.gz: 4b2f559fd0fb90f0b07f36b11923fe755fb2e48f1ce847b51ae0067a1e3135cc4bf4978e01ac729c720619e8d4471134c320b31dcb7d113cfd98db64ded825f8
7
+ data.tar.gz: 0fb350c8fa59de3708c72b7432ea86b3511a8d1b2d4a5463d2463db8b64e917c54e34f7cc9ce0a22a0abdea135a671e1e2fda9ce0641aa179a4d74bcabdf687d
data/.gitignore ADDED
@@ -0,0 +1,14 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+
11
+ # rspec failure tracking
12
+ .rspec_status
13
+
14
+ /.env
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format documentation
2
+ --color
data/.simplecov ADDED
@@ -0,0 +1,35 @@
1
+ require "simplecov-console"
2
+
3
+ running_full_suite = RSpec.configuration.files_to_run.size > 1 && !RSpec.configuration.only_failures
4
+ use_console_formatter = running_full_suite
5
+
6
+ coverage_for = ENV['COVERAGE_FOR']
7
+
8
+ formatters = [SimpleCov::Formatter::HTMLFormatter]
9
+ if use_console_formatter
10
+ formatters << SimpleCov::Formatter::Console
11
+ end
12
+
13
+ SimpleCov.start 'rails' do
14
+ coverage_dir 'tmp/coverage'
15
+
16
+ formatter SimpleCov::Formatter::MultiFormatter.new(formatters)
17
+
18
+ # refuse_coverage_drop if ENV['CI'].present?
19
+
20
+ add_filter do |source_file|
21
+ # TODO: Should the next line technically have a 'if coverage_for.present?' at the end?
22
+ (source_file.filename =~ /#{coverage_for}/i).nil?
23
+ end
24
+ end
25
+
26
+ SimpleCov.at_exit do
27
+ SimpleCov.result.format!
28
+
29
+ puts "To view detailed code coverage, run this: open tmp/coverage/index.html"
30
+ if use_console_formatter
31
+ if coverage_for != nil && coverage_for != ""
32
+ puts "Reporting test coverage ONLY for files matching /#{coverage_for}/"
33
+ end
34
+ end
35
+ end
data/.travis.yml ADDED
@@ -0,0 +1,5 @@
1
+ sudo: false
2
+ language: ruby
3
+ rvm:
4
+ - 2.4.1
5
+ before_install: gem install bundler -v 1.15.3
@@ -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 TODO: Write your email address. 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,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 hub_spot.gemspec
6
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2017 Dan Rabinowitz
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,56 @@
1
+ # HubSpot
2
+
3
+ TODO:
4
+
5
+ 1. Add rubocop
6
+
7
+ 2. Accept any cache which conforms to an interface. (Think of Moneta)
8
+
9
+
10
+ HubSpot::Configuration.cache = Moneta.new(:LRUHash, expires: true)
11
+ HubSpot::Oauth.access_token
12
+
13
+
14
+
15
+
16
+ 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/hub_spot`. To experiment with that code, run `bin/console` for an interactive prompt.
17
+
18
+ TODO: Delete this and the text above, and describe your gem
19
+
20
+ ## Installation
21
+
22
+ Add this line to your application's Gemfile:
23
+
24
+ ```ruby
25
+ gem 'hub_spot'
26
+ ```
27
+
28
+ And then execute:
29
+
30
+ $ bundle
31
+
32
+ Or install it yourself as:
33
+
34
+ $ gem install hub_spot
35
+
36
+ ## Usage
37
+
38
+ TODO: Write usage instructions here
39
+
40
+ ## Development
41
+
42
+ 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.
43
+
44
+ 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).
45
+
46
+ ## Contributing
47
+
48
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/hub_spot. 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.
49
+
50
+ ## License
51
+
52
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
53
+
54
+ ## Code of Conduct
55
+
56
+ Everyone interacting in the HubSpot project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/hub_spot/blob/master/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -0,0 +1,9 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ require 'rubocop/rake_task'
7
+ RuboCop::RakeTask.new
8
+
9
+ task :default => :spec
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "hub_spot"
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/hub_spot.gemspec ADDED
@@ -0,0 +1,43 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path("../lib", __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require "hub_spot/version"
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "hub_spot"
8
+ spec.version = HubSpot::VERSION
9
+ spec.authors = ["Dan Rabinowitz"]
10
+ spec.email = ["djr@DanielRabinowitz.com"]
11
+
12
+ spec.summary = %q{Omakase ruby API for HubSpot}
13
+ spec.description = %q{Omakase ruby API for HubSpot}
14
+ spec.homepage = "https://github.com/danrabinowitz/hub_spot"
15
+ spec.license = "MIT"
16
+
17
+ # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
18
+ # to allow pushing to a single host or delete this section to allow pushing to any host.
19
+ if spec.respond_to?(:metadata)
20
+ spec.metadata["allowed_push_host"] = "https://rubygems.org"
21
+ else
22
+ raise "RubyGems 2.0 or newer is required to protect against " \
23
+ "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_development_dependency "bundler", "~> 1.15"
34
+ spec.add_development_dependency "rake", "~> 10.0"
35
+ spec.add_development_dependency "rspec", "~> 3.0"
36
+ spec.add_development_dependency "simplecov"
37
+ spec.add_development_dependency "simplecov-console"
38
+ spec.add_development_dependency "vcr"
39
+ spec.add_development_dependency "webmock"
40
+ spec.add_development_dependency "dotenv"
41
+ spec.add_development_dependency "byebug"
42
+ spec.add_development_dependency "rubocop"
43
+ end
@@ -0,0 +1,29 @@
1
+ module HubSpot
2
+ class Configuration
3
+ ATTRIBUTES = %i(api_host client_id client_secret redirect_uri refresh_token logger).freeze
4
+
5
+ class << self
6
+ attr_accessor(*ATTRIBUTES)
7
+
8
+ def client_id=(value)
9
+ raise ArgumentError, "client_id cannot be blank" if value.nil? || value.empty?
10
+ @client_id = value
11
+ end
12
+
13
+ def client_secret=(value)
14
+ raise ArgumentError, "client_secret cannot be blank" if value.nil? || value.empty?
15
+ @client_secret = value
16
+ end
17
+
18
+ def redirect_uri=(value)
19
+ raise ArgumentError, "redirect_uri cannot be blank" if value.nil? || value.empty?
20
+ @redirect_uri = value
21
+ end
22
+
23
+ def refresh_token=(value)
24
+ raise ArgumentError, "refresh_token cannot be blank" if value.nil? || value.empty?
25
+ @refresh_token = value
26
+ end
27
+ end
28
+ end
29
+ end
@@ -0,0 +1,22 @@
1
+ require 'net/http'
2
+
3
+ module HubSpot
4
+ module HTTP
5
+ DEFAULT_HEADERS = {
6
+ :accept => 'application/json',
7
+ :content_type => 'application/x-www-form-urlencoded;charset=utf-8',
8
+ }
9
+
10
+ module_function
11
+ def post(url:, post_body: nil, headers: DEFAULT_HEADERS)
12
+ uri = URI(url)
13
+ Net::HTTP.start(uri.host, uri.port, :use_ssl => true) do |http|
14
+ request = Net::HTTP::Post.new(uri.request_uri, headers)
15
+ request.body = post_body.to_json unless post_body.nil?
16
+
17
+ # Send the request
18
+ response = http.request(request)
19
+ end
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,47 @@
1
+ module HubSpot
2
+ module OAuth
3
+ module Client
4
+ URL = "https://api.hubapi.com/oauth/v1/token?grant_type=refresh_token&client_id=%{client_id}&client_secret=%{client_secret}&redirect_uri=%{redirect_uri}&refresh_token=%{refresh_token}"
5
+ @token = Token.new(expires_at: Time.now - 1)
6
+
7
+ module_function
8
+
9
+ def token
10
+ if @token.expired?
11
+ @token = Token.new(token_params)
12
+ else
13
+ @token
14
+ end
15
+ end
16
+
17
+ # TODO: Make these private module methods
18
+ # private
19
+
20
+ def token_params
21
+ expires_in, token_value = api_response.values_at("expires_in", "access_token")
22
+ expires_at = Time.now + expires_in
23
+ {value: token_value, expires_at: expires_at}
24
+ end
25
+
26
+ def api_response
27
+ response = HubSpot::HTTP.post(url: url)
28
+ raise StandardError.new("OAuth API call returned a #{response.code} != 200") unless response.code.to_s == "200"
29
+ # puts response.body
30
+ JSON.parse(response.body)
31
+ end
32
+
33
+ def url
34
+ URL % url_params
35
+ end
36
+
37
+ def url_params
38
+ {
39
+ client_id: HubSpot::Configuration.client_id,
40
+ client_secret: HubSpot::Configuration.client_secret,
41
+ redirect_uri: HubSpot::Configuration.redirect_uri,
42
+ refresh_token: HubSpot::Configuration.refresh_token,
43
+ }
44
+ end
45
+ end
46
+ end
47
+ end
@@ -0,0 +1,23 @@
1
+ module HubSpot
2
+ module OAuth
3
+ class Token
4
+ class ExpiredError < StandardError; end
5
+
6
+ def initialize(value: nil, expires_at:)
7
+ @value = value
8
+ @expires_at = expires_at
9
+ end
10
+
11
+ attr_reader :expires_at
12
+
13
+ def value
14
+ raise ExpiredError if expired?
15
+ @value
16
+ end
17
+
18
+ def expired?
19
+ Time.now > expires_at
20
+ end
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,9 @@
1
+ module HubSpot
2
+ module OAuth
3
+ module_function
4
+
5
+ def access_token
6
+ Client.token.value
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,3 @@
1
+ module HubSpot
2
+ VERSION = "0.1.0"
3
+ end
data/lib/hub_spot.rb ADDED
@@ -0,0 +1,10 @@
1
+ require "hub_spot/configuration"
2
+ require "hub_spot/http"
3
+ require "hub_spot/oauth"
4
+ require "hub_spot/oauth/token"
5
+ require "hub_spot/oauth/client"
6
+ require "hub_spot/version"
7
+
8
+ module HubSpot
9
+ # Your code goes here...
10
+ end
metadata ADDED
@@ -0,0 +1,204 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: hub_spot
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Dan Rabinowitz
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2017-07-27 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.15'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.15'
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: simplecov
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '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'
69
+ - !ruby/object:Gem::Dependency
70
+ name: simplecov-console
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: vcr
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: webmock
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
+ - !ruby/object:Gem::Dependency
112
+ name: dotenv
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: byebug
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: rubocop
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
153
+ description: Omakase ruby API for HubSpot
154
+ email:
155
+ - djr@DanielRabinowitz.com
156
+ executables: []
157
+ extensions: []
158
+ extra_rdoc_files: []
159
+ files:
160
+ - ".gitignore"
161
+ - ".rspec"
162
+ - ".simplecov"
163
+ - ".travis.yml"
164
+ - CODE_OF_CONDUCT.md
165
+ - Gemfile
166
+ - LICENSE.txt
167
+ - README.md
168
+ - Rakefile
169
+ - bin/console
170
+ - bin/setup
171
+ - hub_spot.gemspec
172
+ - lib/hub_spot.rb
173
+ - lib/hub_spot/configuration.rb
174
+ - lib/hub_spot/http.rb
175
+ - lib/hub_spot/oauth.rb
176
+ - lib/hub_spot/oauth/client.rb
177
+ - lib/hub_spot/oauth/token.rb
178
+ - lib/hub_spot/version.rb
179
+ homepage: https://github.com/danrabinowitz/hub_spot
180
+ licenses:
181
+ - MIT
182
+ metadata:
183
+ allowed_push_host: https://rubygems.org
184
+ post_install_message:
185
+ rdoc_options: []
186
+ require_paths:
187
+ - lib
188
+ required_ruby_version: !ruby/object:Gem::Requirement
189
+ requirements:
190
+ - - ">="
191
+ - !ruby/object:Gem::Version
192
+ version: '0'
193
+ required_rubygems_version: !ruby/object:Gem::Requirement
194
+ requirements:
195
+ - - ">="
196
+ - !ruby/object:Gem::Version
197
+ version: '0'
198
+ requirements: []
199
+ rubyforge_project:
200
+ rubygems_version: 2.6.11
201
+ signing_key:
202
+ specification_version: 4
203
+ summary: Omakase ruby API for HubSpot
204
+ test_files: []