aboutsummaryrefslogtreecommitdiffstats
path: root/spec/dummy/app
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2019-05-25 15:13:44 +0200
committerHarald Eilertsen <haraldei@anduin.net>2019-05-25 15:13:44 +0200
commit30b3a971f2c5794c05379db0d915c48b109afa3f (patch)
tree63bb51f185138e6e5c238a20711aabae0653ee57 /spec/dummy/app
parenta0341f27de42d2e8847c88db0df834ae03a28975 (diff)
downloadrefinerycms-pc_banners-30b3a971f2c5794c05379db0d915c48b109afa3f.tar.gz
refinerycms-pc_banners-30b3a971f2c5794c05379db0d915c48b109afa3f.tar.bz2
refinerycms-pc_banners-30b3a971f2c5794c05379db0d915c48b109afa3f.zip
Remove dummy test app from version control.
Should never have been checked in in the first place.
Diffstat (limited to 'spec/dummy/app')
-rw-r--r--spec/dummy/app/assets/javascripts/application.js15
-rw-r--r--spec/dummy/app/assets/stylesheets/application.css13
-rw-r--r--spec/dummy/app/controllers/application_controller.rb3
-rw-r--r--spec/dummy/app/decorators/controllers/refinery/.gitkeep0
-rw-r--r--spec/dummy/app/decorators/models/refinery/.gitkeep0
-rw-r--r--spec/dummy/app/helpers/application_helper.rb2
-rw-r--r--spec/dummy/app/mailers/.gitkeep0
-rw-r--r--spec/dummy/app/models/.gitkeep0
-rw-r--r--spec/dummy/app/views/sitemap/index.xml.builder25
9 files changed, 0 insertions, 58 deletions
diff --git a/spec/dummy/app/assets/javascripts/application.js b/spec/dummy/app/assets/javascripts/application.js
deleted file mode 100644
index 9097d83..0000000
--- a/spec/dummy/app/assets/javascripts/application.js
+++ /dev/null
@@ -1,15 +0,0 @@
-// This is a manifest file that'll be compiled into application.js, which will include all the files
-// listed below.
-//
-// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
-// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
-//
-// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
-// the compiled file.
-//
-// WARNING: THE FIRST BLANK LINE MARKS THE END OF WHAT'S TO BE PROCESSED, ANY BLANK LINE SHOULD
-// GO AFTER THE REQUIRES BELOW.
-//
-//= require jquery
-//= require jquery_ujs
-//= require_tree .
diff --git a/spec/dummy/app/assets/stylesheets/application.css b/spec/dummy/app/assets/stylesheets/application.css
deleted file mode 100644
index 3b5cc66..0000000
--- a/spec/dummy/app/assets/stylesheets/application.css
+++ /dev/null
@@ -1,13 +0,0 @@
-/*
- * This is a manifest file that'll be compiled into application.css, which will include all the files
- * listed below.
- *
- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
- * or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
- *
- * You're free to add application-wide styles to this file and they'll appear at the top of the
- * compiled file, but it's generally better to create a new file per style scope.
- *
- *= require_self
- *= require_tree .
-*/
diff --git a/spec/dummy/app/controllers/application_controller.rb b/spec/dummy/app/controllers/application_controller.rb
deleted file mode 100644
index e8065d9..0000000
--- a/spec/dummy/app/controllers/application_controller.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-class ApplicationController < ActionController::Base
- protect_from_forgery
-end
diff --git a/spec/dummy/app/decorators/controllers/refinery/.gitkeep b/spec/dummy/app/decorators/controllers/refinery/.gitkeep
deleted file mode 100644
index e69de29..0000000
--- a/spec/dummy/app/decorators/controllers/refinery/.gitkeep
+++ /dev/null
diff --git a/spec/dummy/app/decorators/models/refinery/.gitkeep b/spec/dummy/app/decorators/models/refinery/.gitkeep
deleted file mode 100644
index e69de29..0000000
--- a/spec/dummy/app/decorators/models/refinery/.gitkeep
+++ /dev/null
diff --git a/spec/dummy/app/helpers/application_helper.rb b/spec/dummy/app/helpers/application_helper.rb
deleted file mode 100644
index de6be79..0000000
--- a/spec/dummy/app/helpers/application_helper.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-module ApplicationHelper
-end
diff --git a/spec/dummy/app/mailers/.gitkeep b/spec/dummy/app/mailers/.gitkeep
deleted file mode 100644
index e69de29..0000000
--- a/spec/dummy/app/mailers/.gitkeep
+++ /dev/null
diff --git a/spec/dummy/app/models/.gitkeep b/spec/dummy/app/models/.gitkeep
deleted file mode 100644
index e69de29..0000000
--- a/spec/dummy/app/models/.gitkeep
+++ /dev/null
diff --git a/spec/dummy/app/views/sitemap/index.xml.builder b/spec/dummy/app/views/sitemap/index.xml.builder
deleted file mode 100644
index 8e89852..0000000
--- a/spec/dummy/app/views/sitemap/index.xml.builder
+++ /dev/null
@@ -1,25 +0,0 @@
-xml.instruct!
-
-xml.urlset "xmlns" => "http://www.sitemaps.org/schemas/sitemap/0.9" do
-
- @locales.each do |locale|
- ::I18n.locale = locale
- ::Refinery::Page.live.in_menu.includes(:parts).each do |page|
- # exclude sites that are external to our own domain.
- page_url = if page.url.is_a?(Hash)
- # This is how most pages work without being overriden by link_url
- page.url.merge({:only_path => false})
- elsif page.url.to_s !~ /^http/
- # handle relative link_url addresses.
- [request.protocol, request.host_with_port, page.url].join
- end
-
- # Add XML entry only if there is a valid page_url found above.
- xml.url do
- xml.loc url_for(page_url)
- xml.lastmod page.updated_at.to_date
- end if page_url.present? and page.show_in_menu?
- end
- end
-
-end