Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename package to nylas-legacy #1

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

source "https://rubygems.org"

gemspec name: "nylas"
gemspec name: "nylas-legacy"
28 changes: 6 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,9 @@
<img src="https://brand.nylas.com/assets/downloads/logo_horizontal_png/Nylas-Logo-Horizontal-Blue_.png" alt="Aimeos logo" title="Aimeos" align="right" height="60" />
</a>

# Nylas Ruby SDK
# Nylas Ruby SDK (Legacy/API v2)

[![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)

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.

Nylas provides REST APIs for [Email](https://docs.nylas.com/docs/quickstart-email), [Calendar](https://docs.nylas.com/docs/quickstart-calendar), and [Contacts](https://docs.nylas.com/docs/quickstart-contacts), and the Ruby SDK is the quickest way to build your first integration using Ruby.

This is the GitHub repository for the Nylas Ruby SDK and is primarily for anyone who wants to make contributions to the SDK or install it from source. If you are looking to use Ruby to access the Nylas Email, Calendar, or Contacts API you should refer to our official [Ruby](https://docs.nylas.com/docs/quickstart-ruby) [SDK Quickstart Guide](https://docs.nylas.com/docs/quickstart-ruby).

Here are some additional resources to help you get started:

- [Nylas SDK Tutorials](https://docs.nylas.com/docs/tutorials)
- [Get Started with the Nylas Communications Platform](https://docs.nylas.com/docs/getting-started)
- [Sign up for your Nylas developer account.](https://nylas.com/register)
- [Nylas API Reference](https://docs.nylas.com/reference)

If you have a question that needs an answer, please reach out to [email protected] to get help.
This is the legacy version of the Nylas Ruby SDK, which supports the Nylas API v2. This version of the SDK is currently in maintenance mode and is supported for the purpose of assisting with migration to the new API v3. We recommend migrating and using the current [Nylas Ruby SDK](https://www.github.com/nylas/nylas-ruby) for the latest and greatest features.

## ⚙️ Install
### Prerequisites
Expand All @@ -34,7 +18,7 @@ We support Rails 4.2 and above. A more detailed compatibility list can be found
Add this line to your application's Gemfile:

```ruby
gem 'nylas'
gem 'nylas-legacy'
```

And then execute:
Expand All @@ -46,13 +30,13 @@ bundle
To run scripts that use the Nylas Ruby SDK, install the nylas gem.

```bash
gem install nylas
gem install nylas-legacy
```

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/nylas-ruby-legacy.git && cd nylas-ruby-legacy
bundle install
```

Expand Down Expand Up @@ -84,7 +68,7 @@ Apple stopped bundling OpenSSL with MacOS 10.11. However, one of the dependencie
```bash
sudo brew install openssl
sudo brew link openssl --force
gem install nylas
gem install nylas-legacy
```

## ⚡️ Usage
Expand Down
6 changes: 3 additions & 3 deletions nylas.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
require "./gem_config"

Gem::Specification.new do |gem|
GemConfig.apply(gem, "nylas")
gem.summary = %(Gem for interacting with the Nylas API)
gem.description = %(Gem for interacting with the Nylas API.)
GemConfig.apply(gem, "nylas-legacy")
gem.summary = %(Gem for interacting with the Nylas API v2)
gem.description = %(Gem for interacting with the Nylas API v2.)
gem.add_runtime_dependency "eventmachine", "~> 1.2.7"
gem.add_runtime_dependency "faye-websocket", "~> 0.11.1"
gem.add_runtime_dependency "rest-client", ">= 2.0", "< 3.0"
Expand Down
Loading