Update awesome_nested_set
The stable release of awesome_nested_set isn't compatible with Rails 4.1; running in production mode errors out at init. Issue 253 suggests resolving with 3.0.0 RC https://github.com/collectiveidea/awesome_nested_set/issues/253
This commit is contained in:
parent
af7be2b295
commit
a96c9fddaa
2 changed files with 10 additions and 8 deletions
7
Gemfile
7
Gemfile
|
|
@ -1,6 +1,6 @@
|
||||||
source 'https://rubygems.org'
|
source 'https://rubygems.org'
|
||||||
|
|
||||||
# Use rails as framework
|
# Use rails as framework
|
||||||
gem 'rails', '~> 4.1'
|
gem 'rails', '~> 4.1'
|
||||||
|
|
||||||
# Use mysql as the database for Active Record
|
# Use mysql as the database for Active Record
|
||||||
|
|
@ -22,6 +22,7 @@ gem 'cancan'
|
||||||
gem 'transitions', :require => %w( transitions active_record/transitions )
|
gem 'transitions', :require => %w( transitions active_record/transitions )
|
||||||
|
|
||||||
# Use acts_as_commentable_with_threading for comments
|
# Use acts_as_commentable_with_threading for comments
|
||||||
|
gem 'awesome_nested_set', '~> 3.0.0.rc.5'
|
||||||
gem 'acts_as_commentable_with_threading'
|
gem 'acts_as_commentable_with_threading'
|
||||||
|
|
||||||
# Use haml as templating language
|
# Use haml as templating language
|
||||||
|
|
@ -82,13 +83,13 @@ group :development, :test do
|
||||||
gem 'shoulda'
|
gem 'shoulda'
|
||||||
end
|
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'
|
gem 'protected_attributes'
|
||||||
|
|
||||||
# We use this bootstrap/html5 rdoc generator
|
# We use this bootstrap/html5 rdoc generator
|
||||||
gem 'rdoc-generator-fivefish'
|
gem 'rdoc-generator-fivefish'
|
||||||
|
|
||||||
# We use factory_girl for seeds
|
# We use factory_girl for seeds
|
||||||
gem 'factory_girl_rails'
|
gem 'factory_girl_rails'
|
||||||
|
|
||||||
# Use guard and spring for testing in development
|
# Use guard and spring for testing in development
|
||||||
|
|
|
||||||
11
Gemfile.lock
11
Gemfile.lock
|
|
@ -35,8 +35,8 @@ GEM
|
||||||
awesome_nested_set (>= 2.0)
|
awesome_nested_set (>= 2.0)
|
||||||
addressable (2.3.6)
|
addressable (2.3.6)
|
||||||
arel (5.0.1.20140414130214)
|
arel (5.0.1.20140414130214)
|
||||||
awesome_nested_set (2.1.6)
|
awesome_nested_set (3.0.0.rc.5)
|
||||||
activerecord (>= 3.0.0)
|
activerecord (>= 4.0.0, < 5)
|
||||||
axlsx (2.0.1)
|
axlsx (2.0.1)
|
||||||
htmlentities (~> 4.3.1)
|
htmlentities (~> 4.3.1)
|
||||||
nokogiri (>= 1.4.1)
|
nokogiri (>= 1.4.1)
|
||||||
|
|
@ -159,7 +159,7 @@ GEM
|
||||||
method_source (0.8.2)
|
method_source (0.8.2)
|
||||||
mime-types (1.25.1)
|
mime-types (1.25.1)
|
||||||
mini_portile (0.6.0)
|
mini_portile (0.6.0)
|
||||||
minitest (5.3.3)
|
minitest (5.3.4)
|
||||||
multi_json (1.9.2)
|
multi_json (1.9.2)
|
||||||
mysql2 (0.3.16)
|
mysql2 (0.3.16)
|
||||||
nio4r (1.0.0)
|
nio4r (1.0.0)
|
||||||
|
|
@ -282,7 +282,7 @@ GEM
|
||||||
term-ansicolor (1.3.0)
|
term-ansicolor (1.3.0)
|
||||||
tins (~> 1.0)
|
tins (~> 1.0)
|
||||||
thor (0.19.1)
|
thor (0.19.1)
|
||||||
thread_safe (0.3.3)
|
thread_safe (0.3.4)
|
||||||
tilt (1.4.1)
|
tilt (1.4.1)
|
||||||
timers (1.1.0)
|
timers (1.1.0)
|
||||||
tins (1.1.0)
|
tins (1.1.0)
|
||||||
|
|
@ -293,7 +293,7 @@ GEM
|
||||||
ttfunk (1.1.1)
|
ttfunk (1.1.1)
|
||||||
turbolinks (2.2.2)
|
turbolinks (2.2.2)
|
||||||
coffee-rails
|
coffee-rails
|
||||||
tzinfo (1.1.0)
|
tzinfo (1.2.1)
|
||||||
thread_safe (~> 0.1)
|
thread_safe (~> 0.1)
|
||||||
uglifier (2.5.0)
|
uglifier (2.5.0)
|
||||||
execjs (>= 0.3.0)
|
execjs (>= 0.3.0)
|
||||||
|
|
@ -310,6 +310,7 @@ PLATFORMS
|
||||||
DEPENDENCIES
|
DEPENDENCIES
|
||||||
active_model_serializers
|
active_model_serializers
|
||||||
acts_as_commentable_with_threading
|
acts_as_commentable_with_threading
|
||||||
|
awesome_nested_set (~> 3.0.0.rc.5)
|
||||||
axlsx_rails
|
axlsx_rails
|
||||||
bootstrap-sass
|
bootstrap-sass
|
||||||
cancan
|
cancan
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue