sass-embedded 1.0.15 → 1.0.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/sass/Rakefile +3 -3
- data/lib/sass/embedded/version.rb +1 -1
- metadata +3 -4
- data/ext/sass/unzip.ps1 +0 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 67c54a99a99afd5c0391c6321f2804a9aba88bf0eff36f0566f62586e6ba23b1
|
4
|
+
data.tar.gz: 8488d659c5ce2f27fe5efd710baf0d0bcef5079253851ecf2e108a3260375914
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '03800282a5714e627a068858d21d4116ac90ae9dd63c766fb5356070097e8d4e80ecd5922718303ac9cdc0ddef00fb0f05157f42ddb03eb810b1fd97f901e56d'
|
7
|
+
data.tar.gz: dfb055bee82b0058ef9b972d541a784291805a4df26bba29379d3262d9ce5f6750e76528a579a741be344225068b778af5c2faafaa094e83ebb7838e2b80fdcc
|
data/ext/sass/Rakefile
CHANGED
@@ -14,7 +14,7 @@ CLEAN.include %w[protoc.exe *.proto *.tar.gz *.zip]
|
|
14
14
|
CLOBBER.include %w[sass_embedded embedded_sass_pb.rb]
|
15
15
|
|
16
16
|
file 'protoc.exe' do |t|
|
17
|
-
fetch(ENV.fetch(
|
17
|
+
fetch(ENV.fetch('PROTOC_BIN') { Configuration.default_protoc }, t.name)
|
18
18
|
chmod 'a+x', t.name
|
19
19
|
end
|
20
20
|
|
@@ -25,7 +25,7 @@ file 'sass_embedded' do |t|
|
|
25
25
|
end
|
26
26
|
|
27
27
|
file 'embedded_sass.proto' => %w[sass_embedded] do |t|
|
28
|
-
fetch(ENV.fetch('
|
28
|
+
fetch(ENV.fetch('SASS_EMBEDDED_PROTOCOL') { Configuration.default_sass_embedded_protocol }, t.name)
|
29
29
|
end
|
30
30
|
|
31
31
|
rule '_pb.rb' => %w[.proto protoc.exe] do |t|
|
@@ -42,7 +42,7 @@ module FileUtils
|
|
42
42
|
sh 'tar', '-vxC', dest, '-f', archive
|
43
43
|
when ->(name) { name.end_with?('.zip') }
|
44
44
|
if Gem.win_platform?
|
45
|
-
sh '
|
45
|
+
sh 'cscript', 'unzip.vbs', '//B', '//Nologo', archive, dest
|
46
46
|
else
|
47
47
|
sh 'unzip', '-od', dest, archive
|
48
48
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sass-embedded
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.16
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- なつき
|
@@ -121,7 +121,6 @@ files:
|
|
121
121
|
- README.md
|
122
122
|
- ext/sass/Rakefile
|
123
123
|
- ext/sass/package.json
|
124
|
-
- ext/sass/unzip.ps1
|
125
124
|
- ext/sass/unzip.vbs
|
126
125
|
- lib/sass-embedded.rb
|
127
126
|
- lib/sass.rb
|
@@ -162,8 +161,8 @@ homepage: https://github.com/ntkme/sass-embedded-host-ruby
|
|
162
161
|
licenses:
|
163
162
|
- MIT
|
164
163
|
metadata:
|
165
|
-
documentation_uri: https://www.rubydoc.info/gems/sass-embedded/1.0.
|
166
|
-
source_code_uri: https://github.com/ntkme/sass-embedded-host-ruby/tree/v1.0.
|
164
|
+
documentation_uri: https://www.rubydoc.info/gems/sass-embedded/1.0.16
|
165
|
+
source_code_uri: https://github.com/ntkme/sass-embedded-host-ruby/tree/v1.0.16
|
167
166
|
funding_uri: https://github.com/sponsors/ntkme
|
168
167
|
post_install_message:
|
169
168
|
rdoc_options: []
|
data/ext/sass/unzip.ps1
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
Param(
|
2
|
-
[Parameter(Mandatory=$true)]
|
3
|
-
[ValidateNotNullOrEmpty()]
|
4
|
-
[string]$Archive,
|
5
|
-
[Parameter(Mandatory=$true)]
|
6
|
-
[ValidateNotNullOrEmpty()]
|
7
|
-
[string]$DestinationPath
|
8
|
-
)
|
9
|
-
if (Get-Command Expand-Archive -ErrorAction SilentlyContinue) {
|
10
|
-
Get-Item $Archive | Expand-Archive -DestinationPath $DestinationPath -Force
|
11
|
-
} else {
|
12
|
-
cscript unzip.vbs $Archive $DestinationPath
|
13
|
-
}
|