sass-embedded 1.0.15 → 1.0.16

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: 8ac694b88c7c3312ba4e73e7fe06fcf6efd3f8dd76c437e9c34d6f9d29986bcf
4
- data.tar.gz: 5549453c2ace535b99046e7eca4d499bfad85d10ddb4bbe1627393e6960ca75e
3
+ metadata.gz: 67c54a99a99afd5c0391c6321f2804a9aba88bf0eff36f0566f62586e6ba23b1
4
+ data.tar.gz: 8488d659c5ce2f27fe5efd710baf0d0bcef5079253851ecf2e108a3260375914
5
5
  SHA512:
6
- metadata.gz: 61c406ea3f5dc17931d88e379e194f61bdea4d94a5ef4705f1db902188fe5ccd55f12f628c4d62e39c8c9e64cb7103e33ab9fc9d361bb3347cf3dc31b294b402
7
- data.tar.gz: cf6689322c04b67b87d07462cabceb9b5f26018fe88f07dd137926b1af4f83587dd1f6e392d5b88c3985bd4692b73b51063109ae13b03f44c19d08dcb31785bb
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(t.name.upcase) { Configuration.default_protoc }, t.name)
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('sass_embedded_protocol'.upcase) { Configuration.default_sass_embedded_protocol }, t.name)
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 'powershell', '-File', 'unzip.ps1', '-Archive', archive, '-DestinationPath', dest
45
+ sh 'cscript', 'unzip.vbs', '//B', '//Nologo', archive, dest
46
46
  else
47
47
  sh 'unzip', '-od', dest, archive
48
48
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Sass
4
4
  class Embedded
5
- VERSION = '1.0.15'
5
+ VERSION = '1.0.16'
6
6
  end
7
7
  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.15
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.15
166
- source_code_uri: https://github.com/ntkme/sass-embedded-host-ruby/tree/v1.0.15
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
- }