challah 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +4 -0
- data/app/controllers/sessions_controller.rb +1 -1
- data/config/locales/en.yml +7 -8
- data/lib/challah/version.rb +1 -1
- metadata +7 -7
data/CHANGELOG.md
CHANGED
@@ -16,7 +16,7 @@ class SessionsController < ApplicationController
|
|
16
16
|
if @session.save
|
17
17
|
redirect_to return_to_path(@session.default_path)
|
18
18
|
else
|
19
|
-
redirect_to login_path, :alert => I18n.translate('
|
19
|
+
redirect_to login_path, :alert => I18n.translate('sessions.create.failed_login')
|
20
20
|
end
|
21
21
|
end
|
22
22
|
|
data/config/locales/en.yml
CHANGED
@@ -5,11 +5,10 @@ en:
|
|
5
5
|
invalid_password: 'is not a valid password. Please enter at least 4 letters or numbers.'
|
6
6
|
no_match_password: 'does not match the confirmation password.'
|
7
7
|
invalid_key: 'is not valid. Please use only lower cased letters and underscores.'
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
failed_login: "There was a problem logging you in. Please check your username and password and try again."
|
8
|
+
sessions:
|
9
|
+
new:
|
10
|
+
user_or_email: "Username or email address"
|
11
|
+
password: "Password"
|
12
|
+
login: "Log in"
|
13
|
+
create:
|
14
|
+
failed_login: "There was a problem logging you in. Please check your username and password and try again."
|
data/lib/challah/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: challah
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2012-02-06 00:00:00.000000000Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
16
|
-
requirement: &
|
16
|
+
requirement: &70284138631180 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '3.1'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70284138631180
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: rake
|
27
|
-
requirement: &
|
27
|
+
requirement: &70284138630680 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: 0.9.2
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70284138630680
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: bcrypt-ruby
|
38
|
-
requirement: &
|
38
|
+
requirement: &70284138670660 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,7 +43,7 @@ dependencies:
|
|
43
43
|
version: '0'
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *70284138670660
|
47
47
|
description: A simple ruby gem for authentication, users, roles and permissions.
|
48
48
|
email:
|
49
49
|
- john@johntornow.com
|