warden 1.2.3 → 1.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +1 -1
- data/History.rdoc +3 -0
- data/lib/warden/config.rb +2 -3
- data/lib/warden/hooks.rb +9 -9
- data/lib/warden/manager.rb +21 -9
- data/lib/warden/mixins/common.rb +1 -1
- data/lib/warden/proxy.rb +12 -8
- data/lib/warden/strategies/base.rb +12 -7
- data/lib/warden/test/helpers.rb +56 -1
- data/lib/warden/test/warden_helpers.rb +1 -1
- data/lib/warden/version.rb +1 -1
- data/spec/helpers/strategies/fail_with_user.rb +10 -0
- data/spec/helpers/strategies/invalid.rb +1 -1
- data/spec/warden/authenticated_data_store_spec.rb +20 -20
- data/spec/warden/config_spec.rb +10 -10
- data/spec/warden/errors_spec.rb +7 -7
- data/spec/warden/hooks_spec.rb +40 -40
- data/spec/warden/manager_spec.rb +81 -57
- data/spec/warden/proxy_spec.rb +177 -168
- data/spec/warden/scoped_session_serializer.rb +9 -9
- data/spec/warden/session_serializer_spec.rb +13 -13
- data/spec/warden/strategies/base_spec.rb +37 -37
- data/spec/warden/strategies_spec.rb +14 -13
- data/spec/warden/test/helpers_spec.rb +31 -23
- data/spec/warden/test/test_mode_spec.rb +12 -13
- metadata +19 -22
metadata
CHANGED
@@ -1,32 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: warden
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
version: 1.2.3
|
4
|
+
version: 1.2.5
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Daniel Neighman
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2016-01-28 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
|
-
|
14
|
+
name: rack
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '1.0'
|
20
|
-
none: false
|
21
|
-
name: rack
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
|
-
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
23
|
requirements:
|
26
|
-
- -
|
24
|
+
- - ">="
|
27
25
|
- !ruby/object:Gem::Version
|
28
26
|
version: '1.0'
|
29
|
-
none: false
|
30
27
|
description:
|
31
28
|
email: has.sox@gmail.com
|
32
29
|
executables: []
|
@@ -37,6 +34,10 @@ extra_rdoc_files:
|
|
37
34
|
files:
|
38
35
|
- Gemfile
|
39
36
|
- History.rdoc
|
37
|
+
- LICENSE
|
38
|
+
- README.textile
|
39
|
+
- Rakefile
|
40
|
+
- lib/warden.rb
|
40
41
|
- lib/warden/config.rb
|
41
42
|
- lib/warden/errors.rb
|
42
43
|
- lib/warden/hooks.rb
|
@@ -44,16 +45,13 @@ files:
|
|
44
45
|
- lib/warden/mixins/common.rb
|
45
46
|
- lib/warden/proxy.rb
|
46
47
|
- lib/warden/session_serializer.rb
|
47
|
-
- lib/warden/strategies/base.rb
|
48
48
|
- lib/warden/strategies.rb
|
49
|
+
- lib/warden/strategies/base.rb
|
49
50
|
- lib/warden/test/helpers.rb
|
50
51
|
- lib/warden/test/warden_helpers.rb
|
51
52
|
- lib/warden/version.rb
|
52
|
-
- lib/warden.rb
|
53
|
-
- LICENSE
|
54
|
-
- Rakefile
|
55
|
-
- README.textile
|
56
53
|
- spec/helpers/request_helper.rb
|
54
|
+
- spec/helpers/strategies/fail_with_user.rb
|
57
55
|
- spec/helpers/strategies/failz.rb
|
58
56
|
- spec/helpers/strategies/invalid.rb
|
59
57
|
- spec/helpers/strategies/pass.rb
|
@@ -77,28 +75,27 @@ files:
|
|
77
75
|
homepage: http://github.com/hassox/warden
|
78
76
|
licenses:
|
79
77
|
- MIT
|
78
|
+
metadata: {}
|
80
79
|
post_install_message:
|
81
80
|
rdoc_options:
|
82
|
-
- --charset=UTF-8
|
81
|
+
- "--charset=UTF-8"
|
83
82
|
require_paths:
|
84
83
|
- lib
|
85
84
|
required_ruby_version: !ruby/object:Gem::Requirement
|
86
85
|
requirements:
|
87
|
-
- -
|
86
|
+
- - ">="
|
88
87
|
- !ruby/object:Gem::Version
|
89
88
|
version: '0'
|
90
|
-
none: false
|
91
89
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
92
90
|
requirements:
|
93
|
-
- -
|
91
|
+
- - ">="
|
94
92
|
- !ruby/object:Gem::Version
|
95
93
|
version: '0'
|
96
|
-
none: false
|
97
94
|
requirements: []
|
98
95
|
rubyforge_project: warden
|
99
|
-
rubygems_version:
|
96
|
+
rubygems_version: 2.4.5.1
|
100
97
|
signing_key:
|
101
|
-
specification_version:
|
98
|
+
specification_version: 4
|
102
99
|
summary: Rack middleware that provides authentication for rack applications
|
103
100
|
test_files: []
|
104
101
|
has_rdoc:
|