Hello community,

here is the log from the commit of package rubygem-sass for openSUSE:Factory 
checked in at 2015-06-24 20:53:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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-06-12 20:30:33.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-sass.new/rubygem-sass.changes   
2015-06-24 20:53:36.000000000 +0200
@@ -1,0 +2,6 @@
+Tue Jun 23 04:31:48 UTC 2015 - co...@suse.com
+
+- updated to version 3.4.15
+ see installed CHANGELOG.md
+
+-------------------------------------------------------------------

Old:
----
  sass-3.4.14.gem

New:
----
  sass-3.4.15.gem

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ rubygem-sass.spec ++++++
--- /var/tmp/diff_new_pack.XQCKVR/_old  2015-06-24 20:53:37.000000000 +0200
+++ /var/tmp/diff_new_pack.XQCKVR/_new  2015-06-24 20:53:37.000000000 +0200
@@ -24,7 +24,7 @@
 #
 
 Name:           rubygem-sass
-Version:        3.4.14
+Version:        3.4.15
 Release:        0
 %define mod_name sass
 %define mod_full_name %{mod_name}-%{version}

++++++ sass-3.4.14.gem -> sass-3.4.15.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/README.md new/README.md
--- old/README.md       2015-05-23 04:17:06.000000000 +0200
+++ new/README.md       2015-06-23 02:43:29.000000000 +0200
@@ -199,7 +199,7 @@
 Francisco, California and works as VP of Technology
 at [Moovweb](http://www.moovweb.com/).
 
-[Natalie Weizenbaum](http://nex-3.com) is the primary developer and architect 
of
+[Natalie Weizenbaum](https://twitter.com/nex3) is the primary developer and 
architect of
 Sass. Her hard work has kept the project alive by endlessly answering forum
 posts, fixing bugs, refactoring, finding speed improvements, writing
 documentation, implementing new features, and getting Hampton coffee (a fitting
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/VERSION new/VERSION
--- old/VERSION 2015-05-23 04:17:06.000000000 +0200
+++ new/VERSION 2015-06-23 02:43:29.000000000 +0200
@@ -1 +1 @@
-3.4.14
+3.4.15
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/VERSION_DATE new/VERSION_DATE
--- old/VERSION_DATE    2015-05-23 04:17:06.000000000 +0200
+++ new/VERSION_DATE    2015-06-23 02:43:29.000000000 +0200
@@ -1 +1 @@
-23 May 2015 02:17:06 UTC
+23 June 2015 00:43:28 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/engine.rb new/lib/sass/engine.rb
--- old/lib/sass/engine.rb      2015-05-23 04:17:06.000000000 +0200
+++ new/lib/sass/engine.rb      2015-06-23 02:43:29.000000000 +0200
@@ -192,6 +192,16 @@
         options[:filesystem_importer].new(p.to_s)
       end
 
+      # Remove any deprecated importers if the location is imported explicitly
+      options[:load_paths].reject! do |importer|
+        importer.is_a?(Sass::Importers::DeprecatedPath) &&
+          options[:load_paths].find do |other_importer|
+            other_importer.is_a?(Sass::Importers::Filesystem) &&
+              other_importer != importer &&
+              other_importer.root == importer.root
+          end
+      end
+
       # Backwards compatibility
       options[:property_syntax] ||= options[:attribute_syntax]
       case options[:property_syntax]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/sass/exec/sass_scss.rb 
new/lib/sass/exec/sass_scss.rb
--- old/lib/sass/exec/sass_scss.rb      2015-05-23 04:17:06.000000000 +0200
+++ new/lib/sass/exec/sass_scss.rb      2015-06-23 02:43:29.000000000 +0200
@@ -174,6 +174,9 @@
               'Read input from standard input instead of an input file.',
               'This is the default if no input file is specified.') do
         @options[:input] = $stdin
+
+        # See issue 1745
+        (@options[:for_engine][:load_paths] ||= []) << 
::Sass::Importers::DeprecatedPath.new(".")
       end
 
       encoding_option(opts)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/sass/importers/deprecated_path.rb 
new/lib/sass/importers/deprecated_path.rb
--- old/lib/sass/importers/deprecated_path.rb   1970-01-01 01:00:00.000000000 
+0100
+++ new/lib/sass/importers/deprecated_path.rb   2015-06-23 02:43:29.000000000 
+0200
@@ -0,0 +1,51 @@
+module Sass
+  module Importers
+    # This importer emits a deprecation warning the first time it is used to
+    # import a file. It is used to deprecate the current working
+    # directory from the list of automatic sass load paths.
+    class DeprecatedPath < Filesystem
+      # @param root [String] The absolute, expanded path to the folder that is 
deprecated.
+      def initialize(root)
+        @specified_root = root
+        @warning_given = false
+        super
+      end
+
+      # @see Sass::Importers::Base#find
+      def find(*args)
+        found = super
+        if found && !@warning_given
+          @warning_given = true
+          Sass::Util.sass_warn deprecation_warning
+        end
+        found
+      end
+
+      # @see Base#directories_to_watch
+      def directories_to_watch
+        # The current working directory was not watched in Sass 3.2,
+        # so we continue not to watch it while it's deprecated.
+        []
+      end
+
+      # @see Sass::Importers::Base#to_s
+      def to_s
+        "#{@root} (DEPRECATED)"
+      end
+
+      protected
+
+      # @return [String] The deprecation warning that will be printed the first
+      #   time an import occurs.
+      def deprecation_warning
+        path = @specified_root == "." ? "the current working directory" : 
@specified_root
+        <<WARNING
+DEPRECATION WARNING: Importing from #{path} will not be
+automatic in future versions of Sass.  To avoid future errors, you can add it
+to your environment explicitly by setting `SASS_PATH=#{@specified_root}`, by 
using the -I command
+line option, or by changing your Sass configuration options.
+WARNING
+      end
+    end
+  end
+end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/sass/importers.rb new/lib/sass/importers.rb
--- old/lib/sass/importers.rb   2015-05-23 04:17:06.000000000 +0200
+++ new/lib/sass/importers.rb   2015-06-23 02:43:29.000000000 +0200
@@ -20,3 +20,4 @@
 
 require 'sass/importers/base'
 require 'sass/importers/filesystem'
+require 'sass/importers/deprecated_path'
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-05-23 04:17:06.000000000 +0200
+++ new/lib/sass/script/functions.rb    2015-06-23 02:43:29.000000000 +0200
@@ -162,6 +162,9 @@
   #
   # ## List Functions {#list-functions}
   #
+  # Lists in Sass are immutable; all list functions return a new list rather
+  # than updating the existing list in-place.
+  #
   # All list functions work for maps as well, treating them as lists of pairs.
   #
   # \{#length length($list)}
@@ -190,6 +193,9 @@
   #
   # ## Map Functions {#map-functions}
   #
+  # Maps in Sass are immutable; all map functions return a new map rather than
+  # updating the existing map in-place.
+  #
   # \{#map_get map-get($map, $key)}
   # : Returns the value in a map associated with a given key.
   #
@@ -1057,7 +1063,7 @@
     # @raise [ArgumentError] if `$color` isn't a color
     def ie_hex_str(color)
       assert_type color, :Color, :color
-      alpha = (color.alpha * 255).round.to_s(16).rjust(2, '0')
+      alpha = Sass::Util.round(color.alpha * 255).to_s(16).rjust(2, '0')
       identifier("##{alpha}#{color.send(:hex_str)[1..-1]}".upcase)
     end
     declare :ie_hex_str, [:color]
@@ -1716,7 +1722,7 @@
     # @return [Sass::Script::Value::Number]
     # @raise [ArgumentError] if `$number` isn't a number
     def round(number)
-      numeric_transformation(number) {|n| n.round}
+      numeric_transformation(number) {|n| Sass::Util.round(n)}
     end
     declare :round, [:number]
 
@@ -1879,6 +1885,9 @@
     # list. If both lists have fewer than two items, spaces are used for the
     # resulting list.
     #
+    # Like all list functions, `join()` returns a new list rather than 
modifying
+    # its arguments in place.
+    #
     # @example
     #   join(10px 20px, 30px 40px) => 10px 20px 30px 40px
     #   join((blue, red), (#abc, #def)) => blue, red, #abc, #def
@@ -1912,6 +1921,9 @@
     # Unless the `$separator` argument is passed, if the list had only one 
item,
     # the resulting list will be space-separated.
     #
+    # Like all list functions, `append()` returns a new list rather than
+    # modifying its argument in place.
+    #
     # @example
     #   append(10px 20px, 30px) => 10px 20px 30px
     #   append((blue, red), green) => blue, red, green
@@ -2035,6 +2047,9 @@
     # same order as in `$map1`. New keys from `$map2` will be placed at the end
     # of the map.
     #
+    # Like all map functions, `map-merge()` returns a new map rather than
+    # modifying its arguments in place.
+    #
     # @example
     #   map-merge(("foo": 1), ("bar": 2)) => ("foo": 1, "bar": 2)
     #   map-merge(("foo": 1, "bar": 2), ("bar": 3)) => ("foo": 1, "bar": 3)
@@ -2052,6 +2067,9 @@
 
     # Returns a new map with keys removed.
     #
+    # Like all map functions, `map-merge()` returns a new map rather than
+    # modifying its arguments in place.
+    #
     # @example
     #   map-remove(("foo": 1, "bar": 2), "bar") => ("foo": 1)
     #   map-remove(("foo": 1, "bar": 2, "baz": 3), "bar", "baz") => ("foo": 1)
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  2015-05-23 04:17:06.000000000 +0200
+++ new/lib/sass/script/value/color.rb  2015-06-23 02:43:29.000000000 +0200
@@ -232,7 +232,7 @@
           raise ArgumentError.new("Color.new(array) expects a three- or 
four-element array")
         end
 
-        red, green, blue = attrs[0...3].map {|c| c.round}
+        red, green, blue = attrs[0...3].map {|c| Sass::Util.round(c)}
         @attrs = {:red => 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].round, 0..255)
+        @attrs[k] = Sass::Util.restrict(Sass::Util.round(@attrs[k]), 0..255)
       end
 
       [:saturation, :lightness].each do |k|
@@ -607,7 +607,7 @@
 
       result = []
       (0...3).each do |i|
-        res = rgb[i].send(operation, other_num ? other.value : other.rgb[i])
+        res = rgb[i].to_f.send(operation, other_num ? other.value : 
other.rgb[i])
         result[i] = [[res, 255].min, 0].max
       end
 
@@ -632,7 +632,7 @@
         hue_to_rgb(m1, m2, h + 1.0 / 3),
         hue_to_rgb(m1, m2, h),
         hue_to_rgb(m1, m2, h - 1.0 / 3)
-      ].map {|c| (c * 0xff).round}
+      ].map {|c| Sass::Util.round(c * 0xff)}
     end
 
     def hue_to_rgb(m1, m2, h)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/sass/selector/sequence.rb 
new/lib/sass/selector/sequence.rb
--- old/lib/sass/selector/sequence.rb   2015-05-23 04:17:06.000000000 +0200
+++ new/lib/sass/selector/sequence.rb   2015-06-23 02:43:29.000000000 +0200
@@ -10,7 +10,7 @@
       # @return [Fixnum]
       def line=(line)
         members.each {|m| m.line = line if m.is_a?(SimpleSequence)}
-        line
+        @line = line
       end
 
       # Sets the name of the file in which this selector was declared,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/sass/util.rb new/lib/sass/util.rb
--- old/lib/sass/util.rb        2015-05-23 04:17:06.000000000 +0200
+++ new/lib/sass/util.rb        2015-06-23 02:43:29.000000000 +0200
@@ -138,6 +138,17 @@
       [[value, range.first].max, range.last].min
     end
 
+    # Like [Fixnum.round], but leaves rooms for slight floating-point
+    # differences.
+    #
+    # @param value [Numeric]
+    # @return [Numeric]
+    def round(value)
+      # If the number is within epsilon of X.5, round up.
+      return value.ceil if (value % 1) - 0.5 > -0.00001
+      value.round
+    end
+
     # Concatenates all strings that are adjacent in an array,
     # while leaving other elements as they are.
     #
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2015-05-23 04:17:06.000000000 +0200
+++ new/metadata        2015-06-23 02:43:29.000000000 +0200
@@ -1,7 +1,7 @@
 --- !ruby/object:Gem::Specification
 name: sass
 version: !ruby/object:Gem::Version
-  version: 3.4.14
+  version: 3.4.15
 platform: ruby
 authors:
 - Natalie Weizenbaum
@@ -10,54 +10,55 @@
 autorequire: 
 bindir: bin
 cert_chain: []
-date: 2015-05-23 00:00:00.000000000 Z
+date: 2015-06-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: ! "      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"
+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.
 email: sass-l...@googlegroups.com
 executables:
 - sass
@@ -66,7 +67,7 @@
 extensions: []
 extra_rdoc_files: []
 files:
-- .yardopts
+- ".yardopts"
 - CONTRIBUTING.md
 - MIT-LICENSE
 - README.md
@@ -99,6 +100,7 @@
 - lib/sass/features.rb
 - lib/sass/importers.rb
 - lib/sass/importers/base.rb
+- lib/sass/importers/deprecated_path.rb
 - lib/sass/importers/filesystem.rb
 - lib/sass/logger.rb
 - lib/sass/logger/base.rb
@@ -380,17 +382,17 @@
 - 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.4.3
+rubygems_version: 2.4.5
 signing_key: 
 specification_version: 4
 summary: A powerful but elegant CSS compiler that makes CSS fun again.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/test/sass/results/script.css 
new/test/sass/results/script.css
--- old/test/sass/results/script.css    2015-05-23 04:17:06.000000000 +0200
+++ new/test/sass/results/script.css    2015-06-23 02:43:29.000000000 +0200
@@ -7,7 +7,7 @@
 
 #times { num-num: 7; num-col: #7496b8; col-num: #092345; col-col: #243648; }
 
-#div { num-num: 3.33333; num-num2: 3.33333; col-num: #092345; col-col: 
#0b0d0f; comp: 1px; }
+#div { num-num: 3.33333; num-num2: 3.33333; col-num: #092345; col-col: 
#0b0e10; comp: 1px; }
 
 #mod { num-num: 2; col-col: #0f0e05; col-num: #020001; }
 


Reply via email to