muck-users 3.1.1 → 3.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/app/controllers/muck/users_controller.rb +7 -1
- data/config/locales/en.yml +1 -1
- data/lib/muck-users/models/user.rb +1 -1
- data/muck-users.gemspec +2 -2
- metadata +4 -4
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.1.
|
1
|
+
3.1.2
|
@@ -285,7 +285,13 @@ class Muck::UsersController < ApplicationController
|
|
285
285
|
if success
|
286
286
|
respond_to do |format|
|
287
287
|
format.html do
|
288
|
-
|
288
|
+
if(success_redirect)
|
289
|
+
redirect_to success_redirect
|
290
|
+
elsif current_user == @user
|
291
|
+
redirect_to user_path(@user)
|
292
|
+
else # admin
|
293
|
+
redirect_to public_user_path(@user)
|
294
|
+
end
|
289
295
|
end
|
290
296
|
format.xml{ head :ok }
|
291
297
|
end
|
data/config/locales/en.yml
CHANGED
@@ -198,7 +198,7 @@ en:
|
|
198
198
|
bulk_access_code_message: Message
|
199
199
|
bulk_access_codes: Bulk Access Codes
|
200
200
|
add_access_code: Add Access Code
|
201
|
-
user_update:
|
201
|
+
user_update: Your user information has been updated.
|
202
202
|
update_profile: Update your profile
|
203
203
|
update_user: Update your user information
|
204
204
|
update_user_admin: Update User
|
@@ -38,7 +38,7 @@ module MuckUsers
|
|
38
38
|
# prevents a user from submitting a crafted form that bypasses activation
|
39
39
|
attr_protected :crypted_password, :password_salt, :persistence_token, :single_access_token, :perishable_token, :login_count,
|
40
40
|
:failed_login_count, :last_request_at, :last_login_at, :current_login_at, :current_login_ip, :last_login_ip,
|
41
|
-
:terms_of_service, :
|
41
|
+
:terms_of_service, :disabled_at, :activated_at, :created_at, :updated_at
|
42
42
|
|
43
43
|
validates_terms_of_service if MuckUsers.configuration.validate_terms_of_service
|
44
44
|
end
|
data/muck-users.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{muck-users}
|
8
|
-
s.version = "3.1.
|
8
|
+
s.version = "3.1.2"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Justin Ball", "Joel Duffin"]
|
12
|
-
s.date = %q{2010-11-
|
12
|
+
s.date = %q{2010-11-27}
|
13
13
|
s.description = %q{Easily add user signup, login and other features to your application}
|
14
14
|
s.email = %q{justin@tatemae.com}
|
15
15
|
s.extra_rdoc_files = [
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: muck-users
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 7
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 3
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 3.1.
|
9
|
+
- 2
|
10
|
+
version: 3.1.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Justin Ball
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2010-11-
|
19
|
+
date: 2010-11-27 00:00:00 -07:00
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|