sass-embedded 1.76.0-x86-linux-gnu → 1.77.0-x86-linux-gnu
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 +4 -4
- data/exe/sass +1 -1
- data/ext/sass/cli.rb +18 -1
- data/ext/sass/dart-sass/src/LICENSE +33 -0
- data/ext/sass/dart-sass/src/sass.snapshot +0 -0
- data/lib/sass/compiler/connection.rb +3 -1
- data/lib/sass/compiler/dispatcher.rb +2 -1
- data/lib/sass/compiler/host.rb +1 -1
- data/lib/sass/embedded/version.rb +1 -1
- data/lib/sass/exception.rb +1 -1
- metadata +5 -5
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: fc92e0796fd0de070c57e68a63698eac79c0f15e92cbc28fb52c6e8ae1dd2f93
         | 
| 4 | 
            +
              data.tar.gz: bc881381d2a13b13dbe4f3f5e60e5c7b41846415c9fb0e87087e7bad9c9f425e
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 0a32262030e22b16e04705b470c8259d1f4a19a8d7e21fe82f046581a8ae437556d0ed85824341dce00e8fa7baddc055021becae2967331de92f3c3b4020b3e2
         | 
| 7 | 
            +
              data.tar.gz: f6187eb233a14f6ef17d1beacb24c5c9ee9fc16483ce02d1a89a433783600bb106334757b3a727793ecdc8cef0b40bc5679f5b34dc13d09eda15048113d9a6bc
         | 
    
        data/exe/sass
    CHANGED
    
    
    
        data/ext/sass/cli.rb
    CHANGED
    
    | @@ -1,7 +1,24 @@ | |
| 1 1 | 
             
            # frozen_string_literal: true
         | 
| 2 2 |  | 
| 3 | 
            +
            spec = Gem.loaded_specs['sass-embedded']
         | 
| 4 | 
            +
            platform = spec&.platform
         | 
| 5 | 
            +
            if platform.is_a?(Gem::Platform) && platform.os == 'linux' && platform.version.nil?
         | 
| 6 | 
            +
              update = if Gem.disable_system_update_message
         | 
| 7 | 
            +
                         'updating Ruby to version 3.2 or later'
         | 
| 8 | 
            +
                       else
         | 
| 9 | 
            +
                         "running 'gem update --system' to update RubyGems"
         | 
| 10 | 
            +
                       end
         | 
| 11 | 
            +
              install = if defined?(Bundler)
         | 
| 12 | 
            +
                          "running 'rm -f Gemfile.lock && bundle install'"
         | 
| 13 | 
            +
                        else
         | 
| 14 | 
            +
                          "running 'gem install sass-embedded'"
         | 
| 15 | 
            +
                        end
         | 
| 16 | 
            +
              raise LoadError, "The gemspec for #{spec.name} at #{spec.loaded_from} was broken. " \
         | 
| 17 | 
            +
                               "Try #{update}, and then try #{install} to reinstall."
         | 
| 18 | 
            +
            end
         | 
| 19 | 
            +
             | 
| 3 20 | 
             
            module Sass
         | 
| 4 | 
            -
               | 
| 21 | 
            +
              module CLI
         | 
| 5 22 | 
             
                COMMAND = [
         | 
| 6 23 | 
             
                  File.absolute_path('dart-sass/src/dart', __dir__).freeze,
         | 
| 7 24 | 
             
                  File.absolute_path('dart-sass/src/sass.snapshot', __dir__).freeze
         | 
| @@ -1635,6 +1635,39 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | |
| 1635 1635 | 
             
            OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
         | 
| 1636 1636 |  | 
| 1637 1637 |  | 
| 1638 | 
            +
            --------------------------------------------------------------------------------
         | 
| 1639 | 
            +
             | 
| 1640 | 
            +
            web_socket license:
         | 
| 1641 | 
            +
             | 
| 1642 | 
            +
            Copyright 2024, the Dart project authors. 
         | 
| 1643 | 
            +
             | 
| 1644 | 
            +
            Redistribution and use in source and binary forms, with or without
         | 
| 1645 | 
            +
            modification, are permitted provided that the following conditions are
         | 
| 1646 | 
            +
            met:
         | 
| 1647 | 
            +
             | 
| 1648 | 
            +
                * Redistributions of source code must retain the above copyright
         | 
| 1649 | 
            +
                  notice, this list of conditions and the following disclaimer.
         | 
| 1650 | 
            +
                * Redistributions in binary form must reproduce the above
         | 
| 1651 | 
            +
                  copyright notice, this list of conditions and the following
         | 
| 1652 | 
            +
                  disclaimer in the documentation and/or other materials provided
         | 
| 1653 | 
            +
                  with the distribution.
         | 
| 1654 | 
            +
                * Neither the name of Google LLC nor the names of its
         | 
| 1655 | 
            +
                  contributors may be used to endorse or promote products derived
         | 
| 1656 | 
            +
                  from this software without specific prior written permission.
         | 
| 1657 | 
            +
             | 
| 1658 | 
            +
            THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
         | 
| 1659 | 
            +
            "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
         | 
| 1660 | 
            +
            LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
         | 
| 1661 | 
            +
            A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
         | 
| 1662 | 
            +
            OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
         | 
| 1663 | 
            +
            SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
         | 
| 1664 | 
            +
            LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
         | 
| 1665 | 
            +
            DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
         | 
| 1666 | 
            +
            THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
         | 
| 1667 | 
            +
            (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
         | 
| 1668 | 
            +
            OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
         | 
| 1669 | 
            +
             | 
| 1670 | 
            +
             | 
| 1638 1671 | 
             
            --------------------------------------------------------------------------------
         | 
| 1639 1672 |  | 
| 1640 1673 | 
             
            yaml license:
         | 
| Binary file | 
| @@ -10,7 +10,7 @@ module Sass | |
| 10 10 | 
             
                #
         | 
| 11 11 | 
             
                # It runs the `sass --embedded` command.
         | 
| 12 12 | 
             
                class Connection
         | 
| 13 | 
            -
                  def initialize | 
| 13 | 
            +
                  def initialize
         | 
| 14 14 | 
             
                    @mutex = Mutex.new
         | 
| 15 15 | 
             
                    @stdin, @stdout, @stderr, @wait_thread = begin
         | 
| 16 16 | 
             
                      Open3.popen3(*CLI::COMMAND, '--embedded', chdir: __dir__)
         | 
| @@ -23,7 +23,9 @@ module Sass | |
| 23 23 | 
             
                    end
         | 
| 24 24 |  | 
| 25 25 | 
             
                    @stdin.binmode
         | 
| 26 | 
            +
                  end
         | 
| 26 27 |  | 
| 28 | 
            +
                  def listen(dispatcher)
         | 
| 27 29 | 
             
                    Thread.new do
         | 
| 28 30 | 
             
                      Thread.current.name = "sass-embedded-process-stdout-poller-#{@wait_thread.pid}"
         | 
| 29 31 |  | 
    
        data/lib/sass/compiler/host.rb
    CHANGED
    
    | @@ -36,7 +36,7 @@ module Sass | |
| 36 36 | 
             
                                      quiet_deps:,
         | 
| 37 37 | 
             
                                      silence_deprecations:,
         | 
| 38 38 | 
             
                                      verbose:)
         | 
| 39 | 
            -
                    alert_color = Exception. | 
| 39 | 
            +
                    alert_color = Exception.to_tty? if alert_color.nil?
         | 
| 40 40 |  | 
| 41 41 | 
             
                    @function_registry = FunctionRegistry.new(functions, alert_color:)
         | 
| 42 42 | 
             
                    @importer_registry = ImporterRegistry.new(importers, load_paths, alert_color:)
         | 
    
        data/lib/sass/exception.rb
    CHANGED
    
    | @@ -26,7 +26,7 @@ module Sass | |
| 26 26 | 
             
                def full_message(highlight: nil, order: nil, **)
         | 
| 27 27 | 
             
                  return super if @full_message.nil?
         | 
| 28 28 |  | 
| 29 | 
            -
                  highlight = Exception. | 
| 29 | 
            +
                  highlight = Exception.to_tty? if highlight.nil?
         | 
| 30 30 | 
             
                  if highlight
         | 
| 31 31 | 
             
                    @full_message.dup
         | 
| 32 32 | 
             
                  else
         | 
    
        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. | 
| 4 | 
            +
              version: 1.77.0
         | 
| 5 5 | 
             
            platform: x86-linux-gnu
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - なつき
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: exe
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2024-05- | 
| 11 | 
            +
            date: 2024-05-07 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: google-protobuf
         | 
| @@ -94,8 +94,8 @@ licenses: | |
| 94 94 | 
             
            - MIT
         | 
| 95 95 | 
             
            metadata:
         | 
| 96 96 | 
             
              bug_tracker_uri: https://github.com/sass-contrib/sass-embedded-host-ruby/issues
         | 
| 97 | 
            -
              documentation_uri: https://rubydoc.info/gems/sass-embedded/1. | 
| 98 | 
            -
              source_code_uri: https://github.com/sass-contrib/sass-embedded-host-ruby/tree/v1. | 
| 97 | 
            +
              documentation_uri: https://rubydoc.info/gems/sass-embedded/1.77.0
         | 
| 98 | 
            +
              source_code_uri: https://github.com/sass-contrib/sass-embedded-host-ruby/tree/v1.77.0
         | 
| 99 99 | 
             
              funding_uri: https://github.com/sponsors/ntkme
         | 
| 100 100 | 
             
              rubygems_mfa_required: 'true'
         | 
| 101 101 | 
             
            post_install_message: 
         | 
| @@ -113,7 +113,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement | |
| 113 113 | 
             
                - !ruby/object:Gem::Version
         | 
| 114 114 | 
             
                  version: '0'
         | 
| 115 115 | 
             
            requirements: []
         | 
| 116 | 
            -
            rubygems_version: 3.5. | 
| 116 | 
            +
            rubygems_version: 3.5.10
         | 
| 117 117 | 
             
            signing_key: 
         | 
| 118 118 | 
             
            specification_version: 4
         | 
| 119 119 | 
             
            summary: Use dart-sass with Ruby!
         |