thoughtbot-clearance 0.5.4 → 0.5.6

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.textile CHANGED
@@ -1,16 +1,30 @@
1
- h1. 0.5.3 (3/5/2009)
1
+ h2. 0.5.6 (4/11/2009)
2
+
3
+ * [#57] Step definition changed for "User should see error messages" so
4
+ features won't fail for certain validations. (Nick Quaranto)
5
+
6
+ h2. 0.5.5 (3/23/2009)
7
+
8
+ * Removing duplicate test to get rid of warning. (Nick Quaranto)
9
+
10
+ h2. 0.5.4 (3/21/2009)
11
+
12
+ * When users fail logging in, redirect them instead of rendering. (Matt
13
+ Jankowski)
14
+
15
+ h2. 0.5.3 (3/5/2009)
2
16
 
3
17
  * Clearance now works with (and requires) Shoulda 2.10.0. (Mark Cornick, Joe
4
18
  Ferris, Dan Croak)
5
19
  * Prefer flat over nested contexts in sessions_controller_test. (Joe Ferris,
6
20
  Dan Croak)
7
21
 
8
- h1. 0.5.2 (3/2/2009)
22
+ h2. 0.5.2 (3/2/2009)
9
23
 
10
24
  * Fixed last remaining errors in Rails 2.3 tests. Now fully compatible. (Joe
11
25
  Ferris, Dan Croak)
12
26
 
13
- h1. 0.5.1 (2/27/2009)
27
+ h2. 0.5.1 (2/27/2009)
14
28
 
15
29
  * [#46] A user with unconfirmed email who resets password now confirms email.
16
30
  (Marcel Görner)
data/README.textile CHANGED
@@ -1,6 +1,6 @@
1
1
  h1. Clearance
2
2
 
3
- Rails authentication for developers who write tests.
3
+ Rails authentication with email & password.
4
4
 
5
5
  "We have clearance, Clarence.":http://www.youtube.com/v/mNRXJEE3Nz8
6
6
 
@@ -19,7 +19,7 @@ In config/environment.rb:
19
19
  config.gem "thoughtbot-clearance",
20
20
  :lib => 'clearance',
21
21
  :source => 'http://gems.github.com',
22
- :version => '0.5.3'
22
+ :version => '0.5.5'
23
23
 
24
24
  In config/environments/test.rb:
25
25
 
data/Rakefile CHANGED
@@ -52,7 +52,7 @@ task :default => ['test:all', 'test:features']
52
52
 
53
53
  gem_spec = Gem::Specification.new do |gem_spec|
54
54
  gem_spec.name = "clearance"
55
- gem_spec.version = "0.5.3"
55
+ gem_spec.version = "0.5.6"
56
56
  gem_spec.summary = "Rails authentication for developers who write tests."
57
57
  gem_spec.email = "support@thoughtbot.com"
58
58
  gem_spec.homepage = "http://github.com/thoughtbot/clearance"
@@ -1,7 +1,7 @@
1
1
  # General
2
2
 
3
3
  Then /^I should see error messages$/ do
4
- Then %{I should see "error(s)? prohibited"}
4
+ response.should contain(/error(s)? prohibited/)
5
5
  end
6
6
 
7
7
  # Database
@@ -27,7 +27,6 @@ module Clearance
27
27
  end
28
28
 
29
29
  should_deny_access(:flash => /User has not confirmed email. Confirmation email will be resent./i)
30
- should_redirect_to('new_session_url') { new_session_url }
31
30
 
32
31
  should "send the confirmation email" do
33
32
  assert_not_nil email = ActionMailer::Base.deliveries[0]
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.5.4
4
+ version: 0.5.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - thoughtbot, inc.
@@ -23,7 +23,7 @@ autorequire:
23
23
  bindir: bin
24
24
  cert_chain: []
25
25
 
26
- date: 2009-03-04 21:00:00 -08:00
26
+ date: 2009-04-10 21:00:00 -07:00
27
27
  default_executable:
28
28
  dependencies: []
29
29
 
@@ -37,7 +37,6 @@ extra_rdoc_files: []
37
37
 
38
38
  files:
39
39
  - CHANGELOG.textile
40
- - KNOWN_ISSUES.textile
41
40
  - LICENSE
42
41
  - Rakefile
43
42
  - README.textile