diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2024-12-07 11:49:49 -0500 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2024-12-07 11:49:49 -0500 |
commit | 56f5841d4b9c12296cdfcaeff174b2627d59afc8 (patch) | |
tree | 4f7da4ebbe5ee15a1594b26466ed78e2cf10de35 /test/dummy/app | |
parent | c1b0443ba2aebdbd39291ddab0c189f3f4831320 (diff) | |
download | pokeviewer-56f5841d4b9c12296cdfcaeff174b2627d59afc8.tar.gz pokeviewer-56f5841d4b9c12296cdfcaeff174b2627d59afc8.tar.bz2 pokeviewer-56f5841d4b9c12296cdfcaeff174b2627d59afc8.zip |
Migrate to full rails app
Diffstat (limited to 'test/dummy/app')
18 files changed, 0 insertions, 102 deletions
diff --git a/test/dummy/app/assets/config/manifest.js b/test/dummy/app/assets/config/manifest.js deleted file mode 100644 index b833007..0000000 --- a/test/dummy/app/assets/config/manifest.js +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | |||
2 | //= link_tree ../images | ||
3 | //= link_directory ../javascripts .js | ||
4 | //= link_directory ../stylesheets .css | ||
5 | //= link pokeviewer_manifest.js | ||
diff --git a/test/dummy/app/assets/images/.keep b/test/dummy/app/assets/images/.keep deleted file mode 100644 index e69de29..0000000 --- a/test/dummy/app/assets/images/.keep +++ /dev/null | |||
diff --git a/test/dummy/app/assets/javascripts/application.js b/test/dummy/app/assets/javascripts/application.js deleted file mode 100644 index e54c646..0000000 --- a/test/dummy/app/assets/javascripts/application.js +++ /dev/null | |||
@@ -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. JavaScript code in this file should be added after the last require_* statement. | ||
9 | // | ||
10 | // Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details | ||
11 | // about supported directives. | ||
12 | // | ||
13 | //= require_tree . | ||
diff --git a/test/dummy/app/assets/javascripts/cable.js b/test/dummy/app/assets/javascripts/cable.js deleted file mode 100644 index 739aa5f..0000000 --- a/test/dummy/app/assets/javascripts/cable.js +++ /dev/null | |||
@@ -1,13 +0,0 @@ | |||
1 | // Action Cable provides the framework to deal with WebSockets in Rails. | ||
2 | // You can generate new channels where WebSocket features live using the `rails generate channel` command. | ||
3 | // | ||
4 | //= require action_cable | ||
5 | //= require_self | ||
6 | //= require_tree ./channels | ||
7 | |||
8 | (function() { | ||
9 | this.App || (this.App = {}); | ||
10 | |||
11 | App.cable = ActionCable.createConsumer(); | ||
12 | |||
13 | }).call(this); | ||
diff --git a/test/dummy/app/assets/javascripts/channels/.keep b/test/dummy/app/assets/javascripts/channels/.keep deleted file mode 100644 index e69de29..0000000 --- a/test/dummy/app/assets/javascripts/channels/.keep +++ /dev/null | |||
diff --git a/test/dummy/app/assets/stylesheets/application.css b/test/dummy/app/assets/stylesheets/application.css deleted file mode 100644 index 0ebd7fe..0000000 --- a/test/dummy/app/assets/stylesheets/application.css +++ /dev/null | |||
@@ -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 | */ | ||
diff --git a/test/dummy/app/channels/application_cable/channel.rb b/test/dummy/app/channels/application_cable/channel.rb deleted file mode 100644 index d672697..0000000 --- a/test/dummy/app/channels/application_cable/channel.rb +++ /dev/null | |||
@@ -1,4 +0,0 @@ | |||
1 | module ApplicationCable | ||
2 | class Channel < ActionCable::Channel::Base | ||
3 | end | ||
4 | end | ||
diff --git a/test/dummy/app/channels/application_cable/connection.rb b/test/dummy/app/channels/application_cable/connection.rb deleted file mode 100644 index 0ff5442..0000000 --- a/test/dummy/app/channels/application_cable/connection.rb +++ /dev/null | |||
@@ -1,4 +0,0 @@ | |||
1 | module ApplicationCable | ||
2 | class Connection < ActionCable::Connection::Base | ||
3 | end | ||
4 | end | ||
diff --git a/test/dummy/app/controllers/application_controller.rb b/test/dummy/app/controllers/application_controller.rb deleted file mode 100644 index 95f36f8..0000000 --- a/test/dummy/app/controllers/application_controller.rb +++ /dev/null | |||
@@ -1,9 +0,0 @@ | |||
1 | class ApplicationController < ActionController::Base | ||
2 | protect_from_forgery with: :exception | ||
3 | |||
4 | protected | ||
5 | |||
6 | def authenticate_pokeviewer(login, token) | ||
7 | login == "testuser" and token == "testpass" | ||
8 | end | ||
9 | end | ||
diff --git a/test/dummy/app/controllers/concerns/.keep b/test/dummy/app/controllers/concerns/.keep deleted file mode 100644 index e69de29..0000000 --- a/test/dummy/app/controllers/concerns/.keep +++ /dev/null | |||
diff --git a/test/dummy/app/helpers/application_helper.rb b/test/dummy/app/helpers/application_helper.rb deleted file mode 100644 index de6be79..0000000 --- a/test/dummy/app/helpers/application_helper.rb +++ /dev/null | |||
@@ -1,2 +0,0 @@ | |||
1 | module ApplicationHelper | ||
2 | end | ||
diff --git a/test/dummy/app/jobs/application_job.rb b/test/dummy/app/jobs/application_job.rb deleted file mode 100644 index a009ace..0000000 --- a/test/dummy/app/jobs/application_job.rb +++ /dev/null | |||
@@ -1,2 +0,0 @@ | |||
1 | class ApplicationJob < ActiveJob::Base | ||
2 | end | ||
diff --git a/test/dummy/app/mailers/application_mailer.rb b/test/dummy/app/mailers/application_mailer.rb deleted file mode 100644 index 286b223..0000000 --- a/test/dummy/app/mailers/application_mailer.rb +++ /dev/null | |||
@@ -1,4 +0,0 @@ | |||
1 | class ApplicationMailer < ActionMailer::Base | ||
2 | default from: 'from@example.com' | ||
3 | layout 'mailer' | ||
4 | end | ||
diff --git a/test/dummy/app/models/application_record.rb b/test/dummy/app/models/application_record.rb deleted file mode 100644 index 10a4cba..0000000 --- a/test/dummy/app/models/application_record.rb +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | class ApplicationRecord < ActiveRecord::Base | ||
2 | self.abstract_class = true | ||
3 | end | ||
diff --git a/test/dummy/app/models/concerns/.keep b/test/dummy/app/models/concerns/.keep deleted file mode 100644 index e69de29..0000000 --- a/test/dummy/app/models/concerns/.keep +++ /dev/null | |||
diff --git a/test/dummy/app/views/layouts/application.html.erb b/test/dummy/app/views/layouts/application.html.erb deleted file mode 100644 index a6eb017..0000000 --- a/test/dummy/app/views/layouts/application.html.erb +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | <!DOCTYPE html> | ||
2 | <html> | ||
3 | <head> | ||
4 | <title>Dummy</title> | ||
5 | <%= csrf_meta_tags %> | ||
6 | |||
7 | <%= stylesheet_link_tag 'application', media: 'all' %> | ||
8 | <%= javascript_include_tag 'application' %> | ||
9 | </head> | ||
10 | |||
11 | <body> | ||
12 | <%= yield %> | ||
13 | </body> | ||
14 | </html> | ||
diff --git a/test/dummy/app/views/layouts/mailer.html.erb b/test/dummy/app/views/layouts/mailer.html.erb deleted file mode 100644 index cbd34d2..0000000 --- a/test/dummy/app/views/layouts/mailer.html.erb +++ /dev/null | |||
@@ -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> | ||
diff --git a/test/dummy/app/views/layouts/mailer.text.erb b/test/dummy/app/views/layouts/mailer.text.erb deleted file mode 100644 index 37f0bdd..0000000 --- a/test/dummy/app/views/layouts/mailer.text.erb +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | <%= yield %> | ||