From 1b3195bf30ac0b6803525e1a4629cb2a5e60ce8b Mon Sep 17 00:00:00 2001 From: Jamie Winsor Date: Wed, 26 Oct 2011 13:11:54 -0700 Subject: Remove dummy application for testing --- spec/dummy/app/assets/images/.gitkeep | 0 spec/dummy/app/assets/javascripts/admin.js | 7 ------ spec/dummy/app/assets/javascripts/application.js | 9 -------- spec/dummy/app/assets/stylesheets/application.css | 1 - .../app/assets/stylesheets/application.css.backup | 1 - spec/dummy/app/assets/stylesheets/formatting.css | 4 ---- spec/dummy/app/assets/stylesheets/home.css | 4 ---- spec/dummy/app/assets/stylesheets/theme.css | 4 ---- .../app/controllers/application_controller.rb | 3 --- spec/dummy/app/helpers/application_helper.rb | 2 -- spec/dummy/app/mailers/.gitkeep | 0 spec/dummy/app/models/.gitkeep | 0 .../app/views/layouts/application.html.erb.backup | 14 ------------ spec/dummy/app/views/sitemap/index.xml.builder | 25 ---------------------- 14 files changed, 74 deletions(-) delete mode 100644 spec/dummy/app/assets/images/.gitkeep delete mode 100644 spec/dummy/app/assets/javascripts/admin.js delete mode 100644 spec/dummy/app/assets/javascripts/application.js delete mode 100644 spec/dummy/app/assets/stylesheets/application.css delete mode 100644 spec/dummy/app/assets/stylesheets/application.css.backup delete mode 100644 spec/dummy/app/assets/stylesheets/formatting.css delete mode 100644 spec/dummy/app/assets/stylesheets/home.css delete mode 100644 spec/dummy/app/assets/stylesheets/theme.css delete mode 100644 spec/dummy/app/controllers/application_controller.rb delete mode 100644 spec/dummy/app/helpers/application_helper.rb delete mode 100644 spec/dummy/app/mailers/.gitkeep delete mode 100644 spec/dummy/app/models/.gitkeep delete mode 100644 spec/dummy/app/views/layouts/application.html.erb.backup delete mode 100644 spec/dummy/app/views/sitemap/index.xml.builder (limited to 'spec/dummy/app') diff --git a/spec/dummy/app/assets/images/.gitkeep b/spec/dummy/app/assets/images/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/spec/dummy/app/assets/javascripts/admin.js b/spec/dummy/app/assets/javascripts/admin.js deleted file mode 100644 index 23c4fb9..0000000 --- a/spec/dummy/app/assets/javascripts/admin.js +++ /dev/null @@ -1,7 +0,0 @@ -// Use this to customize the wymeditor boot process -// Just mirror the options specified in boot_wym.js with the new options here. -// This will completely override anything specified in boot_wym.js for that key. -// e.g. skin: 'something_else' -var custom_wymeditor_boot_options = { - -}; \ No newline at end of file diff --git a/spec/dummy/app/assets/javascripts/application.js b/spec/dummy/app/assets/javascripts/application.js deleted file mode 100644 index 37c7bfc..0000000 --- a/spec/dummy/app/assets/javascripts/application.js +++ /dev/null @@ -1,9 +0,0 @@ -// This is a manifest file that'll be compiled into including all the files listed below. -// Add new JavaScript/Coffee code in separate files in this directory and they'll automatically -// be included in the compiled file accessible from http://example.com/assets/application.js -// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the -// the compiled file. -// -//= 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 8b13789..0000000 --- a/spec/dummy/app/assets/stylesheets/application.css +++ /dev/null @@ -1 +0,0 @@ - diff --git a/spec/dummy/app/assets/stylesheets/application.css.backup b/spec/dummy/app/assets/stylesheets/application.css.backup deleted file mode 100644 index 8b13789..0000000 --- a/spec/dummy/app/assets/stylesheets/application.css.backup +++ /dev/null @@ -1 +0,0 @@ - diff --git a/spec/dummy/app/assets/stylesheets/formatting.css b/spec/dummy/app/assets/stylesheets/formatting.css deleted file mode 100644 index 1132188..0000000 --- a/spec/dummy/app/assets/stylesheets/formatting.css +++ /dev/null @@ -1,4 +0,0 @@ -/* - Override default refinery formatting below. - Formatting applies to backend WYSIWYG editors and all frontend. -*/ \ No newline at end of file diff --git a/spec/dummy/app/assets/stylesheets/home.css b/spec/dummy/app/assets/stylesheets/home.css deleted file mode 100644 index 824db99..0000000 --- a/spec/dummy/app/assets/stylesheets/home.css +++ /dev/null @@ -1,4 +0,0 @@ -/* - Override default refinery homepage styles here. - These only apply to the homepage of your site. -*/ \ No newline at end of file diff --git a/spec/dummy/app/assets/stylesheets/theme.css b/spec/dummy/app/assets/stylesheets/theme.css deleted file mode 100644 index 8205050..0000000 --- a/spec/dummy/app/assets/stylesheets/theme.css +++ /dev/null @@ -1,4 +0,0 @@ -/* - Override default refinery 'theme' styles here. - These only apply when using custom WYMeditor CSS. -*/ \ No newline at end of file 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/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 diff --git a/spec/dummy/app/models/.gitkeep b/spec/dummy/app/models/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/spec/dummy/app/views/layouts/application.html.erb.backup b/spec/dummy/app/views/layouts/application.html.erb.backup deleted file mode 100644 index 9a8a761..0000000 --- a/spec/dummy/app/views/layouts/application.html.erb.backup +++ /dev/null @@ -1,14 +0,0 @@ - - - - Dummy - <%= stylesheet_link_tag "application" %> - <%= javascript_include_tag "application" %> - <%= csrf_meta_tags %> - - - -<%= yield %> - - - 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 -- cgit v1.2.3