muck-auth 3.3.1 → 3.3.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -28,7 +28,7 @@ Here's a list of common oauth services. For a complete list of all available ser
28
28
  https://github.com/intridea/omniauth
29
29
 
30
30
  Twitter: http://www.twitter.com/apps
31
- Google: http://code.google.com/apis/accounts/docs/RegistrationForWebAppsAuto.html#register
31
+ Google: http://code.google.com/apis/accounts/docs/RegistrationForWebAppsAuto.html#register (domains are managed on: https://www.google.com/accounts/ManageDomains)
32
32
  Yahoo: http://developer.yahoo.com/flickr/
33
33
  Flick: http://www.flickr.com/services/apps/create/apply
34
34
  Linked In: https://www.linkedin.com/secure/developer
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.3.1
1
+ 3.3.2
@@ -51,13 +51,7 @@ class Muck::AuthenticationsController < ApplicationController
51
51
  @authentication.destroy
52
52
  @current_authentications = current_user.authentications
53
53
  @unused_authentications = get_unused_authentications(@current_authentications)
54
- respond_to do |format|
55
- format.html do
56
- flash[:notice] = t('muck.auth.removed_authentication')
57
- redirect_to authentications_url
58
- end
59
- format.js { render :template => 'authentications/destroy' }
60
- end
54
+ after_destroy_response
61
55
  end
62
56
 
63
57
  protected
@@ -70,6 +64,16 @@ class Muck::AuthenticationsController < ApplicationController
70
64
  end
71
65
  end
72
66
 
67
+ def after_destroy_response
68
+ respond_to do |format|
69
+ format.html do
70
+ flash[:notice] = t('muck.auth.removed_authentication')
71
+ redirect_to authentications_url
72
+ end
73
+ format.js { render :template => 'authentications/destroy' }
74
+ end
75
+ end
76
+
73
77
  def after_create_response(status)
74
78
  case status
75
79
  when :logged_in_success
data/muck-auth.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{muck-auth}
8
- s.version = "3.3.1"
8
+ s.version = "3.3.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"]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: muck-auth
3
3
  version: !ruby/object:Gem::Version
4
- hash: 9
4
+ hash: 15
5
5
  prerelease:
6
6
  segments:
7
7
  - 3
8
8
  - 3
9
- - 1
10
- version: 3.3.1
9
+ - 2
10
+ version: 3.3.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Justin Ball