panda_pal 5.15.1.beta2 → 5.15.1.beta4

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 (100) hide show
  1. checksums.yaml +4 -4
  2. data/MIT-LICENSE +0 -0
  3. data/Rakefile +0 -0
  4. data/app/assets/config/panda_pal_manifest.js +0 -0
  5. data/app/assets/javascripts/panda_pal/lti.js +0 -0
  6. data/app/assets/stylesheets/panda_pal/application.css +0 -0
  7. data/app/assets/stylesheets/panda_pal/lti.css +0 -0
  8. data/app/controllers/panda_pal/api_call_controller.rb +1 -2
  9. data/app/controllers/panda_pal/lti_controller.rb +1 -3
  10. data/app/controllers/panda_pal/lti_v1_p0_controller.rb +1 -3
  11. data/app/controllers/panda_pal/lti_v1_p3_controller.rb +1 -3
  12. data/app/controllers/panda_pal/{application_controller.rb → panda_pal_controller.rb} +1 -1
  13. data/app/helpers/panda_pal/application_helper.rb +0 -0
  14. data/app/jobs/panda_pal/jobs/grade_passback_job.rb +0 -0
  15. data/app/lib/lti_xml/base_platform.rb +0 -0
  16. data/app/lib/lti_xml/bridge_platform.rb +0 -0
  17. data/app/lib/lti_xml/canvas_platform.rb +0 -0
  18. data/app/lib/panda_pal/launch_url_helpers.rb +0 -0
  19. data/app/lib/panda_pal/lti_jwt_validator.rb +0 -0
  20. data/app/models/panda_pal/api_call.rb +0 -0
  21. data/app/models/panda_pal/organization_concerns/organization_builder.rb +0 -0
  22. data/app/models/panda_pal/organization_concerns/settings_validation.rb +0 -0
  23. data/app/models/panda_pal/organization_concerns/task_scheduling.rb +0 -0
  24. data/app/models/panda_pal/panda_pal_record.rb +0 -0
  25. data/app/models/panda_pal/platform.rb +0 -0
  26. data/app/views/layouts/panda_pal/application.html.erb +0 -0
  27. data/app/views/panda_pal/lti/launch.html.erb +0 -0
  28. data/app/views/panda_pal/lti_v1_p3/login.html.erb +0 -0
  29. data/app/views/panda_pal/partials/_auto_submit_form.html.erb +0 -0
  30. data/config/dev_lti_key.key +0 -0
  31. data/config/initializers/apartment.rb +32 -22
  32. data/config/routes.rb +0 -0
  33. data/db/migrate/20160412205931_create_panda_pal_organizations.rb +0 -0
  34. data/db/migrate/20160413135653_create_panda_pal_sessions.rb +0 -0
  35. data/db/migrate/20160425130344_add_panda_pal_organization_to_session.rb +0 -0
  36. data/db/migrate/20170106165533_add_salesforce_id_to_organizations.rb +0 -0
  37. data/db/migrate/20171205183457_encrypt_organization_settings.rb +0 -0
  38. data/db/migrate/20171205194657_remove_old_organization_settings.rb +0 -0
  39. data/db/migrate/20220721095653_create_panda_pal_api_calls.rb +0 -0
  40. data/lib/panda_pal/concerns/ability_helper.rb +0 -0
  41. data/lib/panda_pal/engine.rb +1 -0
  42. data/lib/panda_pal/helpers/console_helpers.rb +0 -0
  43. data/lib/panda_pal/helpers/misc_helper.rb +0 -0
  44. data/lib/panda_pal/helpers/route_helper.rb +0 -0
  45. data/lib/panda_pal/helpers/secure_headers.rb +0 -0
  46. data/lib/panda_pal/helpers.rb +0 -0
  47. data/lib/panda_pal/plugins.rb +0 -0
  48. data/lib/panda_pal/version.rb +1 -1
  49. data/lib/panda_pal.rb +0 -0
  50. data/lib/tasks/panda_pal_tasks.rake +0 -0
  51. data/panda_pal.gemspec +0 -14
  52. data/spec/controllers/panda_pal/api_call_controller_spec.rb +18 -20
  53. data/spec/core/apartment_multidb_spec.rb +1 -1
  54. data/spec/factories/panda_pal_organizations.rb +1 -1
  55. data/spec/factories/panda_pal_sessions.rb +4 -4
  56. data/spec/{dummy → internal}/config/database.yml +1 -12
  57. data/spec/{dummy → internal}/config/routes.rb +2 -1
  58. data/spec/internal/config/storage.yml +3 -0
  59. data/spec/internal/db/schema.rb +6 -0
  60. data/spec/models/panda_pal/api_call_spec.rb +1 -1
  61. data/spec/models/panda_pal/organization/settings_validation_spec.rb +1 -1
  62. data/spec/models/panda_pal/organization/task_scheduling_spec.rb +1 -1
  63. data/spec/models/panda_pal/organization_spec.rb +4 -4
  64. data/spec/models/panda_pal/session_spec.rb +1 -1
  65. data/spec/spec_helper.rb +54 -5
  66. metadata +10 -220
  67. data/spec/dummy/README.rdoc +0 -28
  68. data/spec/dummy/Rakefile +0 -6
  69. data/spec/dummy/app/assets/javascripts/application.js +0 -13
  70. data/spec/dummy/app/assets/stylesheets/application.css +0 -15
  71. data/spec/dummy/app/bin/bundle +0 -3
  72. data/spec/dummy/app/bin/rails +0 -4
  73. data/spec/dummy/app/bin/rake +0 -4
  74. data/spec/dummy/app/bin/setup +0 -29
  75. data/spec/dummy/app/controllers/application_controller.rb +0 -5
  76. data/spec/dummy/app/helpers/application_helper.rb +0 -2
  77. data/spec/dummy/app/views/layouts/application.html.erb +0 -14
  78. data/spec/dummy/config/application.rb +0 -29
  79. data/spec/dummy/config/boot.rb +0 -5
  80. data/spec/dummy/config/environment.rb +0 -5
  81. data/spec/dummy/config/environments/development.rb +0 -27
  82. data/spec/dummy/config/environments/production.rb +0 -68
  83. data/spec/dummy/config/environments/test.rb +0 -47
  84. data/spec/dummy/config/initializers/backtrace_silencers.rb +0 -7
  85. data/spec/dummy/config/initializers/cookies_serializer.rb +0 -3
  86. data/spec/dummy/config/initializers/filter_parameter_logging.rb +0 -4
  87. data/spec/dummy/config/initializers/inflections.rb +0 -16
  88. data/spec/dummy/config/initializers/mime_types.rb +0 -4
  89. data/spec/dummy/config/initializers/session_store.rb +0 -3
  90. data/spec/dummy/config/initializers/wrap_parameters.rb +0 -14
  91. data/spec/dummy/config/locales/en.yml +0 -23
  92. data/spec/dummy/config/secrets.yml +0 -22
  93. data/spec/dummy/config.ru +0 -4
  94. data/spec/dummy/db/schema.rb +0 -49
  95. data/spec/dummy/db/test2_schema.rb +0 -49
  96. data/spec/dummy/public/404.html +0 -67
  97. data/spec/dummy/public/422.html +0 -67
  98. data/spec/dummy/public/500.html +0 -66
  99. data/spec/dummy/public/favicon.ico +0 -0
  100. data/spec/rails_helper.rb +0 -35
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: panda_pal
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.15.1.beta2
4
+ version: 5.15.1.beta4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Instructure CustomDev
@@ -135,152 +135,6 @@ dependencies:
135
135
  - - ">="
136
136
  - !ruby/object:Gem::Version
137
137
  version: '0'
138
- - !ruby/object:Gem::Dependency
139
- name: rails
140
- requirement: !ruby/object:Gem::Requirement
141
- requirements:
142
- - - "~>"
143
- - !ruby/object:Gem::Version
144
- version: '7.0'
145
- type: :development
146
- prerelease: false
147
- version_requirements: !ruby/object:Gem::Requirement
148
- requirements:
149
- - - "~>"
150
- - !ruby/object:Gem::Version
151
- version: '7.0'
152
- - !ruby/object:Gem::Dependency
153
- name: pg
154
- requirement: !ruby/object:Gem::Requirement
155
- requirements:
156
- - - ">="
157
- - !ruby/object:Gem::Version
158
- version: '0'
159
- type: :development
160
- prerelease: false
161
- version_requirements: !ruby/object:Gem::Requirement
162
- requirements:
163
- - - ">="
164
- - !ruby/object:Gem::Version
165
- version: '0'
166
- - !ruby/object:Gem::Dependency
167
- name: sidekiq
168
- requirement: !ruby/object:Gem::Requirement
169
- requirements:
170
- - - "<"
171
- - !ruby/object:Gem::Version
172
- version: '7.0'
173
- type: :development
174
- prerelease: false
175
- version_requirements: !ruby/object:Gem::Requirement
176
- requirements:
177
- - - "<"
178
- - !ruby/object:Gem::Version
179
- version: '7.0'
180
- - !ruby/object:Gem::Dependency
181
- name: sidekiq-scheduler
182
- requirement: !ruby/object:Gem::Requirement
183
- requirements:
184
- - - ">="
185
- - !ruby/object:Gem::Version
186
- version: '0'
187
- type: :development
188
- prerelease: false
189
- version_requirements: !ruby/object:Gem::Requirement
190
- requirements:
191
- - - ">="
192
- - !ruby/object:Gem::Version
193
- version: '0'
194
- - !ruby/object:Gem::Dependency
195
- name: ros-apartment
196
- requirement: !ruby/object:Gem::Requirement
197
- requirements:
198
- - - "~>"
199
- - !ruby/object:Gem::Version
200
- version: '3.0'
201
- type: :development
202
- prerelease: false
203
- version_requirements: !ruby/object:Gem::Requirement
204
- requirements:
205
- - - "~>"
206
- - !ruby/object:Gem::Version
207
- version: '3.0'
208
- - !ruby/object:Gem::Dependency
209
- name: ros-apartment-sidekiq
210
- requirement: !ruby/object:Gem::Requirement
211
- requirements:
212
- - - "~>"
213
- - !ruby/object:Gem::Version
214
- version: '1.2'
215
- type: :development
216
- prerelease: false
217
- version_requirements: !ruby/object:Gem::Requirement
218
- requirements:
219
- - - "~>"
220
- - !ruby/object:Gem::Version
221
- version: '1.2'
222
- - !ruby/object:Gem::Dependency
223
- name: rspec-rails
224
- requirement: !ruby/object:Gem::Requirement
225
- requirements:
226
- - - ">="
227
- - !ruby/object:Gem::Version
228
- version: '0'
229
- type: :development
230
- prerelease: false
231
- version_requirements: !ruby/object:Gem::Requirement
232
- requirements:
233
- - - ">="
234
- - !ruby/object:Gem::Version
235
- version: '0'
236
- - !ruby/object:Gem::Dependency
237
- name: factory_girl_rails
238
- requirement: !ruby/object:Gem::Requirement
239
- requirements:
240
- - - ">="
241
- - !ruby/object:Gem::Version
242
- version: '0'
243
- type: :development
244
- prerelease: false
245
- version_requirements: !ruby/object:Gem::Requirement
246
- requirements:
247
- - - ">="
248
- - !ruby/object:Gem::Version
249
- version: '0'
250
- - !ruby/object:Gem::Dependency
251
- name: redis
252
- requirement: !ruby/object:Gem::Requirement
253
- requirements:
254
- - - ">="
255
- - !ruby/object:Gem::Version
256
- version: '4.2'
257
- - - "<"
258
- - !ruby/object:Gem::Version
259
- version: '5.0'
260
- type: :development
261
- prerelease: false
262
- version_requirements: !ruby/object:Gem::Requirement
263
- requirements:
264
- - - ">="
265
- - !ruby/object:Gem::Version
266
- version: '4.2'
267
- - - "<"
268
- - !ruby/object:Gem::Version
269
- version: '5.0'
270
- - !ruby/object:Gem::Dependency
271
- name: mail
272
- requirement: !ruby/object:Gem::Requirement
273
- requirements:
274
- - - '='
275
- - !ruby/object:Gem::Version
276
- version: 2.7.1
277
- type: :development
278
- prerelease: false
279
- version_requirements: !ruby/object:Gem::Requirement
280
- requirements:
281
- - - '='
282
- - !ruby/object:Gem::Version
283
- version: 2.7.1
284
138
  email:
285
139
  - pseng@instructure.com
286
140
  executables: []
@@ -296,10 +150,10 @@ files:
296
150
  - app/assets/stylesheets/panda_pal/application.css
297
151
  - app/assets/stylesheets/panda_pal/lti.css
298
152
  - app/controllers/panda_pal/api_call_controller.rb
299
- - app/controllers/panda_pal/application_controller.rb
300
153
  - app/controllers/panda_pal/lti_controller.rb
301
154
  - app/controllers/panda_pal/lti_v1_p0_controller.rb
302
155
  - app/controllers/panda_pal/lti_v1_p3_controller.rb
156
+ - app/controllers/panda_pal/panda_pal_controller.rb
303
157
  - app/helpers/panda_pal/application_helper.rb
304
158
  - app/jobs/panda_pal/jobs/grade_passback_job.rb
305
159
  - app/lib/lti_xml/base_platform.rb
@@ -350,49 +204,17 @@ files:
350
204
  - panda_pal.gemspec
351
205
  - spec/controllers/panda_pal/api_call_controller_spec.rb
352
206
  - spec/core/apartment_multidb_spec.rb
353
- - spec/dummy/README.rdoc
354
- - spec/dummy/Rakefile
355
- - spec/dummy/app/assets/javascripts/application.js
356
- - spec/dummy/app/assets/stylesheets/application.css
357
- - spec/dummy/app/bin/bundle
358
- - spec/dummy/app/bin/rails
359
- - spec/dummy/app/bin/rake
360
- - spec/dummy/app/bin/setup
361
- - spec/dummy/app/controllers/application_controller.rb
362
- - spec/dummy/app/helpers/application_helper.rb
363
- - spec/dummy/app/views/layouts/application.html.erb
364
- - spec/dummy/config.ru
365
- - spec/dummy/config/application.rb
366
- - spec/dummy/config/boot.rb
367
- - spec/dummy/config/database.yml
368
- - spec/dummy/config/environment.rb
369
- - spec/dummy/config/environments/development.rb
370
- - spec/dummy/config/environments/production.rb
371
- - spec/dummy/config/environments/test.rb
372
- - spec/dummy/config/initializers/backtrace_silencers.rb
373
- - spec/dummy/config/initializers/cookies_serializer.rb
374
- - spec/dummy/config/initializers/filter_parameter_logging.rb
375
- - spec/dummy/config/initializers/inflections.rb
376
- - spec/dummy/config/initializers/mime_types.rb
377
- - spec/dummy/config/initializers/session_store.rb
378
- - spec/dummy/config/initializers/wrap_parameters.rb
379
- - spec/dummy/config/locales/en.yml
380
- - spec/dummy/config/routes.rb
381
- - spec/dummy/config/secrets.yml
382
- - spec/dummy/db/schema.rb
383
- - spec/dummy/db/test2_schema.rb
384
- - spec/dummy/public/404.html
385
- - spec/dummy/public/422.html
386
- - spec/dummy/public/500.html
387
- - spec/dummy/public/favicon.ico
388
207
  - spec/factories/panda_pal_organizations.rb
389
208
  - spec/factories/panda_pal_sessions.rb
209
+ - spec/internal/config/database.yml
210
+ - spec/internal/config/routes.rb
211
+ - spec/internal/config/storage.yml
212
+ - spec/internal/db/schema.rb
390
213
  - spec/models/panda_pal/api_call_spec.rb
391
214
  - spec/models/panda_pal/organization/settings_validation_spec.rb
392
215
  - spec/models/panda_pal/organization/task_scheduling_spec.rb
393
216
  - spec/models/panda_pal/organization_spec.rb
394
217
  - spec/models/panda_pal/session_spec.rb
395
- - spec/rails_helper.rb
396
218
  - spec/spec_helper.rb
397
219
  homepage: http://instructure.com
398
220
  licenses:
@@ -418,47 +240,15 @@ summary: LTI mountable engine
418
240
  test_files:
419
241
  - spec/controllers/panda_pal/api_call_controller_spec.rb
420
242
  - spec/core/apartment_multidb_spec.rb
421
- - spec/dummy/README.rdoc
422
- - spec/dummy/Rakefile
423
- - spec/dummy/app/assets/javascripts/application.js
424
- - spec/dummy/app/assets/stylesheets/application.css
425
- - spec/dummy/app/bin/bundle
426
- - spec/dummy/app/bin/rails
427
- - spec/dummy/app/bin/rake
428
- - spec/dummy/app/bin/setup
429
- - spec/dummy/app/controllers/application_controller.rb
430
- - spec/dummy/app/helpers/application_helper.rb
431
- - spec/dummy/app/views/layouts/application.html.erb
432
- - spec/dummy/config.ru
433
- - spec/dummy/config/application.rb
434
- - spec/dummy/config/boot.rb
435
- - spec/dummy/config/database.yml
436
- - spec/dummy/config/environment.rb
437
- - spec/dummy/config/environments/development.rb
438
- - spec/dummy/config/environments/production.rb
439
- - spec/dummy/config/environments/test.rb
440
- - spec/dummy/config/initializers/backtrace_silencers.rb
441
- - spec/dummy/config/initializers/cookies_serializer.rb
442
- - spec/dummy/config/initializers/filter_parameter_logging.rb
443
- - spec/dummy/config/initializers/inflections.rb
444
- - spec/dummy/config/initializers/mime_types.rb
445
- - spec/dummy/config/initializers/session_store.rb
446
- - spec/dummy/config/initializers/wrap_parameters.rb
447
- - spec/dummy/config/locales/en.yml
448
- - spec/dummy/config/routes.rb
449
- - spec/dummy/config/secrets.yml
450
- - spec/dummy/db/schema.rb
451
- - spec/dummy/db/test2_schema.rb
452
- - spec/dummy/public/404.html
453
- - spec/dummy/public/422.html
454
- - spec/dummy/public/500.html
455
- - spec/dummy/public/favicon.ico
456
243
  - spec/factories/panda_pal_organizations.rb
457
244
  - spec/factories/panda_pal_sessions.rb
245
+ - spec/internal/config/database.yml
246
+ - spec/internal/config/routes.rb
247
+ - spec/internal/config/storage.yml
248
+ - spec/internal/db/schema.rb
458
249
  - spec/models/panda_pal/api_call_spec.rb
459
250
  - spec/models/panda_pal/organization/settings_validation_spec.rb
460
251
  - spec/models/panda_pal/organization/task_scheduling_spec.rb
461
252
  - spec/models/panda_pal/organization_spec.rb
462
253
  - spec/models/panda_pal/session_spec.rb
463
- - spec/rails_helper.rb
464
254
  - spec/spec_helper.rb
@@ -1,28 +0,0 @@
1
- == README
2
-
3
- This README would normally document whatever steps are necessary to get the
4
- application up and running.
5
-
6
- Things you may want to cover:
7
-
8
- * Ruby version
9
-
10
- * System dependencies
11
-
12
- * Configuration
13
-
14
- * Database creation
15
-
16
- * Database initialization
17
-
18
- * How to run the test suite
19
-
20
- * Services (job queues, cache servers, search engines, etc.)
21
-
22
- * Deployment instructions
23
-
24
- * ...
25
-
26
-
27
- Please feel free to use a different markup language if you do not plan to run
28
- <tt>rake doc:app</tt>.
data/spec/dummy/Rakefile DELETED
@@ -1,6 +0,0 @@
1
- # Add your own tasks in files placed in lib/tasks ending in .rake,
2
- # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
3
-
4
- require File.expand_path('../config/application', __FILE__)
5
-
6
- Rails.application.load_tasks
@@ -1,13 +0,0 @@
1
- // This is a manifest file that'll be compiled into application.js, which will include all the files
2
- // listed below.
3
- //
4
- // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
5
- // or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
6
- //
7
- // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
8
- // compiled file.
9
- //
10
- // Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
11
- // about supported directives.
12
- //
13
- //= require_tree .
@@ -1,15 +0,0 @@
1
- /*
2
- * This is a manifest file that'll be compiled into application.css, which will include all the files
3
- * listed below.
4
- *
5
- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
6
- * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
7
- *
8
- * You're free to add application-wide styles to this file and they'll appear at the bottom of the
9
- * compiled file so the styles you add here take precedence over styles defined in any styles
10
- * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
11
- * file per style scope.
12
- *
13
- *= require_tree .
14
- *= require_self
15
- */
@@ -1,3 +0,0 @@
1
- #!/usr/bin/env ruby
2
- ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
3
- load Gem.bin_path('bundler', 'bundle')
@@ -1,4 +0,0 @@
1
- #!/usr/bin/env ruby
2
- APP_PATH = File.expand_path('../../config/application', __FILE__)
3
- require_relative '../config/boot'
4
- require 'rails/commands'
@@ -1,4 +0,0 @@
1
- #!/usr/bin/env ruby
2
- require_relative '../config/boot'
3
- require 'rake'
4
- Rake.application.run
@@ -1,29 +0,0 @@
1
- #!/usr/bin/env ruby
2
- require 'pathname'
3
-
4
- # path to your application root.
5
- APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
6
-
7
- Dir.chdir APP_ROOT do
8
- # This script is a starting point to setup your application.
9
- # Add necessary setup steps to this file:
10
-
11
- puts "== Installing dependencies =="
12
- system "gem install bundler --conservative"
13
- system "bundle check || bundle install"
14
-
15
- # puts "\n== Copying sample files =="
16
- # unless File.exist?("config/database.yml")
17
- # system "cp config/database.yml.sample config/database.yml"
18
- # end
19
-
20
- puts "\n== Preparing database =="
21
- system "bin/rake db:setup"
22
-
23
- puts "\n== Removing old logs and tempfiles =="
24
- system "rm -f log/*"
25
- system "rm -rf tmp/cache"
26
-
27
- puts "\n== Restarting application server =="
28
- system "touch tmp/restart.txt"
29
- end
@@ -1,5 +0,0 @@
1
- class ApplicationController < ActionController::Base
2
- # Prevent CSRF attacks by raising an exception.
3
- # For APIs, you may want to use :null_session instead.
4
- protect_from_forgery with: :exception
5
- end
@@ -1,2 +0,0 @@
1
- module ApplicationHelper
2
- end
@@ -1,14 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>Dummy</title>
5
- <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
6
- <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
7
- <%= csrf_meta_tags %>
8
- </head>
9
- <body>
10
-
11
- <%= yield %>
12
-
13
- </body>
14
- </html>
@@ -1,29 +0,0 @@
1
- require File.expand_path('../boot', __FILE__)
2
-
3
- require "active_model/railtie"
4
- require "active_job/railtie"
5
- require "active_record/railtie"
6
- # require "active_storage/engine"
7
- require "action_controller/railtie"
8
- require "action_mailer/railtie"
9
- require "action_view/railtie"
10
-
11
- Bundler.require(*Rails.groups)
12
- require "panda_pal"
13
-
14
- module Dummy
15
- class Application < Rails::Application
16
- # Settings in config/environments/* take precedence over those specified here.
17
- # Application configuration should go into files in config/initializers
18
- # -- all .rb files in that directory are automatically loaded.
19
-
20
- # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
21
- # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
22
- # config.time_zone = 'Central Time (US & Canada)'
23
-
24
- # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
25
- # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
26
- # config.i18n.default_locale = :de
27
-
28
- end
29
- end
@@ -1,5 +0,0 @@
1
- # Set up gems listed in the Gemfile.
2
- ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../../../Gemfile', __FILE__)
3
-
4
- require 'bundler/setup' if File.exist?(ENV['BUNDLE_GEMFILE'])
5
- $LOAD_PATH.unshift File.expand_path('../../../../lib', __FILE__)
@@ -1,5 +0,0 @@
1
- # Load the Rails application.
2
- require File.expand_path('../application', __FILE__)
3
-
4
- # Initialize the Rails application.
5
- Rails.application.initialize!
@@ -1,27 +0,0 @@
1
- Rails.application.configure do
2
- # Settings specified here will take precedence over those in config/application.rb.
3
-
4
- # In the development environment your application's code is reloaded on
5
- # every request. This slows down response time but is perfect for development
6
- # since you don't have to restart the web server when you make code changes.
7
- config.cache_classes = false
8
-
9
- # Do not eager load code on boot.
10
- config.eager_load = false
11
-
12
- # Show full error reports and disable caching.
13
- config.consider_all_requests_local = true
14
- config.action_controller.perform_caching = false
15
-
16
- # Don't care if the mailer can't send.
17
- config.action_mailer.raise_delivery_errors = false
18
-
19
- # Print deprecation notices to the Rails logger.
20
- config.active_support.deprecation = :log
21
-
22
- # Raise an error on page load if there are pending migrations.
23
- config.active_record.migration_error = :page_load
24
-
25
- # Raises error for missing translations
26
- # config.action_view.raise_on_missing_translations = true
27
- end
@@ -1,68 +0,0 @@
1
- Rails.application.configure do
2
- # Settings specified here will take precedence over those in config/application.rb.
3
-
4
- # Code is not reloaded between requests.
5
- config.cache_classes = true
6
-
7
- # Eager load code on boot. This eager loads most of Rails and
8
- # your application in memory, allowing both threaded web servers
9
- # and those relying on copy on write to perform better.
10
- # Rake tasks automatically ignore this option for performance.
11
- config.eager_load = true
12
-
13
- # Full error reports are disabled and caching is turned on.
14
- config.consider_all_requests_local = false
15
- config.action_controller.perform_caching = true
16
-
17
- # Enable Rack::Cache to put a simple HTTP cache in front of your application
18
- # Add `rack-cache` to your Gemfile before enabling this.
19
- # For large-scale production use, consider using a caching reverse proxy like
20
- # NGINX, varnish or squid.
21
- # config.action_dispatch.rack_cache = true
22
-
23
- # Disable serving static files from the `/public` folder by default since
24
- # Apache or NGINX already handles this.
25
- config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
26
-
27
- # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
28
-
29
- # Specifies the header that your server uses for sending files.
30
- # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
31
- # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
32
-
33
- # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
34
- # config.force_ssl = true
35
-
36
- # Use the lowest log level to ensure availability of diagnostic information
37
- # when problems arise.
38
- config.log_level = :debug
39
-
40
- # Prepend all log lines with the following tags.
41
- # config.log_tags = [ :subdomain, :uuid ]
42
-
43
- # Use a different logger for distributed setups.
44
- # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
45
-
46
- # Use a different cache store in production.
47
- # config.cache_store = :mem_cache_store
48
-
49
- # Enable serving of images, stylesheets, and JavaScripts from an asset server.
50
- # config.action_controller.asset_host = 'http://assets.example.com'
51
-
52
- # Ignore bad email addresses and do not raise email delivery errors.
53
- # Set this to true and configure the email server for immediate delivery to raise delivery errors.
54
- # config.action_mailer.raise_delivery_errors = false
55
-
56
- # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
57
- # the I18n.default_locale when a translation cannot be found).
58
- config.i18n.fallbacks = true
59
-
60
- # Send deprecation notices to registered listeners.
61
- config.active_support.deprecation = :notify
62
-
63
- # Use default logging formatter so that PID and timestamp are not suppressed.
64
- config.log_formatter = ::Logger::Formatter.new
65
-
66
- # Do not dump schema after migrations.
67
- config.active_record.dump_schema_after_migration = false
68
- end
@@ -1,47 +0,0 @@
1
- Rails.application.configure do
2
- # Settings specified here will take precedence over those in config/application.rb.
3
-
4
- # The test environment is used exclusively to run your application's
5
- # test suite. You never need to work with it otherwise. Remember that
6
- # your test database is "scratch space" for the test suite and is wiped
7
- # and recreated between test runs. Don't rely on the data there!
8
- config.cache_classes = true
9
-
10
- # Do not eager load code on boot. This avoids loading your whole application
11
- # just for the purpose of running a single test. If you are using a tool that
12
- # preloads Rails for running tests, you may have to set it to true.
13
- config.eager_load = false
14
-
15
- # Configure static file server for tests with Cache-Control for performance.
16
- config.serve_static_files = true
17
- config.static_cache_control = 'public, max-age=3600'
18
-
19
- # Show full error reports and disable caching.
20
- config.consider_all_requests_local = true
21
- config.action_controller.perform_caching = false
22
-
23
- # Raise exceptions instead of rendering exception templates.
24
- config.action_dispatch.show_exceptions = false
25
-
26
- # Disable request forgery protection in test environment.
27
- config.action_controller.allow_forgery_protection = false
28
-
29
- # Tell Action Mailer not to deliver emails to the real world.
30
- # The :test delivery method accumulates sent emails in the
31
- # ActionMailer::Base.deliveries array.
32
- config.action_mailer.delivery_method = :test
33
-
34
- # Randomize the order test cases are executed.
35
- config.active_support.test_order = :random
36
-
37
- # Print deprecation notices to the stderr.
38
- config.active_support.deprecation = :stderr
39
-
40
- config.log_level = :debug
41
- config.active_record.verbose_query_logs = true
42
- config.active_record.async_query_executor = :multi_thread_pool
43
- # config.active_record.global_executor_concurrency = 4
44
-
45
- # Raises error for missing translations
46
- # config.action_view.raise_on_missing_translations = true
47
- end
@@ -1,7 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
4
- # Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
5
-
6
- # You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
7
- # Rails.backtrace_cleaner.remove_silencers!
@@ -1,3 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- Rails.application.config.action_dispatch.cookies_serializer = :json
@@ -1,4 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # Configure sensitive parameters which will be filtered from the log file.
4
- Rails.application.config.filter_parameters += [:password]
@@ -1,16 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # Add new inflection rules using the following format. Inflections
4
- # are locale specific, and you may define rules for as many different
5
- # locales as you wish. All of these examples are active by default:
6
- # ActiveSupport::Inflector.inflections(:en) do |inflect|
7
- # inflect.plural /^(ox)$/i, '\1en'
8
- # inflect.singular /^(ox)en/i, '\1'
9
- # inflect.irregular 'person', 'people'
10
- # inflect.uncountable %w( fish sheep )
11
- # end
12
-
13
- # These inflection rules are supported but not enabled by default:
14
- # ActiveSupport::Inflector.inflections(:en) do |inflect|
15
- # inflect.acronym 'RESTful'
16
- # end
@@ -1,4 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # Add new mime types for use in respond_to blocks:
4
- # Mime::Type.register "text/richtext", :rtf
@@ -1,3 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- Rails.application.config.session_store :cookie_store, key: '_dummy_session'
@@ -1,14 +0,0 @@
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] if respond_to?(:wrap_parameters)
9
- end
10
-
11
- # To enable root element in JSON for ActiveRecord objects.
12
- # ActiveSupport.on_load(:active_record) do
13
- # self.include_root_in_json = true
14
- # end