forked from nylas/nylas-ruby
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from Kajabi/update_nylas_namespace_v5.14
nylas -> nylas_v2
- Loading branch information
Showing
162 changed files
with
646 additions
and
648 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ruby 3.0.6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,18 +5,18 @@ The following is a set of guidelines for contributing to the Nylas Ruby SDK; the | |
|
||
# How to Ask a Question | ||
|
||
If you have a question about how to use the Ruby SDK, please [create an issue](https://github.com/nylas/nylas-ruby/issues) and label it as a question. If you have more general questions about the Nylas Communications Platform, or the Nylas Email, Calendar, and Contacts API, please reach out to [email protected] to get help. | ||
If you have a question about how to use the Ruby SDK, please [create an issue](https://github.com/nylas_v2/nylas-ruby/issues) and label it as a question. If you have more general questions about the Nylas Communications Platform, or the Nylas Email, Calendar, and Contacts API, please reach out to [email protected] to get help. | ||
|
||
# How To Contribute | ||
## Report a Bug or Request a Feature | ||
|
||
If you encounter any bugs while using this software, or want to request a new feature or enhancement, please [create an issue to report it](https://github.com/nylas/nylas-ruby/issues), and make sure you add a label to indicate what type of issue it is. | ||
If you encounter any bugs while using this software, or want to request a new feature or enhancement, please [create an issue to report it](https://github.com/nylas_v2/nylas-ruby/issues), and make sure you add a label to indicate what type of issue it is. | ||
|
||
## Contribute Code | ||
|
||
Pull requests are welcome for bug fixes. If you want to implement something new, [please request a feature first so we can discuss it](https://github.com/nylas/nylas-ruby/issues). | ||
Pull requests are welcome for bug fixes. If you want to implement something new, [please request a feature first so we can discuss it](https://github.com/nylas_v2/nylas-ruby/issues). | ||
|
||
While writing your code contribution, make sure you follow the testing conventions found in the [spec](https://github.com/nylas/nylas-ruby/tree/master/spec/nylas) [directory](https://github.com/nylas/nylas-ruby/tree/master/spec/nylas) for any components that you add. | ||
While writing your code contribution, make sure you follow the testing conventions found in the [spec](https://github.com/nylas_v2/nylas-ruby/tree/master/spec/nylas) [directory](https://github.com/nylas_v2/nylas-ruby/tree/master/spec/nylas) for any components that you add. | ||
|
||
- Pull requests may be submitted before they are feature complete to get feedback and thoughts from the core team. | ||
- Pull requests should pass tests across the supported versions of Ruby, as defined in .travis.yml. To do so, run bin/test. | ||
|
@@ -26,4 +26,4 @@ While writing your code contribution, make sure you follow the testing conventio | |
|
||
Before you submit any code, we need you to sign our [Contributor License Agreement](https://docs.google.com/forms/d/e/1FAIpQLSdCnXWsaTkw5jhJ8DMtMu5TUI9Q-El_rCuGzkdBvnNJr8oDWQ/viewform); this ensures we can continue to protect your contributions under an open source license well into the future. | ||
|
||
Please follow [best practices](https://github.com/trein/dev-best-practices/wiki/Git-Commit-Best-Practices) for creating git commits. When your code is ready to be submitted, you can [submit a pull request](https://help.github.com/articles/creating-a-pull-request/) to begin the code review process. | ||
Please follow [best practices](https://github.com/trein/dev-best-practices/wiki/Git-Commit-Best-Practices) for creating git commits. When your code is ready to be submitted, you can [submit a pull request](https://help.github.com/articles/creating-a-pull-request/) to begin the code review process. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,4 @@ | |
|
||
source "https://rubygems.org" | ||
|
||
gemspec name: "nylas" | ||
gemspec name: "nylas_v2" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,8 +4,8 @@ | |
|
||
# Nylas Ruby SDK | ||
|
||
[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/nylas/nylas-ruby/CI)](https://github.com/nylas/nylas-ruby/actions/workflows/rspec.yml) | ||
[![codecov](https://codecov.io/gh/nylas/nylas-ruby/branch/main/graph/badge.svg?token=IKH0YMH4KA)](https://codecov.io/gh/nylas/nylas-ruby) | ||
[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/nylas_v2/nylas-ruby/CI)](https://github.com/nylas_v2/nylas-ruby/actions/workflows/rspec.yml) | ||
[![codecov](https://codecov.io/gh/nylas_v2/nylas-ruby/branch/main/graph/badge.svg?token=IKH0YMH4KA)](https://codecov.io/gh/nylas_v2/nylas-ruby) | ||
|
||
The Nylas Communications Platform allows developers to quickly build features that connect to every inbox, calendar, and contacts book in the world. Nylas makes it easy to build an integration that can be completed in days, and provides pre-built security and compliance features, and a 99.9% guaranteed uptime. Integrations with the Nylas Communications Platform are secure, reliable, and easy to use and maintain. | ||
|
||
|
@@ -27,7 +27,7 @@ If you have a question that needs an answer, please reach out to [email protected] | |
- Ruby 2.3 or above. | ||
- Ruby Frameworks: `rest-client`, `json`, `yajl-ruby`. | ||
|
||
We support Rails 4.2 and above. A more detailed compatibility list can be found in our [list of Gemfiles](https://github.com/nylas/nylas-ruby/tree/master/gemfiles). | ||
We support Rails 4.2 and above. A more detailed compatibility list can be found in our [list of Gemfiles](https://github.com/nylas_v2/nylas-ruby/tree/master/gemfiles). | ||
|
||
### Install | ||
|
||
|
@@ -52,7 +52,7 @@ gem install nylas | |
To install the SDK from source, clone this repo and install with bundle. | ||
|
||
```bash | ||
git clone https://github.com/nylas/nylas-ruby.git && cd nylas-ruby | ||
git clone https://github.com/nylas_v2/nylas-ruby.git && cd nylas-ruby | ||
bundle install | ||
``` | ||
|
||
|
@@ -76,7 +76,7 @@ You can run tests locally using ```rspec```: | |
```shell | ||
rspec spec | ||
``` | ||
|
||
### MacOS 10.11 (El Capitan) Note | ||
|
||
Apple stopped bundling OpenSSL with MacOS 10.11. However, one of the dependencies of this gem (EventMachine) requires it. If you're on El Capitan and are unable to install the gem, try running the following commands in a terminal: | ||
|
@@ -99,7 +99,7 @@ All of the functionality of the Nylas Communications Platform is available throu | |
```ruby | ||
require 'nylas' | ||
|
||
nylas = Nylas::API.new( | ||
nylas = NylasV2::API.new( | ||
app_id: CLIENT_ID, | ||
app_secret: CLIENT_SECRET, | ||
access_token: ACCESS_TOKEN | ||
|
@@ -122,4 +122,4 @@ Please refer to [Contributing](Contributing.md) for information about how to mak | |
|
||
## 📝 License | ||
|
||
This project is licensed under the terms of the MIT license. Please refer to [LICENSE](LICENSE.txt) for the full terms. | ||
This project is licensed under the terms of the MIT license. Please refer to [LICENSE](LICENSE.txt) for the full terms. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.