sass-embedded 1.77.5-arm64-darwin → 1.77.8-arm64-darwin

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: b32e170e8b288cf6c476f37df30d4b350487ef649e08bea6d17293f991c95e32
4
- data.tar.gz: ec82176170465b53d22cf745265d6f2acb6f009584879792d22072f8b32d6bbe
3
+ metadata.gz: '08a47d8922078c86708e61b4b53a1b8db69282974b0a355e9424b635f947283d'
4
+ data.tar.gz: dad180f9dd2ba1e71a3a687ee3ac37f5bfcaf34b6f3097117042a3c7cdb3e2fa
5
5
  SHA512:
6
- metadata.gz: 47c461be9b31945fc8bc34d3ca68aad7424c9c415a348ed736c8b9f88303d2992e1104fe22488810dcc71499a24d2988af7673e2eff18a6f5187f4ed6f828ea3
7
- data.tar.gz: 4a2d3e87c9221de734d6207a749ea74801cca18da9e582b9d94f2be9b018a095daa05fd29bc71a5baf17ab4f94ecf1eef795d2ac8778ec55817dbe5333795b29
6
+ metadata.gz: 2e6585afa4c03d8b3e0e07019234c83c5dc04264e2ad038b685aabd2c751144d17029e695e5075c420192d518c1c5773a14567d8c9627359810971f69723f8ae
7
+ data.tar.gz: 70eaed101351bc116748ddbc75a2f5c01b5e8562ad829d5578c665bc72164521a54fe86f8db058443acc6074f87b64257fa9c9e6ef6286803d215e35f3c4cc84
Binary file
Binary file
@@ -24,21 +24,24 @@ module Sass
24
24
 
25
25
  @stdin.binmode
26
26
 
27
- @wait_thread.name = "sass-embedded-process-waiter-#{@wait_thread.pid}"
28
- end
27
+ # # https://dart.dev/tools/dart-devtools
28
+ # if 'dart' == File.basename(CLI::COMMAND.first, '.exe') && CLI::COMMAND.include?('--observe')
29
+ # Kernel.warn(@stdout.readline, uplevel: 0)
30
+ # Kernel.warn(@stdout.readline, uplevel: 0)
31
+ # end
29
32
 
30
- def listen(dispatcher)
31
- Thread.new do
32
- Thread.current.name = "sass-embedded-process-stdout-poller-#{@wait_thread.pid}"
33
+ @stdout.binmode
33
34
 
34
- # # https://dart.dev/tools/dart-devtools
35
- # if 'dart' == File.basename(CLI::COMMAND.first, '.exe') && CLI::COMMAND.include?('--observe')
36
- # Kernel.warn(@stdout.readline, uplevel: 0)
37
- # Kernel.warn(@stdout.readline, uplevel: 0)
38
- # end
35
+ @wait_thread.name = "sass-embedded-process-waiter-#{id}"
36
+ end
39
37
 
40
- @stdout.binmode
38
+ def id
39
+ @wait_thread.pid
40
+ end
41
41
 
42
+ def listen(dispatcher)
43
+ Thread.new do
44
+ Thread.current.name = "sass-embedded-process-stdout-poller-#{id}"
42
45
  loop do
43
46
  length = Varint.read(@stdout)
44
47
  id = Varint.read(@stdout)
@@ -53,7 +56,7 @@ module Sass
53
56
  end
54
57
 
55
58
  Thread.new do
56
- Thread.current.name = "sass-embedded-process-stderr-poller-#{@wait_thread.pid}"
59
+ Thread.current.name = "sass-embedded-process-stderr-poller-#{id}"
57
60
  loop do
58
61
  Kernel.warn(@stderr.readline, uplevel: 0)
59
62
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Sass
4
4
  module Embedded
5
- VERSION = '1.77.5'
5
+ VERSION = '1.77.8'
6
6
  end
7
7
  end
data/lib/sass/embedded.rb CHANGED
@@ -63,7 +63,7 @@ module Sass
63
63
  @last_accessed_time = current_time
64
64
 
65
65
  Thread.new do
66
- Thread.current.name = 'sass-embedded-process-reaper'
66
+ Thread.current.name = "sass-embedded-connection-reaper-#{@connection.id}"
67
67
  duration = idle_timeout
68
68
  loop do
69
69
  sleep(duration.negative? ? idle_timeout : duration)
@@ -61,6 +61,7 @@ module Sass
61
61
  end
62
62
 
63
63
  # An exception thrown by Sass Script.
64
+ # @!visibility private
64
65
  class ScriptError < StandardError
65
66
  def initialize(message, name = nil)
66
67
  super(name.nil? ? message : "$#{name}: #{message}")
metadata CHANGED
@@ -1,35 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sass-embedded
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.77.5
4
+ version: 1.77.8
5
5
  platform: arm64-darwin
6
6
  authors:
7
7
  - なつき
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-06-12 00:00:00.000000000 Z
11
+ date: 2024-07-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-protobuf
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '3.25'
20
- - - "<"
21
- - !ruby/object:Gem::Version
22
- version: '5.0'
19
+ version: '4.26'
23
20
  type: :runtime
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
26
23
  requirements:
27
- - - ">="
28
- - !ruby/object:Gem::Version
29
- version: '3.25'
30
- - - "<"
24
+ - - "~>"
31
25
  - !ruby/object:Gem::Version
32
- version: '5.0'
26
+ version: '4.26'
33
27
  description: A Ruby library that will communicate with Embedded Dart Sass using the
34
28
  Embedded Sass protocol.
35
29
  email:
@@ -94,8 +88,8 @@ licenses:
94
88
  - MIT
95
89
  metadata:
96
90
  bug_tracker_uri: https://github.com/sass-contrib/sass-embedded-host-ruby/issues
97
- documentation_uri: https://rubydoc.info/gems/sass-embedded/1.77.5
98
- source_code_uri: https://github.com/sass-contrib/sass-embedded-host-ruby/tree/v1.77.5
91
+ documentation_uri: https://rubydoc.info/gems/sass-embedded/1.77.8
92
+ source_code_uri: https://github.com/sass-contrib/sass-embedded-host-ruby/tree/v1.77.8
99
93
  funding_uri: https://github.com/sponsors/ntkme
100
94
  rubygems_mfa_required: 'true'
101
95
  post_install_message:
@@ -113,7 +107,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
113
107
  - !ruby/object:Gem::Version
114
108
  version: '0'
115
109
  requirements: []
116
- rubygems_version: 3.5.11
110
+ rubygems_version: 3.5.15
117
111
  signing_key:
118
112
  specification_version: 4
119
113
  summary: Use dart-sass with Ruby!