sassc-embedded 1.75.1 → 1.75.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: caca4b6a81b8529e57fc9c1e851f62126314738777609a8b6bacf409b498995a
4
- data.tar.gz: 3e7ecfda63b127008aeb1e96944d9a40d7557f68d7d043bff9e7b6a6174c353e
3
+ metadata.gz: cf373b6b88c4dcdc3c784f85965562aa6e86ffffafd8ecb2b30513f2f52d51ae
4
+ data.tar.gz: d29bad09cafd09e2a5953c46ec546fe9674fc022bbae0b9092d399d4902b621c
5
5
  SHA512:
6
- metadata.gz: 8342c220f8f345e4f1d1ce49672cd67e4eace1024a4ea065ed16f0d6ce6868da1617b9561510393be0cb9dbee5195f22e989424b022a09e8cbb8e6141c55b5db
7
- data.tar.gz: b9b76c117575f7c13ef736a89cc36d69eb2a1688299bf99f3d8b4f50b6554fb344a11427b56c4e8d78e1299372aaf0f36749e726b243a1efb7f4122d40070f50
6
+ metadata.gz: c0ecd4e0d91d6890d2b9312a7f39889d46f58095299fa3160a7f133e2dc5efd51734ea0577c80271fedb0601357e9231d6beadd24dbff0e7e54a5b1a048ea74c
7
+ data.tar.gz: b58e4c56f4e3e41796f497885107f63765b91ec2fe81171cdc27b4d6d5d0a82909776a7453f723eee666f4e1cfedf1bedab35a75632517959e4e0cbe3b2ba909
@@ -2,6 +2,6 @@
2
2
 
3
3
  module SassC
4
4
  module Embedded
5
- VERSION = '1.75.1'
5
+ VERSION = '1.75.2'
6
6
  end
7
7
  end
@@ -135,11 +135,7 @@ module SassC
135
135
  end
136
136
 
137
137
  def load_paths
138
- @load_paths ||= if @options[:importer].nil?
139
- (@options[:load_paths] || []) + SassC.load_paths
140
- else
141
- []
142
- end
138
+ @load_paths ||= (@options[:load_paths] || []) + SassC.load_paths
143
139
  end
144
140
  end
145
141
 
@@ -309,7 +305,6 @@ module SassC
309
305
  @importer = importer
310
306
  @importer_results = {}
311
307
  @file_url = nil
312
- @load_paths = (@importer.options[:load_paths] || []) + SassC.load_paths
313
308
  end
314
309
 
315
310
  def canonicalize(url, context)
@@ -364,11 +359,8 @@ module SassC
364
359
  private
365
360
 
366
361
  def resolve_file_url(path, parent_dir, from_import)
367
- [parent_dir].concat(@load_paths).each do |load_path|
368
- resolved = FileSystemImporter.resolve_path(File.absolute_path(path, load_path), from_import)
369
- return URL.path_to_file_url(resolved) unless resolved.nil?
370
- end
371
- nil
362
+ resolved = FileSystemImporter.resolve_path(File.absolute_path(path, parent_dir), from_import)
363
+ URL.path_to_file_url(resolved) unless resolved.nil?
372
364
  end
373
365
 
374
366
  def syntax(path)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sassc-embedded
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.75.1
4
+ version: 1.75.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - なつき
@@ -79,7 +79,7 @@ licenses:
79
79
  metadata:
80
80
  bug_tracker_uri: https://github.com/sass-contrib/sassc-embedded-shim-ruby/issues
81
81
  documentation_uri: https://rubydoc.info/gems/sassc
82
- source_code_uri: https://github.com/sass-contrib/sassc-embedded-shim-ruby/tree/v1.75.1
82
+ source_code_uri: https://github.com/sass-contrib/sassc-embedded-shim-ruby/tree/v1.75.2
83
83
  funding_uri: https://github.com/sponsors/ntkme
84
84
  rubygems_mfa_required: 'true'
85
85
  post_install_message: