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 +4 -4
- data/ext/sass/Makefile +3 -3
- data/ext/sass/extconf.rb +2 -1
- data/ext/sass/unzip.vbs +13 -0
- data/lib/sass/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4a75289553b969294761ec97f67b855d1522e0ca404e803d1af47e852e7fb0d2
|
4
|
+
data.tar.gz: d2a8bf2480f3e6350b7b810bf439e6f9f0fcaaae8a522c35bfd55966febe56a9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
data/ext/sass/unzip.vbs
ADDED
@@ -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
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.
|
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-
|
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.
|
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:
|