Hello community, here is the log from the commit of package rubygem-sass for openSUSE:Factory checked in at 2018-09-24 13:14:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-sass (Old) and /work/SRC/openSUSE:Factory/.rubygem-sass.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "rubygem-sass" Mon Sep 24 13:14:00 2018 rev:48 rq:637275 version:3.6.0 Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-sass/rubygem-sass.changes 2018-07-21 10:24:40.106965497 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-sass.new/rubygem-sass.changes 2018-09-24 13:14:01.673626874 +0200 @@ -1,0 +2,7 @@ +Thu Sep 20 11:06:00 UTC 2018 - mschnitzer@suse.com + +- updated to version 3.6.0 + + no changelog found + +------------------------------------------------------------------- Old: ---- sass-3.5.7.gem New: ---- sass-3.6.0.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-sass.spec ++++++ --- /var/tmp/diff_new_pack.5F9Mpf/_old 2018-09-24 13:14:02.289625806 +0200 +++ /var/tmp/diff_new_pack.5F9Mpf/_new 2018-09-24 13:14:02.293625799 +0200 @@ -24,7 +24,7 @@ # Name: rubygem-sass -Version: 3.5.7 +Version: 3.6.0 Release: 0 %define mod_name sass %define mod_full_name %{mod_name}-%{version} ++++++ sass-3.5.7.gem -> sass-3.6.0.gem ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/VERSION new/VERSION --- old/VERSION 2018-07-18 21:10:13.000000000 +0200 +++ new/VERSION 2018-09-19 19:19:09.000000000 +0200 @@ -1 +1 @@ -3.5.7 +3.6.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/VERSION_DATE new/VERSION_DATE --- old/VERSION_DATE 2018-07-18 21:10:13.000000000 +0200 +++ new/VERSION_DATE 2018-09-19 19:19:09.000000000 +0200 @@ -1 +1 @@ -18 July 2018 19:10:13 UTC +19 September 2018 17:19:09 UTC Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/extra/sass-spec-ref.sh new/extra/sass-spec-ref.sh --- old/extra/sass-spec-ref.sh 2018-07-18 21:10:13.000000000 +0200 +++ new/extra/sass-spec-ref.sh 2018-09-19 19:19:09.000000000 +0200 @@ -18,7 +18,15 @@
&2 echo "Fetching pull request $TRAVIS_PULL_REQUEST..."
-JSON=$(curl -L -sS https://api.github.com/repos/sass/sass/pulls/$TRAVIS_PULL_REQUEST) +url=https://api.github.com/repos/sass/ruby-sass/pulls/$TRAVIS_PULL_REQUEST +if [ -z "$GITHUB_AUTH" ]; then + >&2 echo "Fetching pull request info without authentication" + JSON=$(curl -L -sS $url) +else + >&2 echo "Fetching pull request info as sassbot" + JSON=$(curl -u "sassbot:$GITHUB_AUTH" -L -sS $url) +fi +>&2 echo "$JSON" RE_SPEC_PR="sass\/sass-spec(#|\/pull\/)([0-9]+)" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/sass/importers/filesystem.rb new/lib/sass/importers/filesystem.rb --- old/lib/sass/importers/filesystem.rb 2018-07-18 21:10:13.000000000 +0200 +++ new/lib/sass/importers/filesystem.rb 2018-09-19 19:19:09.000000000 +0200 @@ -154,7 +154,9 @@ [Sass::Util.cleanpath(full_path).to_s, s] end end.flatten(1) - return if found.empty? + if found.empty? && split(name)[2].nil? && File.directory?("#{dir}/#{name}") + return find_real_file("#{dir}/#{name}", "index", options) + end if found.size > 1 && !@same_name_warnings.include?(found.first.first) found.each {|(f, _)| @same_name_warnings << f} @@ -202,7 +204,7 @@ def _find(dir, name, options) full_filename, syntax = Sass::Util.destructure(find_real_file(dir, name, options)) - return unless full_filename && File.readable?(full_filename) + return unless full_filename && File.file?(full_filename) && File.readable?(full_filename) # TODO: this preserves historical behavior, but it's possible # :filename should be either normalized to the native format diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/sass/script/lexer.rb new/lib/sass/script/lexer.rb --- old/lib/sass/script/lexer.rb 2018-07-18 21:10:13.000000000 +0200 +++ new/lib/sass/script/lexer.rb 2018-09-19 19:19:09.000000000 +0200 @@ -368,24 +368,20 @@ # IDs in properties are used in the Basic User Interface Module # (http://www.w3.org/TR/css3-ui/). return unless scan(REGULAR_EXPRESSIONS[:id]) - if @scanner[0] =~ /^\#[0-9a-fA-F]+$/ - if @scanner[0].length == 4 || @scanner[0].length == 7 - return [:color, Script::Value::Color.from_hex(@scanner[0])] - elsif @scanner[0].length == 5 || @scanner[0].length == 9 - filename = @options[:filename] - Sass::Util.sass_warn <<MESSAGE -DEPRECATION WARNING on line #{line}, column #{offset}#{" of #{filename}" if filename}: -The value "#{@scanner[0]}" is currently parsed as a string, but it will be parsed as a color in -future versions of Sass. Use "unquote('#{@scanner[0]}')" to continue parsing it as a string. -MESSAGE - end + if @scanner[0] =~ /^\#[0-9a-fA-F]+$/ && + (@scanner[0].length == 4 || @scanner[0].length == 5 || + @scanner[0].length == 7 || @scanner[0].length == 9) + return [:color, Script::Value::Color.from_hex(@scanner[0])] end [:ident, @scanner[0]] end def color return unless @scanner.match?(REGULAR_EXPRESSIONS[:color]) - return unless @scanner[0].length == 4 || @scanner[0].length == 7 + unless @scanner[0].length == 4 || @scanner[0].length == 5 || + @scanner[0].length == 7 || @scanner[0].length == 9 + return + end script_color = Script::Value::Color.from_hex(scan(REGULAR_EXPRESSIONS[:color])) [:color, script_color] end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/sass/script/value/color.rb new/lib/sass/script/value/color.rb --- old/lib/sass/script/value/color.rb 2018-07-18 21:10:13.000000000 +0200 +++ new/lib/sass/script/value/color.rb 2018-09-19 19:19:09.000000000 +0200 @@ -277,13 +277,14 @@ # # @return [Color] def self.from_hex(hex_string, alpha = nil) - unless hex_string =~ /^#?([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/i || - hex_string =~ /^#?([0-9a-f])([0-9a-f])([0-9a-f])$/i + unless hex_string =~ /^#?([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})?$/i || + hex_string =~ /^#?([0-9a-f])([0-9a-f])([0-9a-f])([0-9a-f])?$/i raise ArgumentError.new("#{hex_string.inspect} is not a valid hex color.") end red = $1.ljust(2, $1).to_i(16) green = $2.ljust(2, $2).to_i(16) blue = $3.ljust(2, $3).to_i(16) + alpha = $4.ljust(2, $4).to_i(16).to_f / 0xff if $4 hex_string = "##{hex_string}" unless hex_string[0] == ?# attrs = {:red => red, :green => green, :blue => blue, :representation => hex_string} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata 2018-07-18 21:10:13.000000000 +0200 +++ new/metadata 2018-09-19 19:19:09.000000000 +0200 @@ -1,7 +1,7 @@ --- !ruby/object:Gem::Specification name: sass version: !ruby/object:Gem::Version - version: 3.5.7 + version: 3.6.0 platform: ruby authors: - Natalie Weizenbaum @@ -10,7 +10,7 @@ autorequire: bindir: bin cert_chain: [] -date: 2018-07-18 00:00:00.000000000 Z +date: 2018-09-19 00:00:00.000000000 Z dependencies: - !ruby/object:Gem::Dependency name: sass-listen diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/test/sass/script_test.rb new/test/sass/script_test.rb --- old/test/sass/script_test.rb 2018-07-18 21:10:13.000000000 +0200 +++ new/test/sass/script_test.rb 2018-09-19 19:19:09.000000000 +0200 @@ -609,8 +609,6 @@ assert_raise_message(Sass::SyntaxError, 'Invalid CSS after "": expected expression (e.g. 1px, bold), was "#12"') {eval("#12")} assert_raise_message(Sass::SyntaxError, - 'Invalid CSS after "": expected expression (e.g. 1px, bold), was "#1234"') {eval("#1234")} - assert_raise_message(Sass::SyntaxError, 'Invalid CSS after "": expected expression (e.g. 1px, bold), was "#12345"') {eval("#12345")} assert_raise_message(Sass::SyntaxError, 'Invalid CSS after "": expected expression (e.g. ' \ '1px, bold), was "#1234567"') {eval("#1234567")} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/test/sass/value_helpers_test.rb new/test/sass/value_helpers_test.rb --- old/test/sass/value_helpers_test.rb 2018-07-18 21:10:13.000000000 +0200 +++ new/test/sass/value_helpers_test.rb 2018-09-19 19:19:09.000000000 +0200 @@ -40,7 +40,7 @@ hex_color("green") end assert_raises ArgumentError do - hex_color("#abcd") + hex_color("#abcde") end end