bridge_cache 0.4.6 → 0.4.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (68) hide show
  1. checksums.yaml +4 -4
  2. data/db/migrate/20240719203015_add_continuing_education_credits_to_course_templates.rb +3 -1
  3. data/lib/bridge_cache/version.rb +1 -1
  4. metadata +4 -132
  5. data/test/dummy/Gemfile +0 -14
  6. data/test/dummy/MIT-LICENSE +0 -20
  7. data/test/dummy/README.md +0 -28
  8. data/test/dummy/Rakefile +0 -8
  9. data/test/dummy/app/assets/config/dummy_manifest.js +0 -1
  10. data/test/dummy/app/assets/stylesheets/dummy/application.css +0 -15
  11. data/test/dummy/app/controllers/dummy/application_controller.rb +0 -4
  12. data/test/dummy/app/helpers/dummy/application_helper.rb +0 -4
  13. data/test/dummy/app/jobs/dummy/application_job.rb +0 -4
  14. data/test/dummy/app/mailers/dummy/application_mailer.rb +0 -6
  15. data/test/dummy/app/models/dummy/application_record.rb +0 -5
  16. data/test/dummy/app/views/layouts/dummy/application.html.erb +0 -15
  17. data/test/dummy/bin/rails +0 -14
  18. data/test/dummy/config/routes.rb +0 -2
  19. data/test/dummy/dummy.gemspec +0 -26
  20. data/test/dummy/lib/dummy/engine.rb +0 -5
  21. data/test/dummy/lib/dummy/version.rb +0 -3
  22. data/test/dummy/lib/dummy.rb +0 -6
  23. data/test/dummy/lib/tasks/dummy_tasks.rake +0 -4
  24. data/test/dummy/test/dummy/Rakefile +0 -6
  25. data/test/dummy/test/dummy/app/assets/config/manifest.js +0 -3
  26. data/test/dummy/test/dummy/app/assets/stylesheets/application.css +0 -15
  27. data/test/dummy/test/dummy/app/channels/application_cable/channel.rb +0 -4
  28. data/test/dummy/test/dummy/app/channels/application_cable/connection.rb +0 -4
  29. data/test/dummy/test/dummy/app/controllers/application_controller.rb +0 -2
  30. data/test/dummy/test/dummy/app/helpers/application_helper.rb +0 -2
  31. data/test/dummy/test/dummy/app/jobs/application_job.rb +0 -7
  32. data/test/dummy/test/dummy/app/mailers/application_mailer.rb +0 -4
  33. data/test/dummy/test/dummy/app/models/application_record.rb +0 -3
  34. data/test/dummy/test/dummy/app/views/layouts/application.html.erb +0 -15
  35. data/test/dummy/test/dummy/app/views/layouts/mailer.html.erb +0 -13
  36. data/test/dummy/test/dummy/app/views/layouts/mailer.text.erb +0 -1
  37. data/test/dummy/test/dummy/bin/rails +0 -4
  38. data/test/dummy/test/dummy/bin/rake +0 -4
  39. data/test/dummy/test/dummy/bin/setup +0 -33
  40. data/test/dummy/test/dummy/config/application.rb +0 -29
  41. data/test/dummy/test/dummy/config/boot.rb +0 -5
  42. data/test/dummy/test/dummy/config/cable.yml +0 -10
  43. data/test/dummy/test/dummy/config/database.yml +0 -84
  44. data/test/dummy/test/dummy/config/environment.rb +0 -5
  45. data/test/dummy/test/dummy/config/environments/development.rb +0 -76
  46. data/test/dummy/test/dummy/config/environments/production.rb +0 -97
  47. data/test/dummy/test/dummy/config/environments/test.rb +0 -64
  48. data/test/dummy/test/dummy/config/initializers/assets.rb +0 -11
  49. data/test/dummy/test/dummy/config/initializers/content_security_policy.rb +0 -25
  50. data/test/dummy/test/dummy/config/initializers/filter_parameter_logging.rb +0 -8
  51. data/test/dummy/test/dummy/config/initializers/inflections.rb +0 -16
  52. data/test/dummy/test/dummy/config/initializers/permissions_policy.rb +0 -13
  53. data/test/dummy/test/dummy/config/locales/en.yml +0 -31
  54. data/test/dummy/test/dummy/config/puma.rb +0 -35
  55. data/test/dummy/test/dummy/config/routes.rb +0 -3
  56. data/test/dummy/test/dummy/config/storage.yml +0 -34
  57. data/test/dummy/test/dummy/config.ru +0 -6
  58. data/test/dummy/test/dummy/log/test.log +0 -0
  59. data/test/dummy/test/dummy/public/404.html +0 -67
  60. data/test/dummy/test/dummy/public/422.html +0 -67
  61. data/test/dummy/test/dummy/public/500.html +0 -66
  62. data/test/dummy/test/dummy/public/apple-touch-icon-precomposed.png +0 -0
  63. data/test/dummy/test/dummy/public/apple-touch-icon.png +0 -0
  64. data/test/dummy/test/dummy/public/favicon.ico +0 -0
  65. data/test/dummy/test/dummy/tmp/local_secret.txt +0 -1
  66. data/test/dummy/test/dummy_test.rb +0 -7
  67. data/test/dummy/test/integration/navigation_test.rb +0 -7
  68. data/test/dummy/test/test_helper.rb +0 -15
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3fcf4a4fc895dc9d7bee1e73ede2350ff3d7b9c93cca69f94bb53d41b8244481
4
- data.tar.gz: 7f0cce14300f326d44424fed4c6d42158fa94cbc62a3b2cc22288422f8d684ad
3
+ metadata.gz: d8175e03ab9d5d26ad92690e1680d490e1a43fd1cdc21a7c484e1d8ad93ba952
4
+ data.tar.gz: ca22b51df99baf4379e9a77a6892c481df02da6411205d3acf0ad945d6d07952
5
5
  SHA512:
6
- metadata.gz: 990fe2513fccc03f7cb46f94766ab8eb26406324717c7e5822ce6069ef7a0a1af117977eecbf0743a62670a5713c14e690bf99ec241ffe45e9d618d4b87dc5b7
7
- data.tar.gz: afc505835f45b7ba76268f7b262c60b437a4a36c65c9b96b81805fff130e155a9630c66e038ba73116c0ad031288424db79e5df84537ebe6fa7b01225b5129a7
6
+ metadata.gz: d138f97d90e994e1c12eb3c5d6a8515f005e412e06200a7f82951f12f8961bff05300e1e87f122df39861b3e24771ff5b69702b967cb9c028d7f0f7d9939da91
7
+ data.tar.gz: 9799e60c8401e615c70bf310467f0aa0520381b35c9186e5ca21b3b01733ec5a5c4874766a76108f2306df239fabee0a68c6aa7e49163a3ac2d92f68f69e7b70
@@ -1,5 +1,7 @@
1
1
  class AddContinuingEducationCreditsToCourseTemplates < ActiveRecord::Migration[5.1]
2
- def change
2
+ def change
3
+ return unless BridgeCache.use_internal_database
4
+
3
5
  add_column :bridge_cache_course_templates, :continuing_education_credits, :integer
4
6
  end
5
7
  end
@@ -1,3 +1,3 @@
1
1
  module BridgeCache
2
- VERSION = '0.4.6'.freeze
2
+ VERSION = '0.4.7'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bridge_cache
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.6
4
+ version: 0.4.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - jshaffer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-07-23 00:00:00.000000000 Z
11
+ date: 2024-08-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord-import
@@ -284,70 +284,6 @@ files:
284
284
  - lib/bridge_cache/engine.rb
285
285
  - lib/bridge_cache/version.rb
286
286
  - lib/tasks/bridge_cache_tasks.rake
287
- - test/dummy/Gemfile
288
- - test/dummy/MIT-LICENSE
289
- - test/dummy/README.md
290
- - test/dummy/Rakefile
291
- - test/dummy/app/assets/config/dummy_manifest.js
292
- - test/dummy/app/assets/stylesheets/dummy/application.css
293
- - test/dummy/app/controllers/dummy/application_controller.rb
294
- - test/dummy/app/helpers/dummy/application_helper.rb
295
- - test/dummy/app/jobs/dummy/application_job.rb
296
- - test/dummy/app/mailers/dummy/application_mailer.rb
297
- - test/dummy/app/models/dummy/application_record.rb
298
- - test/dummy/app/views/layouts/dummy/application.html.erb
299
- - test/dummy/bin/rails
300
- - test/dummy/config/routes.rb
301
- - test/dummy/dummy.gemspec
302
- - test/dummy/lib/dummy.rb
303
- - test/dummy/lib/dummy/engine.rb
304
- - test/dummy/lib/dummy/version.rb
305
- - test/dummy/lib/tasks/dummy_tasks.rake
306
- - test/dummy/test/dummy/Rakefile
307
- - test/dummy/test/dummy/app/assets/config/manifest.js
308
- - test/dummy/test/dummy/app/assets/stylesheets/application.css
309
- - test/dummy/test/dummy/app/channels/application_cable/channel.rb
310
- - test/dummy/test/dummy/app/channels/application_cable/connection.rb
311
- - test/dummy/test/dummy/app/controllers/application_controller.rb
312
- - test/dummy/test/dummy/app/helpers/application_helper.rb
313
- - test/dummy/test/dummy/app/jobs/application_job.rb
314
- - test/dummy/test/dummy/app/mailers/application_mailer.rb
315
- - test/dummy/test/dummy/app/models/application_record.rb
316
- - test/dummy/test/dummy/app/views/layouts/application.html.erb
317
- - test/dummy/test/dummy/app/views/layouts/mailer.html.erb
318
- - test/dummy/test/dummy/app/views/layouts/mailer.text.erb
319
- - test/dummy/test/dummy/bin/rails
320
- - test/dummy/test/dummy/bin/rake
321
- - test/dummy/test/dummy/bin/setup
322
- - test/dummy/test/dummy/config.ru
323
- - test/dummy/test/dummy/config/application.rb
324
- - test/dummy/test/dummy/config/boot.rb
325
- - test/dummy/test/dummy/config/cable.yml
326
- - test/dummy/test/dummy/config/database.yml
327
- - test/dummy/test/dummy/config/environment.rb
328
- - test/dummy/test/dummy/config/environments/development.rb
329
- - test/dummy/test/dummy/config/environments/production.rb
330
- - test/dummy/test/dummy/config/environments/test.rb
331
- - test/dummy/test/dummy/config/initializers/assets.rb
332
- - test/dummy/test/dummy/config/initializers/content_security_policy.rb
333
- - test/dummy/test/dummy/config/initializers/filter_parameter_logging.rb
334
- - test/dummy/test/dummy/config/initializers/inflections.rb
335
- - test/dummy/test/dummy/config/initializers/permissions_policy.rb
336
- - test/dummy/test/dummy/config/locales/en.yml
337
- - test/dummy/test/dummy/config/puma.rb
338
- - test/dummy/test/dummy/config/routes.rb
339
- - test/dummy/test/dummy/config/storage.yml
340
- - test/dummy/test/dummy/log/test.log
341
- - test/dummy/test/dummy/public/404.html
342
- - test/dummy/test/dummy/public/422.html
343
- - test/dummy/test/dummy/public/500.html
344
- - test/dummy/test/dummy/public/apple-touch-icon-precomposed.png
345
- - test/dummy/test/dummy/public/apple-touch-icon.png
346
- - test/dummy/test/dummy/public/favicon.ico
347
- - test/dummy/test/dummy/tmp/local_secret.txt
348
- - test/dummy/test/dummy_test.rb
349
- - test/dummy/test/integration/navigation_test.rb
350
- - test/dummy/test/test_helper.rb
351
287
  homepage: https://www.getbridge.com
352
288
  licenses:
353
289
  - MIT
@@ -367,72 +303,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
367
303
  - !ruby/object:Gem::Version
368
304
  version: '0'
369
305
  requirements: []
370
- rubygems_version: 3.2.3
306
+ rubygems_version: 3.3.7
371
307
  signing_key:
372
308
  specification_version: 4
373
309
  summary: A mountable engine for bridge data storage
374
- test_files:
375
- - test/dummy/Gemfile
376
- - test/dummy/MIT-LICENSE
377
- - test/dummy/README.md
378
- - test/dummy/Rakefile
379
- - test/dummy/app/assets/config/dummy_manifest.js
380
- - test/dummy/app/assets/stylesheets/dummy/application.css
381
- - test/dummy/app/controllers/dummy/application_controller.rb
382
- - test/dummy/app/helpers/dummy/application_helper.rb
383
- - test/dummy/app/jobs/dummy/application_job.rb
384
- - test/dummy/app/mailers/dummy/application_mailer.rb
385
- - test/dummy/app/models/dummy/application_record.rb
386
- - test/dummy/app/views/layouts/dummy/application.html.erb
387
- - test/dummy/bin/rails
388
- - test/dummy/config/routes.rb
389
- - test/dummy/dummy.gemspec
390
- - test/dummy/lib/dummy/engine.rb
391
- - test/dummy/lib/dummy/version.rb
392
- - test/dummy/lib/dummy.rb
393
- - test/dummy/lib/tasks/dummy_tasks.rake
394
- - test/dummy/test/dummy/Rakefile
395
- - test/dummy/test/dummy/app/assets/config/manifest.js
396
- - test/dummy/test/dummy/app/assets/stylesheets/application.css
397
- - test/dummy/test/dummy/app/channels/application_cable/channel.rb
398
- - test/dummy/test/dummy/app/channels/application_cable/connection.rb
399
- - test/dummy/test/dummy/app/controllers/application_controller.rb
400
- - test/dummy/test/dummy/app/helpers/application_helper.rb
401
- - test/dummy/test/dummy/app/jobs/application_job.rb
402
- - test/dummy/test/dummy/app/mailers/application_mailer.rb
403
- - test/dummy/test/dummy/app/models/application_record.rb
404
- - test/dummy/test/dummy/app/views/layouts/application.html.erb
405
- - test/dummy/test/dummy/app/views/layouts/mailer.html.erb
406
- - test/dummy/test/dummy/app/views/layouts/mailer.text.erb
407
- - test/dummy/test/dummy/bin/rails
408
- - test/dummy/test/dummy/bin/rake
409
- - test/dummy/test/dummy/bin/setup
410
- - test/dummy/test/dummy/config/application.rb
411
- - test/dummy/test/dummy/config/boot.rb
412
- - test/dummy/test/dummy/config/cable.yml
413
- - test/dummy/test/dummy/config/database.yml
414
- - test/dummy/test/dummy/config/environment.rb
415
- - test/dummy/test/dummy/config/environments/development.rb
416
- - test/dummy/test/dummy/config/environments/production.rb
417
- - test/dummy/test/dummy/config/environments/test.rb
418
- - test/dummy/test/dummy/config/initializers/assets.rb
419
- - test/dummy/test/dummy/config/initializers/content_security_policy.rb
420
- - test/dummy/test/dummy/config/initializers/filter_parameter_logging.rb
421
- - test/dummy/test/dummy/config/initializers/inflections.rb
422
- - test/dummy/test/dummy/config/initializers/permissions_policy.rb
423
- - test/dummy/test/dummy/config/locales/en.yml
424
- - test/dummy/test/dummy/config/puma.rb
425
- - test/dummy/test/dummy/config/routes.rb
426
- - test/dummy/test/dummy/config/storage.yml
427
- - test/dummy/test/dummy/config.ru
428
- - test/dummy/test/dummy/log/test.log
429
- - test/dummy/test/dummy/public/404.html
430
- - test/dummy/test/dummy/public/422.html
431
- - test/dummy/test/dummy/public/500.html
432
- - test/dummy/test/dummy/public/apple-touch-icon-precomposed.png
433
- - test/dummy/test/dummy/public/apple-touch-icon.png
434
- - test/dummy/test/dummy/public/favicon.ico
435
- - test/dummy/test/dummy/tmp/local_secret.txt
436
- - test/dummy/test/dummy_test.rb
437
- - test/dummy/test/integration/navigation_test.rb
438
- - test/dummy/test/test_helper.rb
310
+ test_files: []
data/test/dummy/Gemfile DELETED
@@ -1,14 +0,0 @@
1
- source "https://rubygems.org"
2
- git_source(:github) { |repo| "https://github.com/#{repo}.git" }
3
-
4
- # Specify your gem's dependencies in dummy.gemspec.
5
- gemspec
6
-
7
- gem "puma"
8
-
9
- gem "pg"
10
-
11
- gem "sprockets-rails"
12
-
13
- # Start debugger with binding.b [https://github.com/ruby/debug]
14
- # gem "debug", ">= 1.0.0"
@@ -1,20 +0,0 @@
1
- Copyright Scott Young
2
-
3
- Permission is hereby granted, free of charge, to any person obtaining
4
- a copy of this software and associated documentation files (the
5
- "Software"), to deal in the Software without restriction, including
6
- without limitation the rights to use, copy, modify, merge, publish,
7
- distribute, sublicense, and/or sell copies of the Software, and to
8
- permit persons to whom the Software is furnished to do so, subject to
9
- the following conditions:
10
-
11
- The above copyright notice and this permission notice shall be
12
- included in all copies or substantial portions of the Software.
13
-
14
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/test/dummy/README.md DELETED
@@ -1,28 +0,0 @@
1
- # Dummy
2
- Short description and motivation.
3
-
4
- ## Usage
5
- How to use my plugin.
6
-
7
- ## Installation
8
- Add this line to your application's Gemfile:
9
-
10
- ```ruby
11
- gem "dummy"
12
- ```
13
-
14
- And then execute:
15
- ```bash
16
- $ bundle
17
- ```
18
-
19
- Or install it yourself as:
20
- ```bash
21
- $ gem install dummy
22
- ```
23
-
24
- ## Contributing
25
- Contribution directions go here.
26
-
27
- ## License
28
- The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
data/test/dummy/Rakefile DELETED
@@ -1,8 +0,0 @@
1
- require "bundler/setup"
2
-
3
- APP_RAKEFILE = File.expand_path("test/dummy/Rakefile", __dir__)
4
- load "rails/tasks/engine.rake"
5
-
6
- load "rails/tasks/statistics.rake"
7
-
8
- require "bundler/gem_tasks"
@@ -1 +0,0 @@
1
- //= link_directory ../stylesheets/dummy .css
@@ -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 other CSS/SCSS
10
- * files in this directory. Styles in this file should be added after the last require_* statement.
11
- * It is generally better to create a new file per style scope.
12
- *
13
- *= require_tree .
14
- *= require_self
15
- */
@@ -1,4 +0,0 @@
1
- module Dummy
2
- class ApplicationController < ActionController::Base
3
- end
4
- end
@@ -1,4 +0,0 @@
1
- module Dummy
2
- module ApplicationHelper
3
- end
4
- end
@@ -1,4 +0,0 @@
1
- module Dummy
2
- class ApplicationJob < ActiveJob::Base
3
- end
4
- end
@@ -1,6 +0,0 @@
1
- module Dummy
2
- class ApplicationMailer < ActionMailer::Base
3
- default from: "from@example.com"
4
- layout "mailer"
5
- end
6
- end
@@ -1,5 +0,0 @@
1
- module Dummy
2
- class ApplicationRecord < ActiveRecord::Base
3
- self.abstract_class = true
4
- end
5
- end
@@ -1,15 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>Dummy</title>
5
- <%= csrf_meta_tags %>
6
- <%= csp_meta_tag %>
7
-
8
- <%= stylesheet_link_tag "dummy/application", media: "all" %>
9
- </head>
10
- <body>
11
-
12
- <%= yield %>
13
-
14
- </body>
15
- </html>
data/test/dummy/bin/rails DELETED
@@ -1,14 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # This command will automatically be run when you run "rails" with Rails gems
3
- # installed from the root of your application.
4
-
5
- ENGINE_ROOT = File.expand_path("..", __dir__)
6
- ENGINE_PATH = File.expand_path("../lib/dummy/engine", __dir__)
7
- APP_PATH = File.expand_path("../test/dummy/config/application", __dir__)
8
-
9
- # Set up gems listed in the Gemfile.
10
- ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
11
- require "bundler/setup" if File.exist?(ENV["BUNDLE_GEMFILE"])
12
-
13
- require "rails/all"
14
- require "rails/engine/commands"
@@ -1,2 +0,0 @@
1
- Dummy::Engine.routes.draw do
2
- end
@@ -1,26 +0,0 @@
1
- require_relative "lib/dummy/version"
2
-
3
- Gem::Specification.new do |spec|
4
- spec.name = "dummy"
5
- spec.version = Dummy::VERSION
6
- spec.authors = ["Scott Young"]
7
- spec.email = ["scott.young@getbridge.com"]
8
- spec.homepage = "TODO"
9
- spec.summary = "TODO: Summary of Dummy."
10
- spec.description = "TODO: Description of Dummy."
11
- spec.license = "MIT"
12
-
13
- # Prevent pushing this gem to RubyGems.org. To allow pushes either set the "allowed_push_host"
14
- # to allow pushing to a single host or delete this section to allow pushing to any host.
15
- spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'"
16
-
17
- spec.metadata["homepage_uri"] = spec.homepage
18
- spec.metadata["source_code_uri"] = "TODO: Put your gem's public repo URL here."
19
- spec.metadata["changelog_uri"] = "TODO: Put your gem's CHANGELOG.md URL here."
20
-
21
- spec.files = Dir.chdir(File.expand_path(__dir__)) do
22
- Dir["{app,config,db,lib}/**/*", "MIT-LICENSE", "Rakefile", "README.md"]
23
- end
24
-
25
- spec.add_dependency "rails", ">= 7.1.3"
26
- end
@@ -1,5 +0,0 @@
1
- module Dummy
2
- class Engine < ::Rails::Engine
3
- isolate_namespace Dummy
4
- end
5
- end
@@ -1,3 +0,0 @@
1
- module Dummy
2
- VERSION = "0.1.0"
3
- end
@@ -1,6 +0,0 @@
1
- require "dummy/version"
2
- require "dummy/engine"
3
-
4
- module Dummy
5
- # Your code goes here...
6
- end
@@ -1,4 +0,0 @@
1
- # desc "Explaining what the task does"
2
- # task :dummy do
3
- # # Task goes here
4
- # end
@@ -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_relative "config/application"
5
-
6
- Rails.application.load_tasks
@@ -1,3 +0,0 @@
1
- //= link_tree ../images
2
- //= link_directory ../stylesheets .css
3
- //= link dummy_manifest.js
@@ -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 other CSS/SCSS
10
- * files in this directory. Styles in this file should be added after the last require_* statement.
11
- * It is generally better to create a new file per style scope.
12
- *
13
- *= require_tree .
14
- *= require_self
15
- */
@@ -1,4 +0,0 @@
1
- module ApplicationCable
2
- class Channel < ActionCable::Channel::Base
3
- end
4
- end
@@ -1,4 +0,0 @@
1
- module ApplicationCable
2
- class Connection < ActionCable::Connection::Base
3
- end
4
- end
@@ -1,2 +0,0 @@
1
- class ApplicationController < ActionController::Base
2
- end
@@ -1,2 +0,0 @@
1
- module ApplicationHelper
2
- end
@@ -1,7 +0,0 @@
1
- class ApplicationJob < ActiveJob::Base
2
- # Automatically retry jobs that encountered a deadlock
3
- # retry_on ActiveRecord::Deadlocked
4
-
5
- # Most jobs are safe to ignore if the underlying records are no longer available
6
- # discard_on ActiveJob::DeserializationError
7
- end
@@ -1,4 +0,0 @@
1
- class ApplicationMailer < ActionMailer::Base
2
- default from: "from@example.com"
3
- layout "mailer"
4
- end
@@ -1,3 +0,0 @@
1
- class ApplicationRecord < ActiveRecord::Base
2
- primary_abstract_class
3
- end
@@ -1,15 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>Dummy</title>
5
- <meta name="viewport" content="width=device-width,initial-scale=1">
6
- <%= csrf_meta_tags %>
7
- <%= csp_meta_tag %>
8
-
9
- <%= stylesheet_link_tag "application" %>
10
- </head>
11
-
12
- <body>
13
- <%= yield %>
14
- </body>
15
- </html>
@@ -1,13 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
5
- <style>
6
- /* Email styles need to be inline */
7
- </style>
8
- </head>
9
-
10
- <body>
11
- <%= yield %>
12
- </body>
13
- </html>
@@ -1 +0,0 @@
1
- <%= yield %>
@@ -1,4 +0,0 @@
1
- #!/usr/bin/env ruby
2
- APP_PATH = File.expand_path("../config/application", __dir__)
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,33 +0,0 @@
1
- #!/usr/bin/env ruby
2
- require "fileutils"
3
-
4
- # path to your application root.
5
- APP_ROOT = File.expand_path("..", __dir__)
6
-
7
- def system!(*args)
8
- system(*args, exception: true)
9
- end
10
-
11
- FileUtils.chdir APP_ROOT do
12
- # This script is a way to set up or update your development environment automatically.
13
- # This script is idempotent, so that you can run it at any time and get an expectable outcome.
14
- # Add necessary setup steps to this file.
15
-
16
- puts "== Installing dependencies =="
17
- system! "gem install bundler --conservative"
18
- system("bundle check") || system!("bundle install")
19
-
20
- # puts "\n== Copying sample files =="
21
- # unless File.exist?("config/database.yml")
22
- # FileUtils.cp "config/database.yml.sample", "config/database.yml"
23
- # end
24
-
25
- puts "\n== Preparing database =="
26
- system! "bin/rails db:prepare"
27
-
28
- puts "\n== Removing old logs and tempfiles =="
29
- system! "bin/rails log:clear tmp:clear"
30
-
31
- puts "\n== Restarting application server =="
32
- system! "bin/rails restart"
33
- end
@@ -1,29 +0,0 @@
1
- require_relative "boot"
2
-
3
- require "rails/all"
4
-
5
- # Require the gems listed in Gemfile, including any gems
6
- # you've limited to :test, :development, or :production.
7
- Bundler.require(*Rails.groups)
8
-
9
- module Dummy
10
- class Application < Rails::Application
11
- config.load_defaults Rails::VERSION::STRING.to_f
12
-
13
- # For compatibility with applications that use this config
14
- config.action_controller.include_all_helpers = false
15
-
16
- # Please, add to the `ignore` list any other `lib` subdirectories that do
17
- # not contain `.rb` files, or that should not be reloaded or eager loaded.
18
- # Common ones are `templates`, `generators`, or `middleware`, for example.
19
- config.autoload_lib(ignore: %w(assets tasks))
20
-
21
- # Configuration for the application, engines, and railties goes here.
22
- #
23
- # These settings can be overridden in specific environments using the files
24
- # in config/environments, which are processed later.
25
- #
26
- # config.time_zone = "Central Time (US & Canada)"
27
- # config.eager_load_paths << Rails.root.join("extras")
28
- end
29
- end
@@ -1,5 +0,0 @@
1
- # Set up gems listed in the Gemfile.
2
- ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../../Gemfile", __dir__)
3
-
4
- require "bundler/setup" if File.exist?(ENV["BUNDLE_GEMFILE"])
5
- $LOAD_PATH.unshift File.expand_path("../../../lib", __dir__)
@@ -1,10 +0,0 @@
1
- development:
2
- adapter: async
3
-
4
- test:
5
- adapter: test
6
-
7
- production:
8
- adapter: redis
9
- url: <%= ENV.fetch("REDIS_URL") { "redis://localhost:6379/1" } %>
10
- channel_prefix: dummy_production