sass-embedded 1.0.14 → 1.0.15

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: 1109d7b4c427f498db236fbca59c500d7ae5ff07344fb7a93d9a76d16015beca
4
- data.tar.gz: 2a668742ded01d8e3d729731384cb93b62f68dcbe2d73cfe2f76a27cf3b50905
3
+ metadata.gz: 8ac694b88c7c3312ba4e73e7fe06fcf6efd3f8dd76c437e9c34d6f9d29986bcf
4
+ data.tar.gz: 5549453c2ace535b99046e7eca4d499bfad85d10ddb4bbe1627393e6960ca75e
5
5
  SHA512:
6
- metadata.gz: e76783bc4ba9b203c5ed2013b219579a69c3c49b656e987e1c99473d69ea955545066ef839b33593b9550be1122b0491225e355d2ef71a3edad2dacb325bdf38
7
- data.tar.gz: c7f1c6d9cb633546c387de50bc214f82ba756eff9c98a234a251dc6e69222c113161300229fcf02493769cb097bc605efe4a236cdc5396012c05bf5e0d17e7bf
6
+ metadata.gz: 61c406ea3f5dc17931d88e379e194f61bdea4d94a5ef4705f1db902188fe5ccd55f12f628c4d62e39c8c9e64cb7103e33ab9fc9d361bb3347cf3dc31b294b402
7
+ data.tar.gz: cf6689322c04b67b87d07462cabceb9b5f26018fe88f07dd137926b1af4f83587dd1f6e392d5b88c3985bd4692b73b51063109ae13b03f44c19d08dcb31785bb
data/ext/sass/Rakefile CHANGED
@@ -9,14 +9,13 @@ task default: %i[install clean]
9
9
 
10
10
  task install: %w[sass_embedded embedded_sass_pb.rb]
11
11
 
12
- CLEAN.include %w[protoc *.proto *.tar.gz *.zip]
12
+ CLEAN.include %w[protoc.exe *.proto *.tar.gz *.zip]
13
13
 
14
14
  CLOBBER.include %w[sass_embedded embedded_sass_pb.rb]
15
15
 
16
- file 'protoc' do |t|
17
- archive = fetch(ENV.fetch(t.name.upcase) { Configuration.default_protoc })
18
- unarchive archive, t.name
19
- rm archive
16
+ file 'protoc.exe' do |t|
17
+ fetch(ENV.fetch(t.name.upcase) { Configuration.default_protoc }, t.name)
18
+ chmod 'a+x', t.name
20
19
  end
21
20
 
22
21
  file 'sass_embedded' do |t|
@@ -29,8 +28,8 @@ file 'embedded_sass.proto' => %w[sass_embedded] do |t|
29
28
  fetch(ENV.fetch('sass_embedded_protocol'.upcase) { Configuration.default_sass_embedded_protocol }, t.name)
30
29
  end
31
30
 
32
- rule '_pb.rb' => %w[.proto protoc] do |t|
33
- sh './protoc/bin/protoc', '--ruby_out=.', t.source
31
+ rule '_pb.rb' => %w[.proto protoc.exe] do |t|
32
+ sh './protoc.exe', '--ruby_out=.', t.source
34
33
  end
35
34
 
36
35
  # This is a FileUtils extension that defines several additional commands to be
@@ -172,7 +171,7 @@ module Configuration
172
171
  when 'linux'
173
172
  'linux'
174
173
  when 'windows'
175
- 'win'
174
+ 'windows'
176
175
  else
177
176
  raise release_asset_not_available_error(repo, tag_name)
178
177
  end
@@ -183,21 +182,12 @@ module Configuration
183
182
  when 'i386'
184
183
  'x86_32'
185
184
  when 'aarch64'
186
- Platform::OS == 'darwin' ? 'x86_64' : 'aarch_64'
185
+ 'aarch_64'
187
186
  else
188
187
  raise release_asset_not_available_error(repo, tag_name)
189
188
  end
190
189
 
191
- os_arch = case os
192
- when 'win'
193
- os + arch.split('_').last
194
- else
195
- "#{os}-#{arch}"
196
- end
197
-
198
- ext = 'zip'
199
-
200
- "https://github.com/#{repo}/releases/download/#{tag_name}/protoc-#{version}-#{os_arch}.#{ext}"
190
+ "https://repo.maven.apache.org/maven2/com/google/protobuf/protoc/#{version}/protoc-#{version}-#{os}-#{arch}.exe"
201
191
  end
202
192
 
203
193
  def default_sass_embedded_protocol
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Sass
4
4
  class Embedded
5
- VERSION = '1.0.14'
5
+ VERSION = '1.0.15'
6
6
  end
7
7
  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: 1.0.14
4
+ version: 1.0.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - なつき
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-03-07 00:00:00.000000000 Z
11
+ date: 2022-03-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-protobuf
@@ -162,8 +162,8 @@ homepage: https://github.com/ntkme/sass-embedded-host-ruby
162
162
  licenses:
163
163
  - MIT
164
164
  metadata:
165
- documentation_uri: https://www.rubydoc.info/gems/sass-embedded/1.0.14
166
- source_code_uri: https://github.com/ntkme/sass-embedded-host-ruby/tree/v1.0.14
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
167
167
  funding_uri: https://github.com/sponsors/ntkme
168
168
  post_install_message:
169
169
  rdoc_options: []