sass-embedded 1.58.3-x86-linux-musl → 1.59.2-x86-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: 649b4b2065b2fdc342f7ea8bbf7c63a5a180ee548c3269f889db4626cbd93c99
4
- data.tar.gz: 39b72cd63b7efe0f677117b6749f739a4b24304bc580246f6802abf8f9a613e5
3
+ metadata.gz: cf47f8ae3a7c058f48cc76e188552ae89cc15f22bc2058019072510bb3c47eb0
4
+ data.tar.gz: 0e57385a6897de15cf4171a857bb8f915511f94b9560446522f2003fb926e216
5
5
  SHA512:
6
- metadata.gz: 2b861b5f164c62a30bc351a57b262088e5d5ed124ba261b64ec458c0205bb646ada9c16bfd5c76d00dad83281bc64127304cf2477143d256216fb1547b3c38d6
7
- data.tar.gz: 777e76cb858a314dbb9105f8c65c628c2c0c1fe0eb36f6abe61f7b53d7151a8b3d0895e0d48454390c47dfce7081b538df9b5c229b8ebcc9f5bfcb5e19ba7bd3
6
+ metadata.gz: 5585b26914122e9bcb83af0d062681ef873e6d7d74d15a4d63a1291de42ac7cca9f7a58c58d3cbd6ddb853690fbd370fd820b07c2c5c239aa833bd317e684e25
7
+ data.tar.gz: '02117095b3902926ed3b785f1b7836d6eacfb090fc1fcf0c8230a43c93ccd17ff70a50ed9723448a1b33ffbf335622462c90af3ba55909eb3e1b9af81597fbb0'
@@ -997,11 +997,11 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
997
997
 
998
998
  --------------------------------------------------------------------------------
999
999
 
1000
- petitparser and xml license:
1000
+ petitparser license:
1001
1001
 
1002
1002
  The MIT License
1003
1003
 
1004
- Copyright (c) 2006-2022 Lukas Renggli.
1004
+ Copyright (c) 2006-2023 Lukas Renggli.
1005
1005
  All rights reserved.
1006
1006
 
1007
1007
  Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1051,9 +1051,9 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1051
1051
 
1052
1052
  --------------------------------------------------------------------------------
1053
1053
 
1054
- pubspec_parse, test_api and test_core license:
1054
+ pubspec_parse license:
1055
1055
 
1056
- Copyright 2018, the Dart project authors.
1056
+ Copyright 2018, the Dart project authors.
1057
1057
 
1058
1058
  Redistribution and use in source and binary forms, with or without
1059
1059
  modification, are permitted provided that the following conditions are
@@ -1315,6 +1315,39 @@ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
1315
1315
  WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1316
1316
 
1317
1317
 
1318
+ --------------------------------------------------------------------------------
1319
+
1320
+ test_api and test_core license:
1321
+
1322
+ Copyright 2018, the Dart project authors.
1323
+
1324
+ Redistribution and use in source and binary forms, with or without
1325
+ modification, are permitted provided that the following conditions are
1326
+ met:
1327
+
1328
+ * Redistributions of source code must retain the above copyright
1329
+ notice, this list of conditions and the following disclaimer.
1330
+ * Redistributions in binary form must reproduce the above
1331
+ copyright notice, this list of conditions and the following
1332
+ disclaimer in the documentation and/or other materials provided
1333
+ with the distribution.
1334
+ * Neither the name of Google LLC nor the names of its
1335
+ contributors may be used to endorse or promote products derived
1336
+ from this software without specific prior written permission.
1337
+
1338
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1339
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1340
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
1341
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
1342
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
1343
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
1344
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
1345
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
1346
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1347
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1348
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1349
+
1350
+
1318
1351
  --------------------------------------------------------------------------------
1319
1352
 
1320
1353
  test_descriptor and web_socket_channel license:
@@ -1408,6 +1441,34 @@ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1408
1441
  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
1409
1442
  SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1410
1443
 
1444
+ --------------------------------------------------------------------------------
1445
+
1446
+ xml license:
1447
+
1448
+ The MIT License
1449
+
1450
+ Copyright (c) 2006-2022 Lukas Renggli.
1451
+ All rights reserved.
1452
+
1453
+ Permission is hereby granted, free of charge, to any person obtaining a copy
1454
+ of this software and associated documentation files (the "Software"), to deal
1455
+ in the Software without restriction, including without limitation the rights
1456
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
1457
+ copies of the Software, and to permit persons to whom the Software is
1458
+ furnished to do so, subject to the following conditions:
1459
+
1460
+ The above copyright notice and this permission notice shall be included in
1461
+ all copies or substantial portions of the Software.
1462
+
1463
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1464
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1465
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1466
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1467
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1468
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
1469
+ THE SOFTWARE.
1470
+
1471
+
1411
1472
  --------------------------------------------------------------------------------
1412
1473
 
1413
1474
  yaml license:
Binary file
@@ -17,9 +17,9 @@ module Sass
17
17
  end
18
18
 
19
19
  # @return [String]
20
- def full_message(*args, **kwargs)
20
+ def full_message(...)
21
21
  if @full_message.nil?
22
- super(*args, **kwargs)
22
+ super(...)
23
23
  else
24
24
  @full_message
25
25
  end
@@ -48,8 +48,8 @@ module Sass
48
48
  @dispatcher.unsubscribe(id)
49
49
  end
50
50
 
51
- def send_message(**kwargs)
52
- @dispatcher.send_message(**kwargs)
51
+ def send_message(...)
52
+ @dispatcher.send_message(...)
53
53
  end
54
54
  end
55
55
 
@@ -62,8 +62,8 @@ module Sass
62
62
  @compiler.closed?
63
63
  end
64
64
 
65
- def send_message(**kwargs)
66
- inbound_message = EmbeddedProtocol::InboundMessage.new(**kwargs)
65
+ def send_message(...)
66
+ inbound_message = EmbeddedProtocol::InboundMessage.new(...)
67
67
  @compiler.write(inbound_message.to_proto)
68
68
  end
69
69
 
@@ -131,8 +131,8 @@ module Sass
131
131
  @connection.id
132
132
  end
133
133
 
134
- def send_message(**kwargs)
135
- @connection.send_message(**kwargs)
134
+ def send_message(...)
135
+ @connection.send_message(...)
136
136
  end
137
137
  end
138
138
 
@@ -18,11 +18,7 @@ module Sass
18
18
  value = obj[key]
19
19
  if value.respond_to? :call
20
20
  struct.define_singleton_method key do |*args, **kwargs|
21
- if kwargs.empty?
22
- value.call(*args)
23
- else
24
- value.call(*args, **kwargs)
25
- end
21
+ value.call(*args, **kwargs)
26
22
  end
27
23
  else
28
24
  struct.define_singleton_method key do
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Sass
4
4
  class Embedded
5
- VERSION = '1.58.3'
5
+ VERSION = '1.59.2'
6
6
  end
7
7
  end
data/lib/sass/embedded.rb CHANGED
@@ -39,8 +39,8 @@ module Sass
39
39
  # @return (see Embedded#compile)
40
40
  # @raise (see Embedded#compile)
41
41
  # @see Embedded#compile
42
- def compile(path, **kwargs)
43
- instance.compile(path, **kwargs)
42
+ def compile(...)
43
+ instance.compile(...)
44
44
  end
45
45
 
46
46
  # Compiles a stylesheet whose contents is +source+ to CSS.
@@ -49,8 +49,8 @@ module Sass
49
49
  # @return (see Embedded#compile_string)
50
50
  # @raise (see Embedded#compile_string)
51
51
  # @see Embedded#compile_string
52
- def compile_string(source, **kwargs)
53
- instance.compile_string(source, **kwargs)
52
+ def compile_string(...)
53
+ instance.compile_string(...)
54
54
  end
55
55
 
56
56
  # @param (see Embedded#info)
@@ -32,10 +32,10 @@ module Sass
32
32
  def at(index)
33
33
  if index.is_a? Numeric
34
34
  index = index.floor
35
- index = to_a.length + index if index.negative?
36
- return nil if index.negative? || index >= to_a.length
35
+ index = to_a_length + index if index.negative?
36
+ return nil if index.negative? || index >= to_a_length
37
37
 
38
- to_a[index]
38
+ Sass::Value::List.new(contents.to_a[index], separator: ' ')
39
39
  else
40
40
  contents[index]
41
41
  end
@@ -48,7 +48,7 @@ module Sass
48
48
 
49
49
  # @return [Array<List<(Value, Value)>>]
50
50
  def to_a
51
- contents.to_a.map { |entry| Sass::Value::List.new(entry, separator: ' ') }
51
+ contents.map { |key, value| Sass::Value::List.new([key, value], separator: ' ') }
52
52
  end
53
53
 
54
54
  # @return [Map]
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.58.3
4
+ version: 1.59.2
5
5
  platform: x86-linux-musl
6
6
  authors:
7
7
  - なつき
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-02-18 00:00:00.000000000 Z
11
+ date: 2023-03-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-protobuf
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 1.45.1
61
+ version: 1.48.0
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 1.45.1
68
+ version: 1.48.0
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rubocop-performance
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -100,14 +100,14 @@ dependencies:
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: 2.18.0
103
+ version: 2.19.0
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: 2.18.0
110
+ version: 2.19.0
111
111
  description: A Ruby library that will communicate with Embedded Dart Sass using the
112
112
  Embedded Sass protocol.
113
113
  email:
@@ -161,8 +161,8 @@ homepage: https://github.com/ntkme/sass-embedded-host-ruby
161
161
  licenses:
162
162
  - MIT
163
163
  metadata:
164
- documentation_uri: https://rubydoc.info/gems/sass-embedded/1.58.3
165
- source_code_uri: https://github.com/ntkme/sass-embedded-host-ruby/tree/v1.58.3
164
+ documentation_uri: https://rubydoc.info/gems/sass-embedded/1.59.2
165
+ source_code_uri: https://github.com/ntkme/sass-embedded-host-ruby/tree/v1.59.2
166
166
  funding_uri: https://github.com/sponsors/ntkme
167
167
  post_install_message:
168
168
  rdoc_options: []
@@ -172,14 +172,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
172
172
  requirements:
173
173
  - - ">="
174
174
  - !ruby/object:Gem::Version
175
- version: 2.6.0
175
+ version: 2.7.0
176
176
  required_rubygems_version: !ruby/object:Gem::Requirement
177
177
  requirements:
178
178
  - - ">="
179
179
  - !ruby/object:Gem::Version
180
180
  version: 3.3.22
181
181
  requirements: []
182
- rubygems_version: 3.4.7
182
+ rubygems_version: 3.4.8
183
183
  signing_key:
184
184
  specification_version: 4
185
185
  summary: Use dart-sass with Ruby!