aboutsummaryrefslogtreecommitdiffstats
path: root/spec/dummy/config/initializers/refinery
diff options
context:
space:
mode:
Diffstat (limited to 'spec/dummy/config/initializers/refinery')
-rw-r--r--spec/dummy/config/initializers/refinery/core.rb48
-rw-r--r--spec/dummy/config/initializers/refinery/images.rb41
-rw-r--r--spec/dummy/config/initializers/refinery/pages.rb44
-rw-r--r--spec/dummy/config/initializers/refinery/resources.rb26
4 files changed, 0 insertions, 159 deletions
diff --git a/spec/dummy/config/initializers/refinery/core.rb b/spec/dummy/config/initializers/refinery/core.rb
deleted file mode 100644
index 4116321..0000000
--- a/spec/dummy/config/initializers/refinery/core.rb
+++ /dev/null
@@ -1,48 +0,0 @@
-Refinery::Core.configure do |config|
- # When true will rescue all not found errors and display a friendly error page
- config.rescue_not_found = Rails.env.production?
-
- # When true will use Amazon's Simple Storage Service instead of
- # the default file system for storing resources and images
- config.s3_backend = !(ENV['S3_KEY'].nil? || ENV['S3_SECRET'].nil?)
-
- # Whenever Refinery caches anything and can set a cache key, it will add
- # a prefix to the cache key containing the string you set here.
- # config.base_cache_key = :refinery
-
- # Site name
- # config.site_name = "Company Name"
-
- # This activates Google Analytics tracking within your website. If this
- # config is left blank or set to UA-xxxxxx-x then no remote calls to
- # Google Analytics are made.
- # config.google_analytics_page_code = "UA-xxxxxx-x"
-
- # Enable/disable authenticity token on frontend
- # config.authenticity_token_on_frontend = true
-
- # Hide/show child pages in menu
- # config.menu_hide_children = false
-
- # CSS class selectors for menu helper
- # config.menu_css = {:selected=>"selected", :first=>"first", :last=>"last"}
-
- # Should set this if concerned about DOS attacks. See
- # http://markevans.github.com/dragonfly/file.Configuration.html#Configuration
- # config.dragonfly_secret = "1233e9522234bda0c00d18011008f76212c3ba6e89935bb4"
-
- # Show/hide IE6 upgrade message in the backend
- # config.ie6_upgrade_message_enabled = true
-
- # Show/hide browser update message in the backend
- # config.show_internet_explorer_upgrade_message = false
-
- # Add extra tags to the wymeditor whitelist e.g. = {'tag' => {'attributes' => {'1' => 'href'}}} or just {'tag' => {}}
- # config.wymeditor_whitelist_tags = {}
-
- # Register extra javascript for backend
- # config.register_javascript "prototype-rails"
-
- # Register extra stylesheet for backend (optional options)
- # config.register_stylesheet "custom", :media => 'screen'
-end
diff --git a/spec/dummy/config/initializers/refinery/images.rb b/spec/dummy/config/initializers/refinery/images.rb
deleted file mode 100644
index 4113370..0000000
--- a/spec/dummy/config/initializers/refinery/images.rb
+++ /dev/null
@@ -1,41 +0,0 @@
-Refinery::Images.configure do |config|
- # Configures the maximum allowed upload size (in bytes) for an image
- # config.max_image_size = 5242880
-
- # Configure how many images per page should be displayed when a dialog is presented that contains images
- # config.pages_per_dialog = 18
-
- # Configure how many images per page should be displayed when a dialog is presented that
- # contains images and image resize options
- # config.pages_per_dialog_that_have_size_options = 12
-
- # Configure how many images per page should be displayed in the list of images in the admin area
- # config.pages_per_admin_index = 20
-
- # Configure image sizes
- # config.user_image_sizes = {:small=>"110x110>", :medium=>"225x255>", :large=>"450x450>"}
-
- # Configure image view options
- # config.image_views = [:grid, :list]
-
- # Configure default image view
- # config.preferred_image_view = :grid
-
- # Configure S3 (you can also use ENV for this)
- # The s3_backend setting by default defers to the core setting for this but can be set just for images.
- # config.s3_backend = Refinery::Core.s3_backend
- # config.s3_bucket_name = ENV['S3_BUCKET']
- # config.s3_access_key_id = ENV['S3_KEY']
- # config.s3_secret_access_key = ENV['S3_SECRET']
- # config.s3_region = ENV['S3_REGION]
-
- # Configure Dragonfly
- # This is where in the middleware stack to insert the Dragonfly middleware
- # config.dragonfly_insert_before = "ActionDispatch::Callbacks"
- # config.dragonfly_secret = "1233e9522234bda0c00d18011008f76212c3ba6e89935bb4"
- # If you decide to trust file extensions replace :ext below with :format
- # config.dragonfly_url_format = "/system/images/:job/:basename.:ext"
- # config.datastore_root_path = nil
- # config.trust_file_extensions = false
-
-end
diff --git a/spec/dummy/config/initializers/refinery/pages.rb b/spec/dummy/config/initializers/refinery/pages.rb
deleted file mode 100644
index 047b5db..0000000
--- a/spec/dummy/config/initializers/refinery/pages.rb
+++ /dev/null
@@ -1,44 +0,0 @@
-Refinery::Pages.configure do |config|
- # Configure specific page templates
- # config.types.register :home do |home|
- # home.parts = %w[intro body]
- # end
-
- # Configure global page default parts
- # config.default_parts = ["Body", "Side Body"]
-
- # Configure how many pages per page should be displayed when a dialog is presented that contains a links to pages
- # config.pages_per_dialog = 14
-
- # Configure how many pages per page should be displayed in the list of pages in the admin area
- # config.pages_per_admin_index = 20
-
- # Configure whether to strip diacritics from Western characters
- # config.approximate_ascii = false
-
- # Configure whether to strip non-ASCII characters from the friendly_id string
- # config.strip_non_ascii = false
-
- # Set this to true if you want to override slug which automatically gets generated
- # when you create a page
- # config.use_custom_slugs = false
-
- # Set this to true if you want backend pages to be cached
- # config.cache_pages_backend = false
-
- # Set this to true to activate full-page-cache
- # config.cache_pages_full = false
-
- # Set this to true to fully expand the page hierarchy in the admin
- # config.auto_expand_admin_tree = true
-
- # config.layout_template_whitelist = ["application"]
-
- # config.view_template_whitelist = ["home", "show"]
-
- # config.use_layout_templates = false
-
- # config.use_view_templates = false
-
- # config.absolute_page_links = false
-end
diff --git a/spec/dummy/config/initializers/refinery/resources.rb b/spec/dummy/config/initializers/refinery/resources.rb
deleted file mode 100644
index 14ba1c7..0000000
--- a/spec/dummy/config/initializers/refinery/resources.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-Refinery::Resources.configure do |config|
- # Configures the maximum allowed upload size (in bytes) for a file upload
- # config.max_file_size = 52428800
-
- # Configure how many resources per page should be displayed when a dialog is presented that contains resources
- # config.pages_per_dialog = 12
-
- # Configure how many resources per page should be displayed in the list of resources in the admin area
- # config.pages_per_admin_index = 20
-
- # Configure S3 (you can also use ENV for this)
- # The s3_backend setting by default defers to the core setting for this but can be set just for resources.
- # config.s3_backend = Refinery::Core.s3_backend
- # config.s3_bucket_name = ENV['S3_BUCKET']
- # config.s3_access_key_id = ENV['S3_KEY']
- # config.s3_secret_access_key = ENV['S3_SECRET']
- # config.s3_region = ENV['S3_REGION]
-
- # Configure Dragonfly
- # This is where in the middleware stack to insert the Dragonfly middleware
- # config.dragonfly_insert_before = "ActionDispatch::Callbacks"
- # config.dragonfly_secret = "1233e9522234bda0c00d18011008f76212c3ba6e89935bb4"
- # config.dragonfly_url_format = "/system/resources/:job/:basename.:format"
- # config.datastore_root_path = nil
-
-end