Skip to content

Commit

Permalink
DEV: Update sassc gem
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtaylorhq committed Mar 20, 2019
1 parent ed73cc6 commit 56b4ee4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 14 deletions.
18 changes: 6 additions & 12 deletions Gemfile.lock
Expand Up @@ -145,7 +145,7 @@ GEM
rake-compiler
fast_xs (0.8.0)
fastimage (2.1.5)
ffi (1.9.25)
ffi (1.10.0)
flamegraph (0.9.5)
fspath (3.1.0)
gc_tracer (1.5.1)
Expand Down Expand Up @@ -320,8 +320,8 @@ GEM
rake-compiler (1.0.4)
rake
rb-fsevent (0.10.3)
rb-inotify (0.9.10)
ffi (>= 0.5.0, < 2)
rb-inotify (0.10.0)
ffi (~> 1.0)
rbtrace (0.4.11)
ffi (>= 1.0.6)
msgpack (>= 0.4.3)
Expand Down Expand Up @@ -381,15 +381,9 @@ GEM
crass (~> 1.0.2)
nokogiri (>= 1.8.0)
nokogumbo (~> 2.0)
sass (3.5.6)
sass-listen (~> 4.0.0)
sass-listen (4.0.0)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
sassc (1.11.4)
bundler
ffi (~> 1.9.6)
sass (>= 3.3.0)
sassc (2.0.1)
ffi (~> 1.9)
rake
sawyer (0.8.1)
addressable (>= 2.3.5, < 2.6)
faraday (~> 0.8, < 1.0)
Expand Down
4 changes: 2 additions & 2 deletions lib/stylesheet/functions.rb
@@ -1,10 +1,10 @@
module Stylesheet
module ScssFunctions
def asset_url(path)
SassC::Script::String.new("url('#{ActionController::Base.helpers.asset_url(path.value)}')")
SassC::Script::Value::String.new("url('#{ActionController::Base.helpers.asset_url(path.value)}')")
end
def image_url(path)
SassC::Script::String.new("url('#{ActionController::Base.helpers.image_url(path.value)}')")
SassC::Script::Value::String.new("url('#{ActionController::Base.helpers.image_url(path.value)}')")
end
end
end
Expand Down

3 comments on commit 56b4ee4

@discoursebot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This commit has been mentioned on Discourse Meta. There might be relevant details there:

https://meta.discourse.org/t/sassc-error-whenever-i-run-db-migrate-and-rails-server/112069/11

@discoursebot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This commit has been mentioned on Discourse Meta. There might be relevant details there:

https://meta.discourse.org/t/lock-down-sassc-version/101665/6

@SamSaffron
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome 🥰

Please sign in to comment.