sass-embedded 0.7.22 → 0.7.26

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: f360e8794e886f8ab92c34e2dea8582290688c7b1859e94ae2447546570de77f
4
- data.tar.gz: b5cefdb6ac4f7df129e49a4eeaf609b7d72ad9cdd3dbe57e554d6452f883018f
3
+ metadata.gz: 4a75289553b969294761ec97f67b855d1522e0ca404e803d1af47e852e7fb0d2
4
+ data.tar.gz: d2a8bf2480f3e6350b7b810bf439e6f9f0fcaaae8a522c35bfd55966febe56a9
5
5
  SHA512:
6
- metadata.gz: 6268cc265f0a543c28c036097ea778d3258884a1724108051c66975d5944042d479f394a82297ac6f34a6c7816543007ebc16f02701344d4184e1b61d39863b4
7
- data.tar.gz: 7bc62bd8d68f7fef9406bbaa14a69e98872e55d5d73866a7478f8e729129fb2a6df0a26e11caa5671116266a8ccddfc5c28a0a4f695c1a7c843b3bfede8a8eb5
6
+ metadata.gz: a22732e3510e908263c1a3ab69d9b14b390d27dec9a5884a3e1a71bff1a225791165e6e72e7e59cb4256b0f34006e2e02dbc03165d1c70257f603286ad1eccc3
7
+ data.tar.gz: e0fd839af7c2dfab077651eae2904cb3349b33c4dbc26a5bbfebf0e877ac8fb8bc2186e634bdea94fb986b3a8f3265be84e6dc6e9f483f73ffc7600067d221d8
data/ext/sass/Makefile CHANGED
@@ -1,5 +1,5 @@
1
1
  ifeq ($(OS),Windows_NT)
2
- RM = cmd /c del /f /q /s
2
+ RM = powershell -c "cmd.exe /c del /f /q /s"
3
3
  else
4
4
  RM = rm -fr
5
5
  endif
@@ -28,7 +28,7 @@ endif
28
28
 
29
29
  ifeq ($(OS),Windows_NT)
30
30
  sass_embedded: sass_embedded-*.zip
31
- powershell -c "Get-Item $< | Expand-Archive -DestinationPath . -Force"
31
+ powershell -c "if (Get-Command Expand-Archive -ErrorAction SilentlyContinue) { Get-Item $< | Expand-Archive -DestinationPath . -Force } else { cscript.exe unzip.vbs $< . }"
32
32
  else
33
33
  sass_embedded: sass_embedded-*.tar.gz
34
34
  tar -vxzf $<
@@ -39,7 +39,7 @@ protoc-*.zip:
39
39
 
40
40
  protoc: protoc-*.zip
41
41
  ifeq ($(OS),Windows_NT)
42
- powershell -c "Get-Item $< | Expand-Archive -DestinationPath $@ -Force"
42
+ powershell -c "if (Get-Command Expand-Archive -ErrorAction SilentlyContinue) { Get-Item $< | Expand-Archive -DestinationPath $@ -Force } else { cscript.exe unzip.vbs $< $@ }"
43
43
  else
44
44
  unzip -od $@ $<
45
45
  endif
data/ext/sass/extconf.rb CHANGED
@@ -63,7 +63,8 @@ module Sass
63
63
  raise
64
64
  end
65
65
  rescue StandardError
66
- raise "Failed to get: #{uri_s}"
66
+ warn "Failed to get: #{uri_s}"
67
+ raise
67
68
  end
68
69
 
69
70
  def resolve_tag_name(repo, *requirements, gh_release: true)
@@ -0,0 +1,13 @@
1
+ path = WScript.Arguments.item(0)
2
+ destinationPath = WScript.Arguments.item(1)
3
+
4
+ Set fileSystemObject = WScript.CreateObject("Scripting.FileSystemObject")
5
+ If NOT fileSystemObject.FolderExists(destinationPath) Then
6
+ fileSystemObject.CreateFolder(destinationPath)
7
+ End If
8
+
9
+ Set application = WScript.CreateObject("Shell.Application")
10
+ Set pathNameSpace = application.NameSpace(fileSystemObject.GetAbsolutePathName(path))
11
+ Set destinationPathNameSpace = application.NameSpace(fileSystemObject.GetAbsolutePathName(destinationPath))
12
+
13
+ destinationPathNameSpace.CopyHere pathNameSpace.items, 4 + 16
data/lib/sass/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Sass
4
- VERSION = '0.7.22'
4
+ VERSION = '0.7.26'
5
5
  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: 0.7.22
4
+ version: 0.7.26
5
5
  platform: ruby
6
6
  authors:
7
7
  - なつき
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-09-19 00:00:00.000000000 Z
11
+ date: 2021-09-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-protobuf
@@ -136,6 +136,7 @@ files:
136
136
  - ext/sass/Makefile
137
137
  - ext/sass/dependencies.rb
138
138
  - ext/sass/extconf.rb
139
+ - ext/sass/unzip.vbs
139
140
  - lib/sass.rb
140
141
  - lib/sass/compile.rb
141
142
  - lib/sass/embedded.rb
@@ -152,7 +153,7 @@ homepage: https://github.com/ntkme/sass-embedded-host-ruby
152
153
  licenses:
153
154
  - MIT
154
155
  metadata:
155
- source_code_uri: https://github.com/ntkme/sass-embedded-host-ruby/tree/v0.7.22
156
+ source_code_uri: https://github.com/ntkme/sass-embedded-host-ruby/tree/v0.7.26
156
157
  post_install_message:
157
158
  rdoc_options: []
158
159
  require_paths: