omniauth-aai 0.4 → 0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Gemfile.lock +108 -14
- data/README.md +55 -38
- data/lib/action_controller/has_current_user.rb +44 -0
- data/lib/generators/aai/install_generator.rb +13 -2
- data/lib/generators/aai/templates/omniauth.rb +1 -23
- data/lib/generators/aai/templates/session_controller.rb +12 -13
- data/lib/generators/aai/templates/user.rb +42 -2
- data/lib/omniauth-aai/version.rb +1 -1
- data/lib/omniauth-aai.rb +1 -1
- data/omniauth-aai-0.4.gem +0 -0
- data/omniauth-aai.gemspec +3 -0
- data/spec/example_rails_app/Gemfile +2 -25
- data/spec/example_rails_app/Rakefile +1 -1
- data/spec/example_rails_app/app/assets/stylesheets/welcome.css.scss +1 -1
- data/spec/example_rails_app/app/controllers/application_controller.rb +0 -23
- data/spec/example_rails_app/app/controllers/welcome_controller.rb +2 -3
- data/spec/example_rails_app/app/views/layouts/application.html.erb +1 -1
- data/spec/example_rails_app/app/views/welcome/index.html.erb +2 -2
- data/spec/example_rails_app/app/views/welcome/protected.html.erb +2 -2
- data/spec/example_rails_app/change_application_controller.rb +5 -0
- data/spec/example_rails_app/config/application.rb +1 -1
- data/spec/example_rails_app/config/environment.rb +1 -1
- data/spec/example_rails_app/config/environments/development.rb +1 -1
- data/spec/example_rails_app/config/environments/production.rb +1 -1
- data/spec/example_rails_app/config/environments/test.rb +1 -1
- data/spec/example_rails_app/config/initializers/secret_token.rb +1 -1
- data/spec/example_rails_app/config/initializers/session_store.rb +2 -2
- data/spec/example_rails_app/config/routes.rb +2 -6
- data/spec/example_rails_app/config.ru +1 -1
- data/spec/example_rails_app/test/functional/welcome_controller_test.rb +0 -5
- data/spec/omniauth/strategies/brute_force_spec.rb +62 -0
- metadata +46 -63
- 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/example_rails_app/README.rdoc +0 -261
- data/spec/example_rails_app/app/controllers/session_controller.rb +0 -22
- data/spec/example_rails_app/app/models/user.rb +0 -12
- data/spec/example_rails_app/app/views/welcome/other_protected.html.erb +0 -2
- data/spec/example_rails_app/config/initializers/omniauth.rb +0 -12
- data/spec/example_rails_app/db/.DS_Store +0 -0
- data/spec/example_rails_app/db/development.sqlite3 +0 -0
- data/spec/example_rails_app/db/migrate/.DS_Store +0 -0
- data/spec/example_rails_app/log/development.log +0 -652
- data/spec/example_rails_app/tmp/cache/assets/C26/690/sprockets%2F93708cb34051f3000884905e8669d74a +0 -0
- data/spec/example_rails_app/tmp/cache/assets/C83/640/sprockets%2F3233432f81669b9bd10ef726c526d348 +0 -0
- data/spec/example_rails_app/tmp/cache/assets/CA2/0F0/sprockets%2Fa928bf973636d2399692f97f454b5c09 +0 -0
- data/spec/example_rails_app/tmp/cache/assets/CD0/AB0/sprockets%2F2211190fb757d05874e2b25fc37a31ad +0 -0
- data/spec/example_rails_app/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
- data/spec/example_rails_app/tmp/cache/assets/CE2/AD0/sprockets%2Fbd71546009ab5e606b3f27b4c6a79856 +0 -0
- data/spec/example_rails_app/tmp/cache/assets/D14/000/sprockets%2Fffd7643b7c429e23bdb2281097a5e096 +0 -0
- data/spec/example_rails_app/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/spec/example_rails_app/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/spec/example_rails_app/tmp/cache/assets/D57/A10/sprockets%2Fbb59d79df830866d39acc49495c25a8c +0 -0
- data/spec/example_rails_app/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/spec/example_rails_app/tmp/cache/assets/D5E/170/sprockets%2F2f2229c70dcf195564d4d0fd6a12ac1a +0 -0
- data/spec/example_rails_app/tmp/cache/assets/D93/130/sprockets%2F85e96cfbd0056066c4fdeb246aa10ab6 +0 -0
- data/spec/example_rails_app/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/spec/example_rails_app/tmp/cache/assets/DFB/5E0/sprockets%2Fe0480a75c9ef1c7efa2fc0d776a8a4aa +0 -0
- data/spec/example_rails_app/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/spec/example_rails_app/tmp/cache/sass/44d095475c20f924faa7ec65cd6b8fcf1bcb8197/welcome.css.scssc +0 -0
@@ -9,7 +9,7 @@ if defined?(Bundler)
|
|
9
9
|
# Bundler.require(:default, :assets, Rails.env)
|
10
10
|
end
|
11
11
|
|
12
|
-
module
|
12
|
+
module TestApp1
|
13
13
|
class Application < Rails::Application
|
14
14
|
# Settings in config/environments/* take precedence over those specified here.
|
15
15
|
# Application configuration should go into files in config/initializers
|
@@ -4,4 +4,4 @@
|
|
4
4
|
# If you change this key, all old signed cookies will become invalid!
|
5
5
|
# Make sure the secret is at least 30 characters and all random,
|
6
6
|
# no regular words or you'll be exposed to dictionary attacks.
|
7
|
-
|
7
|
+
TestApp1::Application.config.secret_token = '35c5abe9d55cbbbac1722d7c622dea58f4d77b68b71ee8d76a3edd61cb2b5cb4978dd36d50e4836df40f492a2e3622764f7fe6e8a941f2a9b466d1d749d1fc44'
|
@@ -1,8 +1,8 @@
|
|
1
1
|
# Be sure to restart your server when you modify this file.
|
2
2
|
|
3
|
-
|
3
|
+
TestApp1::Application.config.session_store :cookie_store, key: '_test_app1_session'
|
4
4
|
|
5
5
|
# Use the database for sessions instead of the cookie-based default,
|
6
6
|
# which shouldn't be used to store highly confidential information
|
7
7
|
# (create the session table with "rails generate session_migration")
|
8
|
-
#
|
8
|
+
# TestApp1::Application.config.session_store :active_record_store
|
@@ -1,11 +1,7 @@
|
|
1
|
-
|
1
|
+
TestApp1::Application.routes.draw do
|
2
2
|
get "welcome/index"
|
3
3
|
|
4
|
-
get "welcome/
|
5
|
-
|
6
|
-
match '/auth/:provider/callback', to: 'session#create', as: "auth_callback"
|
7
|
-
match '/auth/failure', to: 'session#failure', as: "auth_failure"
|
8
|
-
match '/auth/logout', to: 'session#destroy', as: "logout"
|
4
|
+
get "welcome/protected"
|
9
5
|
|
10
6
|
root :to => 'welcome#index'
|
11
7
|
end
|
@@ -0,0 +1,62 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
#require 'capybara/rspec'
|
3
|
+
|
4
|
+
describe "include gem" do
|
5
|
+
#needs sqllit in gems, but this conflicts with jruby
|
6
|
+
it "should not raise any exceptions" do
|
7
|
+
FileUtils.cp_r("spec/example_rails_app", "spec/test_app_with_active_record")
|
8
|
+
#`cd spec/test_app_with_active_record; bundle install --gemfile=Gemfile`
|
9
|
+
`cd spec/test_app_with_active_record; bundle exec --gemfile=Gemfile rails generate aai:install`
|
10
|
+
`cd spec/test_app_with_active_record; bundle exec --gemfile=Gemfile rake db:migrate`
|
11
|
+
FileUtils.rm_r("spec/test_app_with_active_record")
|
12
|
+
end
|
13
|
+
|
14
|
+
it "should not raise any exceptions if not persist gem with app" do
|
15
|
+
FileUtils.cp_r("spec/example_rails_app", "spec/test_app_no_persist")
|
16
|
+
`cd spec/test_app_no_persist; bundle exec rails generate aai:install --persist false`
|
17
|
+
FileUtils.rm_r("spec/test_app_no_persist")
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
#describe "test app ar" do
|
22
|
+
# before(:all) do
|
23
|
+
# FileUtils.cp_r("spec/example_rails_app", "spec/test_app")
|
24
|
+
# `cd spec/test_app; bundle exec rails generate aai:install`
|
25
|
+
# `cd spec/test_app; bundle exec rake db:migrate`
|
26
|
+
# require './spec/test_app/config/environment'
|
27
|
+
# Capybara.app = TestApp1::Application
|
28
|
+
# end
|
29
|
+
# after(:all) do
|
30
|
+
# FileUtils.rm_r("spec/test_app")
|
31
|
+
# end
|
32
|
+
#
|
33
|
+
# describe "check the app", :type => :request do
|
34
|
+
# it "index page" do
|
35
|
+
# visit('/welcome/index')
|
36
|
+
# page.should have_content('Welcome#index')
|
37
|
+
# end
|
38
|
+
# end
|
39
|
+
#end
|
40
|
+
|
41
|
+
#describe "test app not ar" do
|
42
|
+
# before(:all) do
|
43
|
+
# FileUtils.cp_r("spec/example_rails_app", "spec/test_app_no_persist")
|
44
|
+
# `cd spec/test_app_no_persist; bundle exec rails generate aai:install --persist false`
|
45
|
+
# FileUtils.cp("spec/example_rails_app/change_application_controller.rb", "spec/test_app_no_persist/app/controllers/application_controller.rb")
|
46
|
+
# require './spec/test_app_no_persist/config/environment'
|
47
|
+
# Capybara.app = TestApp1::Application
|
48
|
+
# end
|
49
|
+
# after(:all) do
|
50
|
+
# FileUtils.rm_r("spec/test_app_no_persist")
|
51
|
+
# end
|
52
|
+
#
|
53
|
+
# describe "check the app", :type => :request do
|
54
|
+
# it "index page" do
|
55
|
+
# visit('/welcome/index')
|
56
|
+
# page.should have_content('Welcome#index')
|
57
|
+
# end
|
58
|
+
# end
|
59
|
+
#
|
60
|
+
#end
|
61
|
+
#
|
62
|
+
#
|
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.
|
4
|
+
version: '0.5'
|
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-
|
12
|
+
date: 2012-11-06 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: omniauth-shibboleth
|
@@ -91,6 +91,38 @@ dependencies:
|
|
91
91
|
- - ! '>='
|
92
92
|
- !ruby/object:Gem::Version
|
93
93
|
version: '0'
|
94
|
+
- !ruby/object:Gem::Dependency
|
95
|
+
name: rails
|
96
|
+
requirement: !ruby/object:Gem::Requirement
|
97
|
+
none: false
|
98
|
+
requirements:
|
99
|
+
- - ! '>='
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: '0'
|
102
|
+
type: :development
|
103
|
+
prerelease: false
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ! '>='
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0'
|
110
|
+
- !ruby/object:Gem::Dependency
|
111
|
+
name: capybara
|
112
|
+
requirement: !ruby/object:Gem::Requirement
|
113
|
+
none: false
|
114
|
+
requirements:
|
115
|
+
- - ! '>='
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
none: false
|
122
|
+
requirements:
|
123
|
+
- - ! '>='
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: '0'
|
94
126
|
description: OmniAuth Shibboleth strategies for SWITCHaai
|
95
127
|
email:
|
96
128
|
- claudio@beffa.ch
|
@@ -98,26 +130,22 @@ executables: []
|
|
98
130
|
extensions: []
|
99
131
|
extra_rdoc_files: []
|
100
132
|
files:
|
101
|
-
- .DS_Store
|
102
133
|
- .travis.yml
|
103
134
|
- Gemfile
|
104
135
|
- Gemfile.lock
|
105
136
|
- Guardfile
|
106
|
-
- lib
|
107
|
-
- lib/generators/.DS_Store
|
108
|
-
- lib/generators/aai/.DS_Store
|
137
|
+
- lib/action_controller/has_current_user.rb
|
109
138
|
- lib/generators/aai/install_generator.rb
|
110
139
|
- lib/generators/aai/templates/migration.rb
|
111
140
|
- lib/generators/aai/templates/omniauth.rb
|
112
141
|
- lib/generators/aai/templates/session_controller.rb
|
113
142
|
- lib/generators/aai/templates/user.rb
|
114
143
|
- lib/generators/aai/USAGE
|
115
|
-
- lib/omniauth/.DS_Store
|
116
|
-
- lib/omniauth/strategies/.DS_Store
|
117
144
|
- lib/omniauth/strategies/aai.rb
|
118
145
|
- lib/omniauth-aai/version.rb
|
119
146
|
- lib/omniauth-aai.rb
|
120
147
|
- omniauth-aai-0.3.gem
|
148
|
+
- omniauth-aai-0.4.gem
|
121
149
|
- omniauth-aai.gemspec
|
122
150
|
- Rakefile
|
123
151
|
- README.md
|
@@ -128,17 +156,15 @@ files:
|
|
128
156
|
- spec/example_rails_app/app/assets/stylesheets/application.css
|
129
157
|
- spec/example_rails_app/app/assets/stylesheets/welcome.css.scss
|
130
158
|
- spec/example_rails_app/app/controllers/application_controller.rb
|
131
|
-
- spec/example_rails_app/app/controllers/session_controller.rb
|
132
159
|
- spec/example_rails_app/app/controllers/welcome_controller.rb
|
133
160
|
- spec/example_rails_app/app/helpers/application_helper.rb
|
134
161
|
- spec/example_rails_app/app/helpers/welcome_helper.rb
|
135
162
|
- spec/example_rails_app/app/mailers/.gitkeep
|
136
163
|
- spec/example_rails_app/app/models/.gitkeep
|
137
|
-
- spec/example_rails_app/app/models/user.rb
|
138
164
|
- spec/example_rails_app/app/views/layouts/application.html.erb
|
139
165
|
- spec/example_rails_app/app/views/welcome/index.html.erb
|
140
|
-
- spec/example_rails_app/app/views/welcome/other_protected.html.erb
|
141
166
|
- spec/example_rails_app/app/views/welcome/protected.html.erb
|
167
|
+
- spec/example_rails_app/change_application_controller.rb
|
142
168
|
- spec/example_rails_app/config/application.rb
|
143
169
|
- spec/example_rails_app/config/boot.rb
|
144
170
|
- spec/example_rails_app/config/database.yml
|
@@ -149,31 +175,24 @@ files:
|
|
149
175
|
- spec/example_rails_app/config/initializers/backtrace_silencers.rb
|
150
176
|
- spec/example_rails_app/config/initializers/inflections.rb
|
151
177
|
- spec/example_rails_app/config/initializers/mime_types.rb
|
152
|
-
- spec/example_rails_app/config/initializers/omniauth.rb
|
153
178
|
- spec/example_rails_app/config/initializers/secret_token.rb
|
154
179
|
- spec/example_rails_app/config/initializers/session_store.rb
|
155
180
|
- spec/example_rails_app/config/initializers/wrap_parameters.rb
|
156
181
|
- spec/example_rails_app/config/locales/en.yml
|
157
182
|
- spec/example_rails_app/config/routes.rb
|
158
183
|
- spec/example_rails_app/config.ru
|
159
|
-
- spec/example_rails_app/db/.DS_Store
|
160
|
-
- spec/example_rails_app/db/development.sqlite3
|
161
|
-
- spec/example_rails_app/db/migrate/.DS_Store
|
162
184
|
- spec/example_rails_app/db/seeds.rb
|
163
185
|
- spec/example_rails_app/doc/README_FOR_APP
|
164
186
|
- spec/example_rails_app/Gemfile
|
165
|
-
- spec/example_rails_app/Gemfile.lock
|
166
187
|
- spec/example_rails_app/lib/assets/.gitkeep
|
167
188
|
- spec/example_rails_app/lib/tasks/.gitkeep
|
168
189
|
- spec/example_rails_app/log/.gitkeep
|
169
|
-
- spec/example_rails_app/log/development.log
|
170
190
|
- spec/example_rails_app/public/404.html
|
171
191
|
- spec/example_rails_app/public/422.html
|
172
192
|
- spec/example_rails_app/public/500.html
|
173
193
|
- spec/example_rails_app/public/favicon.ico
|
174
194
|
- spec/example_rails_app/public/robots.txt
|
175
195
|
- spec/example_rails_app/Rakefile
|
176
|
-
- spec/example_rails_app/README.rdoc
|
177
196
|
- spec/example_rails_app/script/rails
|
178
197
|
- spec/example_rails_app/test/fixtures/.gitkeep
|
179
198
|
- spec/example_rails_app/test/functional/.gitkeep
|
@@ -183,27 +202,11 @@ files:
|
|
183
202
|
- spec/example_rails_app/test/test_helper.rb
|
184
203
|
- spec/example_rails_app/test/unit/.gitkeep
|
185
204
|
- spec/example_rails_app/test/unit/helpers/welcome_helper_test.rb
|
186
|
-
- spec/example_rails_app/tmp/cache/assets/C26/690/sprockets%2F93708cb34051f3000884905e8669d74a
|
187
|
-
- spec/example_rails_app/tmp/cache/assets/C83/640/sprockets%2F3233432f81669b9bd10ef726c526d348
|
188
|
-
- spec/example_rails_app/tmp/cache/assets/CA2/0F0/sprockets%2Fa928bf973636d2399692f97f454b5c09
|
189
|
-
- spec/example_rails_app/tmp/cache/assets/CD0/AB0/sprockets%2F2211190fb757d05874e2b25fc37a31ad
|
190
|
-
- spec/example_rails_app/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953
|
191
|
-
- spec/example_rails_app/tmp/cache/assets/CE2/AD0/sprockets%2Fbd71546009ab5e606b3f27b4c6a79856
|
192
|
-
- spec/example_rails_app/tmp/cache/assets/D14/000/sprockets%2Fffd7643b7c429e23bdb2281097a5e096
|
193
|
-
- spec/example_rails_app/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
|
194
|
-
- spec/example_rails_app/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655
|
195
|
-
- spec/example_rails_app/tmp/cache/assets/D57/A10/sprockets%2Fbb59d79df830866d39acc49495c25a8c
|
196
|
-
- spec/example_rails_app/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6
|
197
|
-
- spec/example_rails_app/tmp/cache/assets/D5E/170/sprockets%2F2f2229c70dcf195564d4d0fd6a12ac1a
|
198
|
-
- spec/example_rails_app/tmp/cache/assets/D93/130/sprockets%2F85e96cfbd0056066c4fdeb246aa10ab6
|
199
|
-
- spec/example_rails_app/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994
|
200
|
-
- spec/example_rails_app/tmp/cache/assets/DFB/5E0/sprockets%2Fe0480a75c9ef1c7efa2fc0d776a8a4aa
|
201
|
-
- spec/example_rails_app/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
|
202
|
-
- spec/example_rails_app/tmp/cache/sass/44d095475c20f924faa7ec65cd6b8fcf1bcb8197/welcome.css.scssc
|
203
205
|
- spec/example_rails_app/vendor/assets/javascripts/.gitkeep
|
204
206
|
- spec/example_rails_app/vendor/assets/stylesheets/.gitkeep
|
205
207
|
- spec/example_rails_app/vendor/plugins/.gitkeep
|
206
208
|
- spec/omniauth/strategies/aai_spec.rb
|
209
|
+
- spec/omniauth/strategies/brute_force_spec.rb
|
207
210
|
- spec/spec_helper.rb
|
208
211
|
homepage: https://github.com/switch-ch/omniauth-aai
|
209
212
|
licenses: []
|
@@ -217,12 +220,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
217
220
|
- - ! '>='
|
218
221
|
- !ruby/object:Gem::Version
|
219
222
|
version: '0'
|
223
|
+
segments:
|
224
|
+
- 0
|
225
|
+
hash: -785777553523449849
|
220
226
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
221
227
|
none: false
|
222
228
|
requirements:
|
223
229
|
- - ! '>='
|
224
230
|
- !ruby/object:Gem::Version
|
225
231
|
version: '0'
|
232
|
+
segments:
|
233
|
+
- 0
|
234
|
+
hash: -785777553523449849
|
226
235
|
requirements: []
|
227
236
|
rubyforge_project:
|
228
237
|
rubygems_version: 1.8.24
|
@@ -237,17 +246,15 @@ test_files:
|
|
237
246
|
- spec/example_rails_app/app/assets/stylesheets/application.css
|
238
247
|
- spec/example_rails_app/app/assets/stylesheets/welcome.css.scss
|
239
248
|
- spec/example_rails_app/app/controllers/application_controller.rb
|
240
|
-
- spec/example_rails_app/app/controllers/session_controller.rb
|
241
249
|
- spec/example_rails_app/app/controllers/welcome_controller.rb
|
242
250
|
- spec/example_rails_app/app/helpers/application_helper.rb
|
243
251
|
- spec/example_rails_app/app/helpers/welcome_helper.rb
|
244
252
|
- spec/example_rails_app/app/mailers/.gitkeep
|
245
253
|
- spec/example_rails_app/app/models/.gitkeep
|
246
|
-
- spec/example_rails_app/app/models/user.rb
|
247
254
|
- spec/example_rails_app/app/views/layouts/application.html.erb
|
248
255
|
- spec/example_rails_app/app/views/welcome/index.html.erb
|
249
|
-
- spec/example_rails_app/app/views/welcome/other_protected.html.erb
|
250
256
|
- spec/example_rails_app/app/views/welcome/protected.html.erb
|
257
|
+
- spec/example_rails_app/change_application_controller.rb
|
251
258
|
- spec/example_rails_app/config/application.rb
|
252
259
|
- spec/example_rails_app/config/boot.rb
|
253
260
|
- spec/example_rails_app/config/database.yml
|
@@ -258,31 +265,24 @@ test_files:
|
|
258
265
|
- spec/example_rails_app/config/initializers/backtrace_silencers.rb
|
259
266
|
- spec/example_rails_app/config/initializers/inflections.rb
|
260
267
|
- spec/example_rails_app/config/initializers/mime_types.rb
|
261
|
-
- spec/example_rails_app/config/initializers/omniauth.rb
|
262
268
|
- spec/example_rails_app/config/initializers/secret_token.rb
|
263
269
|
- spec/example_rails_app/config/initializers/session_store.rb
|
264
270
|
- spec/example_rails_app/config/initializers/wrap_parameters.rb
|
265
271
|
- spec/example_rails_app/config/locales/en.yml
|
266
272
|
- spec/example_rails_app/config/routes.rb
|
267
273
|
- spec/example_rails_app/config.ru
|
268
|
-
- spec/example_rails_app/db/.DS_Store
|
269
|
-
- spec/example_rails_app/db/development.sqlite3
|
270
|
-
- spec/example_rails_app/db/migrate/.DS_Store
|
271
274
|
- spec/example_rails_app/db/seeds.rb
|
272
275
|
- spec/example_rails_app/doc/README_FOR_APP
|
273
276
|
- spec/example_rails_app/Gemfile
|
274
|
-
- spec/example_rails_app/Gemfile.lock
|
275
277
|
- spec/example_rails_app/lib/assets/.gitkeep
|
276
278
|
- spec/example_rails_app/lib/tasks/.gitkeep
|
277
279
|
- spec/example_rails_app/log/.gitkeep
|
278
|
-
- spec/example_rails_app/log/development.log
|
279
280
|
- spec/example_rails_app/public/404.html
|
280
281
|
- spec/example_rails_app/public/422.html
|
281
282
|
- spec/example_rails_app/public/500.html
|
282
283
|
- spec/example_rails_app/public/favicon.ico
|
283
284
|
- spec/example_rails_app/public/robots.txt
|
284
285
|
- spec/example_rails_app/Rakefile
|
285
|
-
- spec/example_rails_app/README.rdoc
|
286
286
|
- spec/example_rails_app/script/rails
|
287
287
|
- spec/example_rails_app/test/fixtures/.gitkeep
|
288
288
|
- spec/example_rails_app/test/functional/.gitkeep
|
@@ -292,26 +292,9 @@ test_files:
|
|
292
292
|
- spec/example_rails_app/test/test_helper.rb
|
293
293
|
- spec/example_rails_app/test/unit/.gitkeep
|
294
294
|
- spec/example_rails_app/test/unit/helpers/welcome_helper_test.rb
|
295
|
-
- spec/example_rails_app/tmp/cache/assets/C26/690/sprockets%2F93708cb34051f3000884905e8669d74a
|
296
|
-
- spec/example_rails_app/tmp/cache/assets/C83/640/sprockets%2F3233432f81669b9bd10ef726c526d348
|
297
|
-
- spec/example_rails_app/tmp/cache/assets/CA2/0F0/sprockets%2Fa928bf973636d2399692f97f454b5c09
|
298
|
-
- spec/example_rails_app/tmp/cache/assets/CD0/AB0/sprockets%2F2211190fb757d05874e2b25fc37a31ad
|
299
|
-
- spec/example_rails_app/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953
|
300
|
-
- spec/example_rails_app/tmp/cache/assets/CE2/AD0/sprockets%2Fbd71546009ab5e606b3f27b4c6a79856
|
301
|
-
- spec/example_rails_app/tmp/cache/assets/D14/000/sprockets%2Fffd7643b7c429e23bdb2281097a5e096
|
302
|
-
- spec/example_rails_app/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
|
303
|
-
- spec/example_rails_app/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655
|
304
|
-
- spec/example_rails_app/tmp/cache/assets/D57/A10/sprockets%2Fbb59d79df830866d39acc49495c25a8c
|
305
|
-
- spec/example_rails_app/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6
|
306
|
-
- spec/example_rails_app/tmp/cache/assets/D5E/170/sprockets%2F2f2229c70dcf195564d4d0fd6a12ac1a
|
307
|
-
- spec/example_rails_app/tmp/cache/assets/D93/130/sprockets%2F85e96cfbd0056066c4fdeb246aa10ab6
|
308
|
-
- spec/example_rails_app/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994
|
309
|
-
- spec/example_rails_app/tmp/cache/assets/DFB/5E0/sprockets%2Fe0480a75c9ef1c7efa2fc0d776a8a4aa
|
310
|
-
- spec/example_rails_app/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
|
311
|
-
- spec/example_rails_app/tmp/cache/sass/44d095475c20f924faa7ec65cd6b8fcf1bcb8197/welcome.css.scssc
|
312
295
|
- spec/example_rails_app/vendor/assets/javascripts/.gitkeep
|
313
296
|
- spec/example_rails_app/vendor/assets/stylesheets/.gitkeep
|
314
297
|
- spec/example_rails_app/vendor/plugins/.gitkeep
|
315
298
|
- spec/omniauth/strategies/aai_spec.rb
|
299
|
+
- spec/omniauth/strategies/brute_force_spec.rb
|
316
300
|
- spec/spec_helper.rb
|
317
|
-
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: /Users/beffa/Development/switch/shibboleth/omniauth-aai
|
3
|
-
specs:
|
4
|
-
omniauth-aai (0.3)
|
5
|
-
omniauth-shibboleth
|
6
|
-
|
7
|
-
GEM
|
8
|
-
remote: https://rubygems.org/
|
9
|
-
specs:
|
10
|
-
actionmailer (3.2.6)
|
11
|
-
actionpack (= 3.2.6)
|
12
|
-
mail (~> 2.4.4)
|
13
|
-
actionpack (3.2.6)
|
14
|
-
activemodel (= 3.2.6)
|
15
|
-
activesupport (= 3.2.6)
|
16
|
-
builder (~> 3.0.0)
|
17
|
-
erubis (~> 2.7.0)
|
18
|
-
journey (~> 1.0.1)
|
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.6)
|
24
|
-
activesupport (= 3.2.6)
|
25
|
-
builder (~> 3.0.0)
|
26
|
-
activerecord (3.2.6)
|
27
|
-
activemodel (= 3.2.6)
|
28
|
-
activesupport (= 3.2.6)
|
29
|
-
arel (~> 3.0.2)
|
30
|
-
tzinfo (~> 0.3.29)
|
31
|
-
activeresource (3.2.6)
|
32
|
-
activemodel (= 3.2.6)
|
33
|
-
activesupport (= 3.2.6)
|
34
|
-
activesupport (3.2.6)
|
35
|
-
i18n (~> 0.6)
|
36
|
-
multi_json (~> 1.0)
|
37
|
-
arel (3.0.2)
|
38
|
-
builder (3.0.0)
|
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.3.3)
|
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.0)
|
52
|
-
journey (1.0.4)
|
53
|
-
jquery-rails (2.0.2)
|
54
|
-
railties (>= 3.2.0, < 5.0)
|
55
|
-
thor (~> 0.14)
|
56
|
-
json (1.7.3)
|
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.0)
|
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.1)
|
75
|
-
rack (>= 1.0)
|
76
|
-
rails (3.2.6)
|
77
|
-
actionmailer (= 3.2.6)
|
78
|
-
actionpack (= 3.2.6)
|
79
|
-
activerecord (= 3.2.6)
|
80
|
-
activeresource (= 3.2.6)
|
81
|
-
activesupport (= 3.2.6)
|
82
|
-
bundler (~> 1.0)
|
83
|
-
railties (= 3.2.6)
|
84
|
-
railties (3.2.6)
|
85
|
-
actionpack (= 3.2.6)
|
86
|
-
activesupport (= 3.2.6)
|
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.1.20)
|
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.15.4)
|
105
|
-
tilt (1.3.3)
|
106
|
-
treetop (1.4.10)
|
107
|
-
polyglot
|
108
|
-
polyglot (>= 0.3.1)
|
109
|
-
tzinfo (0.3.33)
|
110
|
-
uglifier (1.2.6)
|
111
|
-
execjs (>= 0.3.0)
|
112
|
-
multi_json (~> 1.3)
|
113
|
-
|
114
|
-
PLATFORMS
|
115
|
-
ruby
|
116
|
-
|
117
|
-
DEPENDENCIES
|
118
|
-
coffee-rails (~> 3.2.1)
|
119
|
-
jquery-rails
|
120
|
-
omniauth-aai!
|
121
|
-
rails (= 3.2.6)
|
122
|
-
sass-rails (~> 3.2.3)
|
123
|
-
sqlite3
|
124
|
-
uglifier (>= 1.0.3)
|