Bumped VERSION to 0.2.0
Updated CHANGELOG Rails 4.0.0rc1 Improved and fixed spec helper
This commit is contained in:
@@ -2,8 +2,9 @@ require File.expand_path('../boot', __FILE__)
|
||||
|
||||
require 'rails/all'
|
||||
|
||||
# Assets should be precompiled for production (so we don't need the gems loaded then)
|
||||
Bundler.require(*Rails.groups(assets: %w(development test)))
|
||||
# Require the gems listed in Gemfile, including any gems
|
||||
# you've limited to :test, :development, or :production.
|
||||
Bundler.require(:default, Rails.env)
|
||||
|
||||
module Starterapp
|
||||
class Application < Rails::Application
|
||||
|
||||
@@ -23,5 +23,7 @@ Starterapp::Application.configure do
|
||||
config.active_record.migration_error = :page_load
|
||||
|
||||
# Debug mode disables concatenation and preprocessing of assets.
|
||||
# This option may cause significant delays in view rendering with a large
|
||||
# number of complex assets.
|
||||
config.assets.debug = true
|
||||
end
|
||||
|
||||
@@ -23,10 +23,10 @@ Starterapp::Application.configure do
|
||||
config.serve_static_assets = true
|
||||
|
||||
# Compress JavaScripts and CSS.
|
||||
config.assets.js_compressor = :uglifier
|
||||
config.assets.js_compressor = :uglifier
|
||||
# config.assets.css_compressor = :sass
|
||||
|
||||
# Whether to fallback to assets pipeline if a precompiled asset is missed.
|
||||
# Do not fallback to assets pipeline if a precompiled asset is missed.
|
||||
config.assets.compile = false
|
||||
|
||||
# Generate digests for assets URLs.
|
||||
|
||||
@@ -30,6 +30,7 @@ Starterapp::Application.configure do
|
||||
# The :test delivery method accumulates sent emails in the
|
||||
# ActionMailer::Base.deliveries array.
|
||||
config.action_mailer.delivery_method = :test
|
||||
config.action_mailer.default_url_options = { host: 'localhost' }
|
||||
|
||||
# Print deprecation notices to the stderr.
|
||||
config.active_support.deprecation = :stderr
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Be sure to restart your server when you modify this file.
|
||||
|
||||
# Your secret key for verifying the integrity of signed cookies.
|
||||
# Your secret key is used for verifying the integrity of signed cookies.
|
||||
# If you change this key, all old signed cookies will become invalid!
|
||||
|
||||
# Make sure the secret is at least 30 characters and all random,
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# Be sure to restart your server when you modify this file.
|
||||
|
||||
Starterapp::Application.config.session_store :encrypted_cookie_store, key: '_starterapp_session'
|
||||
Starterapp::Application.config.session_store :cookie_store, key: '_starterapp_session'
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
Starterapp::Application.routes.draw do
|
||||
|
||||
root to: 'pages#home'
|
||||
root 'pages#home'
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user