Merge fbe97485e9 into a2a9e739f9
This commit is contained in:
commit
16a88bd158
3 changed files with 13 additions and 10 deletions
7
Gemfile
7
Gemfile
|
|
@ -1,6 +1,6 @@
|
|||
source 'https://rubygems.org'
|
||||
|
||||
# Use rails as framework
|
||||
# Use rails as framework
|
||||
gem 'rails', '~> 4.1'
|
||||
|
||||
# Use mysql as the database for Active Record
|
||||
|
|
@ -22,6 +22,7 @@ gem 'cancan'
|
|||
gem 'transitions', :require => %w( transitions active_record/transitions )
|
||||
|
||||
# Use acts_as_commentable_with_threading for comments
|
||||
gem 'awesome_nested_set', '~> 3.0.0.rc.5'
|
||||
gem 'acts_as_commentable_with_threading'
|
||||
|
||||
# Use haml as templating language
|
||||
|
|
@ -82,13 +83,13 @@ group :development, :test do
|
|||
gem 'shoulda'
|
||||
end
|
||||
|
||||
# FIXME: We should use http://weblog.rubyonrails.org/2012/3/21/strong-parameters/
|
||||
# FIXME: We should use http://weblog.rubyonrails.org/2012/3/21/strong-parameters/
|
||||
gem 'protected_attributes'
|
||||
|
||||
# We use this bootstrap/html5 rdoc generator
|
||||
gem 'rdoc-generator-fivefish'
|
||||
|
||||
# We use factory_girl for seeds
|
||||
# We use factory_girl for seeds
|
||||
gem 'factory_girl_rails'
|
||||
|
||||
# Use guard and spring for testing in development
|
||||
|
|
|
|||
11
Gemfile.lock
11
Gemfile.lock
|
|
@ -35,8 +35,8 @@ GEM
|
|||
awesome_nested_set (>= 2.0)
|
||||
addressable (2.3.6)
|
||||
arel (5.0.1.20140414130214)
|
||||
awesome_nested_set (2.1.6)
|
||||
activerecord (>= 3.0.0)
|
||||
awesome_nested_set (3.0.0.rc.5)
|
||||
activerecord (>= 4.0.0, < 5)
|
||||
axlsx (2.0.1)
|
||||
htmlentities (~> 4.3.1)
|
||||
nokogiri (>= 1.4.1)
|
||||
|
|
@ -159,7 +159,7 @@ GEM
|
|||
method_source (0.8.2)
|
||||
mime-types (1.25.1)
|
||||
mini_portile (0.6.0)
|
||||
minitest (5.3.3)
|
||||
minitest (5.3.4)
|
||||
multi_json (1.9.2)
|
||||
mysql2 (0.3.16)
|
||||
nio4r (1.0.0)
|
||||
|
|
@ -282,7 +282,7 @@ GEM
|
|||
term-ansicolor (1.3.0)
|
||||
tins (~> 1.0)
|
||||
thor (0.19.1)
|
||||
thread_safe (0.3.3)
|
||||
thread_safe (0.3.4)
|
||||
tilt (1.4.1)
|
||||
timers (1.1.0)
|
||||
tins (1.1.0)
|
||||
|
|
@ -293,7 +293,7 @@ GEM
|
|||
ttfunk (1.1.1)
|
||||
turbolinks (2.2.2)
|
||||
coffee-rails
|
||||
tzinfo (1.1.0)
|
||||
tzinfo (1.2.1)
|
||||
thread_safe (~> 0.1)
|
||||
uglifier (2.5.0)
|
||||
execjs (>= 0.3.0)
|
||||
|
|
@ -310,6 +310,7 @@ PLATFORMS
|
|||
DEPENDENCIES
|
||||
active_model_serializers
|
||||
acts_as_commentable_with_threading
|
||||
awesome_nested_set (~> 3.0.0.rc.5)
|
||||
axlsx_rails
|
||||
bootstrap-sass
|
||||
cancan
|
||||
|
|
|
|||
|
|
@ -14,8 +14,9 @@ Osem::Application.configure do
|
|||
# Rake tasks automatically ignore this option for performance.
|
||||
config.eager_load = true
|
||||
|
||||
# Disable Rails's static asset server (Apache or nginx will already do this)
|
||||
config.serve_static_assets = false
|
||||
# Enable Rails's static asset server
|
||||
# Set to false if serving directly through your web server, or using an asset host
|
||||
config.serve_static_assets = true
|
||||
# Compress JavaScripts and CSS
|
||||
config.assets.compress = true
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue