muck-users 3.2.17 → 3.2.18

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 CHANGED
@@ -1 +1 @@
1
- 3.2.17
1
+ 3.2.18
@@ -60,7 +60,7 @@ class Muck::UserSessionsController < ApplicationController
60
60
  # Override to act on @user_session after it is created
61
61
  # success indicates whether or not the user was successfully created
62
62
  def after_create_user_session(success)
63
- true
63
+ success
64
64
  end
65
65
 
66
66
  # Override to act on @user_session before it is destroyed
@@ -76,6 +76,7 @@ class Muck::UserSessionsController < ApplicationController
76
76
  respond_to do |format|
77
77
  format.html do
78
78
  flash[:notice] = t('muck.users.login_success')
79
+ debugger if @user_session.user.blank?
79
80
  redirect_back_or_default(user_path(@user_session.user))
80
81
  end
81
82
  format.json { render :json => { :logged_in => true, :message => t('muck.users.login_success'), :user => @user.to_json } }
data/muck-users.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "muck-users"
8
- s.version = "3.2.17"
8
+ s.version = "3.2.18"
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"]
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: 45
4
+ hash: 43
5
5
  prerelease:
6
6
  segments:
7
7
  - 3
8
8
  - 2
9
- - 17
10
- version: 3.2.17
9
+ - 18
10
+ version: 3.2.18
11
11
  platform: ruby
12
12
  authors:
13
13
  - Justin Ball