omniauth-aai 0.2 → 0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/.DS_Store +0 -0
- data/Gemfile.lock +1 -1
- data/README.md +24 -2
- data/lib/generators/.DS_Store +0 -0
- data/lib/generators/aai/.DS_Store +0 -0
- data/lib/generators/aai/USAGE +12 -0
- data/lib/generators/aai/install_generator.rb +30 -0
- data/lib/generators/aai/templates/migration.rb +10 -0
- data/lib/generators/aai/templates/omniauth.rb +33 -0
- data/lib/generators/aai/templates/session_controller.rb +41 -0
- data/lib/generators/aai/templates/user.rb +22 -0
- data/lib/omniauth-aai.rb +1 -0
- data/lib/omniauth-aai/version.rb +1 -1
- data/spec/example_rails_app/.gitignore +15 -0
- data/spec/example_rails_app/Gemfile +39 -0
- data/spec/example_rails_app/Gemfile.lock +125 -0
- data/spec/example_rails_app/README.rdoc +261 -0
- data/spec/example_rails_app/Rakefile +7 -0
- data/spec/example_rails_app/app/assets/images/rails.png +0 -0
- data/spec/example_rails_app/app/assets/javascripts/application.js +15 -0
- data/spec/example_rails_app/app/assets/javascripts/welcome.js.coffee +3 -0
- data/spec/example_rails_app/app/assets/stylesheets/application.css +13 -0
- data/spec/example_rails_app/app/assets/stylesheets/welcome.css.scss +3 -0
- data/spec/example_rails_app/app/controllers/application_controller.rb +26 -0
- data/spec/example_rails_app/app/controllers/session_controller.rb +22 -0
- data/spec/example_rails_app/app/controllers/welcome_controller.rb +10 -0
- data/spec/example_rails_app/app/helpers/application_helper.rb +2 -0
- data/spec/example_rails_app/app/helpers/welcome_helper.rb +2 -0
- data/spec/example_rails_app/app/mailers/.gitkeep +0 -0
- data/spec/example_rails_app/app/models/.gitkeep +0 -0
- data/spec/example_rails_app/app/models/user.rb +12 -0
- data/spec/example_rails_app/app/views/layouts/application.html.erb +14 -0
- data/spec/example_rails_app/app/views/welcome/index.html.erb +3 -0
- data/spec/example_rails_app/app/views/welcome/other_protected.html.erb +2 -0
- data/spec/example_rails_app/app/views/welcome/protected.html.erb +2 -0
- data/spec/example_rails_app/config.ru +4 -0
- data/spec/example_rails_app/config/application.rb +62 -0
- data/spec/example_rails_app/config/boot.rb +6 -0
- data/spec/example_rails_app/config/database.yml +25 -0
- data/spec/example_rails_app/config/environment.rb +5 -0
- data/spec/example_rails_app/config/environments/development.rb +37 -0
- data/spec/example_rails_app/config/environments/production.rb +67 -0
- data/spec/example_rails_app/config/environments/test.rb +37 -0
- data/spec/example_rails_app/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/example_rails_app/config/initializers/inflections.rb +15 -0
- data/spec/example_rails_app/config/initializers/mime_types.rb +5 -0
- data/spec/example_rails_app/config/initializers/omniauth.rb +12 -0
- data/spec/example_rails_app/config/initializers/secret_token.rb +7 -0
- data/spec/example_rails_app/config/initializers/session_store.rb +8 -0
- data/spec/example_rails_app/config/initializers/wrap_parameters.rb +14 -0
- data/spec/example_rails_app/config/locales/en.yml +5 -0
- data/spec/example_rails_app/config/routes.rb +11 -0
- data/spec/example_rails_app/db/seeds.rb +7 -0
- data/spec/example_rails_app/doc/README_FOR_APP +2 -0
- data/spec/example_rails_app/lib/assets/.gitkeep +0 -0
- data/spec/example_rails_app/lib/tasks/.gitkeep +0 -0
- data/spec/example_rails_app/log/.gitkeep +0 -0
- data/spec/example_rails_app/public/404.html +26 -0
- data/spec/example_rails_app/public/422.html +26 -0
- data/spec/example_rails_app/public/500.html +25 -0
- data/spec/example_rails_app/public/favicon.ico +0 -0
- data/spec/example_rails_app/public/robots.txt +5 -0
- data/spec/example_rails_app/script/rails +6 -0
- data/spec/example_rails_app/test/fixtures/.gitkeep +0 -0
- data/spec/example_rails_app/test/functional/.gitkeep +0 -0
- data/spec/example_rails_app/test/functional/welcome_controller_test.rb +19 -0
- data/spec/example_rails_app/test/integration/.gitkeep +0 -0
- data/spec/example_rails_app/test/performance/browsing_test.rb +12 -0
- data/spec/example_rails_app/test/test_helper.rb +13 -0
- data/spec/example_rails_app/test/unit/.gitkeep +0 -0
- data/spec/example_rails_app/test/unit/helpers/welcome_helper_test.rb +4 -0
- data/spec/example_rails_app/vendor/assets/javascripts/.gitkeep +0 -0
- data/spec/example_rails_app/vendor/assets/stylesheets/.gitkeep +0 -0
- data/spec/example_rails_app/vendor/plugins/.gitkeep +0 -0
- metadata +171 -3
- data/omniauth-aai-0.1.gem +0 -0
@@ -0,0 +1,12 @@
|
|
1
|
+
|
2
|
+
Rails.application.config.middleware.use OmniAuth::Builder do
|
3
|
+
if Rails.env == 'development'
|
4
|
+
provider :developer, {
|
5
|
+
:uid_field => :'persistent-id',
|
6
|
+
:fields => OmniAuth::Strategies::Aai::DEFAULT_FIELDS,
|
7
|
+
:extra_fields => OmniAuth::Strategies::Aai::DEFAULT_EXTRA_FIELDS
|
8
|
+
}
|
9
|
+
else
|
10
|
+
provider :aai, {}
|
11
|
+
end
|
12
|
+
end
|
@@ -0,0 +1,7 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# Your secret key for verifying the integrity of signed cookies.
|
4
|
+
# If you change this key, all old signed cookies will become invalid!
|
5
|
+
# Make sure the secret is at least 30 characters and all random,
|
6
|
+
# no regular words or you'll be exposed to dictionary attacks.
|
7
|
+
TestApp::Application.config.secret_token = '712eaeebfe3871738ec26a97631a200c18cdaf75210dadf435780927fbe37468281ba588edc2b548f7ccdc9c24027cb1a4ecc1e981aa7be106b15053698571da'
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
TestApp::Application.config.session_store :cookie_store, key: '_test_app_session'
|
4
|
+
|
5
|
+
# Use the database for sessions instead of the cookie-based default,
|
6
|
+
# which shouldn't be used to store highly confidential information
|
7
|
+
# (create the session table with "rails generate session_migration")
|
8
|
+
# TestApp::Application.config.session_store :active_record_store
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
#
|
3
|
+
# This file contains settings for ActionController::ParamsWrapper which
|
4
|
+
# is enabled by default.
|
5
|
+
|
6
|
+
# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
|
7
|
+
ActiveSupport.on_load(:action_controller) do
|
8
|
+
wrap_parameters format: [:json]
|
9
|
+
end
|
10
|
+
|
11
|
+
# Disable root element in JSON by default.
|
12
|
+
ActiveSupport.on_load(:active_record) do
|
13
|
+
self.include_root_in_json = false
|
14
|
+
end
|
@@ -0,0 +1,11 @@
|
|
1
|
+
TestApp::Application.routes.draw do
|
2
|
+
get "welcome/index"
|
3
|
+
|
4
|
+
get "welcome/other_protected"
|
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"
|
9
|
+
|
10
|
+
root :to => 'welcome#index'
|
11
|
+
end
|
@@ -0,0 +1,7 @@
|
|
1
|
+
# This file should contain all the record creation needed to seed the database with its default values.
|
2
|
+
# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
|
3
|
+
#
|
4
|
+
# Examples:
|
5
|
+
#
|
6
|
+
# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
|
7
|
+
# Mayor.create(name: 'Emanuel', city: cities.first)
|
File without changes
|
File without changes
|
File without changes
|
@@ -0,0 +1,26 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The page you were looking for doesn't exist (404)</title>
|
5
|
+
<style type="text/css">
|
6
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
+
div.dialog {
|
8
|
+
width: 25em;
|
9
|
+
padding: 0 4em;
|
10
|
+
margin: 4em auto 0 auto;
|
11
|
+
border: 1px solid #ccc;
|
12
|
+
border-right-color: #999;
|
13
|
+
border-bottom-color: #999;
|
14
|
+
}
|
15
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
+
</style>
|
17
|
+
</head>
|
18
|
+
|
19
|
+
<body>
|
20
|
+
<!-- This file lives in public/404.html -->
|
21
|
+
<div class="dialog">
|
22
|
+
<h1>The page you were looking for doesn't exist.</h1>
|
23
|
+
<p>You may have mistyped the address or the page may have moved.</p>
|
24
|
+
</div>
|
25
|
+
</body>
|
26
|
+
</html>
|
@@ -0,0 +1,26 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The change you wanted was rejected (422)</title>
|
5
|
+
<style type="text/css">
|
6
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
+
div.dialog {
|
8
|
+
width: 25em;
|
9
|
+
padding: 0 4em;
|
10
|
+
margin: 4em auto 0 auto;
|
11
|
+
border: 1px solid #ccc;
|
12
|
+
border-right-color: #999;
|
13
|
+
border-bottom-color: #999;
|
14
|
+
}
|
15
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
+
</style>
|
17
|
+
</head>
|
18
|
+
|
19
|
+
<body>
|
20
|
+
<!-- This file lives in public/422.html -->
|
21
|
+
<div class="dialog">
|
22
|
+
<h1>The change you wanted was rejected.</h1>
|
23
|
+
<p>Maybe you tried to change something you didn't have access to.</p>
|
24
|
+
</div>
|
25
|
+
</body>
|
26
|
+
</html>
|
@@ -0,0 +1,25 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>We're sorry, but something went wrong (500)</title>
|
5
|
+
<style type="text/css">
|
6
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
+
div.dialog {
|
8
|
+
width: 25em;
|
9
|
+
padding: 0 4em;
|
10
|
+
margin: 4em auto 0 auto;
|
11
|
+
border: 1px solid #ccc;
|
12
|
+
border-right-color: #999;
|
13
|
+
border-bottom-color: #999;
|
14
|
+
}
|
15
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
+
</style>
|
17
|
+
</head>
|
18
|
+
|
19
|
+
<body>
|
20
|
+
<!-- This file lives in public/500.html -->
|
21
|
+
<div class="dialog">
|
22
|
+
<h1>We're sorry, but something went wrong.</h1>
|
23
|
+
</div>
|
24
|
+
</body>
|
25
|
+
</html>
|
File without changes
|
@@ -0,0 +1,6 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
|
3
|
+
|
4
|
+
APP_PATH = File.expand_path('../../config/application', __FILE__)
|
5
|
+
require File.expand_path('../../config/boot', __FILE__)
|
6
|
+
require 'rails/commands'
|
File without changes
|
File without changes
|
@@ -0,0 +1,19 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
|
3
|
+
class WelcomeControllerTest < ActionController::TestCase
|
4
|
+
test "should get index" do
|
5
|
+
get :index
|
6
|
+
assert_response :success
|
7
|
+
end
|
8
|
+
|
9
|
+
test "should get protected" do
|
10
|
+
get :protected
|
11
|
+
assert_response :success
|
12
|
+
end
|
13
|
+
|
14
|
+
test "should get other_protected" do
|
15
|
+
get :other_protected
|
16
|
+
assert_response :success
|
17
|
+
end
|
18
|
+
|
19
|
+
end
|
File without changes
|
@@ -0,0 +1,12 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
require 'rails/performance_test_help'
|
3
|
+
|
4
|
+
class BrowsingTest < ActionDispatch::PerformanceTest
|
5
|
+
# Refer to the documentation for all available options
|
6
|
+
# self.profile_options = { :runs => 5, :metrics => [:wall_time, :memory]
|
7
|
+
# :output => 'tmp/performance', :formats => [:flat] }
|
8
|
+
|
9
|
+
def test_homepage
|
10
|
+
get '/'
|
11
|
+
end
|
12
|
+
end
|
@@ -0,0 +1,13 @@
|
|
1
|
+
ENV["RAILS_ENV"] = "test"
|
2
|
+
require File.expand_path('../../config/environment', __FILE__)
|
3
|
+
require 'rails/test_help'
|
4
|
+
|
5
|
+
class ActiveSupport::TestCase
|
6
|
+
# Setup all fixtures in test/fixtures/*.(yml|csv) for all tests in alphabetical order.
|
7
|
+
#
|
8
|
+
# Note: You'll currently still have to declare fixtures explicitly in integration tests
|
9
|
+
# -- they do not yet inherit this setting
|
10
|
+
fixtures :all
|
11
|
+
|
12
|
+
# Add more helper methods to be used by all tests here...
|
13
|
+
end
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
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.3'
|
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-08-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: omniauth-shibboleth
|
@@ -98,20 +98,108 @@ executables: []
|
|
98
98
|
extensions: []
|
99
99
|
extra_rdoc_files: []
|
100
100
|
files:
|
101
|
+
- .DS_Store
|
101
102
|
- .travis.yml
|
102
103
|
- Gemfile
|
103
104
|
- Gemfile.lock
|
104
105
|
- Guardfile
|
105
106
|
- lib/.DS_Store
|
107
|
+
- lib/generators/.DS_Store
|
108
|
+
- lib/generators/aai/.DS_Store
|
109
|
+
- lib/generators/aai/install_generator.rb
|
110
|
+
- lib/generators/aai/templates/migration.rb
|
111
|
+
- lib/generators/aai/templates/omniauth.rb
|
112
|
+
- lib/generators/aai/templates/session_controller.rb
|
113
|
+
- lib/generators/aai/templates/user.rb
|
114
|
+
- lib/generators/aai/USAGE
|
106
115
|
- lib/omniauth/.DS_Store
|
107
116
|
- lib/omniauth/strategies/.DS_Store
|
108
117
|
- lib/omniauth/strategies/aai.rb
|
109
118
|
- lib/omniauth-aai/version.rb
|
110
119
|
- lib/omniauth-aai.rb
|
111
|
-
- omniauth-aai-0.1.gem
|
112
120
|
- omniauth-aai.gemspec
|
113
121
|
- Rakefile
|
114
122
|
- README.md
|
123
|
+
- spec/example_rails_app/.gitignore
|
124
|
+
- spec/example_rails_app/app/assets/images/rails.png
|
125
|
+
- spec/example_rails_app/app/assets/javascripts/application.js
|
126
|
+
- spec/example_rails_app/app/assets/javascripts/welcome.js.coffee
|
127
|
+
- spec/example_rails_app/app/assets/stylesheets/application.css
|
128
|
+
- spec/example_rails_app/app/assets/stylesheets/welcome.css.scss
|
129
|
+
- spec/example_rails_app/app/controllers/application_controller.rb
|
130
|
+
- spec/example_rails_app/app/controllers/session_controller.rb
|
131
|
+
- spec/example_rails_app/app/controllers/welcome_controller.rb
|
132
|
+
- spec/example_rails_app/app/helpers/application_helper.rb
|
133
|
+
- spec/example_rails_app/app/helpers/welcome_helper.rb
|
134
|
+
- spec/example_rails_app/app/mailers/.gitkeep
|
135
|
+
- spec/example_rails_app/app/models/.gitkeep
|
136
|
+
- spec/example_rails_app/app/models/user.rb
|
137
|
+
- spec/example_rails_app/app/views/layouts/application.html.erb
|
138
|
+
- spec/example_rails_app/app/views/welcome/index.html.erb
|
139
|
+
- spec/example_rails_app/app/views/welcome/other_protected.html.erb
|
140
|
+
- spec/example_rails_app/app/views/welcome/protected.html.erb
|
141
|
+
- spec/example_rails_app/config/application.rb
|
142
|
+
- spec/example_rails_app/config/boot.rb
|
143
|
+
- spec/example_rails_app/config/database.yml
|
144
|
+
- spec/example_rails_app/config/environment.rb
|
145
|
+
- spec/example_rails_app/config/environments/development.rb
|
146
|
+
- spec/example_rails_app/config/environments/production.rb
|
147
|
+
- spec/example_rails_app/config/environments/test.rb
|
148
|
+
- spec/example_rails_app/config/initializers/backtrace_silencers.rb
|
149
|
+
- spec/example_rails_app/config/initializers/inflections.rb
|
150
|
+
- spec/example_rails_app/config/initializers/mime_types.rb
|
151
|
+
- spec/example_rails_app/config/initializers/omniauth.rb
|
152
|
+
- spec/example_rails_app/config/initializers/secret_token.rb
|
153
|
+
- spec/example_rails_app/config/initializers/session_store.rb
|
154
|
+
- spec/example_rails_app/config/initializers/wrap_parameters.rb
|
155
|
+
- spec/example_rails_app/config/locales/en.yml
|
156
|
+
- spec/example_rails_app/config/routes.rb
|
157
|
+
- spec/example_rails_app/config.ru
|
158
|
+
- spec/example_rails_app/db/development.sqlite3
|
159
|
+
- spec/example_rails_app/db/seeds.rb
|
160
|
+
- spec/example_rails_app/doc/README_FOR_APP
|
161
|
+
- spec/example_rails_app/Gemfile
|
162
|
+
- spec/example_rails_app/Gemfile.lock
|
163
|
+
- spec/example_rails_app/lib/assets/.gitkeep
|
164
|
+
- spec/example_rails_app/lib/tasks/.gitkeep
|
165
|
+
- spec/example_rails_app/log/.gitkeep
|
166
|
+
- spec/example_rails_app/log/development.log
|
167
|
+
- spec/example_rails_app/public/404.html
|
168
|
+
- spec/example_rails_app/public/422.html
|
169
|
+
- spec/example_rails_app/public/500.html
|
170
|
+
- spec/example_rails_app/public/favicon.ico
|
171
|
+
- spec/example_rails_app/public/robots.txt
|
172
|
+
- spec/example_rails_app/Rakefile
|
173
|
+
- spec/example_rails_app/README.rdoc
|
174
|
+
- spec/example_rails_app/script/rails
|
175
|
+
- spec/example_rails_app/test/fixtures/.gitkeep
|
176
|
+
- spec/example_rails_app/test/functional/.gitkeep
|
177
|
+
- spec/example_rails_app/test/functional/welcome_controller_test.rb
|
178
|
+
- spec/example_rails_app/test/integration/.gitkeep
|
179
|
+
- spec/example_rails_app/test/performance/browsing_test.rb
|
180
|
+
- spec/example_rails_app/test/test_helper.rb
|
181
|
+
- spec/example_rails_app/test/unit/.gitkeep
|
182
|
+
- spec/example_rails_app/test/unit/helpers/welcome_helper_test.rb
|
183
|
+
- spec/example_rails_app/tmp/cache/assets/C26/690/sprockets%2F93708cb34051f3000884905e8669d74a
|
184
|
+
- spec/example_rails_app/tmp/cache/assets/C83/640/sprockets%2F3233432f81669b9bd10ef726c526d348
|
185
|
+
- spec/example_rails_app/tmp/cache/assets/CA2/0F0/sprockets%2Fa928bf973636d2399692f97f454b5c09
|
186
|
+
- spec/example_rails_app/tmp/cache/assets/CD0/AB0/sprockets%2F2211190fb757d05874e2b25fc37a31ad
|
187
|
+
- spec/example_rails_app/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953
|
188
|
+
- spec/example_rails_app/tmp/cache/assets/CE2/AD0/sprockets%2Fbd71546009ab5e606b3f27b4c6a79856
|
189
|
+
- spec/example_rails_app/tmp/cache/assets/D14/000/sprockets%2Fffd7643b7c429e23bdb2281097a5e096
|
190
|
+
- spec/example_rails_app/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
|
191
|
+
- spec/example_rails_app/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655
|
192
|
+
- spec/example_rails_app/tmp/cache/assets/D57/A10/sprockets%2Fbb59d79df830866d39acc49495c25a8c
|
193
|
+
- spec/example_rails_app/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6
|
194
|
+
- spec/example_rails_app/tmp/cache/assets/D5E/170/sprockets%2F2f2229c70dcf195564d4d0fd6a12ac1a
|
195
|
+
- spec/example_rails_app/tmp/cache/assets/D93/130/sprockets%2F85e96cfbd0056066c4fdeb246aa10ab6
|
196
|
+
- spec/example_rails_app/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994
|
197
|
+
- spec/example_rails_app/tmp/cache/assets/DFB/5E0/sprockets%2Fe0480a75c9ef1c7efa2fc0d776a8a4aa
|
198
|
+
- spec/example_rails_app/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
|
199
|
+
- spec/example_rails_app/tmp/cache/sass/44d095475c20f924faa7ec65cd6b8fcf1bcb8197/welcome.css.scssc
|
200
|
+
- spec/example_rails_app/vendor/assets/javascripts/.gitkeep
|
201
|
+
- spec/example_rails_app/vendor/assets/stylesheets/.gitkeep
|
202
|
+
- spec/example_rails_app/vendor/plugins/.gitkeep
|
115
203
|
- spec/omniauth/strategies/aai_spec.rb
|
116
204
|
- spec/spec_helper.rb
|
117
205
|
homepage: https://github.com/switch-ch/omniauth-aai
|
@@ -139,6 +227,86 @@ signing_key:
|
|
139
227
|
specification_version: 3
|
140
228
|
summary: OmniAuth Shibboleth strategies for SWITCHaai
|
141
229
|
test_files:
|
230
|
+
- spec/example_rails_app/.gitignore
|
231
|
+
- spec/example_rails_app/app/assets/images/rails.png
|
232
|
+
- spec/example_rails_app/app/assets/javascripts/application.js
|
233
|
+
- spec/example_rails_app/app/assets/javascripts/welcome.js.coffee
|
234
|
+
- spec/example_rails_app/app/assets/stylesheets/application.css
|
235
|
+
- spec/example_rails_app/app/assets/stylesheets/welcome.css.scss
|
236
|
+
- spec/example_rails_app/app/controllers/application_controller.rb
|
237
|
+
- spec/example_rails_app/app/controllers/session_controller.rb
|
238
|
+
- spec/example_rails_app/app/controllers/welcome_controller.rb
|
239
|
+
- spec/example_rails_app/app/helpers/application_helper.rb
|
240
|
+
- spec/example_rails_app/app/helpers/welcome_helper.rb
|
241
|
+
- spec/example_rails_app/app/mailers/.gitkeep
|
242
|
+
- spec/example_rails_app/app/models/.gitkeep
|
243
|
+
- spec/example_rails_app/app/models/user.rb
|
244
|
+
- spec/example_rails_app/app/views/layouts/application.html.erb
|
245
|
+
- spec/example_rails_app/app/views/welcome/index.html.erb
|
246
|
+
- spec/example_rails_app/app/views/welcome/other_protected.html.erb
|
247
|
+
- spec/example_rails_app/app/views/welcome/protected.html.erb
|
248
|
+
- spec/example_rails_app/config/application.rb
|
249
|
+
- spec/example_rails_app/config/boot.rb
|
250
|
+
- spec/example_rails_app/config/database.yml
|
251
|
+
- spec/example_rails_app/config/environment.rb
|
252
|
+
- spec/example_rails_app/config/environments/development.rb
|
253
|
+
- spec/example_rails_app/config/environments/production.rb
|
254
|
+
- spec/example_rails_app/config/environments/test.rb
|
255
|
+
- spec/example_rails_app/config/initializers/backtrace_silencers.rb
|
256
|
+
- spec/example_rails_app/config/initializers/inflections.rb
|
257
|
+
- spec/example_rails_app/config/initializers/mime_types.rb
|
258
|
+
- spec/example_rails_app/config/initializers/omniauth.rb
|
259
|
+
- spec/example_rails_app/config/initializers/secret_token.rb
|
260
|
+
- spec/example_rails_app/config/initializers/session_store.rb
|
261
|
+
- spec/example_rails_app/config/initializers/wrap_parameters.rb
|
262
|
+
- spec/example_rails_app/config/locales/en.yml
|
263
|
+
- spec/example_rails_app/config/routes.rb
|
264
|
+
- spec/example_rails_app/config.ru
|
265
|
+
- spec/example_rails_app/db/development.sqlite3
|
266
|
+
- spec/example_rails_app/db/seeds.rb
|
267
|
+
- spec/example_rails_app/doc/README_FOR_APP
|
268
|
+
- spec/example_rails_app/Gemfile
|
269
|
+
- spec/example_rails_app/Gemfile.lock
|
270
|
+
- spec/example_rails_app/lib/assets/.gitkeep
|
271
|
+
- spec/example_rails_app/lib/tasks/.gitkeep
|
272
|
+
- spec/example_rails_app/log/.gitkeep
|
273
|
+
- spec/example_rails_app/log/development.log
|
274
|
+
- spec/example_rails_app/public/404.html
|
275
|
+
- spec/example_rails_app/public/422.html
|
276
|
+
- spec/example_rails_app/public/500.html
|
277
|
+
- spec/example_rails_app/public/favicon.ico
|
278
|
+
- spec/example_rails_app/public/robots.txt
|
279
|
+
- spec/example_rails_app/Rakefile
|
280
|
+
- spec/example_rails_app/README.rdoc
|
281
|
+
- spec/example_rails_app/script/rails
|
282
|
+
- spec/example_rails_app/test/fixtures/.gitkeep
|
283
|
+
- spec/example_rails_app/test/functional/.gitkeep
|
284
|
+
- spec/example_rails_app/test/functional/welcome_controller_test.rb
|
285
|
+
- spec/example_rails_app/test/integration/.gitkeep
|
286
|
+
- spec/example_rails_app/test/performance/browsing_test.rb
|
287
|
+
- spec/example_rails_app/test/test_helper.rb
|
288
|
+
- spec/example_rails_app/test/unit/.gitkeep
|
289
|
+
- spec/example_rails_app/test/unit/helpers/welcome_helper_test.rb
|
290
|
+
- spec/example_rails_app/tmp/cache/assets/C26/690/sprockets%2F93708cb34051f3000884905e8669d74a
|
291
|
+
- spec/example_rails_app/tmp/cache/assets/C83/640/sprockets%2F3233432f81669b9bd10ef726c526d348
|
292
|
+
- spec/example_rails_app/tmp/cache/assets/CA2/0F0/sprockets%2Fa928bf973636d2399692f97f454b5c09
|
293
|
+
- spec/example_rails_app/tmp/cache/assets/CD0/AB0/sprockets%2F2211190fb757d05874e2b25fc37a31ad
|
294
|
+
- spec/example_rails_app/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953
|
295
|
+
- spec/example_rails_app/tmp/cache/assets/CE2/AD0/sprockets%2Fbd71546009ab5e606b3f27b4c6a79856
|
296
|
+
- spec/example_rails_app/tmp/cache/assets/D14/000/sprockets%2Fffd7643b7c429e23bdb2281097a5e096
|
297
|
+
- spec/example_rails_app/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
|
298
|
+
- spec/example_rails_app/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655
|
299
|
+
- spec/example_rails_app/tmp/cache/assets/D57/A10/sprockets%2Fbb59d79df830866d39acc49495c25a8c
|
300
|
+
- spec/example_rails_app/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6
|
301
|
+
- spec/example_rails_app/tmp/cache/assets/D5E/170/sprockets%2F2f2229c70dcf195564d4d0fd6a12ac1a
|
302
|
+
- spec/example_rails_app/tmp/cache/assets/D93/130/sprockets%2F85e96cfbd0056066c4fdeb246aa10ab6
|
303
|
+
- spec/example_rails_app/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994
|
304
|
+
- spec/example_rails_app/tmp/cache/assets/DFB/5E0/sprockets%2Fe0480a75c9ef1c7efa2fc0d776a8a4aa
|
305
|
+
- spec/example_rails_app/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
|
306
|
+
- spec/example_rails_app/tmp/cache/sass/44d095475c20f924faa7ec65cd6b8fcf1bcb8197/welcome.css.scssc
|
307
|
+
- spec/example_rails_app/vendor/assets/javascripts/.gitkeep
|
308
|
+
- spec/example_rails_app/vendor/assets/stylesheets/.gitkeep
|
309
|
+
- spec/example_rails_app/vendor/plugins/.gitkeep
|
142
310
|
- spec/omniauth/strategies/aai_spec.rb
|
143
311
|
- spec/spec_helper.rb
|
144
312
|
has_rdoc:
|