thoughtbot-clearance 0.6.8 → 0.6.9
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.textile +5 -0
- data/Rakefile +1 -1
- data/generators/clearance/templates/migrations/create_users.rb +4 -3
- metadata +2 -2
data/CHANGELOG.textile
CHANGED
data/Rakefile
CHANGED
@@ -53,7 +53,7 @@ task :default => ['test:all', 'test:features']
|
|
53
53
|
|
54
54
|
gem_spec = Gem::Specification.new do |gem_spec|
|
55
55
|
gem_spec.name = "clearance"
|
56
|
-
gem_spec.version = "0.6.
|
56
|
+
gem_spec.version = "0.6.9"
|
57
57
|
gem_spec.summary = "Rails authentication with email & password."
|
58
58
|
gem_spec.email = "support@thoughtbot.com"
|
59
59
|
gem_spec.homepage = "http://github.com/thoughtbot/clearance"
|
@@ -7,14 +7,15 @@ class ClearanceCreateUsers < ActiveRecord::Migration
|
|
7
7
|
t.string :token, :limit => 128
|
8
8
|
t.datetime :token_expires_at
|
9
9
|
t.boolean :email_confirmed, :default => false, :null => false
|
10
|
+
t.timestamps
|
10
11
|
end
|
11
12
|
|
12
13
|
add_index :users, [:id, :token]
|
13
14
|
add_index :users, :email
|
14
|
-
add_index :users, :token
|
15
|
+
add_index :users, :token
|
15
16
|
end
|
16
|
-
|
17
|
+
|
17
18
|
def self.down
|
18
|
-
drop_table :users
|
19
|
+
drop_table :users
|
19
20
|
end
|
20
21
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: thoughtbot-clearance
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dan Croak
|
@@ -24,7 +24,7 @@ autorequire:
|
|
24
24
|
bindir: bin
|
25
25
|
cert_chain: []
|
26
26
|
|
27
|
-
date: 2009-
|
27
|
+
date: 2009-07-03 21:00:00 -07:00
|
28
28
|
default_executable:
|
29
29
|
dependencies: []
|
30
30
|
|