warden 1.2.6 → 1.2.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -0
- data/History.rdoc +3 -0
- data/Rakefile +1 -0
- data/lib/warden.rb +1 -0
- data/lib/warden/config.rb +1 -0
- data/lib/warden/errors.rb +1 -0
- data/lib/warden/hooks.rb +1 -0
- data/lib/warden/manager.rb +1 -0
- data/lib/warden/mixins/common.rb +1 -0
- data/lib/warden/proxy.rb +1 -0
- data/lib/warden/session_serializer.rb +1 -0
- data/lib/warden/strategies.rb +1 -0
- data/lib/warden/strategies/base.rb +2 -1
- data/lib/warden/test/helpers.rb +1 -0
- data/lib/warden/test/mock.rb +1 -0
- data/lib/warden/test/warden_helpers.rb +1 -0
- data/lib/warden/version.rb +2 -1
- data/spec/helpers/request_helper.rb +1 -0
- data/spec/helpers/strategies/fail_with_user.rb +1 -0
- data/spec/helpers/strategies/failz.rb +1 -0
- data/spec/helpers/strategies/invalid.rb +1 -0
- data/spec/helpers/strategies/pass.rb +1 -0
- data/spec/helpers/strategies/pass_with_message.rb +1 -0
- data/spec/helpers/strategies/password.rb +1 -0
- data/spec/helpers/strategies/single.rb +1 -0
- data/spec/spec_helper.rb +1 -0
- data/spec/warden/authenticated_data_store_spec.rb +1 -0
- data/spec/warden/config_spec.rb +1 -0
- data/spec/warden/errors_spec.rb +1 -0
- data/spec/warden/hooks_spec.rb +1 -0
- data/spec/warden/manager_spec.rb +1 -0
- data/spec/warden/proxy_spec.rb +1 -0
- data/spec/warden/scoped_session_serializer.rb +1 -0
- data/spec/warden/session_serializer_spec.rb +1 -0
- data/spec/warden/strategies/base_spec.rb +1 -0
- data/spec/warden/strategies_spec.rb +1 -0
- data/spec/warden/test/helpers_spec.rb +1 -0
- data/spec/warden/test/mock_spec.rb +1 -0
- data/spec/warden/test/test_mode_spec.rb +1 -0
- data/warden.gemspec +1 -0
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 62095c3b46348d469f28bc0b73c4e4d1dea3c772
|
4
|
+
data.tar.gz: c95c0c03bd6f5cc31ebc20674d8f679331cfa6b4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2c6897e0cc915b2d3fe2dabf98f5c694a3cbc531974c61c578a579d388c21cca9755a39a6b322a25c41eb1526988c63a531afbe954f4a6075aa3d410cd9e5ef9
|
7
|
+
data.tar.gz: f0a701673890402bf2717fb4ff356046a24ad85dbcf570e52b109fa9a741e18534a49690b0ff4e0ace9fba7c65ac24e17dd5324849af925ac0e27cf497b64246
|
data/Gemfile
CHANGED
data/History.rdoc
CHANGED
data/Rakefile
CHANGED
data/lib/warden.rb
CHANGED
data/lib/warden/config.rb
CHANGED
data/lib/warden/errors.rb
CHANGED
data/lib/warden/hooks.rb
CHANGED
data/lib/warden/manager.rb
CHANGED
data/lib/warden/mixins/common.rb
CHANGED
data/lib/warden/proxy.rb
CHANGED
data/lib/warden/strategies.rb
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# encoding: utf-8
|
2
3
|
module Warden
|
3
4
|
module Strategies
|
@@ -157,7 +158,7 @@ module Warden
|
|
157
158
|
def redirect!(url, params = {}, opts = {})
|
158
159
|
halt!
|
159
160
|
@status = opts[:permanent] ? 301 : 302
|
160
|
-
headers["Location"] = url
|
161
|
+
headers["Location"] = url.dup
|
161
162
|
headers["Location"] << "?" << Rack::Utils.build_query(params) unless params.empty?
|
162
163
|
headers["Content-Type"] = opts[:content_type] || 'text/plain'
|
163
164
|
|
data/lib/warden/test/helpers.rb
CHANGED
data/lib/warden/test/mock.rb
CHANGED
data/lib/warden/version.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
data/spec/warden/config_spec.rb
CHANGED
data/spec/warden/errors_spec.rb
CHANGED
data/spec/warden/hooks_spec.rb
CHANGED
data/spec/warden/manager_spec.rb
CHANGED
data/spec/warden/proxy_spec.rb
CHANGED
data/warden.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: warden
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Neighman
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-01-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack
|
@@ -95,9 +95,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
95
95
|
version: '0'
|
96
96
|
requirements: []
|
97
97
|
rubyforge_project: warden
|
98
|
-
rubygems_version: 2.
|
98
|
+
rubygems_version: 2.6.8
|
99
99
|
signing_key:
|
100
100
|
specification_version: 4
|
101
101
|
summary: Rack middleware that provides authentication for rack applications
|
102
102
|
test_files: []
|
103
|
-
has_rdoc:
|