Hello community,
here is the log from the commit of package rubygem-sass for openSUSE:Factory checked in at 2015-06-12 20:30:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-sass (Old)
and /work/SRC/openSUSE:Factory/.rubygem-sass.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-sass"
Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-sass/rubygem-sass.changes 2015-03-01 14:46:40.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-sass.new/rubygem-sass.changes 2015-06-12 20:30:33.000000000 +0200
@@ -1,0 +2,6 @@
+Thu May 28 04:33:45 UTC 2015 - coolo@suse.com
+
+- updated to version 3.4.14
+ see installed CHANGELOG.md
+
+-------------------------------------------------------------------
Old:
----
sass-3.4.13.gem
New:
----
sass-3.4.14.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-sass.spec ++++++
--- /var/tmp/diff_new_pack.h0oG1i/_old 2015-06-12 20:30:35.000000000 +0200
+++ /var/tmp/diff_new_pack.h0oG1i/_new 2015-06-12 20:30:35.000000000 +0200
@@ -24,7 +24,7 @@
#
Name: rubygem-sass
-Version: 3.4.13
+Version: 3.4.14
Release: 0
%define mod_name sass
%define mod_full_name %{mod_name}-%{version}
++++++ sass-3.4.13.gem -> sass-3.4.14.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MIT-LICENSE new/MIT-LICENSE
--- old/MIT-LICENSE 2015-02-27 03:28:59.000000000 +0100
+++ new/MIT-LICENSE 2015-05-23 04:17:06.000000000 +0200
@@ -1,4 +1,4 @@
-Copyright (c) 2006-2014 Hampton Catlin, Natalie Weizenbaum, and Chris Eppstein
+Copyright (c) 2006-2015 Hampton Catlin, Natalie Weizenbaum, and Chris Eppstein
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/VERSION new/VERSION
--- old/VERSION 2015-02-27 03:28:59.000000000 +0100
+++ new/VERSION 2015-05-23 04:17:06.000000000 +0200
@@ -1 +1 @@
-3.4.13
+3.4.14
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/VERSION_DATE new/VERSION_DATE
--- old/VERSION_DATE 2015-02-27 03:28:59.000000000 +0100
+++ new/VERSION_DATE 2015-05-23 04:17:06.000000000 +0200
@@ -1 +1 @@
-27 February 2015 02:28:58 UTC
+23 May 2015 02:17:06 UTC
Files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/sass/cache_stores/filesystem.rb new/lib/sass/cache_stores/filesystem.rb
--- old/lib/sass/cache_stores/filesystem.rb 2015-02-27 03:28:59.000000000 +0100
+++ new/lib/sass/cache_stores/filesystem.rb 2015-05-23 04:17:06.000000000 +0200
@@ -17,12 +17,12 @@
# @see Base#\_retrieve
def _retrieve(key, version, sha)
return unless File.readable?(path_to(key))
- File.open(path_to(key), "rb") do |f|
- if f.readline("\n").strip == version && f.readline("\n").strip == sha
- return f.read
- end
- end
begin
+ File.open(path_to(key), "rb") do |f|
+ if f.readline("\n").strip == version && f.readline("\n").strip == sha
+ return f.read
+ end
+ end
File.unlink path_to(key)
rescue Errno::ENOENT
# Already deleted. Race condition?
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/sass/engine.rb new/lib/sass/engine.rb
--- old/lib/sass/engine.rb 2015-02-27 03:28:59.000000000 +0100
+++ new/lib/sass/engine.rb 2015-05-23 04:17:06.000000000 +0200
@@ -84,7 +84,7 @@
# This class handles the parsing and compilation of the Sass template.
# Example usage:
#
- # template = File.load('stylesheets/sassy.sass')
+ # template = File.read('stylesheets/sassy.sass')
# sass_engine = Sass::Engine.new(template)
# output = sass_engine.render
# puts output
@@ -157,7 +157,7 @@
# @api public
DEFAULT_OPTIONS = {
:style => :nested,
- :load_paths => ['.'],
+ :load_paths => [],
:cache => true,
:cache_location => './.sass-cache',
:syntax => :sass,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/sass/script/functions.rb new/lib/sass/script/functions.rb
--- old/lib/sass/script/functions.rb 2015-02-27 03:28:59.000000000 +0100
+++ new/lib/sass/script/functions.rb 2015-05-23 04:17:06.000000000 +0200
@@ -217,7 +217,7 @@
# for selector arguments. They can take a plain string, a list of
# lists as returned by `&` or anything in between:
#
- # * A plain sring, such as `".foo .bar, .baz .bang"`.
+ # * A plain string, such as `".foo .bar, .baz .bang"`.
# * A space-separated list of strings such as `(".foo" ".bar")`.
# * A comma-separated list of strings such as `(".foo .bar", ".baz .bang")`.
# * A comma-separated list of space-separated lists of strings such
@@ -1398,6 +1398,15 @@
# @raise [ArgumentError] if `$string` isn't a string
def unquote(string)
unless string.is_a?(Sass::Script::Value::String)
+ # Don't warn multiple times for the same source line.
+ # rubocop:disable GlobalVars
+ $_sass_warned_for_unquote ||= Set.new
+ frame = environment.stack.frames.last
+ key = [frame.filename, frame.line] if frame
+ return string if frame && $_sass_warned_for_unquote.include?(key)
+ $_sass_warned_for_unquote << key if frame
+ # rubocop:enable GlobalVars
+
Sass::Util.sass_warn(< red, :green => green, :blue => blue}
@attrs[:alpha] = attrs[3] ? attrs[3].to_f : 1
@representation = representation
@@ -258,7 +258,7 @@
[:red, :green, :blue].each do |k|
next if @attrs[k].nil?
- @attrs[k] = Sass::Util.restrict(@attrs[k].to_i, 0..255)
+ @attrs[k] = Sass::Util.restrict(@attrs[k].round, 0..255)
end
[:saturation, :lightness].each do |k|
@@ -283,7 +283,7 @@
green = $2.ljust(2, $2).to_i(16)
blue = $3.ljust(2, $3).to_i(16)
- hex_string = '##{hex_string}' unless hex_string[0] == ?#
+ hex_string = "##{hex_string}" unless hex_string[0] == ?#
attrs = {:red => red, :green => green, :blue => blue, :representation => hex_string}
attrs[:alpha] = alpha if alpha
new(attrs)
@@ -382,7 +382,7 @@
# @return [Array<Fixnum>] A frozen four-element array of the hue,
# saturation, lightness, and alpha values (respectively) of the color
def hsla
- [hue, saturation, lightness].freeze
+ [hue, saturation, lightness, alpha].freeze
end
# The SassScript `==` operation.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/sass/scss/parser.rb new/lib/sass/scss/parser.rb
--- old/lib/sass/scss/parser.rb 2015-02-27 03:28:59.000000000 +0100
+++ new/lib/sass/scss/parser.rb 2015-05-23 04:17:06.000000000 +0200
@@ -562,7 +562,9 @@
def supports_operator
cond = supports_condition_in_parens
return unless cond
- while (op = tok(/and|or/i))
+ re = /and|or/i
+ while (op = tok(re))
+ re = /#{op}/i
ss
cond = Sass::Supports::Operator.new(
cond, expr!(:supports_condition_in_parens), op)
@@ -586,11 +588,6 @@
end
end
- def supports_declaration_condition
- return unless tok(/\(/); ss
- supports_declaration_body
- end
-
def supports_interpolation
interp = interpolation
return unless interp
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/sass/supports.rb new/lib/sass/supports.rb
--- old/lib/sass/supports.rb 2015-02-27 03:28:59.000000000 +0100
+++ new/lib/sass/supports.rb 2015-05-23 04:17:06.000000000 +0200
@@ -58,11 +58,11 @@
end
def to_css
- "#{left_parens @left.to_css} #{op} #{right_parens @right.to_css}"
+ "#{parens @left, @left.to_css} #{op} #{parens @right, @right.to_css}"
end
def to_src(options)
- "#{left_parens @left.to_src(options)} #{op} #{right_parens @right.to_src(options)}"
+ "#{parens @left, @left.to_src(options)} #{op} #{parens @right, @right.to_src(options)}"
end
def deep_copy
@@ -79,14 +79,12 @@
private
- def left_parens(str)
- return "(#{str})" if @left.is_a?(Negation)
- str
- end
-
- def right_parens(str)
- return "(#{str})" if @right.is_a?(Negation) || @right.is_a?(Operator)
- str
+ def parens(condition, str)
+ if condition.is_a?(Negation) || (condition.is_a?(Operator) && condition.op != op)
+ return "(#{str})"
+ else
+ return str
+ end
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/sass/tree/import_node.rb new/lib/sass/tree/import_node.rb
--- old/lib/sass/tree/import_node.rb 2015-02-27 03:28:59.000000000 +0100
+++ new/lib/sass/tree/import_node.rb 2015-05-23 04:17:06.000000000 +0200
@@ -55,13 +55,14 @@
return f if f
end
- message = "File to import not found or unreadable: #{@imported_filename}.\n"
+ lines = ["File to import not found or unreadable: #{@imported_filename}."]
+
if paths.size == 1
- message << "Load path: #{paths.first}"
- else
- message << "Load paths:\n " << paths.join("\n ")
+ lines << "Load path: #{paths.first}"
+ elsif !paths.empty?
+ lines << "Load paths:\n #{paths.join("\n ")}"
end
- raise SyntaxError.new(message)
+ raise SyntaxError.new(lines.join("\n"))
rescue SyntaxError => e
raise SyntaxError.new(e.message, :line => line, :filename => @filename)
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2015-02-27 03:28:59.000000000 +0100
+++ new/metadata 2015-05-23 04:17:06.000000000 +0200
@@ -1,7 +1,7 @@
--- !ruby/object:Gem::Specification
name: sass
version: !ruby/object:Gem::Version
- version: 3.4.13
+ version: 3.4.14
platform: ruby
authors:
- Natalie Weizenbaum
@@ -10,55 +10,54 @@
autorequire:
bindir: bin
cert_chain: []
-date: 2015-02-27 00:00:00.000000000 Z
+date: 2015-05-23 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: yard
requirement: !ruby/object:Gem::Requirement
requirements:
- - - '>='
+ - - ! '>='
- !ruby/object:Gem::Version
version: 0.5.3
type: :development
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - - '>='
+ - - ! '>='
- !ruby/object:Gem::Version
version: 0.5.3
- !ruby/object:Gem::Dependency
name: maruku
requirement: !ruby/object:Gem::Requirement
requirements:
- - - '>='
+ - - ! '>='
- !ruby/object:Gem::Version
version: 0.5.9
type: :development
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - - '>='
+ - - ! '>='
- !ruby/object:Gem::Version
version: 0.5.9
- !ruby/object:Gem::Dependency
name: minitest
requirement: !ruby/object:Gem::Requirement
requirements:
- - - '>='
+ - - ! '>='
- !ruby/object:Gem::Version
version: '5'
type: :development
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - - '>='
+ - - ! '>='
- !ruby/object:Gem::Version
version: '5'
-description: |2
- Sass makes CSS fun again. Sass is an extension of CSS3, adding
- nested rules, variables, mixins, selector inheritance, and more.
- It's translated to well-formatted, standard CSS using the
- command line tool or a web-framework plugin.
+description: ! " Sass makes CSS fun again. Sass is an extension of CSS3, adding\n
+ \ nested rules, variables, mixins, selector inheritance, and more.\n It's
+ translated to well-formatted, standard CSS using the\n command line tool or
+ a web-framework plugin.\n"
email: sass-lang@googlegroups.com
executables:
- sass
@@ -381,43 +380,43 @@
- lib
required_ruby_version: !ruby/object:Gem::Requirement
requirements:
- - - '>='
+ - - ! '>='
- !ruby/object:Gem::Version
version: 1.8.7
required_rubygems_version: !ruby/object:Gem::Requirement
requirements:
- - - '>='
+ - - ! '>='
- !ruby/object:Gem::Version
version: '0'
requirements: []
rubyforge_project: sass
-rubygems_version: 2.2.2
+rubygems_version: 2.4.3
signing_key:
specification_version: 4
summary: A powerful but elegant CSS compiler that makes CSS fun again.
test_files:
+- test/sass/importer_test.rb
+- test/sass/engine_test.rb
- test/sass/value_helpers_test.rb
-- test/sass/conversion_test.rb
-- test/sass/cache_test.rb
-- test/sass/script_test.rb
- test/sass/superselector_test.rb
-- test/sass/callbacks_test.rb
-- test/sass/source_map_test.rb
-- test/sass/script_conversion_test.rb
-- test/sass/util_test.rb
-- test/sass/plugin_test.rb
-- test/sass/extend_test.rb
-- test/sass/scss/rx_test.rb
-- test/sass/scss/css_test.rb
-- test/sass/scss/scss_test.rb
- test/sass/logger_test.rb
-- test/sass/importer_test.rb
+- test/sass/util_test.rb
+- test/sass/cache_test.rb
- test/sass/encoding_test.rb
-- test/sass/engine_test.rb
-- test/sass/exec_test.rb
-- test/sass/util/normalized_map_test.rb
+- test/sass/source_map_test.rb
+- test/sass/css2sass_test.rb
+- test/sass/plugin_test.rb
+- test/sass/conversion_test.rb
- test/sass/util/subset_map_test.rb
- test/sass/util/multibyte_string_scanner_test.rb
+- test/sass/util/normalized_map_test.rb
+- test/sass/exec_test.rb
+- test/sass/scss/rx_test.rb
+- test/sass/scss/scss_test.rb
+- test/sass/scss/css_test.rb
+- test/sass/callbacks_test.rb
- test/sass/functions_test.rb
+- test/sass/extend_test.rb
+- test/sass/script_conversion_test.rb
+- test/sass/script_test.rb
- test/sass/compiler_test.rb
-- test/sass/css2sass_test.rb
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/test/sass/conversion_test.rb new/test/sass/conversion_test.rb
--- old/test/sass/conversion_test.rb 2015-02-27 03:28:59.000000000 +0100
+++ new/test/sass/conversion_test.rb 2015-05-23 04:17:06.000000000 +0200
@@ -1311,7 +1311,7 @@
$feature: feature2
$val: val
-@supports \#{$query} and ($feature: $val) or (not ($feature + 3: $val + 4))
+@supports (\#{$query} and ($feature: $val)) or (not ($feature + 3: $val + 4))
foo
a: b
SASS
@@ -1319,7 +1319,7 @@
$feature: feature2;
$val: val;
-@supports \#{$query} and ($feature: $val) or (not ($feature + 3: $val + 4)) {
+@supports (\#{$query} and ($feature: $val)) or (not ($feature + 3: $val + 4)) {
foo {
a: b;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/test/sass/engine_test.rb new/test/sass/engine_test.rb
--- old/test/sass/engine_test.rb 2015-02-27 03:28:59.000000000 +0100
+++ new/test/sass/engine_test.rb 2015-05-23 04:17:06.000000000 +0200
@@ -680,7 +680,6 @@
def test_nonexistent_import
assert_raise_message(Sass::SyntaxError, <