devise_token_auth 0.1.24 → 0.1.25.beta1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/devise_token_auth/concerns/set_user_by_token.rb +8 -13
- data/app/controllers/devise_token_auth/sessions_controller.rb +2 -4
- data/app/models/devise_token_auth/concerns/user.rb +10 -3
- data/lib/devise_token_auth/version.rb +1 -1
- data/test/controllers/demo_controller_test.rb +39 -41
- data/test/controllers/devise_token_auth/passwords_controller_test.rb +5 -5
- data/test/dummy/config.ru +12 -0
- data/test/dummy/config/application.rb +0 -11
- data/test/dummy/config/application.yml +18 -0
- data/test/dummy/config/spring.rb +1 -1
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +2414 -10
- data/test/dummy/log/test.log +12807 -13682
- data/test/dummy/tmp/generators/app/controllers/application_controller.rb +8 -0
- data/test/dummy/tmp/generators/db/migrate/{20140724170707_devise_token_auth_create_users.rb → 20140811184229_devise_token_auth_create_users.rb} +0 -0
- data/test/dummy/tmp/restart.txt +0 -0
- metadata +32 -26
File without changes
|
File without changes
|
metadata
CHANGED
@@ -1,83 +1,83 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: devise_token_auth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.25.beta1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lynn Hurley
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-08-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - ~>
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '4.1'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - ~>
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '4.1'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: devise
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - ~>
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '3.2'
|
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
40
|
version: '3.2'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: sqlite3
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - ~>
|
45
|
+
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '1.3'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - ~>
|
52
|
+
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '1.3'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: pg
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '0'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- -
|
66
|
+
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: mysql2
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- -
|
73
|
+
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: '0'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- -
|
80
|
+
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
83
|
description: For use with client side single page apps such as the venerable https://github.com/lynndylanhurley/ng-token-auth.
|
@@ -87,6 +87,9 @@ executables: []
|
|
87
87
|
extensions: []
|
88
88
|
extra_rdoc_files: []
|
89
89
|
files:
|
90
|
+
- LICENSE
|
91
|
+
- README.md
|
92
|
+
- Rakefile
|
90
93
|
- app/controllers/devise_token_auth/application_controller.rb
|
91
94
|
- app/controllers/devise_token_auth/auth_controller.rb
|
92
95
|
- app/controllers/devise_token_auth/concerns/set_user_by_token.rb
|
@@ -104,25 +107,24 @@ files:
|
|
104
107
|
- config/initializers/devise.rb
|
105
108
|
- config/locales/devise.en.yml
|
106
109
|
- config/routes.rb
|
110
|
+
- lib/devise_token_auth.rb
|
107
111
|
- lib/devise_token_auth/engine.rb
|
108
112
|
- lib/devise_token_auth/rails/routes.rb
|
109
113
|
- lib/devise_token_auth/version.rb
|
110
|
-
- lib/devise_token_auth
|
114
|
+
- lib/generators/devise_token_auth/USAGE
|
111
115
|
- lib/generators/devise_token_auth/install_generator.rb
|
112
116
|
- lib/generators/devise_token_auth/templates/devise_token_auth.rb
|
113
117
|
- lib/generators/devise_token_auth/templates/devise_token_auth_create_users.rb.erb
|
114
118
|
- lib/generators/devise_token_auth/templates/user.rb
|
115
|
-
- lib/generators/devise_token_auth/USAGE
|
116
119
|
- lib/tasks/devise_token_auth_tasks.rake
|
117
|
-
- LICENSE
|
118
|
-
- Rakefile
|
119
|
-
- README.md
|
120
120
|
- test/controllers/demo_controller_test.rb
|
121
121
|
- test/controllers/devise_token_auth/auth_controller_test.rb
|
122
122
|
- test/controllers/devise_token_auth/confirmations_controller_test.rb
|
123
123
|
- test/controllers/devise_token_auth/passwords_controller_test.rb
|
124
124
|
- test/controllers/devise_token_auth/registrations_controller_test.rb
|
125
125
|
- test/controllers/devise_token_auth/sessions_controller_test.rb
|
126
|
+
- test/dummy/README.rdoc
|
127
|
+
- test/dummy/Rakefile
|
126
128
|
- test/dummy/app/assets/images/omniauth-provider-settings.png
|
127
129
|
- test/dummy/app/assets/javascripts/application.js
|
128
130
|
- test/dummy/app/assets/stylesheets/application.css
|
@@ -136,7 +138,9 @@ files:
|
|
136
138
|
- test/dummy/bin/rails
|
137
139
|
- test/dummy/bin/rake
|
138
140
|
- test/dummy/bin/spring
|
141
|
+
- test/dummy/config.ru
|
139
142
|
- test/dummy/config/application.rb
|
143
|
+
- test/dummy/config/application.yml
|
140
144
|
- test/dummy/config/boot.rb
|
141
145
|
- test/dummy/config/database.yml
|
142
146
|
- test/dummy/config/environment.rb
|
@@ -158,7 +162,6 @@ files:
|
|
158
162
|
- test/dummy/config/routes.rb
|
159
163
|
- test/dummy/config/secrets.yml
|
160
164
|
- test/dummy/config/spring.rb
|
161
|
-
- test/dummy/config.ru
|
162
165
|
- test/dummy/db/development.sqlite3
|
163
166
|
- test/dummy/db/migrate/20140715061447_devise_token_auth_create_users.rb
|
164
167
|
- test/dummy/db/migrate/20140715061805_devise_token_auth_create_mangs.rb
|
@@ -170,11 +173,11 @@ files:
|
|
170
173
|
- test/dummy/public/422.html
|
171
174
|
- test/dummy/public/500.html
|
172
175
|
- test/dummy/public/favicon.ico
|
173
|
-
- test/dummy/
|
174
|
-
- test/dummy/README.rdoc
|
176
|
+
- test/dummy/tmp/generators/app/controllers/application_controller.rb
|
175
177
|
- test/dummy/tmp/generators/app/models/user.rb
|
176
178
|
- test/dummy/tmp/generators/config/initializers/devise_token_auth.rb
|
177
|
-
- test/dummy/tmp/generators/db/migrate/
|
179
|
+
- test/dummy/tmp/generators/db/migrate/20140811184229_devise_token_auth_create_users.rb
|
180
|
+
- test/dummy/tmp/restart.txt
|
178
181
|
- test/fixtures/mangs.yml
|
179
182
|
- test/fixtures/users.yml
|
180
183
|
- test/integration/navigation_test.rb
|
@@ -191,17 +194,17 @@ require_paths:
|
|
191
194
|
- lib
|
192
195
|
required_ruby_version: !ruby/object:Gem::Requirement
|
193
196
|
requirements:
|
194
|
-
- -
|
197
|
+
- - ">="
|
195
198
|
- !ruby/object:Gem::Version
|
196
199
|
version: '0'
|
197
200
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
198
201
|
requirements:
|
199
|
-
- -
|
202
|
+
- - ">"
|
200
203
|
- !ruby/object:Gem::Version
|
201
|
-
version:
|
204
|
+
version: 1.3.1
|
202
205
|
requirements: []
|
203
206
|
rubyforge_project:
|
204
|
-
rubygems_version: 2.
|
207
|
+
rubygems_version: 2.2.2
|
205
208
|
signing_key:
|
206
209
|
specification_version: 4
|
207
210
|
summary: Token based authentication for rails. Uses Devise + OmniAuth.
|
@@ -226,6 +229,7 @@ test_files:
|
|
226
229
|
- test/dummy/bin/rake
|
227
230
|
- test/dummy/bin/spring
|
228
231
|
- test/dummy/config/application.rb
|
232
|
+
- test/dummy/config/application.yml
|
229
233
|
- test/dummy/config/boot.rb
|
230
234
|
- test/dummy/config/database.yml
|
231
235
|
- test/dummy/config/environment.rb
|
@@ -261,9 +265,11 @@ test_files:
|
|
261
265
|
- test/dummy/public/favicon.ico
|
262
266
|
- test/dummy/Rakefile
|
263
267
|
- test/dummy/README.rdoc
|
268
|
+
- test/dummy/tmp/generators/app/controllers/application_controller.rb
|
264
269
|
- test/dummy/tmp/generators/app/models/user.rb
|
265
270
|
- test/dummy/tmp/generators/config/initializers/devise_token_auth.rb
|
266
|
-
- test/dummy/tmp/generators/db/migrate/
|
271
|
+
- test/dummy/tmp/generators/db/migrate/20140811184229_devise_token_auth_create_users.rb
|
272
|
+
- test/dummy/tmp/restart.txt
|
267
273
|
- test/fixtures/mangs.yml
|
268
274
|
- test/fixtures/users.yml
|
269
275
|
- test/integration/navigation_test.rb
|