diff --git a/.travis.yml b/.travis.yml index e64f1e57a2..216276ffde 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,6 +25,7 @@ before_install: install: true script: + - gem install bundler:1.15.4 - sh -x ./node_modules/patternfly-eng-release/scripts/_build.sh -p after_success: diff --git a/lib/patternfly-sass.rb b/lib/patternfly-sass.rb index 1205831d1e..758439d5c2 100644 --- a/lib/patternfly-sass.rb +++ b/lib/patternfly-sass.rb @@ -55,12 +55,12 @@ def rails? private def configure_sass - require 'sass' + require 'sassc' - ::Sass.load_paths << stylesheets_path + ::SassC.load_paths << stylesheets_path # bootstrap requires minimum precision of 8, see https://github.com/twbs/bootstrap-sass/issues/409 - ::Sass::Script::Number.precision = [8, ::Sass::Script::Number.precision].max + ::SassC::Script::Value::Number.precision = [8, ::SassC::Script::Value::Number.precision].max end def register_compass_extension diff --git a/patternfly-sass.gemspec b/patternfly-sass.gemspec index d3beb309f6..2d31855f1c 100644 --- a/patternfly-sass.gemspec +++ b/patternfly-sass.gemspec @@ -11,7 +11,7 @@ Gem::Specification.new do |s| s.homepage = 'https://github.com/Patternfly/patternfly' s.license = 'Apache-2.0' - s.add_runtime_dependency 'sass', '~> 3.4.15' + s.add_runtime_dependency 'sassc', "> 2.0.1", "< 3.0" s.add_runtime_dependency 'bootstrap-sass', '~> 3.4.0' s.add_runtime_dependency 'font-awesome-sass', '~> 4.6.2'