rack-cas-rails 1.0.2 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rack-cas-rails/action_controller_base_additions.rb +3 -1
- data/lib/rack-cas-rails/version.rb +1 -1
- metadata +53 -25
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 803bd248e3d426c528b42f4129bd8b0dd14fd2bb
|
4
|
+
data.tar.gz: a4c6456ac3fe574a978a93c0829d1e910c2a385a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e483af506dbacd886a640dcb20cf24c1e61b0508efe890162aeb555dc41b0f1388f2fdc3eb2fe4c9f6699f273388114c2de3a9ff2c2cd59289dbda1c146e59c5
|
7
|
+
data.tar.gz: 220f88cf302224f619e37ce81a93472680480b5ae6c8a6091517d95bcb33ab5d4d8e0481fc38ba82513ded87094c7c31c4ec375733a6b46d62370d18b567b34a
|
@@ -1,3 +1,5 @@
|
|
1
|
+
require "byebug"
|
2
|
+
|
1
3
|
module RackCASRails
|
2
4
|
module ActionControllerBaseAdditions
|
3
5
|
|
@@ -6,7 +8,7 @@ module RackCASRails
|
|
6
8
|
|
7
9
|
def authenticate!
|
8
10
|
return if authenticated?
|
9
|
-
if File.
|
11
|
+
if File.exist?("public/401.html")
|
10
12
|
render(:file => "public/401.html", :status => :unauthorized)
|
11
13
|
else
|
12
14
|
render(:plain => "Unauthorized!", :status => :unauthorized)
|
metadata
CHANGED
@@ -1,105 +1,133 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rack-cas-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nathan Brazil
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-09-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: byebug
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '3.5'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '3.5'
|
13
27
|
- !ruby/object:Gem::Dependency
|
14
28
|
name: rack-cas
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|
16
30
|
requirements:
|
17
31
|
- - "~>"
|
18
32
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
33
|
+
version: '0.15'
|
20
34
|
type: :runtime
|
21
35
|
prerelease: false
|
22
36
|
version_requirements: !ruby/object:Gem::Requirement
|
23
37
|
requirements:
|
24
38
|
- - "~>"
|
25
39
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.
|
40
|
+
version: '0.15'
|
27
41
|
- !ruby/object:Gem::Dependency
|
28
42
|
name: rails
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|
30
44
|
requirements:
|
31
45
|
- - "~>"
|
32
46
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
47
|
+
version: '5.0'
|
34
48
|
- - ">="
|
35
49
|
- !ruby/object:Gem::Version
|
36
|
-
version:
|
50
|
+
version: 5.0.0
|
37
51
|
type: :runtime
|
38
52
|
prerelease: false
|
39
53
|
version_requirements: !ruby/object:Gem::Requirement
|
40
54
|
requirements:
|
41
55
|
- - "~>"
|
42
56
|
- !ruby/object:Gem::Version
|
43
|
-
version: '
|
57
|
+
version: '5.0'
|
44
58
|
- - ">="
|
45
59
|
- !ruby/object:Gem::Version
|
46
|
-
version:
|
60
|
+
version: 5.0.0
|
47
61
|
- !ruby/object:Gem::Dependency
|
48
62
|
name: byebug
|
49
63
|
requirement: !ruby/object:Gem::Requirement
|
50
64
|
requirements:
|
51
|
-
- - "
|
65
|
+
- - "~>"
|
52
66
|
- !ruby/object:Gem::Version
|
53
|
-
version: '
|
67
|
+
version: '3.5'
|
54
68
|
type: :development
|
55
69
|
prerelease: false
|
56
70
|
version_requirements: !ruby/object:Gem::Requirement
|
57
71
|
requirements:
|
58
|
-
- - "
|
72
|
+
- - "~>"
|
59
73
|
- !ruby/object:Gem::Version
|
60
|
-
version: '
|
74
|
+
version: '3.5'
|
61
75
|
- !ruby/object:Gem::Dependency
|
62
76
|
name: dotenv-rails
|
63
77
|
requirement: !ruby/object:Gem::Requirement
|
64
78
|
requirements:
|
65
|
-
- - "
|
79
|
+
- - "~>"
|
66
80
|
- !ruby/object:Gem::Version
|
67
|
-
version: '0'
|
81
|
+
version: '1.0'
|
68
82
|
type: :development
|
69
83
|
prerelease: false
|
70
84
|
version_requirements: !ruby/object:Gem::Requirement
|
71
85
|
requirements:
|
72
|
-
- - "
|
86
|
+
- - "~>"
|
73
87
|
- !ruby/object:Gem::Version
|
74
|
-
version: '0'
|
88
|
+
version: '1.0'
|
89
|
+
- !ruby/object:Gem::Dependency
|
90
|
+
name: rails-controller-testing
|
91
|
+
requirement: !ruby/object:Gem::Requirement
|
92
|
+
requirements:
|
93
|
+
- - "~>"
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: '1.0'
|
96
|
+
type: :development
|
97
|
+
prerelease: false
|
98
|
+
version_requirements: !ruby/object:Gem::Requirement
|
99
|
+
requirements:
|
100
|
+
- - "~>"
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: '1.0'
|
75
103
|
- !ruby/object:Gem::Dependency
|
76
104
|
name: sqlite3
|
77
105
|
requirement: !ruby/object:Gem::Requirement
|
78
106
|
requirements:
|
79
|
-
- - "
|
107
|
+
- - "~>"
|
80
108
|
- !ruby/object:Gem::Version
|
81
|
-
version: '
|
109
|
+
version: '1.3'
|
82
110
|
type: :development
|
83
111
|
prerelease: false
|
84
112
|
version_requirements: !ruby/object:Gem::Requirement
|
85
113
|
requirements:
|
86
|
-
- - "
|
114
|
+
- - "~>"
|
87
115
|
- !ruby/object:Gem::Version
|
88
|
-
version: '
|
116
|
+
version: '1.3'
|
89
117
|
- !ruby/object:Gem::Dependency
|
90
118
|
name: yard
|
91
119
|
requirement: !ruby/object:Gem::Requirement
|
92
120
|
requirements:
|
93
|
-
- - "
|
121
|
+
- - "~>"
|
94
122
|
- !ruby/object:Gem::Version
|
95
|
-
version: '0'
|
123
|
+
version: '0.8'
|
96
124
|
type: :development
|
97
125
|
prerelease: false
|
98
126
|
version_requirements: !ruby/object:Gem::Requirement
|
99
127
|
requirements:
|
100
|
-
- - "
|
128
|
+
- - "~>"
|
101
129
|
- !ruby/object:Gem::Version
|
102
|
-
version: '0'
|
130
|
+
version: '0.8'
|
103
131
|
description: Provides the integration glue between a Rails application and biola/rack-cas
|
104
132
|
so that a CAS-compliant server (only tested with CASinoApp) can be used for authentication
|
105
133
|
by the application.
|
@@ -134,7 +162,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
134
162
|
version: '0'
|
135
163
|
requirements: []
|
136
164
|
rubyforge_project:
|
137
|
-
rubygems_version: 2.
|
165
|
+
rubygems_version: 2.5.1
|
138
166
|
signing_key:
|
139
167
|
specification_version: 4
|
140
168
|
summary: Enables a Rails application to use CAS-compliant server for authentication.
|