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 +4 -4
- data/lib/sassc/embedded/version.rb +1 -1
- data/lib/sassc/embedded.rb +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5ff232a1e9ffcdb66044bbf2bf16cb7f30e103391a59c8d77198a2c273fb23ee
|
4
|
+
data.tar.gz: b9f778ee93529d8ea8fd78e117938dbefd85effbade12914b4766f6b462516cb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: afe628bdf03866ce81814e6063075c7fde3b5dcd577a5f2f914feb65d71f343992f34d96b943669c10cb0ccc5c6655f9816092a347c5173d3a83abd4e2ddb3eb
|
7
|
+
data.tar.gz: df0aac452aca91d9df03785bfd61c09ac75b6fcc0506316bc5ddf800634cde576e1f0b526735a7d5ed5f61506d81db9e01b41f23dd5a938070b546f17131a16c
|
data/lib/sassc/embedded.rb
CHANGED
@@ -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
|
-
|
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.
|
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.
|
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.
|
142
|
-
source_code_uri: https://github.com/ntkme/sassc-embedded-polyfill-ruby/tree/v1.3.
|
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: []
|