sass-embedded 1.4.1 → 1.4.2

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: bdbaf1b92dbb23be5406835322fe5be16ad5a88ca729e276ca3464e84ce3457b
4
- data.tar.gz: 2adba1951d0ac939d9110b681253350cc28995880532fda1053029b68ae54f94
3
+ metadata.gz: 94910bd7bdd79a73e57bc9037bf1596bb55b2b2b737eab669bc81f1ec36b66dc
4
+ data.tar.gz: 3b5182a86f642f29a9632db0c9ca92ae9365281e5afac5878248aa37594ab70f
5
5
  SHA512:
6
- metadata.gz: 1ff553788ccf9f09b849101886d068c176b332c6fa36659bbff03b33b3e97c0af3becb3e46f377b28dbe608ad829dd169e65613f47585cdf7bf87c26b6f77874
7
- data.tar.gz: 7073a347363ebd6cb446b4acd4f3a817423f76e732bd1a91f1145cb8093751816e99af7db610f386d6baa49261e61bb065e675187f2d3ad2a5641034557288a7
6
+ metadata.gz: 7f6946abef84bf4be5252dd91f73e5d94130306f3a324566480837ef2f4427d896448f8bc0f4291caf8937c8eb9c1f511d7ec56a0b1c4a3aa0f1442c8b74bc57
7
+ data.tar.gz: 3715abf201c428507274f1f0a07bc5e2637b9d7ff507dc25c2011fbbb539a06428662f4603ffdd1ed63746bfdfcf7b4bc28cede37797b4ecf67454315330b2b7
@@ -57,7 +57,7 @@ module Sass
57
57
  syntax: Protofier.to_proto_syntax(syntax),
58
58
  importer: if importer
59
59
  @importer_registry.register(importer)
60
- elsif url
60
+ elsif url&.to_s&.start_with?('file:')
61
61
  EmbeddedProtocol::InboundMessage::CompileRequest::Importer.new(
62
62
  path: File.absolute_path('.')
63
63
  )
@@ -134,8 +134,6 @@ module Sass
134
134
  private
135
135
 
136
136
  def await
137
- raise EOFError if defined? @async
138
-
139
137
  @connection = @channel.connect(self)
140
138
  @async = Async.new
141
139
  yield
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Sass
4
4
  class Embedded
5
- VERSION = '1.4.1'
5
+ VERSION = '1.4.2'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sass-embedded
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.1
4
+ version: 1.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - なつき
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-04-09 00:00:00.000000000 Z
11
+ date: 2022-04-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-protobuf
@@ -160,8 +160,8 @@ homepage: https://github.com/ntkme/sass-embedded-host-ruby
160
160
  licenses:
161
161
  - MIT
162
162
  metadata:
163
- documentation_uri: https://rubydoc.info/gems/sass-embedded/1.4.1
164
- source_code_uri: https://github.com/ntkme/sass-embedded-host-ruby/tree/v1.4.1
163
+ documentation_uri: https://rubydoc.info/gems/sass-embedded/1.4.2
164
+ source_code_uri: https://github.com/ntkme/sass-embedded-host-ruby/tree/v1.4.2
165
165
  funding_uri: https://github.com/sponsors/ntkme
166
166
  post_install_message:
167
167
  rdoc_options: []