Hello community,

here is the log from the commit of package rubygem-sass for openSUSE:Factory 
checked in at 2017-12-07 13:51:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-sass (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-sass.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-sass"

Thu Dec  7 13:51:54 2017 rev:44 rq:542643 version:3.5.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-sass/rubygem-sass.changes        
2017-08-21 11:37:07.265512456 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-sass.new/rubygem-sass.changes   
2017-12-07 13:51:54.953470161 +0100
@@ -1,0 +2,13 @@
+Fri Nov 17 08:32:15 UTC 2017 - mschnit...@suse.com
+
+- updated to version 3.5.3
+  * Update map source range as new elements are parsed (#2394)
+  * MapLiteral nodes have the end_pos of their first element, rather than the 
last. This PR fixes the wrong behavior.
+
+-------------------------------------------------------------------
+Wed Oct 11 06:17:10 UTC 2017 - co...@suse.com
+
+- updated to version 3.5.2
+  no changelog found
+
+-------------------------------------------------------------------

Old:
----
  sass-3.5.1.gem

New:
----
  sass-3.5.3.gem

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

Other differences:
------------------
++++++ rubygem-sass.spec ++++++
--- /var/tmp/diff_new_pack.6dSlJb/_old  2017-12-07 13:51:55.729441900 +0100
+++ /var/tmp/diff_new_pack.6dSlJb/_new  2017-12-07 13:51:55.733441755 +0100
@@ -24,7 +24,7 @@
 #
 
 Name:           rubygem-sass
-Version:        3.5.1
+Version:        3.5.3
 Release:        0
 %define mod_name sass
 %define mod_full_name %{mod_name}-%{version}
@@ -34,7 +34,7 @@
 BuildRequires:  ruby-macros >= 5
 BuildRequires:  update-alternatives
 Url:            http://sass-lang.com/
-Source:         http://rubygems.org/gems/%{mod_full_name}.gem
+Source:         https://rubygems.org/gems/%{mod_full_name}.gem
 Source1:        gem2rpm.yml
 Summary:        A powerful but elegant CSS compiler that makes CSS fun again
 License:        MIT

++++++ sass-3.5.1.gem -> sass-3.5.3.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/VERSION new/VERSION
--- old/VERSION 2017-07-14 00:58:15.000000000 +0200
+++ new/VERSION 2017-10-27 02:52:01.000000000 +0200
@@ -1 +1 @@
-3.5.1
+3.5.3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/VERSION_DATE new/VERSION_DATE
--- old/VERSION_DATE    2017-07-14 00:58:15.000000000 +0200
+++ new/VERSION_DATE    2017-10-27 02:52:01.000000000 +0200
@@ -1 +1 @@
-13 July 2017 22:58:15 UTC
+27 October 2017 00:52:01 UTC
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/sass/script/parser.rb 
new/lib/sass/script/parser.rb
--- old/lib/sass/script/parser.rb       2017-07-14 00:58:15.000000000 +0200
+++ new/lib/sass/script/parser.rb       2017-10-27 02:52:01.000000000 +0200
@@ -323,6 +323,7 @@
           pair = map_pair
           return map unless pair
           map.pairs << pair
+          map.source_range.end_pos = map.pairs.last.last.source_range.end_pos
         end
         map
       end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/sass/scss/rx.rb new/lib/sass/scss/rx.rb
--- old/lib/sass/scss/rx.rb     2017-07-14 00:58:15.000000000 +0200
+++ new/lib/sass/scss/rx.rb     2017-10-27 02:52:01.000000000 +0200
@@ -121,7 +121,7 @@
       OPTIONAL = /!#{W}optional/i
       IDENT_START = /-|#{NMSTART}/
 
-      IDENT_HYPHEN_INTERP = /-(?=#\{)/
+      IDENT_HYPHEN_INTERP = /-+(?=#\{)/
       STRING1_NOINTERP = /\"((?:[^\n\r\f\\"#]|#(?!\{)|#{ESCAPE})*)\"/
       STRING2_NOINTERP = /\'((?:[^\n\r\f\\'#]|#(?!\{)|#{ESCAPE})*)\'/
       STRING_NOINTERP = /#{STRING1_NOINTERP}|#{STRING2_NOINTERP}/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2017-07-14 00:58:15.000000000 +0200
+++ new/metadata        2017-10-27 02:52:01.000000000 +0200
@@ -1,7 +1,7 @@
 --- !ruby/object:Gem::Specification
 name: sass
 version: !ruby/object:Gem::Version
-  version: 3.5.1
+  version: 3.5.3
 platform: ruby
 authors:
 - Natalie Weizenbaum
@@ -10,7 +10,7 @@
 autorequire: 
 bindir: bin
 cert_chain: []
-date: 2017-07-13 00:00:00.000000000 Z
+date: 2017-10-27 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: sass-listen
@@ -372,34 +372,34 @@
       version: '0'
 requirements: []
 rubyforge_project: sass
-rubygems_version: 2.6.11
+rubygems_version: 2.4.8
 signing_key: 
 specification_version: 4
 summary: A powerful but elegant CSS compiler that makes CSS fun again.
 test_files:
+- test/sass/extend_test.rb
+- test/sass/css2sass_test.rb
+- test/sass/util_test.rb
+- test/sass/superselector_test.rb
+- test/sass/value_helpers_test.rb
 - test/sass/plugin_test.rb
+- test/sass/logger_test.rb
+- test/sass/functions_test.rb
+- test/sass/conversion_test.rb
+- test/sass/source_map_test.rb
+- test/sass/cache_test.rb
 - test/sass/encoding_test.rb
-- test/sass/importer_test.rb
+- test/sass/script_test.rb
 - test/sass/callbacks_test.rb
+- test/sass/script_conversion_test.rb
 - test/sass/scss/css_test.rb
 - test/sass/scss/rx_test.rb
 - test/sass/scss/scss_test.rb
-- test/sass/util/multibyte_string_scanner_test.rb
-- test/sass/util/normalized_map_test.rb
-- test/sass/util/subset_map_test.rb
-- test/sass/functions_test.rb
-- test/sass/util_test.rb
-- test/sass/cache_test.rb
 - test/sass/exec_test.rb
-- test/sass/value_helpers_test.rb
-- test/sass/conversion_test.rb
-- test/sass/script_test.rb
-- test/sass/logger_test.rb
-- test/sass/compiler_test.rb
+- test/sass/importer_test.rb
 - test/sass/engine_test.rb
-- test/sass/css2sass_test.rb
-- test/sass/superselector_test.rb
-- test/sass/script_conversion_test.rb
 - test/sass/css_variable_test.rb
-- test/sass/source_map_test.rb
-- test/sass/extend_test.rb
+- test/sass/compiler_test.rb
+- test/sass/util/subset_map_test.rb
+- test/sass/util/normalized_map_test.rb
+- test/sass/util/multibyte_string_scanner_test.rb
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/test/sass/source_map_test.rb 
new/test/sass/source_map_test.rb
--- old/test/sass/source_map_test.rb    2017-07-14 00:58:15.000000000 +0200
+++ new/test/sass/source_map_test.rb    2017-10-27 02:52:01.000000000 +0200
@@ -813,6 +813,17 @@
     assert_equal 38, list.source_range.end_pos.offset
   end
 
+  def test_map_source_range
+    engine = Sass::Engine.new(<<-SCSS, :cache => false, :syntax => :scss)
+$margins: (sm: 4px, md: 8px, lg: 16px);
+SCSS
+    expr = engine.to_tree.children.first.expr
+    assert_equal 1, expr.source_range.start_pos.line
+    assert_equal 1, expr.source_range.end_pos.line
+    assert_equal 12, expr.source_range.start_pos.offset
+    assert_equal 38, expr.source_range.end_pos.offset
+  end
+
   def test_sources_array_is_uri_escaped
     map = Sass::Source::Map.new
     importer = Sass::Importers::Filesystem.new('.')


Reply via email to