token_auth 0.3.0.beta1 → 0.3.0.beta2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -7
- data/app/controllers/token_auth/concerns/api_resources.rb +1 -1
- data/lib/token_auth/version.rb +1 -1
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 28ecd746060687cf1a14084aaa84536a76eda612
|
4
|
+
data.tar.gz: fc839f2c7bb17b0fe713b022da9dae5f086e941b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2f9463cd34313112a53111822040bd91afc17172d059fd5918bbab3f7e3cfec1ad4527b274319a9c982662ff5f72624925fbdfaa85cf7f3eac7fe1621268df5d
|
7
|
+
data.tar.gz: 850aaf315769faf2bf98ae379dd27a8b4a1265b1b22786d72ee6905fcfb5a4daa1cbc491ea6b5842c80425d393fe71a46a75a97308a62fb27b6d7aadc64f3b15
|
data/README.md
CHANGED
@@ -27,9 +27,7 @@ Add the gem to your Gemfile:
|
|
27
27
|
```ruby
|
28
28
|
# Gemfile
|
29
29
|
|
30
|
-
gem
|
31
|
-
git: 'https://github.com/NU-CBITS/token_auth_server_rails',
|
32
|
-
tag: '0.1.1'
|
30
|
+
gem "token_auth", "~> 0.3.X"
|
33
31
|
```
|
34
32
|
|
35
33
|
Install it:
|
@@ -41,7 +39,7 @@ bundle
|
|
41
39
|
Install and run the migrations:
|
42
40
|
|
43
41
|
```
|
44
|
-
|
42
|
+
rails token_auth:install:migrations; rails db:migrate
|
45
43
|
```
|
46
44
|
|
47
45
|
Mount the Engine and make its routes available to the host application:
|
@@ -49,7 +47,7 @@ Mount the Engine and make its routes available to the host application:
|
|
49
47
|
```ruby
|
50
48
|
# config/routes.rb
|
51
49
|
|
52
|
-
mount TokenAuth::Engine =>
|
50
|
+
mount TokenAuth::Engine => "/token_auth"
|
53
51
|
```
|
54
52
|
|
55
53
|
## Configuration
|
@@ -106,6 +104,6 @@ bundle
|
|
106
104
|
Run the unit tests and linters for this Engine:
|
107
105
|
|
108
106
|
```
|
109
|
-
RAILS_ENV=test
|
110
|
-
|
107
|
+
RAILS_ENV=test rails db:drop db:create db:migrate
|
108
|
+
rake
|
111
109
|
```
|
data/lib/token_auth/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: token_auth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.0.
|
4
|
+
version: 0.3.0.beta2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Carty-Fickes
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-07-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: active_model_serializers
|
@@ -30,42 +30,42 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 5.0.
|
33
|
+
version: 5.0.X
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 5.0.
|
40
|
+
version: 5.0.X
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: activerecord
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 5.0.
|
47
|
+
version: 5.0.X
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 5.0.
|
54
|
+
version: 5.0.X
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: railties
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 5.0.
|
61
|
+
version: 5.0.X
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 5.0.
|
68
|
+
version: 5.0.X
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: pg
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -86,14 +86,14 @@ dependencies:
|
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: 3.5.
|
89
|
+
version: 3.5.X
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: 3.5.
|
96
|
+
version: 3.5.X
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: capybara
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|