sassc-embedded 1.3.0 → 1.3.1

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: cdd5607c689b8388cf0c07abc26c3769ef50007ddd6b46432b277f7631bceb7f
4
- data.tar.gz: 510835f24a3d66cf516bfd56acb0efd729d000cde730ef64908dfd5645f5aa12
3
+ metadata.gz: 5ff232a1e9ffcdb66044bbf2bf16cb7f30e103391a59c8d77198a2c273fb23ee
4
+ data.tar.gz: b9f778ee93529d8ea8fd78e117938dbefd85effbade12914b4766f6b462516cb
5
5
  SHA512:
6
- metadata.gz: 93bbe6c1e4ff6e2fc4209e9390fd4775f029f0efb60606ab64cf9ee71a6afbc64d658c7572fd9c0719a134e8e192c5e8200d8ac2530e691cb84ae3fc14a31686
7
- data.tar.gz: 1eed6fff6d57ac4ac56965de504ee876bd6dbbebb93880edefef2de604eb99536660487ae5c1ebcd6991270904f4700b42a54790dd7c233e303a66755120f01d
6
+ metadata.gz: afe628bdf03866ce81814e6063075c7fde3b5dcd577a5f2f914feb65d71f343992f34d96b943669c10cb0ccc5c6655f9816092a347c5173d3a83abd4e2ddb3eb
7
+ data.tar.gz: df0aac452aca91d9df03785bfd61c09ac75b6fcc0506316bc5ddf800634cde576e1f0b526735a7d5ed5f61506d81db9e01b41f23dd5a938070b546f17131a16c
@@ -2,6 +2,6 @@
2
2
 
3
3
  module SassC
4
4
  module Embedded
5
- VERSION = '1.3.0'
5
+ VERSION = '1.3.1'
6
6
  end
7
7
  end
@@ -204,7 +204,7 @@ module SassC
204
204
  class << self
205
205
  def resolve_path(path, from_import)
206
206
  ext = File.extname(path)
207
- if ['.sass', '.scss', '.css'].include?(ext)
207
+ unless ext.empty?
208
208
  if from_import
209
209
  result = exactly_one(try_path("#{without_ext(path)}.import#{ext}"))
210
210
  return result unless result.nil?
@@ -305,7 +305,7 @@ module SassC
305
305
  return unless url.start_with?(Protocol::FILE)
306
306
 
307
307
  path = URL.parse(url).route_from(@parent_urls.last).to_s
308
- parent_path = @parent_urls.last.route_from(@base_url).to_s
308
+ parent_path = URL.file_url_to_path(@parent_urls.last.to_s)
309
309
 
310
310
  imports = @importer.imports(path, parent_path)
311
311
  imports = [SassC::Importer::Import.new(path)] if imports.nil?
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.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - なつき
@@ -138,8 +138,8 @@ homepage: https://github.com/ntkme/sassc-embedded-polyfill-ruby
138
138
  licenses:
139
139
  - MIT
140
140
  metadata:
141
- documentation_uri: https://rubydoc.info/gems/sassc-embedded/1.3.0
142
- source_code_uri: https://github.com/ntkme/sassc-embedded-polyfill-ruby/tree/v1.3.0
141
+ documentation_uri: https://rubydoc.info/gems/sassc-embedded/1.3.1
142
+ source_code_uri: https://github.com/ntkme/sassc-embedded-polyfill-ruby/tree/v1.3.1
143
143
  funding_uri: https://github.com/sponsors/ntkme
144
144
  post_install_message:
145
145
  rdoc_options: []