helpscout-mailbox-v2-client 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.buildkite/pipeline.yml +6 -0
- data/.gitignore +11 -0
- data/.rspec +3 -0
- data/.ruby-version +1 -0
- data/.travis.yml +6 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Dockerfile +8 -0
- data/Gemfile +6 -0
- data/Gemfile.lock +51 -0
- data/LICENSE.txt +21 -0
- data/README.md +116 -0
- data/Rakefile +6 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/docker-compose.yml +5 -0
- data/helpscout-mailbox-v2-client.gemspec +34 -0
- data/lib/helpscout/mailbox/v2/client.rb +15 -0
- data/lib/helpscout/mailbox/v2/client/http.rb +52 -0
- data/lib/helpscout/mailbox/v2/client/version.rb +9 -0
- metadata +148 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 9f9045069991cd8fdba6c64eb6f4dce55f9399e346265ea1ec7090cefcd8ec46
|
4
|
+
data.tar.gz: 69b3789c3bb20daf0ae99ce0043d70f3a69479d1f8712813cea4b4eb9383de24
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 39c1d0417cb7753cdd334d3d3d10f51f76d0de8727e00fc4fc2999d6de173cb0df56d0df865e6f3e465829187f73be65999bd5ad46c59f7a19408592dbc30684
|
7
|
+
data.tar.gz: 7958b738a98461abb0142b8b00486c8970ce7f7721cdc0bf11a1f8bc3099adbd1544515dc64888c706746f64c4bcddb3b274e38ed7b2c5426da407a5c655be95
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
2.7.0
|
data/.travis.yml
ADDED
data/CODE_OF_CONDUCT.md
ADDED
@@ -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 [https://contributor-covenant.org/version/1/4][version]
|
72
|
+
|
73
|
+
[homepage]: https://contributor-covenant.org
|
74
|
+
[version]: https://contributor-covenant.org/version/1/4/
|
data/Dockerfile
ADDED
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,51 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
helpscout-mailbox-v2-client (0.1.0)
|
5
|
+
helpscout-api-auth (~> 0.2.0)
|
6
|
+
helpscout-mailbox-paths (~> 1.0.0)
|
7
|
+
|
8
|
+
GEM
|
9
|
+
remote: https://rubygems.org/
|
10
|
+
specs:
|
11
|
+
addressable (2.7.0)
|
12
|
+
public_suffix (>= 2.0.2, < 5.0)
|
13
|
+
crack (0.4.3)
|
14
|
+
safe_yaml (~> 1.0.0)
|
15
|
+
diff-lcs (1.3)
|
16
|
+
hashdiff (1.0.1)
|
17
|
+
helpscout-api-auth (0.2.0)
|
18
|
+
helpscout-mailbox-paths (1.0.0)
|
19
|
+
public_suffix (4.0.3)
|
20
|
+
rake (12.3.3)
|
21
|
+
rspec (3.9.0)
|
22
|
+
rspec-core (~> 3.9.0)
|
23
|
+
rspec-expectations (~> 3.9.0)
|
24
|
+
rspec-mocks (~> 3.9.0)
|
25
|
+
rspec-core (3.9.1)
|
26
|
+
rspec-support (~> 3.9.1)
|
27
|
+
rspec-expectations (3.9.0)
|
28
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
29
|
+
rspec-support (~> 3.9.0)
|
30
|
+
rspec-mocks (3.9.1)
|
31
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
32
|
+
rspec-support (~> 3.9.0)
|
33
|
+
rspec-support (3.9.2)
|
34
|
+
safe_yaml (1.0.5)
|
35
|
+
webmock (3.8.3)
|
36
|
+
addressable (>= 2.3.6)
|
37
|
+
crack (>= 0.3.2)
|
38
|
+
hashdiff (>= 0.4.0, < 2.0.0)
|
39
|
+
|
40
|
+
PLATFORMS
|
41
|
+
ruby
|
42
|
+
|
43
|
+
DEPENDENCIES
|
44
|
+
bundler (~> 2.0)
|
45
|
+
helpscout-mailbox-v2-client!
|
46
|
+
rake (>= 12.3.3)
|
47
|
+
rspec (~> 3.0)
|
48
|
+
webmock (~> 3.8)
|
49
|
+
|
50
|
+
BUNDLED WITH
|
51
|
+
2.1.2
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2020 Jason Jacob
|
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,116 @@
|
|
1
|
+
# Helpscout::Mailbox::V2::Client
|
2
|
+
|
3
|
+
[![Build status](https://badge.buildkite.com/da63414ff9e780a25c9b3766f75c104b77db4d5bdedda836f8.svg)](https://buildkite.com/jayco/helpscout-mailbox-v2-client)
|
4
|
+
|
5
|
+
Super simple REST client for the HelpScout V2 Mailbox API
|
6
|
+
|
7
|
+
It uses the following gems to work with HelpScout
|
8
|
+
|
9
|
+
- [Helpscout::Api::Auth](https://github.com/jayco/helpscout-api-auth.git)
|
10
|
+
- [Helpscout::Mailbox::Paths](https://github.com/jayco/helpscout-mailbox-paths.git)
|
11
|
+
|
12
|
+
## Installation
|
13
|
+
|
14
|
+
Add this line to your application's Gemfile:
|
15
|
+
|
16
|
+
```ruby
|
17
|
+
gem 'helpscout-mailbox-v2-client'
|
18
|
+
```
|
19
|
+
|
20
|
+
And then execute:
|
21
|
+
|
22
|
+
$ bundle install
|
23
|
+
|
24
|
+
Or install it yourself as:
|
25
|
+
|
26
|
+
$ gem install helpscout-mailbox-v2-client
|
27
|
+
|
28
|
+
## Usage
|
29
|
+
|
30
|
+
### Helpscout::Mailbox::V2::Client::Http.new
|
31
|
+
|
32
|
+
Creates a new Client class and authorises the client with HelpScout
|
33
|
+
|
34
|
+
| Parameter | Type | Description |
|
35
|
+
| :-------------- | :------- | :--------------------------------------------------------------------- |
|
36
|
+
| `client_id` | `string` | **Required** HelpScout API client id |
|
37
|
+
| `client_secret` | `string` | **Required** HelpScout API client secret |
|
38
|
+
| `base_url` | `string` | **Optional** HelpScout API url (defaults to https://api.helpscout.net) |
|
39
|
+
|
40
|
+
```ruby
|
41
|
+
require 'helpscout/mailbox/client'
|
42
|
+
|
43
|
+
client = Helpscout::Mailbox::V2::Client::Http.new(client_id: 'some id', client_secret: 'keep it secret')
|
44
|
+
# => 'BMEv1lmcNgDBpOFNHo8TPlODMrF3BG5T'
|
45
|
+
|
46
|
+
```
|
47
|
+
|
48
|
+
### Helpscout::Mailbox::V2::Client.generate_path
|
49
|
+
|
50
|
+
Generates path and method mappings for the api - see [Helpscout::Mailbox::Paths](https://github.com/jayco/helpscout-mailbox-paths.git)
|
51
|
+
|
52
|
+
| Parameter | Type | Description |
|
53
|
+
| :-------- | :------- | :--------------------------------------------------------------------------------------------------------------- |
|
54
|
+
| `path` | `symbol` | **Required** See [mappings](https://github.com/jayco/helpscout-mailbox-paths#helpscoutmailboxpathsgenerate_path) |
|
55
|
+
| `values` | `string` | **Required** See [mappings](https://github.com/jayco/helpscout-mailbox-paths#helpscoutmailboxpathsgenerate_path) |
|
56
|
+
|
57
|
+
```ruby
|
58
|
+
path_map = client.generate_path :v2_conversation, {conversation_id: 1089909636}
|
59
|
+
# => {:method=>"GET", :path=>"/v2/conversations/1089909636"}
|
60
|
+
|
61
|
+
```
|
62
|
+
|
63
|
+
### Helpscout::Mailbox::V2::Client.request
|
64
|
+
|
65
|
+
Sends a request
|
66
|
+
|
67
|
+
| Parameter | Type | Description |
|
68
|
+
| :-------- | :------- | :----------------------- |
|
69
|
+
| `method` | `string` | **Required** HTTP method |
|
70
|
+
| `path` | `string` | **Required** API path |
|
71
|
+
| `params` | `hash` | **Optional** URL params |
|
72
|
+
|
73
|
+
```ruby
|
74
|
+
path_map = client.generate_path :v2_conversation, {conversation_id: 1089909636}
|
75
|
+
# => {:method=>"GET", :path=>"/v2/conversations/1089909636"}
|
76
|
+
|
77
|
+
response = client.request path_map[:method], path_map[:path], {eat: 'cheese'}
|
78
|
+
# => <Net::HTTPOK 200 readbody=true>
|
79
|
+
```
|
80
|
+
|
81
|
+
### Helpscout::Mailbox::V2::Client.json_request
|
82
|
+
|
83
|
+
Sends a JSON request
|
84
|
+
|
85
|
+
| Parameter | Type | Description |
|
86
|
+
| :-------- | :------- | :----------------------- |
|
87
|
+
| `method` | `string` | **Required** HTTP method |
|
88
|
+
| `path` | `string` | **Required** API path |
|
89
|
+
| `body` | `hash` | **Required** Payload |
|
90
|
+
| `params` | `hash` | **Optional** URL params |
|
91
|
+
|
92
|
+
```ruby
|
93
|
+
path_map = client.generate_path :v2_conversations_tags_update, {conversation_id: 1089909636}
|
94
|
+
# => {:method=>"PUT", :path=>"/v2/conversations/1089909636/tags"}
|
95
|
+
|
96
|
+
response = client.json_request path_map[:method], path_map[:path], { tags: ['clam'] }, {eat: 'cheese'}
|
97
|
+
# => <Net::HTTPOK 200 readbody=true>
|
98
|
+
```
|
99
|
+
|
100
|
+
## Development
|
101
|
+
|
102
|
+
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.
|
103
|
+
|
104
|
+
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).
|
105
|
+
|
106
|
+
## Contributing
|
107
|
+
|
108
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/helpscout-mailbox-v2-client. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/[USERNAME]/helpscout-mailbox-v2-client/blob/master/CODE_OF_CONDUCT.md).
|
109
|
+
|
110
|
+
## License
|
111
|
+
|
112
|
+
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
113
|
+
|
114
|
+
## Code of Conduct
|
115
|
+
|
116
|
+
Everyone interacting in the Helpscout::Mailbox::V2::Client project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/helpscout-mailbox-v2-client/blob/master/CODE_OF_CONDUCT.md).
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "helpscout/mailbox/v2/client"
|
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
data/docker-compose.yml
ADDED
@@ -0,0 +1,34 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require_relative 'lib/helpscout/mailbox/v2/client/version'
|
4
|
+
|
5
|
+
Gem::Specification.new do |spec|
|
6
|
+
spec.name = 'helpscout-mailbox-v2-client'
|
7
|
+
spec.version = Helpscout::Mailbox::V2::Client::VERSION
|
8
|
+
spec.authors = ['Jason Jacob']
|
9
|
+
spec.email = ['hipcog@gmail.com']
|
10
|
+
|
11
|
+
spec.summary = 'REST client for the HelpScout Mailbox API V2'
|
12
|
+
spec.homepage = 'https://github.com/jayco/helpscout-mailbox-v2-client.git'
|
13
|
+
spec.license = 'MIT'
|
14
|
+
|
15
|
+
spec.metadata['homepage_uri'] = spec.homepage
|
16
|
+
spec.metadata['source_code_uri'] = spec.homepage
|
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 = 'exe'
|
24
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
25
|
+
spec.require_paths = ['lib']
|
26
|
+
|
27
|
+
spec.add_runtime_dependency 'helpscout-api-auth', '~> 0.2.0'
|
28
|
+
spec.add_runtime_dependency 'helpscout-mailbox-paths', '~> 1.0.0'
|
29
|
+
|
30
|
+
spec.add_development_dependency 'bundler', '~> 2.0'
|
31
|
+
spec.add_development_dependency 'rake', '>= 12.3.3'
|
32
|
+
spec.add_development_dependency 'rspec', '~> 3.0'
|
33
|
+
spec.add_development_dependency 'webmock', '~> 3.8'
|
34
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'helpscout/mailbox/v2/client/version'
|
4
|
+
require 'helpscout/mailbox/v2/client/http'
|
5
|
+
|
6
|
+
module Helpscout
|
7
|
+
module Mailbox
|
8
|
+
module V2
|
9
|
+
module Client
|
10
|
+
class Error < StandardError; end
|
11
|
+
# Your code goes here...
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,52 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'helpscout/mailbox/paths'
|
4
|
+
require 'helpscout/api/auth'
|
5
|
+
|
6
|
+
module Helpscout
|
7
|
+
module Mailbox
|
8
|
+
module V2
|
9
|
+
module Client
|
10
|
+
class Http
|
11
|
+
include Helpscout::Mailbox::Paths
|
12
|
+
|
13
|
+
attr_reader :token, :base_url
|
14
|
+
|
15
|
+
VERSION = '0.1.0'
|
16
|
+
|
17
|
+
def initialize(base_url: nil, client_id:, client_secret:)
|
18
|
+
@base_url = base_url || 'https://api.helpscout.net'
|
19
|
+
@token = Helpscout::Api::Auth::Token.new(client_id: client_id, client_secret: client_secret)
|
20
|
+
end
|
21
|
+
|
22
|
+
def request(method, path, params = nil)
|
23
|
+
@token.refresh
|
24
|
+
headers = { 'Authorization': @token.to_s }
|
25
|
+
base_request(method, path, headers, params)
|
26
|
+
end
|
27
|
+
|
28
|
+
def json_request(method, path, body, params = nil)
|
29
|
+
@token.refresh
|
30
|
+
headers = { 'Authorization': @token.to_s, 'Content-Type': 'application/json; charset=UTF-8' }
|
31
|
+
base_request(method, path, headers, params, body.to_json)
|
32
|
+
end
|
33
|
+
|
34
|
+
private
|
35
|
+
|
36
|
+
def base_request(method, path, headers, params = nil, body = nil)
|
37
|
+
uri = build_uri(path, params)
|
38
|
+
http = Net::HTTP.new(uri.host, uri.port)
|
39
|
+
http.use_ssl = true
|
40
|
+
http.send_request(method, uri, body, headers)
|
41
|
+
end
|
42
|
+
|
43
|
+
def build_uri(path, params)
|
44
|
+
uri = URI("#{@base_url}#{path}")
|
45
|
+
uri.query = URI.encode_www_form(params) if params
|
46
|
+
uri
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
metadata
ADDED
@@ -0,0 +1,148 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: helpscout-mailbox-v2-client
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Jason Jacob
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2020-03-14 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: helpscout-api-auth
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 0.2.0
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 0.2.0
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: helpscout-mailbox-paths
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 1.0.0
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 1.0.0
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: bundler
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '2.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '2.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rake
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 12.3.3
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 12.3.3
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rspec
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '3.0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '3.0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: webmock
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '3.8'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '3.8'
|
97
|
+
description:
|
98
|
+
email:
|
99
|
+
- hipcog@gmail.com
|
100
|
+
executables: []
|
101
|
+
extensions: []
|
102
|
+
extra_rdoc_files: []
|
103
|
+
files:
|
104
|
+
- ".buildkite/pipeline.yml"
|
105
|
+
- ".gitignore"
|
106
|
+
- ".rspec"
|
107
|
+
- ".ruby-version"
|
108
|
+
- ".travis.yml"
|
109
|
+
- CODE_OF_CONDUCT.md
|
110
|
+
- Dockerfile
|
111
|
+
- Gemfile
|
112
|
+
- Gemfile.lock
|
113
|
+
- LICENSE.txt
|
114
|
+
- README.md
|
115
|
+
- Rakefile
|
116
|
+
- bin/console
|
117
|
+
- bin/setup
|
118
|
+
- docker-compose.yml
|
119
|
+
- helpscout-mailbox-v2-client.gemspec
|
120
|
+
- lib/helpscout/mailbox/v2/client.rb
|
121
|
+
- lib/helpscout/mailbox/v2/client/http.rb
|
122
|
+
- lib/helpscout/mailbox/v2/client/version.rb
|
123
|
+
homepage: https://github.com/jayco/helpscout-mailbox-v2-client.git
|
124
|
+
licenses:
|
125
|
+
- MIT
|
126
|
+
metadata:
|
127
|
+
homepage_uri: https://github.com/jayco/helpscout-mailbox-v2-client.git
|
128
|
+
source_code_uri: https://github.com/jayco/helpscout-mailbox-v2-client.git
|
129
|
+
post_install_message:
|
130
|
+
rdoc_options: []
|
131
|
+
require_paths:
|
132
|
+
- lib
|
133
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
134
|
+
requirements:
|
135
|
+
- - ">="
|
136
|
+
- !ruby/object:Gem::Version
|
137
|
+
version: '0'
|
138
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
139
|
+
requirements:
|
140
|
+
- - ">="
|
141
|
+
- !ruby/object:Gem::Version
|
142
|
+
version: '0'
|
143
|
+
requirements: []
|
144
|
+
rubygems_version: 3.1.2
|
145
|
+
signing_key:
|
146
|
+
specification_version: 4
|
147
|
+
summary: REST client for the HelpScout Mailbox API V2
|
148
|
+
test_files: []
|