prx_auth-rails 1.2.0 → 1.6.0

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.
Files changed (80) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +4 -0
  3. data/README.md +25 -6
  4. data/Rakefile +12 -4
  5. data/app/assets/config/prx_auth-rails_manifest.js +3 -0
  6. data/app/assets/images/prx_auth-rails/user.svg +5 -0
  7. data/app/assets/javascripts/prx_auth-rails/user_widget.js.erb +44 -0
  8. data/app/assets/stylesheets/prx_auth-rails/user_widget.css +69 -0
  9. data/app/controllers/prx_auth/rails/sessions_controller.rb +121 -0
  10. data/app/views/prx_auth/rails/sessions/auth_error.html.erb +15 -0
  11. data/app/views/prx_auth/rails/sessions/show.html.erb +38 -0
  12. data/config/initializers/assets.rb +1 -0
  13. data/config/routes.rb +7 -0
  14. data/lib/prx_auth/rails.rb +1 -0
  15. data/lib/prx_auth/rails/configuration.rb +15 -4
  16. data/lib/prx_auth/rails/engine.rb +9 -0
  17. data/lib/prx_auth/rails/ext/controller.rb +81 -4
  18. data/lib/prx_auth/rails/token.rb +5 -1
  19. data/lib/prx_auth/rails/version.rb +1 -1
  20. data/prx_auth-rails.gemspec +3 -1
  21. data/test/dummy/Rakefile +6 -0
  22. data/test/dummy/app/assets/config/manifest.js +2 -0
  23. data/test/dummy/app/assets/images/.keep +0 -0
  24. data/test/dummy/app/assets/stylesheets/application.css +15 -0
  25. data/test/dummy/app/channels/application_cable/channel.rb +4 -0
  26. data/test/dummy/app/channels/application_cable/connection.rb +4 -0
  27. data/test/dummy/app/controllers/application_controller.rb +8 -0
  28. data/test/dummy/app/controllers/concerns/.keep +0 -0
  29. data/test/dummy/app/helpers/application_helper.rb +2 -0
  30. data/test/dummy/app/javascript/packs/application.js +15 -0
  31. data/test/dummy/app/jobs/application_job.rb +7 -0
  32. data/test/dummy/app/mailers/application_mailer.rb +4 -0
  33. data/test/dummy/app/models/application_record.rb +3 -0
  34. data/test/dummy/app/models/concerns/.keep +0 -0
  35. data/test/dummy/app/views/layouts/application.html.erb +15 -0
  36. data/test/dummy/app/views/layouts/mailer.html.erb +13 -0
  37. data/test/dummy/app/views/layouts/mailer.text.erb +1 -0
  38. data/test/dummy/bin/rails +5 -0
  39. data/test/dummy/bin/rake +5 -0
  40. data/test/dummy/bin/setup +33 -0
  41. data/test/dummy/bin/spring +10 -0
  42. data/test/dummy/config.ru +6 -0
  43. data/test/dummy/config/application.rb +22 -0
  44. data/test/dummy/config/boot.rb +5 -0
  45. data/test/dummy/config/cable.yml +10 -0
  46. data/test/dummy/config/database.yml +25 -0
  47. data/test/dummy/config/environment.rb +5 -0
  48. data/test/dummy/config/environments/development.rb +76 -0
  49. data/test/dummy/config/environments/production.rb +120 -0
  50. data/test/dummy/config/environments/test.rb +60 -0
  51. data/test/dummy/config/initializers/application_controller_renderer.rb +8 -0
  52. data/test/dummy/config/initializers/assets.rb +12 -0
  53. data/test/dummy/config/initializers/backtrace_silencers.rb +8 -0
  54. data/test/dummy/config/initializers/content_security_policy.rb +28 -0
  55. data/test/dummy/config/initializers/cookies_serializer.rb +5 -0
  56. data/test/dummy/config/initializers/filter_parameter_logging.rb +6 -0
  57. data/test/dummy/config/initializers/inflections.rb +16 -0
  58. data/test/dummy/config/initializers/mime_types.rb +4 -0
  59. data/test/dummy/config/initializers/permissions_policy.rb +11 -0
  60. data/test/dummy/config/initializers/prx_auth.rb +8 -0
  61. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  62. data/test/dummy/config/locales/en.yml +33 -0
  63. data/test/dummy/config/puma.rb +43 -0
  64. data/test/dummy/config/routes.rb +3 -0
  65. data/test/dummy/config/spring.rb +6 -0
  66. data/test/dummy/config/storage.yml +34 -0
  67. data/test/dummy/lib/assets/.keep +0 -0
  68. data/test/dummy/log/.keep +0 -0
  69. data/test/dummy/public/404.html +67 -0
  70. data/test/dummy/public/422.html +67 -0
  71. data/test/dummy/public/500.html +66 -0
  72. data/test/dummy/public/apple-touch-icon-precomposed.png +0 -0
  73. data/test/dummy/public/apple-touch-icon.png +0 -0
  74. data/test/dummy/public/favicon.ico +0 -0
  75. data/test/dummy/storage/.keep +0 -0
  76. data/test/prx_auth/rails/configuration_test.rb +18 -12
  77. data/test/prx_auth/rails/sessions_controller_test.rb +104 -0
  78. data/test/prx_auth/rails/token_test.rb +1 -1
  79. data/test/test_helper.rb +20 -9
  80. metadata +158 -7
File without changes
File without changes
@@ -0,0 +1,67 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The page you were looking for doesn't exist (404)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ .rails-default-error-page {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ .rails-default-error-page div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ .rails-default-error-page div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ .rails-default-error-page h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ .rails-default-error-page div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body class="rails-default-error-page">
58
+ <!-- This file lives in public/404.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>The page you were looking for doesn't exist.</h1>
62
+ <p>You may have mistyped the address or the page may have moved.</p>
63
+ </div>
64
+ <p>If you are the application owner check the logs for more information.</p>
65
+ </div>
66
+ </body>
67
+ </html>
@@ -0,0 +1,67 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The change you wanted was rejected (422)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ .rails-default-error-page {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ .rails-default-error-page div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ .rails-default-error-page div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ .rails-default-error-page h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ .rails-default-error-page div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body class="rails-default-error-page">
58
+ <!-- This file lives in public/422.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>The change you wanted was rejected.</h1>
62
+ <p>Maybe you tried to change something you didn't have access to.</p>
63
+ </div>
64
+ <p>If you are the application owner check the logs for more information.</p>
65
+ </div>
66
+ </body>
67
+ </html>
@@ -0,0 +1,66 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>We're sorry, but something went wrong (500)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ .rails-default-error-page {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ .rails-default-error-page div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ .rails-default-error-page div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ .rails-default-error-page h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ .rails-default-error-page div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body class="rails-default-error-page">
58
+ <!-- This file lives in public/500.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>We're sorry, but something went wrong.</h1>
62
+ </div>
63
+ <p>If you are the application owner check the logs for more information.</p>
64
+ </div>
65
+ </body>
66
+ </html>
File without changes
File without changes
File without changes
@@ -2,29 +2,35 @@ require 'test_helper'
2
2
 
3
3
  describe PrxAuth::Rails::Configuration do
4
4
 
5
- after(:each) { PrxAuth::Rails.configuration = PrxAuth::Rails::Configuration.new }
6
5
  subject { PrxAuth::Rails::Configuration.new }
7
-
6
+
8
7
  it 'initializes with a namespace defined by rails app name' do
9
- assert subject.namespace == :test_app
8
+ assert subject.namespace == :dummy
10
9
  end
11
10
 
12
11
  it 'can be reconfigured using the namespace attr' do
13
- PrxAuth::Rails.configure do |config|
14
- config.namespace = :new_test
15
- end
12
+ PrxAuth::Rails.stub(:configuration, subject) do
13
+ PrxAuth::Rails.configure do |config|
14
+ config.namespace = :new_test
15
+ end
16
16
 
17
- assert PrxAuth::Rails.configuration.namespace == :new_test
17
+ assert PrxAuth::Rails.configuration.namespace == :new_test
18
+ end
18
19
  end
19
20
 
20
21
  it 'defaults to enabling the middleware' do
21
- assert PrxAuth::Rails.configuration.install_middleware
22
+ PrxAuth::Rails.stub(:configuration, subject) do
23
+ assert PrxAuth::Rails.configuration.install_middleware
24
+ end
22
25
  end
23
26
 
24
27
  it 'allows overriding of the middleware automatic installation' do
25
- PrxAuth::Rails.configure do |config|
26
- config.install_middleware = false
28
+ PrxAuth::Rails.stub(:configuration, subject) do
29
+ PrxAuth::Rails.configure do |config|
30
+ config.install_middleware = false
31
+ end
32
+
33
+ assert !PrxAuth::Rails.configuration.install_middleware
27
34
  end
28
- assert !PrxAuth::Rails.configuration.install_middleware
29
35
  end
30
- end
36
+ end
@@ -0,0 +1,104 @@
1
+ require "test_helper"
2
+
3
+ module PrxAuth::Rails
4
+ class SessionsControllerTest < ActionController::TestCase
5
+
6
+ setup do
7
+ @routes = PrxAuth::Rails::Engine.routes
8
+ @nonce_session_key = SessionsController::ID_NONCE_SESSION_KEY
9
+ @token_params = {id_token: 'sometok', access_token: 'othertok'}
10
+ @stub_claims = {'nonce' => '123', 'sub' => '1'}
11
+ end
12
+
13
+ test "new creates nonce" do
14
+ nonce = session[@nonce_session_key]
15
+ assert nonce == nil
16
+
17
+ get :new
18
+
19
+ nonce = session[@nonce_session_key]
20
+ assert nonce.match(/[a-zA-Z\d]{32}/)
21
+ assert nonce.length == 32
22
+ end
23
+
24
+ test 'new should should not overwrite the saved nonce' do
25
+ get :new
26
+ nonce1 = session[@nonce_session_key]
27
+
28
+ get :new
29
+ nonce2 = session[@nonce_session_key]
30
+ assert nonce1 == nonce2
31
+ end
32
+
33
+ test 'create should validate a token and set the session variable' do
34
+ @controller.stub(:validate_token, @stub_claims) do
35
+ @controller.stub(:lookup_and_register_accounts_names, nil) do
36
+ session[@nonce_session_key] = '123'
37
+ post :create, params: @token_params, format: :json
38
+ assert session['prx.auth']['id_token']['nonce'] == '123'
39
+ end
40
+ end
41
+ end
42
+
43
+ test 'create should call test_nonce! if upon verification' do
44
+ @controller.stub(:validate_token, {'nonce' => 'not matching', 'aud' => '1'}) do
45
+ session[@nonce_session_key] = 'nonce'
46
+ post :create, params: @token_params, format: :json
47
+ assert session[@nonce_session_key] == nil
48
+ end
49
+ end
50
+
51
+ test 'create should reset the nonce after consumed' do
52
+ @controller.stub(:validate_token, @stub_claims) do
53
+ @controller.stub(:lookup_and_register_accounts_names, nil) do
54
+ session[@nonce_session_key] = '123'
55
+ post :create, params: @token_params, format: :json
56
+
57
+ assert session[@nonce_session_key] == nil
58
+ assert response.code == '302'
59
+ assert response.body.match?(/after-sign-in-path/)
60
+ end
61
+ end
62
+ end
63
+
64
+ test 'should respond with redirect to the auth error page / code if the nonce does not match' do
65
+ @controller.stub(:validate_token, @stub_claims) do
66
+ session[@nonce_session_key] = 'nonce-does-not-match'
67
+ post :create, params: @token_params, format: :json
68
+ assert response.code == '302'
69
+ assert response.body.match(/auth_error\?error=verification_failed/)
70
+ end
71
+ end
72
+
73
+ test 'auth_error should return a formatted error message to the user' do
74
+ get :auth_error, params: {error: 'error_message'}
75
+ assert response.code == '200'
76
+ assert response.body.match?(/Message was: <pre>error_message/)
77
+ end
78
+
79
+ test 'auth_error should expect the error param' do
80
+ assert_raises ActionController::ParameterMissing do
81
+ get :auth_error, params: {}
82
+ end
83
+ end
84
+
85
+ test 'validates that the user id matches in both tokens' do
86
+ @controller.stub(:id_claims, @stub_claims) do
87
+ @controller.stub(:access_claims, @stub_claims.merge('sub' => '444')) do
88
+
89
+ session[@nonce_session_key] = '123'
90
+ post :create, params: @token_params, format: :json
91
+
92
+ assert response.code == '302'
93
+ assert response.body.match?(/error=verification_failed/)
94
+ end
95
+ end
96
+ end
97
+
98
+ test 'should clear the user token on sign out' do
99
+ session[PrxAuth::Rails::Controller::PRX_TOKEN_SESSION_KEY] = 'some-token'
100
+ post :destroy
101
+ assert session[PrxAuth::Rails::Controller::PRX_TOKEN_SESSION_KEY] == nil
102
+ end
103
+ end
104
+ end
@@ -42,4 +42,4 @@ describe PrxAuth::Rails::Token do
42
42
  end
43
43
 
44
44
 
45
- end
45
+ end
data/test/test_helper.rb CHANGED
@@ -1,7 +1,6 @@
1
1
  require 'coveralls'
2
- Coveralls.wear!
3
2
 
4
- $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
3
+ Coveralls.wear!
5
4
 
6
5
  require 'minitest/autorun'
7
6
  require 'minitest/spec'
@@ -12,13 +11,25 @@ require 'action_view'
12
11
  require 'rails'
13
12
  require 'rails/generators'
14
13
  require 'rails/generators/test_case'
15
- # Bundler.require(:default)
14
+ require 'pry'
16
15
 
17
- class TestApp < Rails::Application
18
- config.root = File.dirname(__FILE__)
19
- config.eager_load = false
20
- end
16
+ require 'prx_auth/rails'
17
+
18
+ # Configure Rails Environment
19
+ ENV["RAILS_ENV"] = "test"
20
+ ENV['PRX_CLIENT_ID'] = '12345'
21
21
 
22
- TestApp.initialize!
23
22
 
24
- require 'prx_auth/rails'
23
+ require_relative "../test/dummy/config/environment"
24
+ ActiveRecord::Migrator.migrations_paths = [File.expand_path("../test/dummy/db/migrate", __dir__)]
25
+ ActiveRecord::Migrator.migrations_paths << File.expand_path('../db/migrate', __dir__)
26
+ require "rails/test_help"
27
+
28
+
29
+ # Load fixtures from the engine
30
+ if ActiveSupport::TestCase.respond_to?(:fixture_path=)
31
+ ActiveSupport::TestCase.fixture_path = File.expand_path("fixtures", __dir__)
32
+ ActionDispatch::IntegrationTest.fixture_path = ActiveSupport::TestCase.fixture_path
33
+ ActiveSupport::TestCase.file_fixture_path = ActiveSupport::TestCase.fixture_path + "/files"
34
+ ActiveSupport::TestCase.fixtures :all
35
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prx_auth-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Rhoden
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-08-10 00:00:00.000000000 Z
11
+ date: 2021-03-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionpack
@@ -96,6 +96,34 @@ dependencies:
96
96
  version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: rails
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: 6.1.0
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: 6.1.0
111
+ - !ruby/object:Gem::Dependency
112
+ name: pry
113
+ requirement: !ruby/object:Gem::Requirement
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
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: sqlite3
99
127
  requirement: !ruby/object:Gem::Requirement
100
128
  requirements:
101
129
  - - ">="
@@ -124,7 +152,7 @@ dependencies:
124
152
  version: '1.2'
125
153
  description: 'Rails integration for next generation PRX Authorization system.
126
154
 
127
- '
155
+ '
128
156
  email:
129
157
  - carhoden@gmail.com
130
158
  executables: []
@@ -137,22 +165,88 @@ files:
137
165
  - LICENSE.txt
138
166
  - README.md
139
167
  - Rakefile
168
+ - app/assets/config/prx_auth-rails_manifest.js
169
+ - app/assets/images/prx_auth-rails/user.svg
170
+ - app/assets/javascripts/prx_auth-rails/user_widget.js.erb
171
+ - app/assets/stylesheets/prx_auth-rails/user_widget.css
172
+ - app/controllers/prx_auth/rails/sessions_controller.rb
173
+ - app/views/prx_auth/rails/sessions/auth_error.html.erb
174
+ - app/views/prx_auth/rails/sessions/show.html.erb
175
+ - config/initializers/assets.rb
176
+ - config/routes.rb
140
177
  - lib/prx_auth/rails.rb
141
178
  - lib/prx_auth/rails/configuration.rb
179
+ - lib/prx_auth/rails/engine.rb
142
180
  - lib/prx_auth/rails/ext/controller.rb
143
181
  - lib/prx_auth/rails/railtie.rb
144
182
  - lib/prx_auth/rails/token.rb
145
183
  - lib/prx_auth/rails/version.rb
146
184
  - prx_auth-rails.gemspec
185
+ - test/dummy/Rakefile
186
+ - test/dummy/app/assets/config/manifest.js
187
+ - test/dummy/app/assets/images/.keep
188
+ - test/dummy/app/assets/stylesheets/application.css
189
+ - test/dummy/app/channels/application_cable/channel.rb
190
+ - test/dummy/app/channels/application_cable/connection.rb
191
+ - test/dummy/app/controllers/application_controller.rb
192
+ - test/dummy/app/controllers/concerns/.keep
193
+ - test/dummy/app/helpers/application_helper.rb
194
+ - test/dummy/app/javascript/packs/application.js
195
+ - test/dummy/app/jobs/application_job.rb
196
+ - test/dummy/app/mailers/application_mailer.rb
197
+ - test/dummy/app/models/application_record.rb
198
+ - test/dummy/app/models/concerns/.keep
199
+ - test/dummy/app/views/layouts/application.html.erb
200
+ - test/dummy/app/views/layouts/mailer.html.erb
201
+ - test/dummy/app/views/layouts/mailer.text.erb
202
+ - test/dummy/bin/rails
203
+ - test/dummy/bin/rake
204
+ - test/dummy/bin/setup
205
+ - test/dummy/bin/spring
206
+ - test/dummy/config.ru
207
+ - test/dummy/config/application.rb
208
+ - test/dummy/config/boot.rb
209
+ - test/dummy/config/cable.yml
210
+ - test/dummy/config/database.yml
211
+ - test/dummy/config/environment.rb
212
+ - test/dummy/config/environments/development.rb
213
+ - test/dummy/config/environments/production.rb
214
+ - test/dummy/config/environments/test.rb
215
+ - test/dummy/config/initializers/application_controller_renderer.rb
216
+ - test/dummy/config/initializers/assets.rb
217
+ - test/dummy/config/initializers/backtrace_silencers.rb
218
+ - test/dummy/config/initializers/content_security_policy.rb
219
+ - test/dummy/config/initializers/cookies_serializer.rb
220
+ - test/dummy/config/initializers/filter_parameter_logging.rb
221
+ - test/dummy/config/initializers/inflections.rb
222
+ - test/dummy/config/initializers/mime_types.rb
223
+ - test/dummy/config/initializers/permissions_policy.rb
224
+ - test/dummy/config/initializers/prx_auth.rb
225
+ - test/dummy/config/initializers/wrap_parameters.rb
226
+ - test/dummy/config/locales/en.yml
227
+ - test/dummy/config/puma.rb
228
+ - test/dummy/config/routes.rb
229
+ - test/dummy/config/spring.rb
230
+ - test/dummy/config/storage.yml
231
+ - test/dummy/lib/assets/.keep
232
+ - test/dummy/log/.keep
233
+ - test/dummy/public/404.html
234
+ - test/dummy/public/422.html
235
+ - test/dummy/public/500.html
236
+ - test/dummy/public/apple-touch-icon-precomposed.png
237
+ - test/dummy/public/apple-touch-icon.png
238
+ - test/dummy/public/favicon.ico
239
+ - test/dummy/storage/.keep
147
240
  - test/log/development.log
148
241
  - test/prx_auth/rails/configuration_test.rb
242
+ - test/prx_auth/rails/sessions_controller_test.rb
149
243
  - test/prx_auth/rails/token_test.rb
150
244
  - test/test_helper.rb
151
245
  homepage: https://github.com/PRX/prx_auth-rails
152
246
  licenses:
153
247
  - MIT
154
248
  metadata: {}
155
- post_install_message:
249
+ post_install_message:
156
250
  rdoc_options: []
157
251
  require_paths:
158
252
  - lib
@@ -167,12 +261,69 @@ required_rubygems_version: !ruby/object:Gem::Requirement
167
261
  - !ruby/object:Gem::Version
168
262
  version: '0'
169
263
  requirements: []
170
- rubygems_version: 3.0.1
171
- signing_key:
264
+ rubyforge_project:
265
+ rubygems_version: 2.7.6.2
266
+ signing_key:
172
267
  specification_version: 4
173
268
  summary: Rails integration for next generation PRX Authorization system.
174
269
  test_files:
270
+ - test/dummy/Rakefile
271
+ - test/dummy/app/assets/config/manifest.js
272
+ - test/dummy/app/assets/images/.keep
273
+ - test/dummy/app/assets/stylesheets/application.css
274
+ - test/dummy/app/channels/application_cable/channel.rb
275
+ - test/dummy/app/channels/application_cable/connection.rb
276
+ - test/dummy/app/controllers/application_controller.rb
277
+ - test/dummy/app/controllers/concerns/.keep
278
+ - test/dummy/app/helpers/application_helper.rb
279
+ - test/dummy/app/javascript/packs/application.js
280
+ - test/dummy/app/jobs/application_job.rb
281
+ - test/dummy/app/mailers/application_mailer.rb
282
+ - test/dummy/app/models/application_record.rb
283
+ - test/dummy/app/models/concerns/.keep
284
+ - test/dummy/app/views/layouts/application.html.erb
285
+ - test/dummy/app/views/layouts/mailer.html.erb
286
+ - test/dummy/app/views/layouts/mailer.text.erb
287
+ - test/dummy/bin/rails
288
+ - test/dummy/bin/rake
289
+ - test/dummy/bin/setup
290
+ - test/dummy/bin/spring
291
+ - test/dummy/config.ru
292
+ - test/dummy/config/application.rb
293
+ - test/dummy/config/boot.rb
294
+ - test/dummy/config/cable.yml
295
+ - test/dummy/config/database.yml
296
+ - test/dummy/config/environment.rb
297
+ - test/dummy/config/environments/development.rb
298
+ - test/dummy/config/environments/production.rb
299
+ - test/dummy/config/environments/test.rb
300
+ - test/dummy/config/initializers/application_controller_renderer.rb
301
+ - test/dummy/config/initializers/assets.rb
302
+ - test/dummy/config/initializers/backtrace_silencers.rb
303
+ - test/dummy/config/initializers/content_security_policy.rb
304
+ - test/dummy/config/initializers/cookies_serializer.rb
305
+ - test/dummy/config/initializers/filter_parameter_logging.rb
306
+ - test/dummy/config/initializers/inflections.rb
307
+ - test/dummy/config/initializers/mime_types.rb
308
+ - test/dummy/config/initializers/permissions_policy.rb
309
+ - test/dummy/config/initializers/prx_auth.rb
310
+ - test/dummy/config/initializers/wrap_parameters.rb
311
+ - test/dummy/config/locales/en.yml
312
+ - test/dummy/config/puma.rb
313
+ - test/dummy/config/routes.rb
314
+ - test/dummy/config/spring.rb
315
+ - test/dummy/config/storage.yml
316
+ - test/dummy/lib/assets/.keep
317
+ - test/dummy/log/.keep
318
+ - test/dummy/public/404.html
319
+ - test/dummy/public/422.html
320
+ - test/dummy/public/500.html
321
+ - test/dummy/public/apple-touch-icon-precomposed.png
322
+ - test/dummy/public/apple-touch-icon.png
323
+ - test/dummy/public/favicon.ico
324
+ - test/dummy/storage/.keep
175
325
  - test/log/development.log
176
326
  - test/prx_auth/rails/configuration_test.rb
327
+ - test/prx_auth/rails/sessions_controller_test.rb
177
328
  - test/prx_auth/rails/token_test.rb
178
329
  - test/test_helper.rb