omniauth-aai 0.5.1 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +65 -61
- data/lib/omniauth-aai/version.rb +1 -1
- data/lib/omniauth/strategies/aai.rb +32 -15
- data/omniauth-aai-0.5.1.gem +0 -0
- data/spec/example_rails_app/Gemfile +1 -1
- data/spec/omniauth/strategies/aai_spec.rb +3 -3
- metadata +10 -56
- data/.DS_Store +0 -0
- data/lib/.DS_Store +0 -0
- data/lib/generators/.DS_Store +0 -0
- data/lib/generators/aai/.DS_Store +0 -0
- data/lib/omniauth/.DS_Store +0 -0
- data/lib/omniauth/strategies/.DS_Store +0 -0
- data/spec/example_rails_app/Gemfile.lock +0 -124
- data/spec/omniauth/.DS_Store +0 -0
data/Gemfile.lock
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
GIT
|
2
2
|
remote: git://github.com/switch-ch/omniauth-shibboleth.git
|
3
|
-
revision:
|
3
|
+
revision: ea3922a8ee98b7a892f26440b8e37bd3ec3fc03d
|
4
4
|
specs:
|
5
5
|
omniauth-shibboleth (1.0.6)
|
6
6
|
omniauth (>= 1.0.0)
|
@@ -8,136 +8,140 @@ GIT
|
|
8
8
|
PATH
|
9
9
|
remote: .
|
10
10
|
specs:
|
11
|
-
omniauth-aai (0.
|
11
|
+
omniauth-aai (0.5.2)
|
12
12
|
omniauth-shibboleth
|
13
13
|
|
14
14
|
GEM
|
15
15
|
remote: http://rubygems.org/
|
16
16
|
specs:
|
17
|
-
actionmailer (3.2.
|
18
|
-
actionpack (= 3.2.
|
17
|
+
actionmailer (3.2.9)
|
18
|
+
actionpack (= 3.2.9)
|
19
19
|
mail (~> 2.4.4)
|
20
|
-
actionpack (3.2.
|
21
|
-
activemodel (= 3.2.
|
22
|
-
activesupport (= 3.2.
|
20
|
+
actionpack (3.2.9)
|
21
|
+
activemodel (= 3.2.9)
|
22
|
+
activesupport (= 3.2.9)
|
23
23
|
builder (~> 3.0.0)
|
24
24
|
erubis (~> 2.7.0)
|
25
25
|
journey (~> 1.0.4)
|
26
26
|
rack (~> 1.4.0)
|
27
27
|
rack-cache (~> 1.2)
|
28
28
|
rack-test (~> 0.6.1)
|
29
|
-
sprockets (~> 2.1
|
30
|
-
activemodel (3.2.
|
31
|
-
activesupport (= 3.2.
|
29
|
+
sprockets (~> 2.2.1)
|
30
|
+
activemodel (3.2.9)
|
31
|
+
activesupport (= 3.2.9)
|
32
32
|
builder (~> 3.0.0)
|
33
|
-
activerecord (3.2.
|
34
|
-
activemodel (= 3.2.
|
35
|
-
activesupport (= 3.2.
|
33
|
+
activerecord (3.2.9)
|
34
|
+
activemodel (= 3.2.9)
|
35
|
+
activesupport (= 3.2.9)
|
36
36
|
arel (~> 3.0.2)
|
37
37
|
tzinfo (~> 0.3.29)
|
38
|
-
activeresource (3.2.
|
39
|
-
activemodel (= 3.2.
|
40
|
-
activesupport (= 3.2.
|
41
|
-
activesupport (3.2.
|
38
|
+
activeresource (3.2.9)
|
39
|
+
activemodel (= 3.2.9)
|
40
|
+
activesupport (= 3.2.9)
|
41
|
+
activesupport (3.2.9)
|
42
42
|
i18n (~> 0.6)
|
43
43
|
multi_json (~> 1.0)
|
44
|
-
addressable (2.3.2)
|
45
44
|
arel (3.0.2)
|
46
45
|
builder (3.0.4)
|
47
|
-
capybara (
|
46
|
+
capybara (2.0.1)
|
48
47
|
mime-types (>= 1.16)
|
49
48
|
nokogiri (>= 1.3.3)
|
50
49
|
rack (>= 1.0.0)
|
51
50
|
rack-test (>= 0.5.4)
|
52
51
|
selenium-webdriver (~> 2.0)
|
53
|
-
xpath (~> 0.
|
54
|
-
childprocess (0.3.
|
52
|
+
xpath (~> 1.0.0)
|
53
|
+
childprocess (0.3.6)
|
55
54
|
ffi (~> 1.0, >= 1.0.6)
|
55
|
+
coderay (1.0.8)
|
56
56
|
diff-lcs (1.1.3)
|
57
57
|
erubis (2.7.0)
|
58
|
-
ffi (1.0
|
59
|
-
guard (1.
|
58
|
+
ffi (1.2.0)
|
59
|
+
guard (1.5.4)
|
60
60
|
listen (>= 0.4.2)
|
61
|
+
lumberjack (>= 1.0.2)
|
62
|
+
pry (>= 0.9.10)
|
61
63
|
thor (>= 0.14.6)
|
62
|
-
guard-rspec (
|
64
|
+
guard-rspec (2.2.0)
|
63
65
|
guard (>= 1.1)
|
66
|
+
rspec (~> 2.11)
|
64
67
|
hashie (1.2.0)
|
65
68
|
hike (1.2.1)
|
66
69
|
i18n (0.6.1)
|
67
70
|
journey (1.0.4)
|
68
71
|
json (1.7.5)
|
69
|
-
libwebsocket (0.1.
|
70
|
-
|
71
|
-
listen (0.
|
72
|
-
|
73
|
-
rb-fsevent (~> 0.9.1)
|
74
|
-
rb-inotify (~> 0.8.8)
|
72
|
+
libwebsocket (0.1.6.1)
|
73
|
+
websocket
|
74
|
+
listen (0.6.0)
|
75
|
+
lumberjack (1.0.2)
|
75
76
|
mail (2.4.4)
|
76
77
|
i18n (>= 0.4.0)
|
77
78
|
mime-types (~> 1.16)
|
78
79
|
treetop (~> 1.4.8)
|
80
|
+
method_source (0.8.1)
|
79
81
|
mime-types (1.19)
|
80
|
-
multi_json (1.3.
|
82
|
+
multi_json (1.3.7)
|
81
83
|
nokogiri (1.5.5)
|
82
|
-
omniauth (1.1.
|
84
|
+
omniauth (1.1.1)
|
83
85
|
hashie (~> 1.2)
|
84
86
|
rack
|
85
87
|
polyglot (0.3.3)
|
88
|
+
pry (0.9.10)
|
89
|
+
coderay (~> 1.0.5)
|
90
|
+
method_source (~> 0.8)
|
91
|
+
slop (~> 3.3.1)
|
86
92
|
rack (1.4.1)
|
87
93
|
rack-cache (1.2)
|
88
94
|
rack (>= 0.4)
|
89
95
|
rack-ssl (1.3.2)
|
90
96
|
rack
|
91
|
-
rack-test (0.6.
|
97
|
+
rack-test (0.6.2)
|
92
98
|
rack (>= 1.0)
|
93
|
-
rails (3.2.
|
94
|
-
actionmailer (= 3.2.
|
95
|
-
actionpack (= 3.2.
|
96
|
-
activerecord (= 3.2.
|
97
|
-
activeresource (= 3.2.
|
98
|
-
activesupport (= 3.2.
|
99
|
+
rails (3.2.9)
|
100
|
+
actionmailer (= 3.2.9)
|
101
|
+
actionpack (= 3.2.9)
|
102
|
+
activerecord (= 3.2.9)
|
103
|
+
activeresource (= 3.2.9)
|
104
|
+
activesupport (= 3.2.9)
|
99
105
|
bundler (~> 1.0)
|
100
|
-
railties (= 3.2.
|
101
|
-
railties (3.2.
|
102
|
-
actionpack (= 3.2.
|
103
|
-
activesupport (= 3.2.
|
106
|
+
railties (= 3.2.9)
|
107
|
+
railties (3.2.9)
|
108
|
+
actionpack (= 3.2.9)
|
109
|
+
activesupport (= 3.2.9)
|
104
110
|
rack-ssl (~> 1.3.2)
|
105
111
|
rake (>= 0.8.7)
|
106
112
|
rdoc (~> 3.4)
|
107
113
|
thor (>= 0.14.6, < 2.0)
|
108
|
-
rake (0.
|
109
|
-
rb-fchange (0.0.5)
|
110
|
-
ffi
|
111
|
-
rb-fsevent (0.9.1)
|
112
|
-
rb-inotify (0.8.8)
|
113
|
-
ffi (>= 0.5.0)
|
114
|
+
rake (10.0.2)
|
114
115
|
rdoc (3.12)
|
115
116
|
json (~> 1.4)
|
116
|
-
rspec (2.
|
117
|
-
rspec-core (~> 2.
|
118
|
-
rspec-expectations (~> 2.
|
119
|
-
rspec-mocks (~> 2.
|
120
|
-
rspec-core (2.
|
121
|
-
rspec-expectations (2.
|
117
|
+
rspec (2.12.0)
|
118
|
+
rspec-core (~> 2.12.0)
|
119
|
+
rspec-expectations (~> 2.12.0)
|
120
|
+
rspec-mocks (~> 2.12.0)
|
121
|
+
rspec-core (2.12.0)
|
122
|
+
rspec-expectations (2.12.0)
|
122
123
|
diff-lcs (~> 1.1.3)
|
123
|
-
rspec-mocks (2.
|
124
|
+
rspec-mocks (2.12.0)
|
124
125
|
rubyzip (0.9.9)
|
125
|
-
selenium-webdriver (2.
|
126
|
+
selenium-webdriver (2.26.0)
|
126
127
|
childprocess (>= 0.2.5)
|
127
128
|
libwebsocket (~> 0.1.3)
|
128
129
|
multi_json (~> 1.0)
|
129
130
|
rubyzip
|
130
|
-
|
131
|
+
slop (3.3.3)
|
132
|
+
sprockets (2.2.1)
|
131
133
|
hike (~> 1.2)
|
134
|
+
multi_json (~> 1.0)
|
132
135
|
rack (~> 1.0)
|
133
136
|
tilt (~> 1.1, != 1.3.0)
|
134
|
-
thor (0.
|
137
|
+
thor (0.16.0)
|
135
138
|
tilt (1.3.3)
|
136
139
|
treetop (1.4.12)
|
137
140
|
polyglot
|
138
141
|
polyglot (>= 0.3.1)
|
139
|
-
tzinfo (0.3.
|
140
|
-
|
142
|
+
tzinfo (0.3.35)
|
143
|
+
websocket (1.0.4)
|
144
|
+
xpath (1.0.0)
|
141
145
|
nokogiri (~> 1.3)
|
142
146
|
|
143
147
|
PLATFORMS
|
data/lib/omniauth-aai/version.rb
CHANGED
@@ -5,19 +5,26 @@ module OmniAuth
|
|
5
5
|
|
6
6
|
# 8 core attributes, which must be available for all users
|
7
7
|
CORE_ATTRIBUTES = {
|
8
|
-
swiss_ep_uid: [:'
|
9
|
-
|
10
|
-
|
11
|
-
mail: [:'
|
12
|
-
homeOrganization: [:'
|
13
|
-
homeOrganizationType: [:'
|
14
|
-
affiliation: [:'
|
8
|
+
swiss_ep_uid: [:'uniqueID'],
|
9
|
+
surname: [:'surname'],
|
10
|
+
first_name: [:'givenName'],
|
11
|
+
mail: [:'mail'],
|
12
|
+
homeOrganization: [:'homeOrganization'],
|
13
|
+
homeOrganizationType: [:'homeOrganizationType'],
|
14
|
+
affiliation: [:'affiliation']
|
15
|
+
# swiss_ep_uid: [:'Shib-SwissEP-UniqueID'],
|
16
|
+
# first_name: [:'Shib-InetOrgPerson-givenName'],
|
17
|
+
# surname: [:'Shib-Person-surname'],
|
18
|
+
# mail: [:'Shib-InetOrgPerson-mail'],
|
19
|
+
# homeOrganization: [:'Shib-SwissEP-HomeOrganization'],
|
20
|
+
# homeOrganizationType: [:'Shib-SwissEP-HomeOrganizationType'],
|
21
|
+
# affiliation: [:'Shib-EP-Affiliation']
|
15
22
|
}
|
16
23
|
|
17
24
|
# 8 or more Shibboleth attributes, set by the Service Provider automatically if a user has a valid session
|
18
|
-
SHIBBOLETH_ATTRIBUTES = {
|
19
|
-
:entitlement => [:'
|
20
|
-
:preferredLanguage => [:'
|
25
|
+
SHIBBOLETH_ATTRIBUTES = {
|
26
|
+
:entitlement => [:'entitlement'],
|
27
|
+
:preferredLanguage => [:'preferredLanguage'],
|
21
28
|
:'Shib-Application-ID' => [],
|
22
29
|
:'Shib-Assertion-01' => [],
|
23
30
|
:'Shib-Assertion-Count' => [],
|
@@ -26,6 +33,16 @@ module OmniAuth
|
|
26
33
|
:'Shib-AuthnContext-Class' => [],
|
27
34
|
:'Shib-Identity-Provider' => [],
|
28
35
|
:'Shib-Session-ID' => []
|
36
|
+
# :entitlement => [:'Shib-EP-Entitlement'],
|
37
|
+
# :preferredLanguage => [:'Shib-InetOrgPerson-preferredLanguage'],
|
38
|
+
# :'Shib-Application-ID' => [],
|
39
|
+
# :'Shib-Assertion-01' => [],
|
40
|
+
# :'Shib-Assertion-Count' => [],
|
41
|
+
# :'Shib-Authentication-Instant' => [],
|
42
|
+
# :'Shib-Authentication-Method' => [],
|
43
|
+
# :'Shib-AuthnContext-Class' => [],
|
44
|
+
# :'Shib-Identity-Provider' => [],
|
45
|
+
# :'Shib-Session-ID' => []
|
29
46
|
}
|
30
47
|
|
31
48
|
DEFAULT_EXTRA_FIELDS = (CORE_ATTRIBUTES.keys + SHIBBOLETH_ATTRIBUTES.keys)
|
@@ -53,15 +70,15 @@ module OmniAuth
|
|
53
70
|
def read_env( attribute_key )
|
54
71
|
([attribute_key] + (aai_attributes[attribute_key] || [])).each do | a |
|
55
72
|
v = request.env[a.to_s]
|
56
|
-
return v unless v.nil? || v.strip == ""
|
73
|
+
return v unless v.nil? || v.strip == ""
|
57
74
|
end
|
58
75
|
end
|
59
76
|
|
60
77
|
# # # # #
|
61
|
-
# Rack
|
78
|
+
# Rack
|
62
79
|
# # # # #
|
63
80
|
def request_phase
|
64
|
-
[
|
81
|
+
[
|
65
82
|
302,
|
66
83
|
{
|
67
84
|
'Location' => script_name + callback_path + query_string,
|
@@ -74,10 +91,10 @@ module OmniAuth
|
|
74
91
|
def callback_phase
|
75
92
|
super
|
76
93
|
end
|
77
|
-
|
94
|
+
|
78
95
|
uid do
|
79
96
|
# persistent-id is default uid
|
80
|
-
request.env[options.uid_field.to_s]
|
97
|
+
request.env[options.uid_field.to_s]
|
81
98
|
end
|
82
99
|
|
83
100
|
info do
|
Binary file
|
@@ -49,7 +49,7 @@ describe OmniAuth::Strategies::Aai do
|
|
49
49
|
|
50
50
|
context 'with Shibboleth session' do
|
51
51
|
let(:strategy){ OmniAuth::Strategies::Aai.new(app, {}) }
|
52
|
-
|
52
|
+
|
53
53
|
it 'should set default omniauth.auth fields' do
|
54
54
|
@dummy_id = 'abcdefg'
|
55
55
|
@uid = 'https://aai-logon.vho-switchaai.ch/idp/shibboleth!https://aai-viewer.switch.ch/shibboleth!lYQnHiuZjROvtykBpZHjy1UaZPg='
|
@@ -57,7 +57,7 @@ describe OmniAuth::Strategies::Aai do
|
|
57
57
|
@first_name = 'Vorname'
|
58
58
|
@email = 'test@example.com'
|
59
59
|
@shibboleth_unique_id = '099886@vho-switchaai.ch'
|
60
|
-
strategy.call!(make_env('/auth/aai/callback', 'Shib-Session-ID' => @dummy_id, 'persistent-id' => @uid, 'surname' => @last_name, 'first_name' => @first_name, 'mail' => @email, '
|
60
|
+
strategy.call!(make_env('/auth/aai/callback', 'Shib-Session-ID' => @dummy_id, 'persistent-id' => @uid, 'surname' => @last_name, 'first_name' => @first_name, 'mail' => @email, 'uniqueID' => @shibboleth_unique_id))
|
61
61
|
strategy.env['omniauth.auth']['uid'].should == @uid
|
62
62
|
strategy.env['omniauth.auth']['info']['name'].should == "#{@first_name} #{@last_name}"
|
63
63
|
strategy.env['omniauth.auth']['info']['email'].should == @email
|
@@ -98,4 +98,4 @@ describe OmniAuth::Strategies::Aai do
|
|
98
98
|
end
|
99
99
|
end
|
100
100
|
end
|
101
|
-
end
|
101
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-aai
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-11-
|
12
|
+
date: 2012-11-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: omniauth-shibboleth
|
@@ -130,28 +130,23 @@ executables: []
|
|
130
130
|
extensions: []
|
131
131
|
extra_rdoc_files: []
|
132
132
|
files:
|
133
|
-
- .DS_Store
|
134
133
|
- .travis.yml
|
135
134
|
- Gemfile
|
136
135
|
- Gemfile.lock
|
137
136
|
- Guardfile
|
138
|
-
- lib/.DS_Store
|
139
137
|
- lib/action_controller/has_current_user.rb
|
140
|
-
- lib/generators/.DS_Store
|
141
|
-
- lib/generators/aai/.DS_Store
|
142
138
|
- lib/generators/aai/install_generator.rb
|
143
139
|
- lib/generators/aai/templates/migration.rb
|
144
140
|
- lib/generators/aai/templates/omniauth.rb
|
145
141
|
- lib/generators/aai/templates/session_controller.rb
|
146
142
|
- lib/generators/aai/templates/user.rb
|
147
143
|
- lib/generators/aai/USAGE
|
148
|
-
- lib/omniauth/.DS_Store
|
149
|
-
- lib/omniauth/strategies/.DS_Store
|
150
144
|
- lib/omniauth/strategies/aai.rb
|
151
145
|
- lib/omniauth-aai/version.rb
|
152
146
|
- lib/omniauth-aai.rb
|
153
147
|
- omniauth-aai-0.3.gem
|
154
148
|
- omniauth-aai-0.4.gem
|
149
|
+
- omniauth-aai-0.5.1.gem
|
155
150
|
- omniauth-aai.gemspec
|
156
151
|
- Rakefile
|
157
152
|
- README.md
|
@@ -187,15 +182,12 @@ files:
|
|
187
182
|
- spec/example_rails_app/config/locales/en.yml
|
188
183
|
- spec/example_rails_app/config/routes.rb
|
189
184
|
- spec/example_rails_app/config.ru
|
190
|
-
- spec/example_rails_app/db/development.sqlite3
|
191
185
|
- spec/example_rails_app/db/seeds.rb
|
192
186
|
- spec/example_rails_app/doc/README_FOR_APP
|
193
187
|
- spec/example_rails_app/Gemfile
|
194
|
-
- spec/example_rails_app/Gemfile.lock
|
195
188
|
- spec/example_rails_app/lib/assets/.gitkeep
|
196
189
|
- spec/example_rails_app/lib/tasks/.gitkeep
|
197
190
|
- spec/example_rails_app/log/.gitkeep
|
198
|
-
- spec/example_rails_app/log/development.log
|
199
191
|
- spec/example_rails_app/public/404.html
|
200
192
|
- spec/example_rails_app/public/422.html
|
201
193
|
- spec/example_rails_app/public/500.html
|
@@ -211,29 +203,9 @@ files:
|
|
211
203
|
- spec/example_rails_app/test/test_helper.rb
|
212
204
|
- spec/example_rails_app/test/unit/.gitkeep
|
213
205
|
- spec/example_rails_app/test/unit/helpers/welcome_helper_test.rb
|
214
|
-
- spec/example_rails_app/tmp/cache/assets/C26/690/sprockets%2F93708cb34051f3000884905e8669d74a
|
215
|
-
- spec/example_rails_app/tmp/cache/assets/C83/640/sprockets%2F3233432f81669b9bd10ef726c526d348
|
216
|
-
- spec/example_rails_app/tmp/cache/assets/CC4/390/sprockets%2F0d38098063a7a379159887bdb7ea5d78
|
217
|
-
- spec/example_rails_app/tmp/cache/assets/CD0/AB0/sprockets%2F2211190fb757d05874e2b25fc37a31ad
|
218
|
-
- spec/example_rails_app/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953
|
219
|
-
- spec/example_rails_app/tmp/cache/assets/CE2/AD0/sprockets%2Fbd71546009ab5e606b3f27b4c6a79856
|
220
|
-
- spec/example_rails_app/tmp/cache/assets/CF0/DA0/sprockets%2Fd7d5b37686831d37c4dd75e645f5e016
|
221
|
-
- spec/example_rails_app/tmp/cache/assets/D14/000/sprockets%2Fffd7643b7c429e23bdb2281097a5e096
|
222
|
-
- spec/example_rails_app/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
|
223
|
-
- spec/example_rails_app/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655
|
224
|
-
- spec/example_rails_app/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6
|
225
|
-
- spec/example_rails_app/tmp/cache/assets/D5E/170/sprockets%2F2f2229c70dcf195564d4d0fd6a12ac1a
|
226
|
-
- spec/example_rails_app/tmp/cache/assets/D9F/9A0/sprockets%2Fddde811150665fec8f405938a2f4ceab
|
227
|
-
- spec/example_rails_app/tmp/cache/assets/DD9/470/sprockets%2F293d848ddfd10d49cf247a5cee2cff90
|
228
|
-
- spec/example_rails_app/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994
|
229
|
-
- spec/example_rails_app/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
|
230
|
-
- spec/example_rails_app/tmp/cache/assets/E25/4C0/sprockets%2Fde2fd9fd11c04a582cdbbe3d84a35ae6
|
231
|
-
- spec/example_rails_app/tmp/cache/assets/E59/550/sprockets%2Fb1da035e3dfd5ffed232684ca53fbfdf
|
232
|
-
- spec/example_rails_app/tmp/cache/sass/366121c7a68b1049f0220c7f2febce0cdcced3a1/welcome.css.scssc
|
233
206
|
- spec/example_rails_app/vendor/assets/javascripts/.gitkeep
|
234
207
|
- spec/example_rails_app/vendor/assets/stylesheets/.gitkeep
|
235
208
|
- spec/example_rails_app/vendor/plugins/.gitkeep
|
236
|
-
- spec/omniauth/.DS_Store
|
237
209
|
- spec/omniauth/strategies/aai_spec.rb
|
238
210
|
- spec/omniauth/strategies/brute_force_spec.rb
|
239
211
|
- spec/spec_helper.rb
|
@@ -249,15 +221,21 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
249
221
|
- - ! '>='
|
250
222
|
- !ruby/object:Gem::Version
|
251
223
|
version: '0'
|
224
|
+
segments:
|
225
|
+
- 0
|
226
|
+
hash: -895346344674379661
|
252
227
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
253
228
|
none: false
|
254
229
|
requirements:
|
255
230
|
- - ! '>='
|
256
231
|
- !ruby/object:Gem::Version
|
257
232
|
version: '0'
|
233
|
+
segments:
|
234
|
+
- 0
|
235
|
+
hash: -895346344674379661
|
258
236
|
requirements: []
|
259
237
|
rubyforge_project:
|
260
|
-
rubygems_version: 1.8.
|
238
|
+
rubygems_version: 1.8.23
|
261
239
|
signing_key:
|
262
240
|
specification_version: 3
|
263
241
|
summary: OmniAuth Shibboleth strategies for SWITCHaai
|
@@ -294,15 +272,12 @@ test_files:
|
|
294
272
|
- spec/example_rails_app/config/locales/en.yml
|
295
273
|
- spec/example_rails_app/config/routes.rb
|
296
274
|
- spec/example_rails_app/config.ru
|
297
|
-
- spec/example_rails_app/db/development.sqlite3
|
298
275
|
- spec/example_rails_app/db/seeds.rb
|
299
276
|
- spec/example_rails_app/doc/README_FOR_APP
|
300
277
|
- spec/example_rails_app/Gemfile
|
301
|
-
- spec/example_rails_app/Gemfile.lock
|
302
278
|
- spec/example_rails_app/lib/assets/.gitkeep
|
303
279
|
- spec/example_rails_app/lib/tasks/.gitkeep
|
304
280
|
- spec/example_rails_app/log/.gitkeep
|
305
|
-
- spec/example_rails_app/log/development.log
|
306
281
|
- spec/example_rails_app/public/404.html
|
307
282
|
- spec/example_rails_app/public/422.html
|
308
283
|
- spec/example_rails_app/public/500.html
|
@@ -318,30 +293,9 @@ test_files:
|
|
318
293
|
- spec/example_rails_app/test/test_helper.rb
|
319
294
|
- spec/example_rails_app/test/unit/.gitkeep
|
320
295
|
- spec/example_rails_app/test/unit/helpers/welcome_helper_test.rb
|
321
|
-
- spec/example_rails_app/tmp/cache/assets/C26/690/sprockets%2F93708cb34051f3000884905e8669d74a
|
322
|
-
- spec/example_rails_app/tmp/cache/assets/C83/640/sprockets%2F3233432f81669b9bd10ef726c526d348
|
323
|
-
- spec/example_rails_app/tmp/cache/assets/CC4/390/sprockets%2F0d38098063a7a379159887bdb7ea5d78
|
324
|
-
- spec/example_rails_app/tmp/cache/assets/CD0/AB0/sprockets%2F2211190fb757d05874e2b25fc37a31ad
|
325
|
-
- spec/example_rails_app/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953
|
326
|
-
- spec/example_rails_app/tmp/cache/assets/CE2/AD0/sprockets%2Fbd71546009ab5e606b3f27b4c6a79856
|
327
|
-
- spec/example_rails_app/tmp/cache/assets/CF0/DA0/sprockets%2Fd7d5b37686831d37c4dd75e645f5e016
|
328
|
-
- spec/example_rails_app/tmp/cache/assets/D14/000/sprockets%2Fffd7643b7c429e23bdb2281097a5e096
|
329
|
-
- spec/example_rails_app/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
|
330
|
-
- spec/example_rails_app/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655
|
331
|
-
- spec/example_rails_app/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6
|
332
|
-
- spec/example_rails_app/tmp/cache/assets/D5E/170/sprockets%2F2f2229c70dcf195564d4d0fd6a12ac1a
|
333
|
-
- spec/example_rails_app/tmp/cache/assets/D9F/9A0/sprockets%2Fddde811150665fec8f405938a2f4ceab
|
334
|
-
- spec/example_rails_app/tmp/cache/assets/DD9/470/sprockets%2F293d848ddfd10d49cf247a5cee2cff90
|
335
|
-
- spec/example_rails_app/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994
|
336
|
-
- spec/example_rails_app/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
|
337
|
-
- spec/example_rails_app/tmp/cache/assets/E25/4C0/sprockets%2Fde2fd9fd11c04a582cdbbe3d84a35ae6
|
338
|
-
- spec/example_rails_app/tmp/cache/assets/E59/550/sprockets%2Fb1da035e3dfd5ffed232684ca53fbfdf
|
339
|
-
- spec/example_rails_app/tmp/cache/sass/366121c7a68b1049f0220c7f2febce0cdcced3a1/welcome.css.scssc
|
340
296
|
- spec/example_rails_app/vendor/assets/javascripts/.gitkeep
|
341
297
|
- spec/example_rails_app/vendor/assets/stylesheets/.gitkeep
|
342
298
|
- spec/example_rails_app/vendor/plugins/.gitkeep
|
343
|
-
- spec/omniauth/.DS_Store
|
344
299
|
- spec/omniauth/strategies/aai_spec.rb
|
345
300
|
- spec/omniauth/strategies/brute_force_spec.rb
|
346
301
|
- spec/spec_helper.rb
|
347
|
-
has_rdoc:
|
data/.DS_Store
DELETED
Binary file
|
data/lib/.DS_Store
DELETED
Binary file
|
data/lib/generators/.DS_Store
DELETED
Binary file
|
Binary file
|
data/lib/omniauth/.DS_Store
DELETED
Binary file
|
Binary file
|
@@ -1,124 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: ../../../omniauth-aai
|
3
|
-
specs:
|
4
|
-
omniauth-aai (0.4.1)
|
5
|
-
omniauth-shibboleth
|
6
|
-
|
7
|
-
GEM
|
8
|
-
remote: https://rubygems.org/
|
9
|
-
specs:
|
10
|
-
actionmailer (3.2.8)
|
11
|
-
actionpack (= 3.2.8)
|
12
|
-
mail (~> 2.4.4)
|
13
|
-
actionpack (3.2.8)
|
14
|
-
activemodel (= 3.2.8)
|
15
|
-
activesupport (= 3.2.8)
|
16
|
-
builder (~> 3.0.0)
|
17
|
-
erubis (~> 2.7.0)
|
18
|
-
journey (~> 1.0.4)
|
19
|
-
rack (~> 1.4.0)
|
20
|
-
rack-cache (~> 1.2)
|
21
|
-
rack-test (~> 0.6.1)
|
22
|
-
sprockets (~> 2.1.3)
|
23
|
-
activemodel (3.2.8)
|
24
|
-
activesupport (= 3.2.8)
|
25
|
-
builder (~> 3.0.0)
|
26
|
-
activerecord (3.2.8)
|
27
|
-
activemodel (= 3.2.8)
|
28
|
-
activesupport (= 3.2.8)
|
29
|
-
arel (~> 3.0.2)
|
30
|
-
tzinfo (~> 0.3.29)
|
31
|
-
activeresource (3.2.8)
|
32
|
-
activemodel (= 3.2.8)
|
33
|
-
activesupport (= 3.2.8)
|
34
|
-
activesupport (3.2.8)
|
35
|
-
i18n (~> 0.6)
|
36
|
-
multi_json (~> 1.0)
|
37
|
-
arel (3.0.2)
|
38
|
-
builder (3.0.4)
|
39
|
-
coffee-rails (3.2.2)
|
40
|
-
coffee-script (>= 2.2.0)
|
41
|
-
railties (~> 3.2.0)
|
42
|
-
coffee-script (2.2.0)
|
43
|
-
coffee-script-source
|
44
|
-
execjs
|
45
|
-
coffee-script-source (1.4.0)
|
46
|
-
erubis (2.7.0)
|
47
|
-
execjs (1.4.0)
|
48
|
-
multi_json (~> 1.0)
|
49
|
-
hashie (1.2.0)
|
50
|
-
hike (1.2.1)
|
51
|
-
i18n (0.6.1)
|
52
|
-
journey (1.0.4)
|
53
|
-
jquery-rails (2.1.3)
|
54
|
-
railties (>= 3.1.0, < 5.0)
|
55
|
-
thor (~> 0.14)
|
56
|
-
json (1.7.5)
|
57
|
-
mail (2.4.4)
|
58
|
-
i18n (>= 0.4.0)
|
59
|
-
mime-types (~> 1.16)
|
60
|
-
treetop (~> 1.4.8)
|
61
|
-
mime-types (1.19)
|
62
|
-
multi_json (1.3.6)
|
63
|
-
omniauth (1.1.1)
|
64
|
-
hashie (~> 1.2)
|
65
|
-
rack
|
66
|
-
omniauth-shibboleth (1.0.6)
|
67
|
-
omniauth (>= 1.0.0)
|
68
|
-
polyglot (0.3.3)
|
69
|
-
rack (1.4.1)
|
70
|
-
rack-cache (1.2)
|
71
|
-
rack (>= 0.4)
|
72
|
-
rack-ssl (1.3.2)
|
73
|
-
rack
|
74
|
-
rack-test (0.6.2)
|
75
|
-
rack (>= 1.0)
|
76
|
-
rails (3.2.8)
|
77
|
-
actionmailer (= 3.2.8)
|
78
|
-
actionpack (= 3.2.8)
|
79
|
-
activerecord (= 3.2.8)
|
80
|
-
activeresource (= 3.2.8)
|
81
|
-
activesupport (= 3.2.8)
|
82
|
-
bundler (~> 1.0)
|
83
|
-
railties (= 3.2.8)
|
84
|
-
railties (3.2.8)
|
85
|
-
actionpack (= 3.2.8)
|
86
|
-
activesupport (= 3.2.8)
|
87
|
-
rack-ssl (~> 1.3.2)
|
88
|
-
rake (>= 0.8.7)
|
89
|
-
rdoc (~> 3.4)
|
90
|
-
thor (>= 0.14.6, < 2.0)
|
91
|
-
rake (0.9.2.2)
|
92
|
-
rdoc (3.12)
|
93
|
-
json (~> 1.4)
|
94
|
-
sass (3.2.1)
|
95
|
-
sass-rails (3.2.5)
|
96
|
-
railties (~> 3.2.0)
|
97
|
-
sass (>= 3.1.10)
|
98
|
-
tilt (~> 1.3)
|
99
|
-
sprockets (2.1.3)
|
100
|
-
hike (~> 1.2)
|
101
|
-
rack (~> 1.0)
|
102
|
-
tilt (~> 1.1, != 1.3.0)
|
103
|
-
sqlite3 (1.3.6)
|
104
|
-
thor (0.16.0)
|
105
|
-
tilt (1.3.3)
|
106
|
-
treetop (1.4.12)
|
107
|
-
polyglot
|
108
|
-
polyglot (>= 0.3.1)
|
109
|
-
tzinfo (0.3.34)
|
110
|
-
uglifier (1.3.0)
|
111
|
-
execjs (>= 0.3.0)
|
112
|
-
multi_json (~> 1.0, >= 1.0.2)
|
113
|
-
|
114
|
-
PLATFORMS
|
115
|
-
ruby
|
116
|
-
|
117
|
-
DEPENDENCIES
|
118
|
-
coffee-rails (~> 3.2.1)
|
119
|
-
jquery-rails
|
120
|
-
omniauth-aai!
|
121
|
-
rails (= 3.2.8)
|
122
|
-
sass-rails (~> 3.2.3)
|
123
|
-
sqlite3
|
124
|
-
uglifier (>= 1.0.3)
|
data/spec/omniauth/.DS_Store
DELETED
Binary file
|