sass-embedded 1.3.1 → 1.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a0d279d7bc6a93591528492db93b21c1f00ff6b637d39703debb13fbecd937a2
4
- data.tar.gz: edd2e8994bb17e390666ddca6119eb98a15505fa8d027bec5fcf84e888eadca9
3
+ metadata.gz: bdbaf1b92dbb23be5406835322fe5be16ad5a88ca729e276ca3464e84ce3457b
4
+ data.tar.gz: 2adba1951d0ac939d9110b681253350cc28995880532fda1053029b68ae54f94
5
5
  SHA512:
6
- metadata.gz: 9c7204f218c8ef5093ae5fa0e97c2ff7c8ccb3835715e2ca0395c75364bc4d968342f243b6b343f3bd1266d52599063dadc6ae6b2767b1a72be57d173fa6b9ba
7
- data.tar.gz: b43a18999fe97a2576fb9c0be46ff3cc3169d0abf5c95a4e5e6f058aaac63c14d622d61520f1607930cf227c5664bd43aab8a8adf2ef91706156f324a8451921
6
+ metadata.gz: 1ff553788ccf9f09b849101886d068c176b332c6fa36659bbff03b33b3e97c0af3becb3e46f377b28dbe608ad829dd169e65613f47585cdf7bf87c26b6f77874
7
+ data.tar.gz: 7073a347363ebd6cb446b4acd4f3a817423f76e732bd1a91f1145cb8093751816e99af7db610f386d6baa49261e61bb065e675187f2d3ad2a5641034557288a7
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "dependencies": {
3
- "sass-embedded": "1.49.11"
3
+ "sass-embedded": "1.50.0"
4
4
  }
5
5
  }
@@ -9,7 +9,7 @@ module Sass
9
9
  # It runs the `dart-sass-embedded` process.
10
10
  class Compiler
11
11
  def initialize
12
- @stdin, @stdout, @stderr, @wait_thread = Open3.popen3(PATH)
12
+ @stdin, @stdout, @stderr, @wait_thread = Open3.popen3(PATH, chdir: __dir__)
13
13
  @stdin.binmode
14
14
  @stdout.binmode
15
15
  @stdin_mutex = Mutex.new
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Sass
4
4
  class Embedded
5
- VERSION = '1.3.1'
5
+ VERSION = '1.4.1'
6
6
  end
7
7
  end
data/lib/sass/embedded.rb CHANGED
@@ -2,19 +2,21 @@
2
2
 
3
3
  require_relative '../../ext/sass/embedded'
4
4
  require_relative '../../ext/sass/embedded_sass_pb'
5
+ require_relative 'compile_error'
6
+ require_relative 'compile_result'
5
7
  require_relative 'embedded/async'
6
8
  require_relative 'embedded/channel'
7
- require_relative 'embedded/compile_error'
8
- require_relative 'embedded/compile_result'
9
9
  require_relative 'embedded/compiler'
10
10
  require_relative 'embedded/dispatcher'
11
11
  require_relative 'embedded/host'
12
- require_relative 'embedded/logger'
13
12
  require_relative 'embedded/protofier'
14
13
  require_relative 'embedded/structifier'
15
- require_relative 'embedded/value'
16
14
  require_relative 'embedded/varint'
17
15
  require_relative 'embedded/version'
16
+ require_relative 'logger/silent'
17
+ require_relative 'logger/source_location'
18
+ require_relative 'logger/source_span'
19
+ require_relative 'value'
18
20
 
19
21
  # The Sass module.
20
22
  #
@@ -121,7 +123,6 @@ module Sass
121
123
  logger: nil,
122
124
  quiet_deps: false,
123
125
  verbose: false)
124
-
125
126
  raise ArgumentError, 'path must be set' if path.nil?
126
127
 
127
128
  Protofier.from_proto_compile_response(
@@ -1,8 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require_relative 'logger/source_location'
4
- require_relative 'logger/source_span'
5
-
6
3
  module Sass
7
4
  # A namespace for built-in Loggers.
8
5
  #
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
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.3.1
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - なつき
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-04-03 00:00:00.000000000 Z
11
+ date: 2022-04-09 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.26.0
61
+ version: 1.27.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.26.0
68
+ version: 1.27.0
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rubocop-performance
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -123,11 +123,11 @@ files:
123
123
  - ext/sass/package.json
124
124
  - ext/sass/unzip.vbs
125
125
  - lib/sass-embedded.rb
126
+ - lib/sass/compile_error.rb
127
+ - lib/sass/compile_result.rb
126
128
  - lib/sass/embedded.rb
127
129
  - lib/sass/embedded/async.rb
128
130
  - lib/sass/embedded/channel.rb
129
- - lib/sass/embedded/compile_error.rb
130
- - lib/sass/embedded/compile_result.rb
131
131
  - lib/sass/embedded/compiler.rb
132
132
  - lib/sass/embedded/dispatcher.rb
133
133
  - lib/sass/embedded/host.rb
@@ -136,32 +136,32 @@ files:
136
136
  - lib/sass/embedded/host/logger_registry.rb
137
137
  - lib/sass/embedded/host/no_op_importer.rb
138
138
  - lib/sass/embedded/host/value_protofier.rb
139
- - lib/sass/embedded/logger.rb
140
- - lib/sass/embedded/logger/source_location.rb
141
- - lib/sass/embedded/logger/source_span.rb
142
139
  - lib/sass/embedded/protofier.rb
143
- - lib/sass/embedded/script_error.rb
144
140
  - lib/sass/embedded/structifier.rb
145
- - lib/sass/embedded/value.rb
146
- - lib/sass/embedded/value/argument_list.rb
147
- - lib/sass/embedded/value/boolean.rb
148
- - lib/sass/embedded/value/color.rb
149
- - lib/sass/embedded/value/function.rb
150
- - lib/sass/embedded/value/fuzzy_math.rb
151
- - lib/sass/embedded/value/list.rb
152
- - lib/sass/embedded/value/map.rb
153
- - lib/sass/embedded/value/null.rb
154
- - lib/sass/embedded/value/number.rb
155
- - lib/sass/embedded/value/number/unit.rb
156
- - lib/sass/embedded/value/string.rb
157
141
  - lib/sass/embedded/varint.rb
158
142
  - lib/sass/embedded/version.rb
143
+ - lib/sass/logger/silent.rb
144
+ - lib/sass/logger/source_location.rb
145
+ - lib/sass/logger/source_span.rb
146
+ - lib/sass/script_error.rb
147
+ - lib/sass/value.rb
148
+ - lib/sass/value/argument_list.rb
149
+ - lib/sass/value/boolean.rb
150
+ - lib/sass/value/color.rb
151
+ - lib/sass/value/function.rb
152
+ - lib/sass/value/fuzzy_math.rb
153
+ - lib/sass/value/list.rb
154
+ - lib/sass/value/map.rb
155
+ - lib/sass/value/null.rb
156
+ - lib/sass/value/number.rb
157
+ - lib/sass/value/number/unit.rb
158
+ - lib/sass/value/string.rb
159
159
  homepage: https://github.com/ntkme/sass-embedded-host-ruby
160
160
  licenses:
161
161
  - MIT
162
162
  metadata:
163
- documentation_uri: https://rubydoc.info/gems/sass-embedded/1.3.1
164
- source_code_uri: https://github.com/ntkme/sass-embedded-host-ruby/tree/v1.3.1
163
+ documentation_uri: https://rubydoc.info/gems/sass-embedded/1.4.1
164
+ source_code_uri: https://github.com/ntkme/sass-embedded-host-ruby/tree/v1.4.1
165
165
  funding_uri: https://github.com/sponsors/ntkme
166
166
  post_install_message:
167
167
  rdoc_options: []