easy_auth 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1d8ee428afd8d5172b0bafce98ab2cb4f1fd4066
4
- data.tar.gz: 82c39a234493d6d835543a95690d0ea5ecb41fa5
3
+ metadata.gz: 7c506c15fbe57ca86a170869793a47d5a7e53bb8
4
+ data.tar.gz: 0fc2c2c623b70a313245bb0b1ee63e25aa60c0e0
5
5
  SHA512:
6
- metadata.gz: fd543a7865a01bf6feafb1842540266975aedd9c679b137aa82de8df016082b0011b0a6085ad0640adbcce6a44b808c08da06e4ca8a4773d53958809faf87933
7
- data.tar.gz: cbf4a9eaebcd6c7f03ecaea8dd5dbb4e24fde93c94366de4456a3059e6fa4812f406963a6ed19cd4923c46f8aa295e2e07d8868f3ce5868ae256cf1b4c14ee26
6
+ metadata.gz: 90d4122baccec52d538eb1ae4d447870b33eb18342d3094f46de4ee2b25f1fc5c13dc9893c6471ff8b2fd258d5e0cbf3577f7707ba59ddb2937eecfba600c458
7
+ data.tar.gz: bafb8b5df73f33e84181f2bc5450bba9c9ca907d6e78af4fb57adb6c7f3bd01d2dff6e22058d0bdffc168bee3ccb3f0da8ea8ce32849a96c2344376b2b40c800
@@ -9,7 +9,7 @@ module EasyAuth::Controllers::Authenticated
9
9
 
10
10
  def attempt_to_authenticate
11
11
  if account_not_signed_in?
12
- session[:requested_path] = request.method == 'GET' ? request.path : request.referer
12
+ session[:requested_path] = request.method == 'GET' ? request.fullpath : request.referer
13
13
  respond_to do |format|
14
14
  format.html { redirect_to main_app.sign_in_url }
15
15
  format.json { render :json => {}, :status => 401 }
@@ -1,3 +1,3 @@
1
1
  module EasyAuth
2
- VERSION = '0.3.1'
2
+ VERSION = '0.3.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: easy_auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Cardarella
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-03-11 00:00:00.000000000 Z
12
+ date: 2014-03-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails