sassc-embedded 1.75.1 → 1.76.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: caca4b6a81b8529e57fc9c1e851f62126314738777609a8b6bacf409b498995a
4
- data.tar.gz: 3e7ecfda63b127008aeb1e96944d9a40d7557f68d7d043bff9e7b6a6174c353e
3
+ metadata.gz: f24ea775d0adc29dba8cf3b768bdf8971291a149b87268c6bd458f8f591c9d5a
4
+ data.tar.gz: 77a1ea85d8d417ae42df42b3cea656fef5f565656f36b9a083b08eebf9dde7ec
5
5
  SHA512:
6
- metadata.gz: 8342c220f8f345e4f1d1ce49672cd67e4eace1024a4ea065ed16f0d6ce6868da1617b9561510393be0cb9dbee5195f22e989424b022a09e8cbb8e6141c55b5db
7
- data.tar.gz: b9b76c117575f7c13ef736a89cc36d69eb2a1688299bf99f3d8b4f50b6554fb344a11427b56c4e8d78e1299372aaf0f36749e726b243a1efb7f4122d40070f50
6
+ metadata.gz: 54ab5857d5198e676d6467edd4c65973d0f29b80917f2c79b3a331b3e59551aa990b6b89f2b170576db644d86b3659f1abd98b9ce74dfe357d5738b4ca76e9ca
7
+ data.tar.gz: ab2d3db860f54f72c5aed4b5c5271183856ef3831542c13a57304b04ed052896c87c46e6e154b7cb7a521241e8d7eebb3e7a8f6fec1a373d368cca8b301cc54f
@@ -2,6 +2,6 @@
2
2
 
3
3
  module SassC
4
4
  module Embedded
5
- VERSION = '1.75.1'
5
+ VERSION = '1.76.0'
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,14 +1,14 @@
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.76.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - なつき
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-13 00:00:00.000000000 Z
11
+ date: 2024-05-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sass-embedded
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.75'
19
+ version: '1.76'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.75'
26
+ version: '1.76'
27
27
  description: An embedded sass shim for SassC.
28
28
  email:
29
29
  - i@ntk.me
@@ -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.76.0
83
83
  funding_uri: https://github.com/sponsors/ntkme
84
84
  rubygems_mfa_required: 'true'
85
85
  post_install_message:
@@ -98,7 +98,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
98
98
  - !ruby/object:Gem::Version
99
99
  version: '0'
100
100
  requirements: []
101
- rubygems_version: 3.5.3
101
+ rubygems_version: 3.5.9
102
102
  signing_key:
103
103
  specification_version: 4
104
104
  summary: Use dart-sass with SassC!