clearance 0.9.0.rc3 → 0.9.0.rc4

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/Rakefile CHANGED
@@ -100,13 +100,11 @@ namespace :generator do
100
100
  FileUtils.rm_rf(each)
101
101
  end
102
102
 
103
- FileUtils.rm_rf("test/rails_root/vendor/plugins/clearance")
104
103
  FileUtils.rm_rf("test/rails_root/app/views/passwords")
105
104
  FileUtils.rm_rf("test/rails_root/app/views/sessions")
106
105
  FileUtils.rm_rf("test/rails_root/app/views/users")
107
106
  FileUtils.mkdir_p("test/rails_root/vendor/plugins")
108
107
  clearance_root = File.expand_path(File.dirname(__FILE__))
109
- system("ln -s #{clearance_root} test/rails_root/vendor/plugins/clearance")
110
108
  FileList["test/rails_root/features/*.feature"].each do |each|
111
109
  FileUtils.rm_rf(each)
112
110
  end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.9.0.rc3
1
+ 0.9.0.rc4
@@ -7,8 +7,6 @@ class Clearance::ConfirmationsController < ApplicationController
7
7
  before_filter :forbid_missing_token, :only => [:new, :create]
8
8
  before_filter :forbid_non_existent_user, :only => [:new, :create]
9
9
 
10
- filter_parameter_logging :token
11
-
12
10
  def new
13
11
  create
14
12
  end
@@ -4,7 +4,6 @@ class Clearance::PasswordsController < ApplicationController
4
4
  skip_before_filter :authenticate, :only => [:new, :create, :edit, :update]
5
5
  before_filter :forbid_missing_token, :only => [:edit, :update]
6
6
  before_filter :forbid_non_existent_user, :only => [:edit, :update]
7
- filter_parameter_logging :password, :password_confirmation
8
7
 
9
8
  def new
10
9
  render :template => 'passwords/new'
@@ -3,7 +3,6 @@ class Clearance::SessionsController < ApplicationController
3
3
 
4
4
  skip_before_filter :authenticate, :only => [:new, :create, :destroy]
5
5
  protect_from_forgery :except => :create
6
- filter_parameter_logging :password
7
6
 
8
7
  def new
9
8
  render :template => 'sessions/new'
@@ -3,7 +3,6 @@ class Clearance::UsersController < ApplicationController
3
3
 
4
4
  skip_before_filter :authenticate, :only => [:new, :create]
5
5
  before_filter :redirect_to_root, :only => [:new, :create], :if => :signed_in?
6
- filter_parameter_logging :password
7
6
 
8
7
  def new
9
8
  @user = ::User.new(params[:user])
@@ -120,7 +120,6 @@ Gem::Specification.new do |s|
120
120
  "spec/rails_root/script/cucumber",
121
121
  "spec/rails_root/script/rails",
122
122
  "spec/rails_root/spec/factories/clearance.rb",
123
- "spec/rails_root/vendor/plugins/clearance",
124
123
  "spec/rails_root/vendor/plugins/dynamic_form/MIT-LICENSE",
125
124
  "spec/rails_root/vendor/plugins/dynamic_form/README",
126
125
  "spec/rails_root/vendor/plugins/dynamic_form/Rakefile",
@@ -3,5 +3,8 @@ require "rails"
3
3
 
4
4
  module Clearance
5
5
  class Engine < Rails::Engine
6
+ initializer "clearance.filter" do |app|
7
+ app.config.filter_parameters += [:token, :password, :password_confirmation]
8
+ end
6
9
  end
7
10
  end
@@ -9,7 +9,7 @@
9
9
  #
10
10
  # It's strongly recommended to check this file into your version control system.
11
11
 
12
- ActiveRecord::Schema.define(:version => 20100629180247) do
12
+ ActiveRecord::Schema.define(:version => 20100718143812) do
13
13
 
14
14
  create_table "users", :force => true do |t|
15
15
  t.string "email"
@@ -18,23 +18,7 @@ gem 'nokogiri', '1.4.1'
18
18
  gem 'capybara'
19
19
  gem 'database_cleaner'
20
20
  gem 'cucumber-rails', '0.3.2'
21
- gem 'cucumber', '0.8.0'
21
+ gem 'cucumber', '0.8.5'
22
22
  gem 'launchy'
23
23
 
24
- # Use unicorn as the web server
25
- # gem 'unicorn'
26
-
27
- # Deploy with Capistrano
28
- # gem 'capistrano'
29
-
30
- # Bundle the extra gems:
31
- # gem 'bj'
32
- # gem 'nokogiri', '1.4.1'
33
- # gem 'sqlite3-ruby', :require => 'sqlite3'
34
- # gem 'aws-s3', :require => 'aws/s3'
35
-
36
- # Bundle gems for certain environments:
37
- # gem 'rspec', :group => :test
38
- # group :test do
39
- # gem 'webrat'
40
- # end
24
+ gem 'clearance', :path => '../..'
metadata CHANGED
@@ -1,13 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: clearance
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 977940485
4
5
  prerelease: true
5
6
  segments:
6
7
  - 0
7
8
  - 9
8
9
  - 0
9
- - rc3
10
- version: 0.9.0.rc3
10
+ - rc4
11
+ version: 0.9.0.rc4
11
12
  platform: ruby
12
13
  authors:
13
14
  - Dan Croak
@@ -32,16 +33,18 @@ autorequire:
32
33
  bindir: bin
33
34
  cert_chain: []
34
35
 
35
- date: 2010-06-29 00:00:00 -04:00
36
+ date: 2010-06-29 00:00:00 -05:00
36
37
  default_executable:
37
38
  dependencies:
38
39
  - !ruby/object:Gem::Dependency
39
40
  name: rails
40
41
  prerelease: false
41
42
  requirement: &id001 !ruby/object:Gem::Requirement
43
+ none: false
42
44
  requirements:
43
45
  - - ~>
44
46
  - !ruby/object:Gem::Version
47
+ hash: -1848230024
45
48
  segments:
46
49
  - 3
47
50
  - 0
@@ -54,9 +57,11 @@ dependencies:
54
57
  name: rspec
55
58
  prerelease: false
56
59
  requirement: &id002 !ruby/object:Gem::Requirement
60
+ none: false
57
61
  requirements:
58
62
  - - ">="
59
63
  - !ruby/object:Gem::Version
64
+ hash: 27
60
65
  segments:
61
66
  - 1
62
67
  - 3
@@ -122,6 +127,132 @@ files:
122
127
  - lib/rails/generators/clearance_views_templates/formtastic/erb/users/new.html.erb
123
128
  - rails/init.rb
124
129
  - shoulda_macros/clearance.rb
130
+ - spec/rails_root/Gemfile
131
+ - spec/rails_root/README
132
+ - spec/rails_root/Rakefile
133
+ - spec/rails_root/app/controllers/accounts_controller.rb
134
+ - spec/rails_root/app/controllers/application_controller.rb
135
+ - spec/rails_root/app/helpers/application_helper.rb
136
+ - spec/rails_root/app/models/user.rb
137
+ - spec/rails_root/app/views/accounts/edit.html.erb
138
+ - spec/rails_root/app/views/layouts/application.html.erb
139
+ - spec/rails_root/config.ru
140
+ - spec/rails_root/config/application.rb
141
+ - spec/rails_root/config/boot.rb
142
+ - spec/rails_root/config/cucumber.yml
143
+ - spec/rails_root/config/database.yml
144
+ - spec/rails_root/config/environment.rb
145
+ - spec/rails_root/config/environments/development.rb
146
+ - spec/rails_root/config/environments/production.rb
147
+ - spec/rails_root/config/environments/test.rb
148
+ - spec/rails_root/config/initializers/backtrace_silencers.rb
149
+ - spec/rails_root/config/initializers/clearance.rb
150
+ - spec/rails_root/config/initializers/inflections.rb
151
+ - spec/rails_root/config/initializers/mime_types.rb
152
+ - spec/rails_root/config/initializers/secret_token.rb
153
+ - spec/rails_root/config/initializers/session_store.rb
154
+ - spec/rails_root/config/locales/en.yml
155
+ - spec/rails_root/config/routes.rb
156
+ - spec/rails_root/db/schema.rb
157
+ - spec/rails_root/doc/README_FOR_APP
158
+ - spec/rails_root/features/password_reset.feature
159
+ - spec/rails_root/features/sign_in.feature
160
+ - spec/rails_root/features/sign_out.feature
161
+ - spec/rails_root/features/sign_up.feature
162
+ - spec/rails_root/features/step_definitions/clearance_steps.rb
163
+ - spec/rails_root/features/step_definitions/web_steps.rb
164
+ - spec/rails_root/features/support/env.rb
165
+ - spec/rails_root/features/support/paths.rb
166
+ - spec/rails_root/lib/tasks/cucumber.rake
167
+ - spec/rails_root/public/404.html
168
+ - spec/rails_root/public/422.html
169
+ - spec/rails_root/public/500.html
170
+ - spec/rails_root/public/favicon.ico
171
+ - spec/rails_root/public/images/rails.png
172
+ - spec/rails_root/public/javascripts/application.js
173
+ - spec/rails_root/public/javascripts/controls.js
174
+ - spec/rails_root/public/javascripts/dragdrop.js
175
+ - spec/rails_root/public/javascripts/effects.js
176
+ - spec/rails_root/public/javascripts/prototype.js
177
+ - spec/rails_root/public/javascripts/rails.js
178
+ - spec/rails_root/public/robots.txt
179
+ - spec/rails_root/script/cucumber
180
+ - spec/rails_root/script/rails
181
+ - spec/rails_root/spec/factories/clearance.rb
182
+ - spec/rails_root/vendor/plugins/dynamic_form/MIT-LICENSE
183
+ - spec/rails_root/vendor/plugins/dynamic_form/README
184
+ - spec/rails_root/vendor/plugins/dynamic_form/Rakefile
185
+ - spec/rails_root/vendor/plugins/dynamic_form/init.rb
186
+ - spec/rails_root/vendor/plugins/dynamic_form/lib/action_view/helpers/dynamic_form.rb
187
+ - spec/rails_root/vendor/plugins/dynamic_form/lib/action_view/locale/en.yml
188
+ - spec/rails_root/vendor/plugins/dynamic_form/test/dynamic_form_i18n_test.rb
189
+ - spec/rails_root/vendor/plugins/dynamic_form/test/dynamic_form_test.rb
190
+ - spec/rails_root/vendor/plugins/dynamic_form/test/test_helper.rb
191
+ - test/controllers/confirmations_controller_test.rb
192
+ - test/controllers/passwords_controller_test.rb
193
+ - test/controllers/sessions_controller_test.rb
194
+ - test/controllers/users_controller_test.rb
195
+ - test/models/clearance_mailer_test.rb
196
+ - test/models/user_test.rb
197
+ - test/rails_root/Gemfile
198
+ - test/rails_root/README
199
+ - test/rails_root/Rakefile
200
+ - test/rails_root/app/controllers/accounts_controller.rb
201
+ - test/rails_root/app/controllers/application_controller.rb
202
+ - test/rails_root/app/helpers/application_helper.rb
203
+ - test/rails_root/app/models/user.rb
204
+ - test/rails_root/app/views/accounts/edit.html.erb
205
+ - test/rails_root/app/views/layouts/application.html.erb
206
+ - test/rails_root/config.ru
207
+ - test/rails_root/config/application.rb
208
+ - test/rails_root/config/boot.rb
209
+ - test/rails_root/config/cucumber.yml
210
+ - test/rails_root/config/database.yml
211
+ - test/rails_root/config/environment.rb
212
+ - test/rails_root/config/environments/development.rb
213
+ - test/rails_root/config/environments/production.rb
214
+ - test/rails_root/config/environments/test.rb
215
+ - test/rails_root/config/initializers/backtrace_silencers.rb
216
+ - test/rails_root/config/initializers/clearance.rb
217
+ - test/rails_root/config/initializers/inflections.rb
218
+ - test/rails_root/config/initializers/mime_types.rb
219
+ - test/rails_root/config/initializers/secret_token.rb
220
+ - test/rails_root/config/initializers/session_store.rb
221
+ - test/rails_root/config/locales/en.yml
222
+ - test/rails_root/config/routes.rb
223
+ - test/rails_root/doc/README_FOR_APP
224
+ - test/rails_root/features/step_definitions/web_steps.rb
225
+ - test/rails_root/features/support/env.rb
226
+ - test/rails_root/features/support/paths.rb
227
+ - test/rails_root/lib/tasks/cucumber.rake
228
+ - test/rails_root/public/404.html
229
+ - test/rails_root/public/422.html
230
+ - test/rails_root/public/500.html
231
+ - test/rails_root/public/favicon.ico
232
+ - test/rails_root/public/images/rails.png
233
+ - test/rails_root/public/javascripts/application.js
234
+ - test/rails_root/public/javascripts/controls.js
235
+ - test/rails_root/public/javascripts/dragdrop.js
236
+ - test/rails_root/public/javascripts/effects.js
237
+ - test/rails_root/public/javascripts/prototype.js
238
+ - test/rails_root/public/javascripts/rails.js
239
+ - test/rails_root/public/robots.txt
240
+ - test/rails_root/script/cucumber
241
+ - test/rails_root/script/rails
242
+ - test/rails_root/test/factories/clearance.rb
243
+ - test/rails_root/test/functional/accounts_controller_test.rb
244
+ - test/rails_root/test/performance/browsing_test.rb
245
+ - test/rails_root/test/test_helper.rb
246
+ - test/rails_root/vendor/plugins/dynamic_form/MIT-LICENSE
247
+ - test/rails_root/vendor/plugins/dynamic_form/README
248
+ - test/rails_root/vendor/plugins/dynamic_form/Rakefile
249
+ - test/rails_root/vendor/plugins/dynamic_form/init.rb
250
+ - test/rails_root/vendor/plugins/dynamic_form/lib/action_view/helpers/dynamic_form.rb
251
+ - test/rails_root/vendor/plugins/dynamic_form/lib/action_view/locale/en.yml
252
+ - test/rails_root/vendor/plugins/dynamic_form/test/dynamic_form_i18n_test.rb
253
+ - test/rails_root/vendor/plugins/dynamic_form/test/dynamic_form_test.rb
254
+ - test/rails_root/vendor/plugins/dynamic_form/test/test_helper.rb
255
+ - test/test_helper.rb
125
256
  has_rdoc: true
126
257
  homepage: http://github.com/thoughtbot/clearance
127
258
  licenses: []
@@ -132,23 +263,27 @@ rdoc_options:
132
263
  require_paths:
133
264
  - lib
134
265
  required_ruby_version: !ruby/object:Gem::Requirement
266
+ none: false
135
267
  requirements:
136
268
  - - ">="
137
269
  - !ruby/object:Gem::Version
270
+ hash: 3
138
271
  segments:
139
272
  - 0
140
273
  version: "0"
141
274
  required_rubygems_version: !ruby/object:Gem::Requirement
275
+ none: false
142
276
  requirements:
143
277
  - - ">="
144
278
  - !ruby/object:Gem::Version
279
+ hash: 3
145
280
  segments:
146
281
  - 0
147
282
  version: "0"
148
283
  requirements: []
149
284
 
150
285
  rubyforge_project:
151
- rubygems_version: 1.3.6
286
+ rubygems_version: 1.3.7
152
287
  signing_key:
153
288
  specification_version: 3
154
289
  summary: Rails authentication with email & password.