devise_token_auth 0.1.26.beta3 → 0.1.26
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/devise_token_auth/version.rb +1 -1
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +2667 -0
- data/test/dummy/tmp/generators/app/controllers/application_controller.rb +8 -0
- data/test/dummy/tmp/generators/db/migrate/{20140822191815_devise_token_auth_create_users.rb → 20140823192509_devise_token_auth_create_users.rb} +0 -0
- metadata +8 -12
- data/test/dummy/tmp/generators/app/models/mang.rb +0 -3
- data/test/dummy/tmp/generators/config/routes.rb +0 -9
- data/test/dummy/tmp/generators/db/migrate/20140822191815_devise_token_auth_create_mangs.rb +0 -56
File without changes
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: devise_token_auth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.26
|
4
|
+
version: 0.1.26
|
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-08-
|
11
|
+
date: 2014-08-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -173,12 +173,10 @@ files:
|
|
173
173
|
- test/dummy/public/422.html
|
174
174
|
- test/dummy/public/500.html
|
175
175
|
- test/dummy/public/favicon.ico
|
176
|
-
- test/dummy/tmp/generators/app/
|
176
|
+
- test/dummy/tmp/generators/app/controllers/application_controller.rb
|
177
177
|
- test/dummy/tmp/generators/app/models/user.rb
|
178
178
|
- test/dummy/tmp/generators/config/initializers/devise_token_auth.rb
|
179
|
-
- test/dummy/tmp/generators/
|
180
|
-
- test/dummy/tmp/generators/db/migrate/20140822191815_devise_token_auth_create_mangs.rb
|
181
|
-
- test/dummy/tmp/generators/db/migrate/20140822191815_devise_token_auth_create_users.rb
|
179
|
+
- test/dummy/tmp/generators/db/migrate/20140823192509_devise_token_auth_create_users.rb
|
182
180
|
- test/dummy/tmp/restart.txt
|
183
181
|
- test/fixtures/mangs.yml
|
184
182
|
- test/fixtures/users.yml
|
@@ -201,9 +199,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
201
199
|
version: '0'
|
202
200
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
203
201
|
requirements:
|
204
|
-
- - "
|
202
|
+
- - ">="
|
205
203
|
- !ruby/object:Gem::Version
|
206
|
-
version:
|
204
|
+
version: '0'
|
207
205
|
requirements: []
|
208
206
|
rubyforge_project:
|
209
207
|
rubygems_version: 2.2.2
|
@@ -267,12 +265,10 @@ test_files:
|
|
267
265
|
- test/dummy/public/favicon.ico
|
268
266
|
- test/dummy/Rakefile
|
269
267
|
- test/dummy/README.rdoc
|
270
|
-
- test/dummy/tmp/generators/app/
|
268
|
+
- test/dummy/tmp/generators/app/controllers/application_controller.rb
|
271
269
|
- test/dummy/tmp/generators/app/models/user.rb
|
272
270
|
- test/dummy/tmp/generators/config/initializers/devise_token_auth.rb
|
273
|
-
- test/dummy/tmp/generators/
|
274
|
-
- test/dummy/tmp/generators/db/migrate/20140822191815_devise_token_auth_create_mangs.rb
|
275
|
-
- test/dummy/tmp/generators/db/migrate/20140822191815_devise_token_auth_create_users.rb
|
271
|
+
- test/dummy/tmp/generators/db/migrate/20140823192509_devise_token_auth_create_users.rb
|
276
272
|
- test/dummy/tmp/restart.txt
|
277
273
|
- test/fixtures/mangs.yml
|
278
274
|
- test/fixtures/users.yml
|
@@ -1,56 +0,0 @@
|
|
1
|
-
class DeviseTokenAuthCreateMangs < ActiveRecord::Migration
|
2
|
-
def change
|
3
|
-
create_table(:mangs) do |t|
|
4
|
-
## Database authenticatable
|
5
|
-
t.string :email
|
6
|
-
t.string :encrypted_password, :null => false, :default => ""
|
7
|
-
|
8
|
-
## Recoverable
|
9
|
-
t.string :reset_password_token
|
10
|
-
t.datetime :reset_password_sent_at
|
11
|
-
t.string :reset_password_redirect_url
|
12
|
-
|
13
|
-
## Rememberable
|
14
|
-
t.datetime :remember_created_at
|
15
|
-
|
16
|
-
## Trackable
|
17
|
-
t.integer :sign_in_count, :default => 0, :null => false
|
18
|
-
t.datetime :current_sign_in_at
|
19
|
-
t.datetime :last_sign_in_at
|
20
|
-
t.string :current_sign_in_ip
|
21
|
-
t.string :last_sign_in_ip
|
22
|
-
|
23
|
-
## Confirmable
|
24
|
-
t.string :confirmation_token
|
25
|
-
t.datetime :confirmed_at
|
26
|
-
t.datetime :confirmation_sent_at
|
27
|
-
t.string :confirm_success_url
|
28
|
-
t.string :unconfirmed_email # Only if using reconfirmable
|
29
|
-
|
30
|
-
## Lockable
|
31
|
-
# t.integer :failed_attempts, :default => 0, :null => false # Only if lock strategy is :failed_attempts
|
32
|
-
# t.string :unlock_token # Only if unlock strategy is :email or :both
|
33
|
-
# t.datetime :locked_at
|
34
|
-
|
35
|
-
## User Info
|
36
|
-
t.string :name
|
37
|
-
t.string :nickname
|
38
|
-
t.string :image
|
39
|
-
|
40
|
-
## unique oauth id
|
41
|
-
t.string :provider
|
42
|
-
t.string :uid, :null => false, :default => ""
|
43
|
-
|
44
|
-
## Tokens
|
45
|
-
t.text :tokens
|
46
|
-
|
47
|
-
t.timestamps
|
48
|
-
end
|
49
|
-
|
50
|
-
add_index :mangs, :email
|
51
|
-
add_index :mangs, :uid, :unique => true
|
52
|
-
add_index :mangs, :reset_password_token, :unique => true
|
53
|
-
# add_index :mangs, :confirmation_token, :unique => true
|
54
|
-
# add_index :mangs, :unlock_token, :unique => true
|
55
|
-
end
|
56
|
-
end
|