diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2015-09-30 07:42:31 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2015-09-30 07:42:58 -0700 |
commit | ff30db1372f2d6c3ac47fe5b0ffb7ca21390f3c1 (patch) | |
tree | 6d726c73686300eab89b31c8943754a6f39a9d9b | |
parent | 591a0bb87fff7583e01156696fbbf929d48d3e54 (diff) | |
download | rails-ff30db1372f2d6c3ac47fe5b0ffb7ca21390f3c1.tar.gz rails-ff30db1372f2d6c3ac47fe5b0ffb7ca21390f3c1.tar.bz2 rails-ff30db1372f2d6c3ac47fe5b0ffb7ca21390f3c1.zip |
run against edge sass to eliminate circular require warnings
-rw-r--r-- | Gemfile | 4 | ||||
-rw-r--r-- | Gemfile.lock | 10 | ||||
-rw-r--r-- | railties/test/isolation/abstract_unit.rb | 4 |
3 files changed, 11 insertions, 7 deletions
@@ -37,7 +37,9 @@ gem 'bcrypt', '~> 3.1.10', require: false # This needs to be with require false to avoid # it being automatically loaded by sprockets gem 'uglifier', '>= 1.3.0', require: false -gem 'sass', '>= 3.3', require: false + +# Track stable branch of sass because it doesn't have circular require warnings +gem 'sass', github: 'sass/sass', branch: 'stable', require: false group :doc do gem 'sdoc', '~> 0.4.0' diff --git a/Gemfile.lock b/Gemfile.lock index e8b40c56e6..7d6db0474e 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -103,6 +103,13 @@ GIT specs: concurrent-ruby (1.0.0.pre3) +GIT + remote: git://github.com/sass/sass.git + revision: 4ef8e3167985ace91b2105916756bd93c5d7bba6 + branch: stable + specs: + sass (3.4.18) + PATH remote: . specs: @@ -256,7 +263,6 @@ GEM resque (~> 1.25) rufus-scheduler (~> 3.0) rufus-scheduler (3.1.4) - sass (3.4.18) sdoc (0.4.1) json (~> 1.7, >= 1.7.7) rdoc (~> 4.0) @@ -342,7 +348,7 @@ DEPENDENCIES redcarpet (~> 3.2.3) resque resque-scheduler - sass (>= 3.3) + sass! sass-rails! sdoc (~> 0.4.0) sequel diff --git a/railties/test/isolation/abstract_unit.rb b/railties/test/isolation/abstract_unit.rb index 73b0c417cb..df3c2ca66d 100644 --- a/railties/test/isolation/abstract_unit.rb +++ b/railties/test/isolation/abstract_unit.rb @@ -335,9 +335,5 @@ Module.new do File.open("#{app_template_path}/config/boot.rb", 'w') do |f| f.puts "require '#{environment}'" f.puts "require 'rails/all'" - - # Preempt the Bundler.require in config/application.rb and silence warning - # spam from our gem dependencies (👋 hello Sass 😁) - f.puts "Kernel.silence_warnings { Bundler.require(*Rails.groups) }" end end unless defined?(RAILS_ISOLATED_ENGINE) |