sass-embedded 0.18.3 → 0.18.4

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: cc4a508736aaa5f9027fdef79ee94818b654039c1f2d50466ef2143abb405028
4
- data.tar.gz: 16f20ce568c5db54cf8612c7e7fcd238005f488b050fcf0a6f48b2fe93112be9
3
+ metadata.gz: 25068693aab079cc3ec673b99407a0b9edfcf905c8afea7985ee06f9bbc3bb87
4
+ data.tar.gz: 6af725ccc88495167bf0704d6a1789355e6d0a85280176342499e92e965cc35c
5
5
  SHA512:
6
- metadata.gz: 1354199d1d4816557ddb4f64a8c266fea74a4712dc36d8004e1ce26d249b8c2e46a74d83edce9c4fb4ad01c143d47d95326502366cfff8284d6e9d76515d439d
7
- data.tar.gz: 6ff13850fabab22c14e40520e7f8bfd95bcb7d68cfe02b5b901bfa4c566a2b3ba4bcf6a3aa2bb28733684fec1c6731cd7e2d8ea3c3c194d975b5023313844f74
6
+ metadata.gz: 577d34e39cf3adb245f39bf49ea2e621558e9d8714dc39efa8a4584f8728aed5ddb944251c9d82ffcc101d4e4788f795cade2e70a5729e84b9628a10538e22ab
7
+ data.tar.gz: 3d4b4a936b6fe3d5bcb200e54e990ddb15cc668b98b6cb11db4ee93058ad469c77879dceae45dd2ba32c6bc6902b0adee120b8fb71a4908f391fc4bb0faafb68
@@ -12,11 +12,13 @@ module Sass
12
12
  @importers_by_id = {}
13
13
  @importers = importers
14
14
  .map { |importer| register(importer) }
15
- .concat(load_paths.map do |load_path|
16
- EmbeddedProtocol::InboundMessage::CompileRequest::Importer.new(
17
- path: File.absolute_path(load_path)
18
- )
19
- end)
15
+ .concat(
16
+ load_paths.map do |load_path|
17
+ EmbeddedProtocol::InboundMessage::CompileRequest::Importer.new(
18
+ path: File.absolute_path(load_path)
19
+ )
20
+ end
21
+ )
20
22
 
21
23
  @highlight = highlight
22
24
  end
@@ -15,23 +15,26 @@ module Sass
15
15
  case event.type
16
16
  when :DEBUG
17
17
  if logger.respond_to? :debug
18
- logger.debug(event.message, span: Protofier.from_proto_source_span(event.span))
18
+ logger.debug(event.message,
19
+ span: Protofier.from_proto_source_span(event.span))
19
20
  else
20
21
  warn(event.formatted)
21
22
  end
22
23
  when :DEPRECATION_WARNING
23
24
  if logger.respond_to? :warn
24
- logger.warn(event.message, deprecation: true,
25
- span: Protofier.from_proto_source_span(event.span),
26
- stack: event.stack_trace)
25
+ logger.warn(event.message,
26
+ deprecation: true,
27
+ span: Protofier.from_proto_source_span(event.span),
28
+ stack: event.stack_trace)
27
29
  else
28
30
  warn(event.formatted)
29
31
  end
30
32
  when :WARNING
31
33
  if logger.respond_to? :warn
32
- logger.warn(event.message, deprecation: false,
33
- span: Protofier.from_proto_source_span(event.span),
34
- stack: event.stack_trace)
34
+ logger.warn(event.message,
35
+ deprecation: false,
36
+ span: Protofier.from_proto_source_span(event.span),
37
+ stack: event.stack_trace)
35
38
  else
36
39
  warn(event.formatted)
37
40
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Sass
4
4
  class Embedded
5
- VERSION = '0.18.3'
5
+ VERSION = '0.18.4'
6
6
  end
7
7
  end
@@ -20,8 +20,7 @@ module Sass
20
20
  raise error('String index may not be 0', name) if index.zero?
21
21
 
22
22
  if index.abs > text.length
23
- raise error("Invalid index #{sass_index} for a string with #{text.length} characters",
24
- name)
23
+ raise error("Invalid index #{sass_index} for a string with #{text.length} characters", name)
25
24
  end
26
25
 
27
26
  index.negative? ? text.length + index : index - 1
data/lib/sass/value.rb CHANGED
@@ -32,8 +32,7 @@ module Sass
32
32
  raise error('List index may not be 0', name) if index.zero?
33
33
 
34
34
  if index.abs > to_a_length
35
- raise error("Invalid index #{sass_index} for a list with #{to_a_length} elements",
36
- name)
35
+ raise error("Invalid index #{sass_index} for a list with #{to_a_length} elements", name)
37
36
  end
38
37
 
39
38
  index.negative? ? to_a_length + index : index - 1
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sass-embedded
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.3
4
+ version: 0.18.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - なつき
@@ -164,8 +164,8 @@ homepage: https://github.com/ntkme/sass-embedded-host-ruby
164
164
  licenses:
165
165
  - MIT
166
166
  metadata:
167
- documentation_uri: https://www.rubydoc.info/gems/sass-embedded/0.18.3
168
- source_code_uri: https://github.com/ntkme/sass-embedded-host-ruby/tree/v0.18.3
167
+ documentation_uri: https://www.rubydoc.info/gems/sass-embedded/0.18.4
168
+ source_code_uri: https://github.com/ntkme/sass-embedded-host-ruby/tree/v0.18.4
169
169
  funding_uri: https://github.com/sponsors/ntkme
170
170
  post_install_message:
171
171
  rdoc_options: []