README.md in devise-token_authenticatable-0.2.0 vs README.md in devise-token_authenticatable-0.3.0
- old
+ new
@@ -1,10 +1,10 @@
# Devise::TokenAuthenticatable
[![Gem Version](https://badge.fury.io/rb/devise-token_authenticatable.png)](http://badge.fury.io/rb/devise-token_authenticatable) [![Build Status](https://travis-ci.org/baschtl/devise-token_authenticatable.png?branch=master)](https://travis-ci.org/baschtl/devise-token_authenticatable) [![Code Climate](https://codeclimate.com/github/baschtl/devise-token_authenticatable.png)](https://codeclimate.com/github/baschtl/devise-token_authenticatable)
-This gem provides the extracted Token Authenticatable module of devise. It includes the functionality that was also in [version 3.1.2](https://github.com/plataformatec/devise/tree/v3.1.2) of devise. With the inclusion of this module a user is able to sign in via an authentication token. This token can be given via a query string or HTTP Basic Authentication. This gem requires devise 3.3.0 or newer (see the hint below for older devise versions).
+This gem provides the extracted Token Authenticatable module of devise. It includes the functionality that was also in [version 3.1.2](https://github.com/plataformatec/devise/tree/v3.1.2) of devise. With the inclusion of this module a user is able to sign in via an authentication token. This token can be given via a query string or HTTP Basic Authentication. See the hint below to understand which version of this gem supports which version of devise.
Use this gem as a starting point for your own token authentication mechanism for devise. Furthermore, if you need token authentication in connection with newer devise releases this gem might be an appropriate solution, too.
## Installation
@@ -18,12 +18,16 @@
Or install it yourself as:
$ gem install devise-token_authenticatable
-### Users of devise earlier than 3.3.0
+### Which version to use for which version of devise?
-Please, use version 0.1.0 of this gem. All later versions do not support devise < 3.3.0.
+*devise-token_authenticatable* | *devise*
+-------------------------------:|---------
+0.1.0 | >= 3.2.0
+0.2.0 | >= 3.3.0
+0.3.0 | >= 3.4.0
## Usage
Add `:token_authenticatable` to your devise model: