clearance 0.9.0.rc6 → 0.9.0.rc7
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/VERSION +1 -1
- data/lib/rails/generators/clearance_features_templates/features/step_definitions/clearance_steps.rb +5 -2
- data/spec/rails_root/Gemfile +1 -1
- data/spec/rails_root/app/views/layouts/application.html.erb +1 -1
- data/spec/rails_root/db/schema.rb +1 -1
- data/spec/rails_root/features/step_definitions/clearance_steps.rb +5 -2
- data/spec/rails_root/vendor/plugins/dynamic_form/lib/action_view/locale/en.yml +3 -3
- data/test/rails_root/Gemfile +1 -1
- data/test/rails_root/app/views/layouts/application.html.erb +1 -1
- data/test/rails_root/vendor/plugins/dynamic_form/lib/action_view/locale/en.yml +3 -3
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.9.0.
|
1
|
+
0.9.0.rc7
|
data/lib/rails/generators/clearance_features_templates/features/step_definitions/clearance_steps.rb
CHANGED
@@ -108,8 +108,11 @@ When /^I sign in as "(.*)\/(.*)"$/ do |email, password|
|
|
108
108
|
And %{I press "Sign in"}
|
109
109
|
end
|
110
110
|
|
111
|
-
When
|
112
|
-
|
111
|
+
When "I sign out" do
|
112
|
+
steps %{
|
113
|
+
When I go to the homepage
|
114
|
+
And I follow "Sign out"
|
115
|
+
}
|
113
116
|
end
|
114
117
|
|
115
118
|
When /^I request password reset link to be sent to "(.*)"$/ do |email|
|
data/spec/rails_root/Gemfile
CHANGED
@@ -9,7 +9,7 @@ gem 'sqlite3-ruby', :require => 'sqlite3'
|
|
9
9
|
|
10
10
|
gem 'mocha'
|
11
11
|
|
12
|
-
gem 'formtastic',
|
12
|
+
gem 'formtastic', :git => "git://github.com/justinfrench/formtastic.git", :branch => "rails3"
|
13
13
|
|
14
14
|
gem 'shoulda', '>= 2.11', :git => "git://github.com/thoughtbot/shoulda.git"
|
15
15
|
gem 'factory_girl_rails'
|
@@ -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 =>
|
12
|
+
ActiveRecord::Schema.define(:version => 20100822062949) do
|
13
13
|
|
14
14
|
create_table "users", :force => true do |t|
|
15
15
|
t.string "email"
|
@@ -108,8 +108,11 @@ When /^I sign in as "(.*)\/(.*)"$/ do |email, password|
|
|
108
108
|
And %{I press "Sign in"}
|
109
109
|
end
|
110
110
|
|
111
|
-
When
|
112
|
-
|
111
|
+
When "I sign out" do
|
112
|
+
steps %{
|
113
|
+
When I go to the homepage
|
114
|
+
And I follow "Sign out"
|
115
|
+
}
|
113
116
|
end
|
114
117
|
|
115
118
|
When /^I request password reset link to be sent to "(.*)"$/ do |email|
|
@@ -2,7 +2,7 @@ en:
|
|
2
2
|
errors:
|
3
3
|
template:
|
4
4
|
header:
|
5
|
-
one: "1 error prohibited this {
|
6
|
-
other: "{
|
5
|
+
one: "1 error prohibited this %{model} from being saved"
|
6
|
+
other: "%{count} errors prohibited this %{model} from being saved"
|
7
7
|
# The variable :count is also available
|
8
|
-
body: "There were problems with the following fields:"
|
8
|
+
body: "There were problems with the following fields:"
|
data/test/rails_root/Gemfile
CHANGED
@@ -9,7 +9,7 @@ gem 'sqlite3-ruby', :require => 'sqlite3'
|
|
9
9
|
|
10
10
|
gem 'mocha'
|
11
11
|
|
12
|
-
gem 'formtastic',
|
12
|
+
gem 'formtastic', :git => "git://github.com/justinfrench/formtastic.git", :branch => "rails3"
|
13
13
|
|
14
14
|
gem 'shoulda', '>= 2.11', :git => "git://github.com/thoughtbot/shoulda.git"
|
15
15
|
gem 'factory_girl_rails'
|
@@ -2,7 +2,7 @@ en:
|
|
2
2
|
errors:
|
3
3
|
template:
|
4
4
|
header:
|
5
|
-
one: "1 error prohibited this {
|
6
|
-
other: "{
|
5
|
+
one: "1 error prohibited this %{model} from being saved"
|
6
|
+
other: "%{count} errors prohibited this %{model} from being saved"
|
7
7
|
# The variable :count is also available
|
8
|
-
body: "There were problems with the following fields:"
|
8
|
+
body: "There were problems with the following fields:"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: clearance
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 977940480
|
5
5
|
prerelease: true
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 9
|
9
9
|
- 0
|
10
|
-
-
|
11
|
-
version: 0.9.0.
|
10
|
+
- rc7
|
11
|
+
version: 0.9.0.rc7
|
12
12
|
platform: ruby
|
13
13
|
authors:
|
14
14
|
- Dan Croak
|