sass-embedded 1.62.1-x86-mingw32 → 1.63.1-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +7 -1
- data/exe/sass +21 -0
- data/ext/sass/cli.rb +12 -0
- data/ext/sass/dart-sass/sass.bat +7 -0
- data/ext/sass/{sass_embedded → dart-sass}/src/LICENSE +157 -34
- data/ext/sass/{sass_embedded → dart-sass}/src/dart.exe +0 -0
- data/ext/sass/{sass_embedded/src/dart-sass-embedded.snapshot → dart-sass/src/sass.snapshot} +0 -0
- data/ext/sass/embedded_sass_pb.rb +24 -291
- data/lib/sass/compile_error.rb +12 -10
- data/lib/sass/compile_result.rb +1 -1
- data/lib/sass/elf.rb +276 -0
- data/lib/sass/embedded/channel.rb +3 -3
- data/lib/sass/embedded/compiler.rb +11 -8
- data/lib/sass/embedded/dispatcher.rb +26 -30
- data/lib/sass/embedded/host/logger_registry.rb +27 -24
- data/lib/sass/embedded/host.rb +50 -20
- data/lib/sass/embedded/protofier.rb +8 -7
- data/lib/sass/embedded/varint.rb +6 -0
- data/lib/sass/embedded/version.rb +1 -1
- data/lib/sass/embedded.rb +3 -4
- data/lib/sass/logger/source_span.rb +2 -2
- metadata +17 -100
- data/ext/sass/embedded.rb +0 -12
- data/ext/sass/sass_embedded/dart-sass-embedded.bat +0 -7
- data/lib/sass/embedded/async.rb +0 -58
- data/lib/sass/embedded/elf.rb +0 -275
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c7fd3e66ed033232563254dc239f54fb5c610f47af576af5f14a371d194bfa61
|
4
|
+
data.tar.gz: 2643b7424ee169933ad1f4280d7feb0b178acc53ee98fa942d0ebaeb8c044950
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d96fabed393491f9bf1f1d7b0499cd0b30adc4d5cfa790a61cdb10147bd75b401f2e321c46bbc0f4ba939b3bbff44aa575ee3c81258331ca10b9b17568aa1471
|
7
|
+
data.tar.gz: aed2c4c9ec797e5f54f849e2c13732d8b11fd3311e9e6acc562dc59baf9e2329eef06cf4c9eb94aa00f4bbbf8f3d90de4fe0769fdd62cbca323c36fabaf765dc
|
data/README.md
CHANGED
@@ -24,6 +24,9 @@ require 'sass-embedded'
|
|
24
24
|
|
25
25
|
result = Sass.compile('style.scss')
|
26
26
|
puts result.css
|
27
|
+
|
28
|
+
compressed = Sass.compile('style.scss', style: :compressed)
|
29
|
+
puts compressed.css
|
27
30
|
```
|
28
31
|
|
29
32
|
- `Sass.compile_string` takes a string that represents the contents of a Sass file and return the result of compiling that file to CSS.
|
@@ -33,9 +36,12 @@ require 'sass-embedded'
|
|
33
36
|
|
34
37
|
result = Sass.compile_string('h1 { font-size: 40px; }')
|
35
38
|
puts result.css
|
39
|
+
|
40
|
+
compressed = Sass.compile_string('h1 { font-size: 40px; }', style: :compressed)
|
41
|
+
puts compressed.css
|
36
42
|
```
|
37
43
|
|
38
|
-
See [rubydoc.info/gems/sass-embedded](https://rubydoc.info/gems/sass-embedded) for full API documentation.
|
44
|
+
See [rubydoc.info/gems/sass-embedded/Sass](https://rubydoc.info/gems/sass-embedded/Sass) for full API documentation.
|
39
45
|
|
40
46
|
---
|
41
47
|
|
data/exe/sass
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
require_relative '../ext/sass/cli'
|
5
|
+
|
6
|
+
module Sass
|
7
|
+
# The `sass` command line interface
|
8
|
+
class CLI
|
9
|
+
begin
|
10
|
+
exec(*COMMAND, *ARGV)
|
11
|
+
rescue Errno::ENOENT
|
12
|
+
require_relative '../lib/sass/elf'
|
13
|
+
|
14
|
+
raise if ELF::INTERPRETER.nil?
|
15
|
+
|
16
|
+
exec(ELF::INTERPRETER, *COMMAND, *ARGV)
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
private_constant :CLI
|
21
|
+
end
|
data/ext/sass/cli.rb
ADDED
@@ -1,6 +1,6 @@
|
|
1
|
-
Dart Sass
|
1
|
+
Dart Sass license:
|
2
2
|
|
3
|
-
Copyright (c)
|
3
|
+
Copyright (c) 2016, Google Inc.
|
4
4
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining
|
6
6
|
a copy of this software and associated documentation files (the
|
@@ -149,7 +149,7 @@ THE SOFTWARE.
|
|
149
149
|
|
150
150
|
--------------------------------------------------------------------------------
|
151
151
|
|
152
|
-
args and logging license:
|
152
|
+
args, csslib and logging license:
|
153
153
|
|
154
154
|
Copyright 2013, the Dart project authors.
|
155
155
|
|
@@ -583,8 +583,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
583
583
|
|
584
584
|
--------------------------------------------------------------------------------
|
585
585
|
|
586
|
-
coverage, dart_style, glob, http, http_parser, matcher, path, pool,
|
587
|
-
source_span, string_scanner, test and watcher license:
|
586
|
+
coverage, dart_style, dartdoc, glob, http, http_parser, matcher, path, pool,
|
587
|
+
pub_semver, source_span, string_scanner, test and watcher license:
|
588
588
|
|
589
589
|
Copyright 2014, the Dart project authors.
|
590
590
|
|
@@ -648,8 +648,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
648
648
|
|
649
649
|
--------------------------------------------------------------------------------
|
650
650
|
|
651
|
-
fixnum, http_multi_server, shelf, shelf_web_socket, source_maps and
|
652
|
-
license:
|
651
|
+
fixnum, http_multi_server, oauth2, shelf, shelf_web_socket, source_maps and
|
652
|
+
stack_trace license:
|
653
653
|
|
654
654
|
Copyright 2014, the Dart project authors.
|
655
655
|
|
@@ -747,6 +747,35 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
747
747
|
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
748
748
|
|
749
749
|
|
750
|
+
--------------------------------------------------------------------------------
|
751
|
+
|
752
|
+
html license:
|
753
|
+
|
754
|
+
Copyright (c) 2006-2012 The Authors
|
755
|
+
|
756
|
+
Contributors:
|
757
|
+
James Graham - jg307@cam.ac.uk
|
758
|
+
Anne van Kesteren - annevankesteren@gmail.com
|
759
|
+
Lachlan Hunt - lachlan.hunt@lachy.id.au
|
760
|
+
Matt McDonald - kanashii@kanashii.ca
|
761
|
+
Sam Ruby - rubys@intertwingly.net
|
762
|
+
Ian Hickson (Google) - ian@hixie.ch
|
763
|
+
Thomas Broyer - t.broyer@ltgt.net
|
764
|
+
Jacques Distler - distler@golem.ph.utexas.edu
|
765
|
+
Henri Sivonen - hsivonen@iki.fi
|
766
|
+
Adam Barth - abarth@webkit.org
|
767
|
+
Eric Seidel - eric@webkit.org
|
768
|
+
The Mozilla Foundation (contributions from Henri Sivonen since 2008)
|
769
|
+
David Flanagan (Mozilla) - dflanagan@mozilla.com
|
770
|
+
Google LLC (contributed the Dart port) - misc@dartlang.org
|
771
|
+
|
772
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
773
|
+
|
774
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
775
|
+
|
776
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
777
|
+
|
778
|
+
|
750
779
|
--------------------------------------------------------------------------------
|
751
780
|
|
752
781
|
io, stream_transform and term_glyph license:
|
@@ -878,6 +907,39 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
878
907
|
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
879
908
|
|
880
909
|
|
910
|
+
--------------------------------------------------------------------------------
|
911
|
+
|
912
|
+
markdown license:
|
913
|
+
|
914
|
+
Copyright 2012, the Dart project authors.
|
915
|
+
|
916
|
+
Redistribution and use in source and binary forms, with or without
|
917
|
+
modification, are permitted provided that the following conditions are
|
918
|
+
met:
|
919
|
+
|
920
|
+
* Redistributions of source code must retain the above copyright
|
921
|
+
notice, this list of conditions and the following disclaimer.
|
922
|
+
* Redistributions in binary form must reproduce the above
|
923
|
+
copyright notice, this list of conditions and the following
|
924
|
+
disclaimer in the documentation and/or other materials provided
|
925
|
+
with the distribution.
|
926
|
+
* Neither the name of Google LLC nor the names of its
|
927
|
+
contributors may be used to endorse or promote products derived
|
928
|
+
from this software without specific prior written permission.
|
929
|
+
|
930
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
931
|
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
932
|
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
933
|
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
934
|
+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
935
|
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
936
|
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
937
|
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
938
|
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
939
|
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
940
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
941
|
+
|
942
|
+
|
881
943
|
--------------------------------------------------------------------------------
|
882
944
|
|
883
945
|
node_interop license:
|
@@ -1049,6 +1111,63 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
1049
1111
|
|
1050
1112
|
|
1051
1113
|
|
1114
|
+
--------------------------------------------------------------------------------
|
1115
|
+
|
1116
|
+
pub_api_client license:
|
1117
|
+
|
1118
|
+
MIT License
|
1119
|
+
|
1120
|
+
Copyright (c) 2020 Leo Farias
|
1121
|
+
|
1122
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
1123
|
+
of this software and associated documentation files (the "Software"), to deal
|
1124
|
+
in the Software without restriction, including without limitation the rights
|
1125
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
1126
|
+
copies of the Software, and to permit persons to whom the Software is
|
1127
|
+
furnished to do so, subject to the following conditions:
|
1128
|
+
|
1129
|
+
The above copyright notice and this permission notice shall be included in all
|
1130
|
+
copies or substantial portions of the Software.
|
1131
|
+
|
1132
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
1133
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
1134
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
1135
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
1136
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
1137
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
1138
|
+
SOFTWARE.
|
1139
|
+
|
1140
|
+
|
1141
|
+
--------------------------------------------------------------------------------
|
1142
|
+
|
1143
|
+
pubspec license:
|
1144
|
+
|
1145
|
+
Copyright (c) 2015, Anders Holmgren.
|
1146
|
+
All rights reserved.
|
1147
|
+
|
1148
|
+
Redistribution and use in source and binary forms, with or without
|
1149
|
+
modification, are permitted provided that the following conditions are met:
|
1150
|
+
* Redistributions of source code must retain the above copyright
|
1151
|
+
notice, this list of conditions and the following disclaimer.
|
1152
|
+
* Redistributions in binary form must reproduce the above copyright
|
1153
|
+
notice, this list of conditions and the following disclaimer in the
|
1154
|
+
documentation and/or other materials provided with the distribution.
|
1155
|
+
* Neither the name of the <organization> nor the
|
1156
|
+
names of its contributors may be used to endorse or promote products
|
1157
|
+
derived from this software without specific prior written permission.
|
1158
|
+
|
1159
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
1160
|
+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
1161
|
+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
1162
|
+
DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
|
1163
|
+
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
1164
|
+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
1165
|
+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
1166
|
+
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
1167
|
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
1168
|
+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
1169
|
+
|
1170
|
+
|
1052
1171
|
--------------------------------------------------------------------------------
|
1053
1172
|
|
1054
1173
|
pubspec_parse license:
|
@@ -1084,7 +1203,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
1084
1203
|
|
1085
1204
|
--------------------------------------------------------------------------------
|
1086
1205
|
|
1087
|
-
retry license:
|
1206
|
+
quiver and retry license:
|
1088
1207
|
|
1089
1208
|
|
1090
1209
|
Apache License
|
@@ -1289,32 +1408,6 @@ retry license:
|
|
1289
1408
|
See the License for the specific language governing permissions and
|
1290
1409
|
limitations under the License.
|
1291
1410
|
|
1292
|
-
--------------------------------------------------------------------------------
|
1293
|
-
|
1294
|
-
sass and sass_api license:
|
1295
|
-
|
1296
|
-
Copyright (c) 2016, Google Inc.
|
1297
|
-
|
1298
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
1299
|
-
a copy of this software and associated documentation files (the
|
1300
|
-
"Software"), to deal in the Software without restriction, including
|
1301
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
1302
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
1303
|
-
permit persons to whom the Software is furnished to do so, subject to
|
1304
|
-
the following conditions:
|
1305
|
-
|
1306
|
-
The above copyright notice and this permission notice shall be
|
1307
|
-
included in all copies or substantial portions of the Software.
|
1308
|
-
|
1309
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
1310
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
1311
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
1312
|
-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
1313
|
-
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
1314
|
-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
1315
|
-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
1316
|
-
|
1317
|
-
|
1318
1411
|
--------------------------------------------------------------------------------
|
1319
1412
|
|
1320
1413
|
test_api and test_core license:
|
@@ -1441,6 +1534,36 @@ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
1441
1534
|
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
1442
1535
|
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
1443
1536
|
|
1537
|
+
--------------------------------------------------------------------------------
|
1538
|
+
|
1539
|
+
uri license:
|
1540
|
+
|
1541
|
+
Copyright 2013, the Dart project authors. All rights reserved.
|
1542
|
+
Redistribution and use in source and binary forms, with or without
|
1543
|
+
modification, are permitted provided that the following conditions are
|
1544
|
+
met:
|
1545
|
+
* Redistributions of source code must retain the above copyright
|
1546
|
+
notice, this list of conditions and the following disclaimer.
|
1547
|
+
* Redistributions in binary form must reproduce the above
|
1548
|
+
copyright notice, this list of conditions and the following
|
1549
|
+
disclaimer in the documentation and/or other materials provided
|
1550
|
+
with the distribution.
|
1551
|
+
* Neither the name of Google Inc. nor the names of its
|
1552
|
+
contributors may be used to endorse or promote products derived
|
1553
|
+
from this software without specific prior written permission.
|
1554
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
1555
|
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
1556
|
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
1557
|
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
1558
|
+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
1559
|
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
1560
|
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
1561
|
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
1562
|
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
1563
|
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
1564
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
1565
|
+
|
1566
|
+
|
1444
1567
|
--------------------------------------------------------------------------------
|
1445
1568
|
|
1446
1569
|
xml license:
|
Binary file
|