mbleigh-twitter-auth 0.1.12 → 0.1.13

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :major: 0
3
3
  :minor: 1
4
- :patch: 12
4
+ :patch: 13
@@ -48,7 +48,7 @@ class SessionsController < ApplicationController
48
48
  cookies[:remember_token] = @user.remember_me
49
49
 
50
50
  authentication_succeeded
51
- rescue Net::HTTPServerException => e
51
+ rescue Net::HTTPServerException, Net::HTTPFatalError => e
52
52
  case e.message
53
53
  when '401 "Unauthorized"'
54
54
  authentication_failed('This authentication request is no longer valid. Please try again.') and return
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mbleigh-twitter-auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.12
4
+ version: 0.1.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Bleigh