sassc-embedded 1.80.4 → 1.80.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5f741c19a9ca2fcad66b3676ff3a896416156d71dbe63bd0b3dd79d3cae95958
4
- data.tar.gz: c99c349e440e3dc31a11b2bdff13d3b625b6427d63f2c5d6723d7f4070a69e48
3
+ metadata.gz: 72d75ffcebd9c5d74279b034cba09bc24cf6b151a904e0110dd7354286515666
4
+ data.tar.gz: e7118c9406bf2223513d9704bec67c93e577b0bcf201496e3587237bd92af124
5
5
  SHA512:
6
- metadata.gz: 4c91a95b1b283ad54e7d5bbf31b11b669567665a3be86c03584a9da88ce3e2001dbd128dc877418e6ff1c27eb5f4eb48a0e6be05e3c0f04cc1eabea434e6312c
7
- data.tar.gz: 77b06e407927c31ac8a35b80b33a96dd2c6469ede73ddb928893cc2671738813a73a3b14817ecc0207db8a7390b1e9ea7253f4787d03b18010ef6810d767005f
6
+ metadata.gz: 367fd876d5491d4750ce19230426f7935929adeb73b27028a50fed257cd16509468fffa20217e84e69d0481f265763d617035187fa7e6765c0821c683a3ca1c2
7
+ data.tar.gz: 79643b8eab1653988d8ba30de9f5ec09b909afd31226602f3c60015ae18e19d05e9286773bcc0d62f637beff340181e9272b749cf337130b86adce68e3b85aae
@@ -2,6 +2,6 @@
2
2
 
3
3
  module SassC
4
4
  module Embedded
5
- VERSION = '1.80.4'
5
+ VERSION = '1.80.5'
6
6
  end
7
7
  end
@@ -258,13 +258,13 @@ module SassC
258
258
  def try_path(path)
259
259
  partial = File.join(File.dirname(path), "_#{File.basename(path)}")
260
260
  result = []
261
- result.push(partial) if file_exist?(partial)
262
- result.push(path) if file_exist?(path)
261
+ result.push(partial) if File.file?(partial)
262
+ result.push(path) if File.file?(path)
263
263
  result
264
264
  end
265
265
 
266
266
  def try_path_as_dir(path, from_import)
267
- return unless dir_exist?(path)
267
+ return unless File.directory?(path)
268
268
 
269
269
  if from_import
270
270
  result = exactly_one(try_path_with_ext(File.join(path, 'index.import')))
@@ -281,14 +281,6 @@ module SassC
281
281
  raise "It's not clear which file to import. Found:\n#{paths.map { |path| " #{path}" }.join("\n")}"
282
282
  end
283
283
 
284
- def file_exist?(path)
285
- File.exist?(path) && File.file?(path)
286
- end
287
-
288
- def dir_exist?(path)
289
- File.exist?(path) && File.directory?(path)
290
- end
291
-
292
284
  def without_ext(path)
293
285
  ext = File.extname(path)
294
286
  path.delete_suffix(ext)
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sassc-embedded
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.80.4
4
+ version: 1.80.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - なつき
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-02-21 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: sass-embedded
@@ -78,7 +78,7 @@ licenses:
78
78
  metadata:
79
79
  bug_tracker_uri: https://github.com/sass-contrib/sassc-embedded-shim-ruby/issues
80
80
  documentation_uri: https://rubydoc.info/gems/sassc
81
- source_code_uri: https://github.com/sass-contrib/sassc-embedded-shim-ruby/tree/v1.80.4
81
+ source_code_uri: https://github.com/sass-contrib/sassc-embedded-shim-ruby/tree/v1.80.5
82
82
  funding_uri: https://github.com/sponsors/ntkme
83
83
  rubygems_mfa_required: 'true'
84
84
  rdoc_options: []
@@ -96,7 +96,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
96
96
  - !ruby/object:Gem::Version
97
97
  version: '0'
98
98
  requirements: []
99
- rubygems_version: 3.6.5
99
+ rubygems_version: 3.7.0
100
100
  specification_version: 4
101
101
  summary: Use dart-sass with SassC!
102
102
  test_files: []