sass-embedded 0.7.9 → 0.7.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/ext/extconf.rb +17 -9
  3. data/lib/sass/version.rb +1 -1
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: af2d3d643f4731906f3b71e6340fb733dafdb85a09892c3fbf0ddac377835fcc
4
- data.tar.gz: a7827876ce4b50f3f5165aad572a1d1512c0161ac121efe234a0607495aec822
3
+ metadata.gz: 1fe00b57149da1071f98028f159b3de560fc365ae0914c96ee7f19fb12b8cacb
4
+ data.tar.gz: 3891fa06053620354a7714d87a69b395c7c65b174def0eb6b8bdebb782efc45f
5
5
  SHA512:
6
- metadata.gz: 6a2f02e3e0506330c5777d0b1bd8c13ef380e7329d3ba8d393d8e3ac7550e208eb27346a333094a9cc5b7ae16b8a031c2285727abff0f5b544f35257fc32451a
7
- data.tar.gz: 5b87374beb7554219fccf1cdc9e692f724f595ec39ce710ae2153bd39d0a54fb1759763fabee651b708843081563c21e1fdf42873ccbd217f175cd2d8c75fea3
6
+ metadata.gz: 947acbb1be1109a74619248998542fc117a9676f02d43b473d7546eb6e905953abda62f661f1dc2defc389a6439b8bdd69fa1b5cf68372d84172e1e87165d5e5
7
+ data.tar.gz: '0916a7093b12b3e6fbcf9da1b4d5b3eb5190905cbbea4a518d465feae94dc9f1a084874cfde49fc92980ffaca8c4333844a7f35e4f3970cf9efe35abeb40fbdf'
data/ext/extconf.rb CHANGED
@@ -84,7 +84,7 @@ module Sass
84
84
  # TODO, don't use prerelease once a release is available
85
85
  tag_name = latest_release repo, prerelease: true
86
86
 
87
- os = case Sass::Platform::OS
87
+ os = case Platform::OS
88
88
  when 'darwin'
89
89
  'macos'
90
90
  when 'linux'
@@ -92,16 +92,20 @@ module Sass
92
92
  when 'windows'
93
93
  'windows'
94
94
  else
95
- raise "Unsupported OS: #{Sass::Platform::OS}"
95
+ raise "Unsupported OS: #{Platform::OS}"
96
96
  end
97
97
 
98
- arch = case Sass::Platform::ARCH
98
+ arch = case Platform::ARCH
99
99
  when 'x86_64'
100
100
  'x64'
101
101
  when 'i386'
102
102
  'ia32'
103
+ when 'aarch64'
104
+ raise "Unsupported Arch: #{Platform::ARCH}" unless Platform::OS == 'darwin'
105
+
106
+ 'x64'
103
107
  else
104
- raise "Unsupported Arch: #{Sass::Platform::ARCH}"
108
+ raise "Unsupported Arch: #{Platform::ARCH}"
105
109
  end
106
110
 
107
111
  ext = case os
@@ -119,7 +123,7 @@ module Sass
119
123
 
120
124
  tag_name = latest_release repo
121
125
 
122
- os = case Sass::Platform::OS
126
+ os = case Platform::OS
123
127
  when 'darwin'
124
128
  'osx'
125
129
  when 'linux'
@@ -127,12 +131,16 @@ module Sass
127
131
  when 'windows'
128
132
  'win'
129
133
  else
130
- raise "Unsupported OS: #{Sass::Platform::OS}"
134
+ raise "Unsupported OS: #{Platform::OS}"
131
135
  end
132
136
 
133
- arch = case Sass::Platform::ARCH
137
+ arch = case Platform::ARCH
134
138
  when 'aarch64'
135
- 'aarch_64'
139
+ if Platform::OS == 'darwin'
140
+ 'x86_64'
141
+ else
142
+ 'aarch_64'
143
+ end
136
144
  when 'sparcv9'
137
145
  's390'
138
146
  when 'i386'
@@ -142,7 +150,7 @@ module Sass
142
150
  when 'powerpc64'
143
151
  'ppcle_64'
144
152
  else
145
- raise "Unsupported Arch: #{Sass::Platform::ARCH}"
153
+ raise "Unsupported Arch: #{Platform::ARCH}"
146
154
  end
147
155
 
148
156
  os_arch = case os
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.9'
4
+ VERSION = '0.7.10'
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.9
4
+ version: 0.7.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - なつき
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-06-05 00:00:00.000000000 Z
11
+ date: 2021-06-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-protobuf
@@ -165,7 +165,7 @@ homepage: https://github.com/ntkme/sass-embedded-host-ruby
165
165
  licenses:
166
166
  - MIT
167
167
  metadata:
168
- source_code_uri: https://github.com/ntkme/sass-embedded-host-ruby/tree/v0.7.9
168
+ source_code_uri: https://github.com/ntkme/sass-embedded-host-ruby/tree/v0.7.10
169
169
  post_install_message:
170
170
  rdoc_options: []
171
171
  require_paths: