sassc-embedded 1.5.3 → 1.5.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: b84338d9d4ffba85e3b720f4a2683710800e9f44b15d03f0763de93882963a7a
4
- data.tar.gz: 8e0945ad581b851d3dae2415f9f7f9c3699c270b6e617444025a58612940ae08
3
+ metadata.gz: 7e5e1e76c99f6d9c1e0735114d4c1fee858fbf466878fa45fb607142d605886b
4
+ data.tar.gz: 2c428bbc53b229b9ecbd6ac26a3f559a2eb47b458d02855e64b444d6238dc0e9
5
5
  SHA512:
6
- metadata.gz: 1c0f74d8531765a1d0e615227b5135fe80a1c44632241dd6eed7ca004ad2ffb64b92c1617ca298c9d31883fbb78dabc5144601399efb0ece8b1ee9862d2017c7
7
- data.tar.gz: e51bb48f861c668d5f31a1b9bc101c2d112baf4145d80a483f38c8a779114ba2f9454b6a278e706fc2726c555058eed7a5dca338ee4dc4e3c4552846c80e2db1
6
+ metadata.gz: 55b738463c259f446fb89f4373a5b6929f3c9abf07cd403217c860036780cb4a2737a6c2deceb3ef470baf9e523eb76794579a9fa75fe4b2d807439fa0c8ee9e
7
+ data.tar.gz: 222ddb543a2aea77fa84cc625c6a920c5350598c263defcedddf8db638dd704a6061a7b7d15ac61ad0299e8ec02520af76a58242e6774a86c6d591f1c4dd13f5
@@ -2,6 +2,6 @@
2
2
 
3
3
  module SassC
4
4
  module Embedded
5
- VERSION = '1.5.3'
5
+ VERSION = '1.5.4'
6
6
  end
7
7
  end
@@ -369,7 +369,14 @@ module SassC
369
369
  end
370
370
 
371
371
  def syntax(path)
372
- File.extname(path) == '.sass' ? :indented : :scss
372
+ case File.extname(path)
373
+ when '.sass'
374
+ :indented
375
+ when '.css'
376
+ :css
377
+ else
378
+ :scss
379
+ end
373
380
  end
374
381
 
375
382
  def imports_to_native(imports)
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.5.3
4
+ version: 1.5.4
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.5.3
142
- source_code_uri: https://github.com/ntkme/sassc-embedded-polyfill-ruby/tree/v1.5.3
141
+ documentation_uri: https://rubydoc.info/gems/sassc-embedded/1.5.4
142
+ source_code_uri: https://github.com/ntkme/sassc-embedded-polyfill-ruby/tree/v1.5.4
143
143
  funding_uri: https://github.com/sponsors/ntkme
144
144
  post_install_message:
145
145
  rdoc_options: []