sass-embedded 1.58.3-x86_64-linux-android → 1.59.2-x86_64-linux-android

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: 68f750967fdce30fd5f55690e0646af1c0c864c4e17e977592164ad768db83d0
4
- data.tar.gz: b3a0d3ff07b685b88ff7aecd22b217f2bb24767096843961459c0a33234c3188
3
+ metadata.gz: 3b1c885bfd2369848a1afad841a242465e80bd8c5622e837f569f25722391747
4
+ data.tar.gz: 18f99c1ba65209b2523556ed3da266951a2d9a7780b2cfe76e6a57027fc1104c
5
5
  SHA512:
6
- metadata.gz: 0644b05b3250b11d2e16be0bc0cc9282a0010fb2fd649a447f8bbf3a619ca593bd528b62d6829d8c80556c26b465ace6ff34bef546eb0c3c449a60761e15742f
7
- data.tar.gz: 2710458fdf21cbbf06db1712ad93d0fc97de0b0c99cc31cdbcdc38466ba388625d900e1158e81113bfacce0167d31bacf8662842c5551a76b2ccbafd3cd1f57b
6
+ metadata.gz: c34bb05104e119f248b043ab791a9cf47d90bf3000aeec087efeb529951d7660b8552621680db999805f0b84fb1af97ba683fda2728b0304ff4308762b3fa0d8
7
+ data.tar.gz: 8be1ea1e7252392e454febfb029990c20f86f413322c015d15e283fdce8a8409477d08418f9e9452ce68f05580c817a2a8b2972dd8ede88ac923cf54b6f3fe6f
@@ -845,39 +845,6 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
845
845
  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
846
846
 
847
847
 
848
- --------------------------------------------------------------------------------
849
-
850
- lints license:
851
-
852
- Copyright 2021, the Dart project authors.
853
-
854
- Redistribution and use in source and binary forms, with or without
855
- modification, are permitted provided that the following conditions are
856
- met:
857
-
858
- * Redistributions of source code must retain the above copyright
859
- notice, this list of conditions and the following disclaimer.
860
- * Redistributions in binary form must reproduce the above
861
- copyright notice, this list of conditions and the following
862
- disclaimer in the documentation and/or other materials provided
863
- with the distribution.
864
- * Neither the name of Google LLC nor the names of its
865
- contributors may be used to endorse or promote products derived
866
- from this software without specific prior written permission.
867
-
868
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
869
- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
870
- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
871
- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
872
- OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
873
- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
874
- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
875
- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
876
- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
877
- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
878
- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
879
-
880
-
881
848
  --------------------------------------------------------------------------------
882
849
 
883
850
  node_interop license:
@@ -997,11 +964,11 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
997
964
 
998
965
  --------------------------------------------------------------------------------
999
966
 
1000
- petitparser and xml license:
967
+ petitparser license:
1001
968
 
1002
969
  The MIT License
1003
970
 
1004
- Copyright (c) 2006-2022 Lukas Renggli.
971
+ Copyright (c) 2006-2023 Lukas Renggli.
1005
972
  All rights reserved.
1006
973
 
1007
974
  Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1051,9 +1018,9 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1051
1018
 
1052
1019
  --------------------------------------------------------------------------------
1053
1020
 
1054
- pubspec_parse, test_api and test_core license:
1021
+ pubspec_parse license:
1055
1022
 
1056
- Copyright 2018, the Dart project authors.
1023
+ Copyright 2018, the Dart project authors.
1057
1024
 
1058
1025
  Redistribution and use in source and binary forms, with or without
1059
1026
  modification, are permitted provided that the following conditions are
@@ -1315,6 +1282,39 @@ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
1315
1282
  WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1316
1283
 
1317
1284
 
1285
+ --------------------------------------------------------------------------------
1286
+
1287
+ test_api and test_core license:
1288
+
1289
+ Copyright 2018, the Dart project authors.
1290
+
1291
+ Redistribution and use in source and binary forms, with or without
1292
+ modification, are permitted provided that the following conditions are
1293
+ met:
1294
+
1295
+ * Redistributions of source code must retain the above copyright
1296
+ notice, this list of conditions and the following disclaimer.
1297
+ * Redistributions in binary form must reproduce the above
1298
+ copyright notice, this list of conditions and the following
1299
+ disclaimer in the documentation and/or other materials provided
1300
+ with the distribution.
1301
+ * Neither the name of Google LLC nor the names of its
1302
+ contributors may be used to endorse or promote products derived
1303
+ from this software without specific prior written permission.
1304
+
1305
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1306
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1307
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
1308
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
1309
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
1310
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
1311
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
1312
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
1313
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1314
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1315
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1316
+
1317
+
1318
1318
  --------------------------------------------------------------------------------
1319
1319
 
1320
1320
  test_descriptor and web_socket_channel license:
@@ -1408,6 +1408,34 @@ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1408
1408
  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
1409
1409
  SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1410
1410
 
1411
+ --------------------------------------------------------------------------------
1412
+
1413
+ xml license:
1414
+
1415
+ The MIT License
1416
+
1417
+ Copyright (c) 2006-2022 Lukas Renggli.
1418
+ All rights reserved.
1419
+
1420
+ Permission is hereby granted, free of charge, to any person obtaining a copy
1421
+ of this software and associated documentation files (the "Software"), to deal
1422
+ in the Software without restriction, including without limitation the rights
1423
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
1424
+ copies of the Software, and to permit persons to whom the Software is
1425
+ furnished to do so, subject to the following conditions:
1426
+
1427
+ The above copyright notice and this permission notice shall be included in
1428
+ all copies or substantial portions of the Software.
1429
+
1430
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1431
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1432
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1433
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1434
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1435
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
1436
+ THE SOFTWARE.
1437
+
1438
+
1411
1439
  --------------------------------------------------------------------------------
1412
1440
 
1413
1441
  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_64-linux-android
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!