clearance 0.11.0 → 0.11.1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of clearance might be problematic. Click here for more details.

data/.bundle/config CHANGED
@@ -1,2 +1,2 @@
1
- ---
2
- BUNDLE_DISABLE_SHARED_GEMS: "1"
1
+ --- {}
2
+
data/CHANGELOG.md CHANGED
@@ -1,10 +1,19 @@
1
+ 0.11.1
2
+ -------------------
3
+
4
+ * [#146] Redirect to home page after sign up. (Dan Croak)
5
+ * [#145] Remove dependency on dynamic_form. Replaced with flashes due to limited number of failure cases. (Dan Croak)
6
+ * Moving ClearanceMailer to app/mailers. Moving spec to spec/mailers. (Dan Croak)
7
+ * [#148] Removing :case_sensitive option from validates_uniqueness_of. It was unnecessary and causes a small performance problem on some apps. (Dan Croak)
8
+ * Only development dependency in gemspec should be bundler. All others are derived by bundling. (Dan Croak)
9
+
1
10
  0.11.0
2
11
  -------------------
3
12
 
4
- * Removing password confirmation.
5
- * Use ActiveSupport::Concern and ActiveSupport::SecureRandom to clean up code.
6
- * New controller#authenticate(params) method. Redefine username & password or other styles of authentication.
7
- * before_filter :authenticate API replaced with more aptly-named before_filter :authorize.
13
+ * [#141] Removing password confirmation. (Dan Croak)
14
+ * [#143] Use ActiveSupport::Concern and ActiveSupport::SecureRandom to clean up code. (Dan Croak)
15
+ * New controller#authenticate(params) method. Redefine username & password or other styles of authentication. (Dan Croak)
16
+ * before_filter :authenticate API replaced with more aptly-named before_filter :authorize. (Dan Croak)
8
17
 
9
18
  0.10.5
10
19
  -------------------
@@ -14,11 +23,11 @@
14
23
  0.10.4
15
24
  ------------------
16
25
 
17
- * Formtastic views generator removed.
26
+ * Formtastic views generator removed. (Dan Croak)
18
27
  * Emails forced to be downcased (particularly for iPhone user case). (Adam Conrad)
19
28
  * Suite converted from test/unit to RSpec. (Joe Ferris)
20
- * Password reset requires a password. (Joel Meador)
21
- * Use HTML5 email fields.
29
+ * [#135] Password reset requires a password. (Joel Meador)
30
+ * [#138] Use HTML5 email fields. (Dan Croak)
22
31
 
23
32
  0.10.3.2
24
33
  ------------------
@@ -41,14 +50,14 @@
41
50
  * Replaced test/rails_root & general testing strategy with Diesel. (Joe Ferris)
42
51
  * Conveniences in factories for password/confirmation.
43
52
  * New generator command: rails generate clearance:install.
44
- * Step definitions are now prefixed with visitor_ to use thoughtbot convention.
53
+ * Step definitions are now prefixed with visitor_ to use thoughtbot convention. (Dan Croak)
45
54
  * When Clearance installed in an app that already has users, allow old users to sign in by resetting their password.
46
55
 
47
56
  0.10.1
48
57
  ------------------
49
58
 
50
- * replaced ActionController::Forbidden with a user-friendly flash message.
51
- * improved language of Cucumber steps by allowing a little more flexibility.
59
+ * replaced ActionController::Forbidden with a user-friendly flash message. (Dan Croak)
60
+ * improved language of Cucumber steps by allowing a little more flexibility. (Dan Croak)
52
61
 
53
62
  0.10.0
54
63
  ------------------
@@ -62,7 +71,7 @@
62
71
  https://github.com/rails/jquery-ujs/issues#issue/30
63
72
  http://bugs.jquery.com/ticket/7061
64
73
 
65
- 0.9.x
74
+ 0.9.1
66
75
  ------------------
67
76
 
68
77
  Forgot to update the changelog in a while, this is going to be brief:
data/Gemfile CHANGED
@@ -1,17 +1,15 @@
1
1
  source "http://rubygems.org"
2
- gem "cucumber"
3
2
  gem "aruba", "~> 0.2.7"
4
3
  gem "rake"
5
- gem "rails", ">= 3.0.6"
4
+ gem "rails", ">= 3.0.7"
6
5
  gem "thin"
7
6
  gem "shoulda"
8
7
  gem "sqlite3"
9
8
  gem "factory_girl"
10
9
  gem "diesel"
11
- gem "cucumber-rails"
10
+ gem "cucumber-rails", '0.3.2'
12
11
  gem "capybara"
13
12
  gem "factory_girl_rails"
14
13
  gem "rspec-rails"
15
- gem "dynamic_form"
16
14
  gem "launchy"
17
15
  gem "mocha"
data/Gemfile.lock CHANGED
@@ -2,39 +2,39 @@ GEM
2
2
  remote: http://rubygems.org/
3
3
  specs:
4
4
  abstract (1.0.0)
5
- actionmailer (3.0.6)
6
- actionpack (= 3.0.6)
7
- mail (~> 2.2.9)
8
- actionpack (3.0.6)
9
- activemodel (= 3.0.6)
10
- activesupport (= 3.0.6)
5
+ actionmailer (3.0.7)
6
+ actionpack (= 3.0.7)
7
+ mail (~> 2.2.15)
8
+ actionpack (3.0.7)
9
+ activemodel (= 3.0.7)
10
+ activesupport (= 3.0.7)
11
11
  builder (~> 2.1.2)
12
12
  erubis (~> 2.6.6)
13
- i18n (~> 0.4)
13
+ i18n (~> 0.5.0)
14
14
  rack (~> 1.2.1)
15
- rack-mount (~> 0.6.13)
16
- rack-test (~> 0.5.6)
15
+ rack-mount (~> 0.6.14)
16
+ rack-test (~> 0.5.7)
17
17
  tzinfo (~> 0.3.23)
18
- activemodel (3.0.6)
19
- activesupport (= 3.0.6)
18
+ activemodel (3.0.7)
19
+ activesupport (= 3.0.7)
20
20
  builder (~> 2.1.2)
21
- i18n (~> 0.4)
22
- activerecord (3.0.6)
23
- activemodel (= 3.0.6)
24
- activesupport (= 3.0.6)
21
+ i18n (~> 0.5.0)
22
+ activerecord (3.0.7)
23
+ activemodel (= 3.0.7)
24
+ activesupport (= 3.0.7)
25
25
  arel (~> 2.0.2)
26
26
  tzinfo (~> 0.3.23)
27
- activeresource (3.0.6)
28
- activemodel (= 3.0.6)
29
- activesupport (= 3.0.6)
30
- activesupport (3.0.6)
31
- arel (2.0.6)
27
+ activeresource (3.0.7)
28
+ activemodel (= 3.0.7)
29
+ activesupport (= 3.0.7)
30
+ activesupport (3.0.7)
31
+ arel (2.0.9)
32
32
  aruba (0.2.8)
33
33
  childprocess (~> 0.1.6)
34
34
  cucumber (~> 0.10.0)
35
35
  rspec (~> 2.3.0)
36
36
  builder (2.1.2)
37
- capybara (0.4.0)
37
+ capybara (0.4.1.2)
38
38
  celerity (>= 0.7.9)
39
39
  culerity (>= 0.2.4)
40
40
  mime-types (>= 1.16)
@@ -42,25 +42,24 @@ GEM
42
42
  rack (>= 1.0.0)
43
43
  rack-test (>= 0.5.4)
44
44
  selenium-webdriver (>= 0.0.27)
45
- xpath (~> 0.1.2)
46
- celerity (0.8.7)
47
- childprocess (0.1.6)
48
- ffi (~> 0.6.3)
45
+ xpath (~> 0.1.3)
46
+ celerity (0.8.9)
47
+ childprocess (0.1.8)
48
+ ffi (~> 1.0.6)
49
49
  configuration (1.2.0)
50
- cucumber (0.10.0)
50
+ cucumber (0.10.2)
51
51
  builder (>= 2.1.2)
52
- diff-lcs (~> 1.1.2)
53
- gherkin (~> 2.3.2)
54
- json (~> 1.4.6)
55
- term-ansicolor (~> 1.0.5)
52
+ diff-lcs (>= 1.1.2)
53
+ gherkin (>= 2.3.5)
54
+ json (>= 1.4.6)
55
+ term-ansicolor (>= 1.0.5)
56
56
  cucumber-rails (0.3.2)
57
57
  cucumber (>= 0.8.0)
58
- culerity (0.2.14)
59
- daemons (1.1.0)
58
+ culerity (0.2.15)
59
+ daemons (1.1.3)
60
60
  diesel (0.1.4)
61
- railties (~> 3.0.6)
61
+ railties (~> 3.0.3)
62
62
  diff-lcs (1.1.2)
63
- dynamic_form (1.1.3)
64
63
  erubis (2.6.6)
65
64
  abstract (>= 1.0.0)
66
65
  eventmachine (0.12.10)
@@ -68,42 +67,41 @@ GEM
68
67
  factory_girl_rails (1.0.1)
69
68
  factory_girl (~> 1.3)
70
69
  railties (>= 3.0.0)
71
- ffi (0.6.3)
70
+ ffi (1.0.7)
72
71
  rake (>= 0.8.7)
73
- gherkin (2.3.3)
74
- json (~> 1.4.6)
72
+ gherkin (2.3.6)
73
+ json (>= 1.4.6)
75
74
  i18n (0.5.0)
76
- json (1.4.6)
77
- json_pure (1.4.6)
78
- launchy (0.3.7)
75
+ json (1.5.1)
76
+ json_pure (1.5.1)
77
+ launchy (0.4.0)
79
78
  configuration (>= 0.0.5)
80
79
  rake (>= 0.8.1)
81
- mail (2.2.14)
80
+ mail (2.2.19)
82
81
  activesupport (>= 2.3.6)
83
82
  i18n (>= 0.4.0)
84
83
  mime-types (~> 1.16)
85
84
  treetop (~> 1.4.8)
86
85
  mime-types (1.16)
87
- mocha (0.9.10)
88
- rake
86
+ mocha (0.9.12)
89
87
  nokogiri (1.4.4)
90
88
  polyglot (0.3.1)
91
- rack (1.2.1)
92
- rack-mount (0.6.13)
89
+ rack (1.2.2)
90
+ rack-mount (0.6.14)
93
91
  rack (>= 1.0.0)
94
92
  rack-test (0.5.7)
95
93
  rack (>= 1.0)
96
- rails (3.0.6)
97
- actionmailer (= 3.0.6)
98
- actionpack (= 3.0.6)
99
- activerecord (= 3.0.6)
100
- activeresource (= 3.0.6)
101
- activesupport (= 3.0.6)
94
+ rails (3.0.7)
95
+ actionmailer (= 3.0.7)
96
+ actionpack (= 3.0.7)
97
+ activerecord (= 3.0.7)
98
+ activeresource (= 3.0.7)
99
+ activesupport (= 3.0.7)
102
100
  bundler (~> 1.0)
103
- railties (= 3.0.6)
104
- railties (3.0.6)
105
- actionpack (= 3.0.6)
106
- activesupport (= 3.0.6)
101
+ railties (= 3.0.7)
102
+ railties (3.0.7)
103
+ actionpack (= 3.0.7)
104
+ activesupport (= 3.0.7)
107
105
  rake (>= 0.8.7)
108
106
  thor (~> 0.14.4)
109
107
  rake (0.8.7)
@@ -121,23 +119,23 @@ GEM
121
119
  railties (~> 3.0)
122
120
  rspec (~> 2.3.0)
123
121
  rubyzip (0.9.4)
124
- selenium-webdriver (0.1.2)
125
- childprocess (~> 0.1.5)
126
- ffi (~> 0.6.3)
122
+ selenium-webdriver (0.2.0)
123
+ childprocess (>= 0.1.7)
124
+ ffi (>= 1.0.7)
127
125
  json_pure
128
126
  rubyzip
129
127
  shoulda (2.11.3)
130
128
  sqlite3 (1.3.3)
131
129
  term-ansicolor (1.0.5)
132
- thin (1.2.7)
130
+ thin (1.2.11)
133
131
  daemons (>= 1.0.9)
134
132
  eventmachine (>= 0.12.6)
135
133
  rack (>= 1.0.0)
136
134
  thor (0.14.6)
137
135
  treetop (1.4.9)
138
136
  polyglot (>= 0.3.1)
139
- tzinfo (0.3.23)
140
- xpath (0.1.3)
137
+ tzinfo (0.3.27)
138
+ xpath (0.1.4)
141
139
  nokogiri (~> 1.3)
142
140
 
143
141
  PLATFORMS
@@ -146,15 +144,13 @@ PLATFORMS
146
144
  DEPENDENCIES
147
145
  aruba (~> 0.2.7)
148
146
  capybara
149
- cucumber
150
- cucumber-rails
147
+ cucumber-rails (= 0.3.2)
151
148
  diesel
152
- dynamic_form
153
149
  factory_girl
154
150
  factory_girl_rails
155
151
  launchy
156
152
  mocha
157
- rails (>= 3.0.6)
153
+ rails (>= 3.0.7)
158
154
  rake
159
155
  rspec-rails
160
156
  shoulda
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.11.0
1
+ 0.11.1
@@ -36,6 +36,7 @@ class Clearance::PasswordsController < ApplicationController
36
36
  flash_success_after_update
37
37
  redirect_to(url_after_update)
38
38
  else
39
+ flash_failure_after_update
39
40
  render :template => 'passwords/edit'
40
41
  end
41
42
  end
@@ -80,6 +81,12 @@ class Clearance::PasswordsController < ApplicationController
80
81
  flash[:success] = translate(:signed_in, :default => "Signed in.")
81
82
  end
82
83
 
84
+ def flash_failure_after_update
85
+ flash.now[:failure] = translate(:blank_password,
86
+ :scope => [:clearance, :controllers, :passwords],
87
+ :default => "Password can't be blank.")
88
+ end
89
+
83
90
  def url_after_create
84
91
  sign_in_url
85
92
  end
@@ -1,8 +1,8 @@
1
1
  class Clearance::UsersController < ApplicationController
2
2
  unloadable
3
3
 
4
- skip_before_filter :authorize, :only => [:new, :create]
5
- before_filter :redirect_to_root, :only => [:new, :create], :if => :signed_in?
4
+ skip_before_filter :authorize, :only => [:new, :create]
5
+ before_filter :redirect_to_root, :only => [:new, :create], :if => :signed_in?
6
6
 
7
7
  def new
8
8
  @user = ::User.new(params[:user])
@@ -12,10 +12,11 @@ class Clearance::UsersController < ApplicationController
12
12
  def create
13
13
  @user = ::User.new(params[:user])
14
14
  if @user.save
15
- flash_notice_after_create
16
15
  sign_in(@user)
16
+ flash_notice_after_create
17
17
  redirect_to(url_after_create)
18
18
  else
19
+ flash_failure_after_create
19
20
  render :template => 'users/new'
20
21
  end
21
22
  end
@@ -28,7 +29,13 @@ class Clearance::UsersController < ApplicationController
28
29
  :default => "You are now signed up.")
29
30
  end
30
31
 
32
+ def flash_failure_after_create
33
+ flash.now[:failure] = translate(:bad_email_or_password,
34
+ :scope => [:clearance, :controllers, :passwords],
35
+ :default => "Must be a valid email address. Password can't be blank.")
36
+ end
37
+
31
38
  def url_after_create
32
- sign_in_url
39
+ '/'
33
40
  end
34
41
  end
File without changes
@@ -7,7 +7,6 @@
7
7
  <%= form_for(:user,
8
8
  :url => user_password_path(@user, :token => @user.confirmation_token),
9
9
  :html => { :method => :put }) do |form| %>
10
- <%= form.error_messages %>
11
10
  <div class="password_field">
12
11
  <%= form.label :password, "Choose password" %>
13
12
  <%= form.password_field :password %>
@@ -1,4 +1,3 @@
1
- <%= form.error_messages %>
2
1
  <div class="text_field">
3
2
  <%= form.label :email %>
4
3
  <%= form.text_field :email, :type => "email" %>
data/clearance.gemspec CHANGED
@@ -7,7 +7,7 @@ Gem::Specification.new do |s|
7
7
  s.homepage = %q{http://github.com/thoughtbot/clearance}
8
8
 
9
9
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
10
- s.authors = ["Dan Croak", "Mike Burns", "Jason Morrison", "Joe Ferris", "Eugene Bolshakov", "Nick Quaranto", "Josh Nichols", "Mike Breen", "Marcel G\303\266rner", "Bence Nagy", "Ben Mabey", "Eloy Duran", "Tim Pope", "Mihai Anca", "Mark Cornick", "Shay Arnett", "Jon Yurek", "Chad Pytel"]
10
+ s.authors = ["Dan Croak", "Mike Burns", "Jason Morrison", "Joe Ferris", "Eugene Bolshakov", "Nick Quaranto", "Josh Nichols", "Mike Breen", "Jon Yurek", "Chad Pytel"]
11
11
  s.date = Date.today.to_s
12
12
  s.summary = %q{Rails authentication & authorization with email & password.}
13
13
  s.description = %q{Rails authentication & authorization with email & password.}
@@ -25,8 +25,7 @@ Gem::Specification.new do |s|
25
25
  s.add_dependency('rails', '~> 3.0.0')
26
26
  s.add_dependency('diesel', '~> 0.1.4')
27
27
 
28
- s.add_development_dependency('rspec', '~> 1.3.0')
29
- s.add_development_dependency('cucumber', '~> 0.10.0')
28
+ s.add_development_dependency('bundler', '~> 1.0.0')
30
29
 
31
30
  if s.respond_to? :specification_version then
32
31
  current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
@@ -23,7 +23,7 @@ Feature: Password reset
23
23
  And I press "Reset password"
24
24
  When I follow the password reset link sent to "email@example.com"
25
25
  And I update my password with ""
26
- Then I should see an error message
26
+ Then I should see "Password can't be blank."
27
27
  And I should be signed out
28
28
 
29
29
  Scenario: User is signed up and updates his password
@@ -1,6 +1,6 @@
1
1
  Feature: Sign up
2
2
 
3
- In order to get access to protected sections of the site
3
+ In order to access protected sections of the site
4
4
  As a visitor
5
5
  I want to sign up
6
6
 
@@ -12,7 +12,7 @@ Feature: Sign up
12
12
  When I fill in "Email" with "invalidemail"
13
13
  And I fill in "Password" with "password"
14
14
  And I press "Sign up"
15
- Then I should see "Email is invalid"
15
+ Then I should see "Must be a valid email address"
16
16
 
17
17
  Scenario: Visitor signs up with blank password
18
18
  When I fill in "Email" with "email@example.com"
@@ -25,3 +25,4 @@ Feature: Sign up
25
25
  And I fill in "Password" with "password"
26
26
  And I press "Sign up"
27
27
  Then I should see "signed up"
28
+ And I should be on the home page
@@ -45,7 +45,7 @@ module Clearance
45
45
  # :password must be present, confirmed
46
46
  included do
47
47
  validates_presence_of :email, :unless => :email_optional?
48
- validates_uniqueness_of :email, :case_sensitive => false, :allow_blank => true
48
+ validates_uniqueness_of :email, :allow_blank => true
49
49
  validates_format_of :email, :with => %r{^[a-z0-9!#\$%&'*+\/=?^_`{|}~-]+(?:\.[a-z0-9!#\$%&'*+\/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$}i, :allow_blank => true
50
50
 
51
51
  validates_presence_of :password, :unless => :password_optional?
@@ -154,7 +154,7 @@ describe Clearance::PasswordsController do
154
154
  cookies[:remember_token].should be_nil
155
155
  end
156
156
 
157
- it { should_not set_the_flash }
157
+ it { should set_the_flash.to(/password can't be blank/i) }
158
158
  it { should respond_with(:success) }
159
159
  it { should render_template(:edit) }
160
160
  end
File without changes
@@ -1,14 +1,9 @@
1
1
  require 'spec_helper'
2
2
 
3
3
  describe User do
4
-
5
- # db
6
-
7
4
  it { should have_db_index(:email) }
8
5
  it { should have_db_index(:remember_token) }
9
6
 
10
- # signing up
11
-
12
7
  describe "When signing up" do
13
8
  it { should validate_presence_of(:email) }
14
9
  it { should validate_presence_of(:password) }
@@ -52,8 +47,6 @@ describe User do
52
47
  it { should validate_uniqueness_of(:email) }
53
48
  end
54
49
 
55
- # authenticating
56
-
57
50
  describe "A user" do
58
51
  before do
59
52
  @user = Factory(:user)
@@ -76,8 +69,6 @@ describe User do
76
69
  end
77
70
  end
78
71
 
79
- # resetting remember token
80
-
81
72
  describe "When resetting authentication with reset_remember_token!" do
82
73
  before do
83
74
  @user = Factory(:user)
@@ -90,8 +81,6 @@ describe User do
90
81
  end
91
82
  end
92
83
 
93
- # updating password
94
-
95
84
  describe "An email confirmed user" do
96
85
  before do
97
86
  @user = Factory(:user)
@@ -118,8 +107,6 @@ describe User do
118
107
  second_user.remember_token.should_not == first_user.remember_token
119
108
  end
120
109
 
121
- # recovering forgotten password
122
-
123
110
  describe "An user" do
124
111
  before do
125
112
  @user = Factory(:user)
@@ -166,10 +153,8 @@ describe User do
166
153
  end
167
154
  end
168
155
  end
169
-
170
156
  end
171
157
 
172
- # optional email/password fields
173
158
  describe "a user with an optional email" do
174
159
  before do
175
160
  @user = User.new
metadata CHANGED
@@ -1,12 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: clearance
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: false
5
- segments:
6
- - 0
7
- - 11
8
- - 0
9
- version: 0.11.0
4
+ prerelease:
5
+ version: 0.11.1
10
6
  platform: ruby
11
7
  authors:
12
8
  - Dan Croak
@@ -17,22 +13,13 @@ authors:
17
13
  - Nick Quaranto
18
14
  - Josh Nichols
19
15
  - Mike Breen
20
- - "Marcel G\xC3\xB6rner"
21
- - Bence Nagy
22
- - Ben Mabey
23
- - Eloy Duran
24
- - Tim Pope
25
- - Mihai Anca
26
- - Mark Cornick
27
- - Shay Arnett
28
16
  - Jon Yurek
29
17
  - Chad Pytel
30
18
  autorequire:
31
19
  bindir: bin
32
20
  cert_chain: []
33
21
 
34
- date: 2011-04-24 00:00:00 -04:00
35
- default_executable:
22
+ date: 2011-04-30 00:00:00 Z
36
23
  dependencies:
37
24
  - !ruby/object:Gem::Dependency
38
25
  name: rails
@@ -42,10 +29,6 @@ dependencies:
42
29
  requirements:
43
30
  - - ~>
44
31
  - !ruby/object:Gem::Version
45
- segments:
46
- - 3
47
- - 0
48
- - 0
49
32
  version: 3.0.0
50
33
  type: :runtime
51
34
  version_requirements: *id001
@@ -57,43 +40,20 @@ dependencies:
57
40
  requirements:
58
41
  - - ~>
59
42
  - !ruby/object:Gem::Version
60
- segments:
61
- - 0
62
- - 1
63
- - 4
64
43
  version: 0.1.4
65
44
  type: :runtime
66
45
  version_requirements: *id002
67
46
  - !ruby/object:Gem::Dependency
68
- name: rspec
47
+ name: bundler
69
48
  prerelease: false
70
49
  requirement: &id003 !ruby/object:Gem::Requirement
71
50
  none: false
72
51
  requirements:
73
52
  - - ~>
74
53
  - !ruby/object:Gem::Version
75
- segments:
76
- - 1
77
- - 3
78
- - 0
79
- version: 1.3.0
54
+ version: 1.0.0
80
55
  type: :development
81
56
  version_requirements: *id003
82
- - !ruby/object:Gem::Dependency
83
- name: cucumber
84
- prerelease: false
85
- requirement: &id004 !ruby/object:Gem::Requirement
86
- none: false
87
- requirements:
88
- - - ~>
89
- - !ruby/object:Gem::Version
90
- segments:
91
- - 0
92
- - 10
93
- - 0
94
- version: 0.10.0
95
- type: :development
96
- version_requirements: *id004
97
57
  description: Rails authentication & authorization with email & password.
98
58
  email: support@thoughtbot.com
99
59
  executables: []
@@ -117,7 +77,7 @@ files:
117
77
  - app/controllers/clearance/passwords_controller.rb
118
78
  - app/controllers/clearance/sessions_controller.rb
119
79
  - app/controllers/clearance/users_controller.rb
120
- - app/models/clearance_mailer.rb
80
+ - app/mailers/clearance_mailer.rb
121
81
  - app/views/clearance_mailer/change_password.html.erb
122
82
  - app/views/layouts/application.html.erb
123
83
  - app/views/passwords/edit.html.erb
@@ -159,13 +119,12 @@ files:
159
119
  - spec/controllers/sessions_controller_spec.rb
160
120
  - spec/controllers/users_controller_spec.rb
161
121
  - spec/factories.rb
162
- - spec/models/clearance_mailer_spec.rb
122
+ - spec/mailers/clearance_mailer_spec.rb
163
123
  - spec/models/user_spec.rb
164
124
  - spec/spec_helper.rb
165
125
  - spec/support/authorization.rb
166
126
  - spec/support/clearance_redirects.rb
167
127
  - spec/support/cookies.rb
168
- has_rdoc: true
169
128
  homepage: http://github.com/thoughtbot/clearance
170
129
  licenses: []
171
130
 
@@ -179,21 +138,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
179
138
  requirements:
180
139
  - - ">="
181
140
  - !ruby/object:Gem::Version
182
- segments:
183
- - 0
184
141
  version: "0"
185
142
  required_rubygems_version: !ruby/object:Gem::Requirement
186
143
  none: false
187
144
  requirements:
188
145
  - - ">="
189
146
  - !ruby/object:Gem::Version
190
- segments:
191
- - 0
192
147
  version: "0"
193
148
  requirements: []
194
149
 
195
150
  rubyforge_project:
196
- rubygems_version: 1.3.7
151
+ rubygems_version: 1.7.2
197
152
  signing_key:
198
153
  specification_version: 3
199
154
  summary: Rails authentication & authorization with email & password.