devise_token_auth 0.1.32.beta3 → 0.1.32.beta4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4c0c8de9c943974b9301498e96fc20929cfc29ee
4
- data.tar.gz: 7950b5cd02a8a19dffae7bc64f61048c241d0cd9
3
+ metadata.gz: 92ec2a5f22f107c04e502559c0287ce91691418a
4
+ data.tar.gz: e320684988bc76c5c73f769875530a444f310027
5
5
  SHA512:
6
- metadata.gz: c96df20353ca20044be8f046991a13b961a9074cfe3e92df25992984708393f4fa2c215c290365f2c327d5329153a7cdb4c5747baa68de5664975229f9a4c5b1
7
- data.tar.gz: 9d86c356c5e224ac405e35c5090e98e786e109913c7c75c7796bd7d4e6d82d20a8b44fb83cf031ae1bc4a6cb8e3e5145a39e974e677e4de15f14bac40ceb6c9b
6
+ metadata.gz: b58c07c4dd36290f98b381d0788957227b58716ccc0153c04c455070bcccdbe1e3aaaaaed056b85e2336269c6d31c757e9d5359aee342ba3a2e37622870724a4
7
+ data.tar.gz: 0b2a8abb586ced299827e22ab91f32515d6a96b001b1631521c85b5f1a9ae3aebd6a60a544f47f03d2ef3a78d1ed2a8b5a074c8fe6a3768042f647e238a81b9a
data/README.md CHANGED
@@ -83,7 +83,7 @@ rails g devise_token_auth:install [USER_CLASS] [MOUNT_PATH]
83
83
  **Example**:
84
84
 
85
85
  ~~~bash
86
- rails g devise_token_auth:install User /auth
86
+ rails g devise_token_auth:install User auth
87
87
  ~~~
88
88
 
89
89
  This generator accepts the following optional arguments:
@@ -91,7 +91,7 @@ This generator accepts the following optional arguments:
91
91
  | Argument | Default | Description |
92
92
  |---|---|---|
93
93
  | USER_CLASS | `User` | The name of the class to use for user authentication. |
94
- | MOUNT_PATH | `/auth` | The path at which to mount the authentication routes. [Read more](#usage). |
94
+ | MOUNT_PATH | `auth` | The path at which to mount the authentication routes. [Read more](#usage). |
95
95
 
96
96
  The following events will take place when using the install generator:
97
97
 
@@ -120,7 +120,7 @@ You may also need to configure the following items:
120
120
 
121
121
  # Usage TL;DR
122
122
 
123
- The following routes are available for use by your client. These routes live relative to the path at which this engine is mounted (`/auth` by default). These routes correspond to the defaults used by the [ng-token-auth](https://github.com/lynndylanhurley/ng-token-auth) module for angular.js.
123
+ The following routes are available for use by your client. These routes live relative to the path at which this engine is mounted (`auth` by default). These routes correspond to the defaults used by the [ng-token-auth](https://github.com/lynndylanhurley/ng-token-auth) module for angular.js.
124
124
 
125
125
  | path | method | purpose |
126
126
  |:-----|:-------|:--------|
@@ -1,3 +1,3 @@
1
1
  module DeviseTokenAuth
2
- VERSION = "0.1.32.beta3"
2
+ VERSION = "0.1.32.beta4"
3
3
  end
@@ -28,4 +28,4 @@ Example:
28
28
 
29
29
  The following line will be inserted at the top of 'config/routes.rb' if it
30
30
  does not already exist:
31
- mount_devise_token_auth_for "User", at: '/auth'
31
+ mount_devise_token_auth_for "User", at: 'auth'
@@ -5,7 +5,7 @@ module DeviseTokenAuth
5
5
  source_root File.expand_path('../templates', __FILE__)
6
6
 
7
7
  argument :user_class, type: :string, default: "User"
8
- argument :mount_path, type: :string, default: '/auth'
8
+ argument :mount_path, type: :string, default: 'auth'
9
9
 
10
10
  def create_initializer_file
11
11
  copy_file("devise_token_auth.rb", "config/initializers/devise_token_auth.rb")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: devise_token_auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.32.beta3
4
+ version: 0.1.32.beta4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lynn Hurley