thoughtbot-clearance 0.6.8 → 0.6.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,8 @@
1
+ h2. 0.6.9 (07/04/2009)
2
+
3
+ * Added timestamps to create users migration. (Dan Croak)
4
+ * Ready for Ruby 1.9. (Jason Morrison, Nick Quaranto)
5
+
1
6
  h2. 0.6.8 (06/24/2009)
2
7
 
3
8
  * Added defined? checks for various Rails constants such as ActionController
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.8"
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.8
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-06-23 21:00:00 -07:00
27
+ date: 2009-07-03 21:00:00 -07:00
28
28
  default_executable:
29
29
  dependencies: []
30
30