Skip to content

Commit

Permalink
Rename package to nylas-legacy (#1)
Browse files Browse the repository at this point in the history
This PR renames the package to nylas-legacy in rubygems.
  • Loading branch information
mrashed-dev authored May 28, 2024
1 parent fff90dd commit 661f98f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 26 deletions.
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

0 comments on commit 661f98f

Please sign in to comment.