lib/hanami/assets/compilers/sass.rb in hanami-assets-1.3.2 vs lib/hanami/assets/compilers/sass.rb in hanami-assets-1.3.3

- old
+ new

@@ -14,10 +14,17 @@ # @api private def self.eligible?(name) name.to_s =~ EXTENSIONS end + # @since 1.3.3 + # @api private + def initialize(*) + super + require 'sassc' + end + private # @since 0.3.0 # @api private def renderer @@ -31,9 +38,11 @@ # @since 0.3.0 # @api private def dependencies renderer.dependencies.map(&:filename) + rescue source::NotRenderedError + [] end # @since 1.3.2 # @api private def target_syntax