sassc-embedded 1.1.0 → 1.1.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: 70c90e46b79aadd3b3ba316365eb9d45a854e75be4634a008f4e7e54cec17dd0
4
- data.tar.gz: 1991dc737c3739f2c9b497e904b5dda5dd734cdb55fdba6dd3e65fcacc81086e
3
+ metadata.gz: 94ea23724cbde018da55c68a8fa49ad4ea401b03e3b0e8ffe18ecddbc358845d
4
+ data.tar.gz: b6242dfa84029675f4484704227a881a31f0c6be6f8146c944b0a6100b420b9c
5
5
  SHA512:
6
- metadata.gz: '09c1017da2a0fd5b1bbb35e9b60514b2f687de9a745f5540317582336c34c7b8a43e201cf5f2efe8a1fdb2e18f0123537690902db504576923a5df96b898ff7f'
7
- data.tar.gz: cb1e8fef114385a5e8cc622e88e1e42ea3763c3a378108067b341865de63f8add6103a7e0b7874ddd6b2981e78dc53ada984df1809056cc65621382ac8865957
6
+ metadata.gz: b2d72e3155a69dafeb1967969a1d44aa971f1fda65c00cc221283ed4c6637ebd8e5ec5854622ca01df96bdf2a6e72b901ae664de967e53cf73ffa55e3586cf87
7
+ data.tar.gz: 8c710e8dd44938506fef282b5266af5cfaafd2c8a06f750b2296538102c0e88cf7dfc7dae4a08f01c230a9e638a6a546413adf306ddc2f21360ee241da8c84f9
@@ -2,6 +2,6 @@
2
2
 
3
3
  module SassC
4
4
  module Embedded
5
- VERSION = '1.1.0'
5
+ VERSION = '1.1.1'
6
6
  end
7
7
  end
@@ -163,8 +163,8 @@ module SassC
163
163
  private
164
164
 
165
165
  def arguments_from_native_list(native_argument_list)
166
- native_argument_list.map do |embedded_value|
167
- Script::ValueConversion.from_native embedded_value, @options
166
+ native_argument_list.map do |native_value|
167
+ Script::ValueConversion.from_native(native_value, @options)
168
168
  end.compact
169
169
  end
170
170
 
@@ -175,7 +175,7 @@ module SassC
175
175
  raise ::Sass::ScriptError
176
176
  end
177
177
  rescue StandardError => e
178
- unless e.full_message.include? e.cause.full_message
178
+ unless e.full_message.include?(e.cause.full_message)
179
179
  ::Sass::ScriptError.class_eval do
180
180
  def full_message(*args, **kwargs)
181
181
  full_message = super(*args, **kwargs)
@@ -200,7 +200,7 @@ module SassC
200
200
  end
201
201
 
202
202
  class FileImporter
203
- def find_file_url(url, **_kwargs)
203
+ def find_file_url(url, **)
204
204
  return url if url.start_with?('file:')
205
205
  end
206
206
  end
@@ -229,8 +229,8 @@ module SassC
229
229
 
230
230
  canonical_url = "sassc-embedded:#{canonical_url}"
231
231
 
232
- imports = @importer.imports path, @importer.options[:filename]
233
- unless imports.is_a? Array
232
+ imports = @importer.imports(path, @importer.options[:filename])
233
+ unless imports.is_a?(Array)
234
234
  return if imports.path == path
235
235
 
236
236
  imports = [imports]
@@ -422,7 +422,7 @@ module SassC
422
422
  return if path.nil?
423
423
 
424
424
  path = File.absolute_path(path)
425
- path = "/#{path}" unless path.start_with? '/'
425
+ path = "/#{path}" unless path.start_with?('/')
426
426
  URI::File.build([nil, escape(path)]).to_s
427
427
  end
428
428
  end
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.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - なつき
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-03-22 00:00:00.000000000 Z
11
+ date: 2022-03-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sassc
@@ -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.1.0
142
- source_code_uri: https://github.com/ntkme/sassc-embedded-polyfill-ruby/tree/v1.1.0
141
+ documentation_uri: https://rubydoc.info/gems/sassc-embedded/1.1.1
142
+ source_code_uri: https://github.com/ntkme/sassc-embedded-polyfill-ruby/tree/v1.1.1
143
143
  funding_uri: https://github.com/sponsors/ntkme
144
144
  post_install_message:
145
145
  rdoc_options: []