sass-embedded 1.62.1-x86_64-linux-musl → 1.63.1-x86_64-linux-musl

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: e82a6cdf8eeb74ed560ab41fb45d6349000931e1a5eb0acfc2fe1de2b181b386
4
- data.tar.gz: 5fb012d0d76774f0fbfb7c5338e0a3789dc57dfbdd7c83cc08dd58ec088a1250
3
+ metadata.gz: d732a0f5de8f04d0b51b9f5721a7cc52aeba7ab96145ae43daaf598d2e4efec8
4
+ data.tar.gz: d2dee4bd66dcbd9c420cf10a1ea2fa6ed44b4f14aaf689509b78025f36acdda8
5
5
  SHA512:
6
- metadata.gz: 17ed1a6a0b68f5e32a8490d96c4149263329fa2acb7ccd3a1708112d5489383c3bb5bfb541ae4e9c2a416577c8cbc4f11509087f2e8ed9884e217a927e59f9b7
7
- data.tar.gz: 485b8d2919c493ae50ee5b9da65cfa299335abb5135cc2acc5fbb1099978733604fdcfc6dc40ec3bdd660f283a3f2ec9c5f28fb73dcda5a08e42eae012156124
6
+ metadata.gz: d181e2190a9718c247545e305ab0a3f2ab1be7f399bca36fe24095404fbffe8a1d60561ecb5c222fbf3b2e0050253da2794db9457497ed1570db0b32474e675c
7
+ data.tar.gz: 5af52dbd8ef7fda367374e7bdf39ac4cd496c85091263f75d4f3416b836adce8390573027d0bed4ae6922fc07e87704992273a195dd34a011d61f4be75366f34
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
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Sass
4
+ class CLI
5
+ COMMAND = [
6
+ File.absolute_path('dart-sass/src/dart', __dir__),
7
+ File.absolute_path('dart-sass/src/sass.snapshot', __dir__)
8
+ ].freeze
9
+ end
10
+
11
+ private_constant :CLI
12
+ end
@@ -1,7 +1,7 @@
1
1
  #!/bin/sh
2
2
 
3
- # This script drives the standalone sass_embedded package, which bundles together a
4
- # Dart executable and a snapshot of sass_embedded.
3
+ # This script drives the standalone dart-sass package, which bundles together a
4
+ # Dart executable and a snapshot of dart-sass.
5
5
 
6
6
  follow_links() {
7
7
  # Use `readlink -f` if it exists, but fall back to manually following symlnks
@@ -17,4 +17,4 @@ follow_links() {
17
17
 
18
18
  # Unlike $0, $BASH_SOURCE points to the absolute path of this file.
19
19
  path=`dirname "$(follow_links "$0")"`
20
- exec "$path/src/dart" "$path/src/dart-sass-embedded.snapshot" "$@"
20
+ exec "$path/src/dart" "$path/src/sass.snapshot" "$@"
@@ -1,6 +1,6 @@
1
- Dart Sass Embedded license:
1
+ Dart Sass license:
2
2
 
3
- Copyright (c) 2019, Google LLC
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, pub_semver,
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 stack_trace
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