Hello community,

here is the log from the commit of package rubygem-haml for openSUSE:Factory 
checked in at 2017-09-13 22:34:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-haml (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-haml.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-haml"

Wed Sep 13 22:34:28 2017 rev:28 rq:523493 version:5.0.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-haml/rubygem-haml.changes        
2017-08-16 16:12:36.354713323 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-haml.new/rubygem-haml.changes   
2017-09-13 22:35:33.487490150 +0200
@@ -1,0 +2,9 @@
+Thu Sep  7 12:45:54 UTC 2017 - [email protected]
+
+- updated to version 5.0.3
+
+  Released on September 7, 2017 (diff).
+    * Use String#dump instead of String#inspect to generate string literal. 
(Takashi Kokubun)
+    * Fix Erubi superclass mismatch error. #952 (thanks Robin Daugherty) 
+
+-------------------------------------------------------------------

Old:
----
  haml-5.0.2.gem

New:
----
  haml-5.0.3.gem

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

Other differences:
------------------
++++++ rubygem-haml.spec ++++++
--- /var/tmp/diff_new_pack.BAfnJx/_old  2017-09-13 22:35:34.075407372 +0200
+++ /var/tmp/diff_new_pack.BAfnJx/_new  2017-09-13 22:35:34.079406809 +0200
@@ -24,7 +24,7 @@
 #
 
 Name:           rubygem-haml
-Version:        5.0.2
+Version:        5.0.3
 Release:        0
 %define mod_name haml
 %define mod_full_name %{mod_name}-%{version}
@@ -34,7 +34,7 @@
 BuildRequires:  ruby-macros >= 5
 BuildRequires:  update-alternatives
 Url:            http://haml.info/
-Source:         http://rubygems.org/gems/%{mod_full_name}.gem
+Source:         https://rubygems.org/gems/%{mod_full_name}.gem
 Source1:        gem2rpm.yml
 Summary:        An elegant, structured (X)HTML/XML templating engine
 License:        MIT

++++++ haml-5.0.2.gem -> haml-5.0.3.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/.travis.yml new/.travis.yml
--- old/.travis.yml     2017-08-01 11:00:14.000000000 +0200
+++ new/.travis.yml     2017-09-07 14:10:32.000000000 +0200
@@ -13,10 +13,10 @@
 gemfile:
   - test/gemfiles/Gemfile.rails-5.1.x
   - test/gemfiles/Gemfile.rails-5.0.x
+  - test/gemfiles/Gemfile.rails-5.0.x.erubi
   - test/gemfiles/Gemfile.rails-4.2.x
   - test/gemfiles/Gemfile.rails-4.1.x
   - test/gemfiles/Gemfile.rails-4.0.x
-  - test/gemfiles/Gemfile.rails-edge
 matrix:
   exclude:
     - rvm: 2.0.0
@@ -25,14 +25,21 @@
       gemfile: test/gemfiles/Gemfile.rails-5.1.x
     - rvm: 2.0.0
       gemfile: test/gemfiles/Gemfile.rails-5.0.x
+    - rvm: 2.0.0
+      gemfile: test/gemfiles/Gemfile.rails-5.0.x.erubi
     - rvm: 2.1.10
       gemfile: test/gemfiles/Gemfile.rails-5.0.x
+    - rvm: 2.1.10
+      gemfile: test/gemfiles/Gemfile.rails-5.0.x.erubi
     - rvm: 2.4.1
       gemfile: test/gemfiles/Gemfile.rails-4.0.x
     - rvm: 2.4.1
       gemfile: test/gemfiles/Gemfile.rails-4.1.x
     - rvm: 2.4.1
       gemfile: test/gemfiles/Gemfile.rails-4.2.x
+  include:
+    - rvm: 2.4.1
+      gemfile: test/gemfiles/Gemfile.rails-edge
   allow_failures:
     - rvm: rbx-3
     - gemfile: test/gemfiles/Gemfile.rails-edge
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md    2017-08-01 11:00:14.000000000 +0200
+++ new/CHANGELOG.md    2017-09-07 14:10:32.000000000 +0200
@@ -1,16 +1,24 @@
 # Haml Changelog
 
+## 5.0.3
+
+Released on September 7, 2017
+([diff](https://github.com/haml/haml/compare/v5.0.2...v5.0.3)).
+
+* Use `String#dump` instead of `String#inspect` to generate string literal. 
(Takashi Kokubun)
+* Fix Erubi superclass mismatch error. 
[#952](https://github.com/haml/haml/pull/952) (thanks [Robin 
Daugherty](https://github.com/RobinDaugherty))
+
 ## 5.0.2
 
 Released on August 1, 2017
-([diff](https://github.com/haml/haml/compare/v5.0.2...v5.0.1)).
+([diff](https://github.com/haml/haml/compare/v5.0.1...v5.0.2)).
 
 * Let `haml -c` fail if generated Ruby code is syntax error. 
[#880](https://github.com/haml/haml/issues/880) (Takashi Kokubun)
 * Fix `NoMethodError` bug caused with Sprockets 3 and :sass filter. 
[#930](https://github.com/haml/haml/pull/930) (thanks [Gonzalez 
Maximiliano](https://github.com/emaxi))
 * Fix `list_of` helper with multi-line content. 
[#933](https://github.com/haml/haml/pull/933) (thanks [Benoit 
Larroque](https://github.com/zetaben))
 * Optimize rendering performance by changing timing to fix textareas. 
[#941](https://github.com/haml/haml/pull/941) (Takashi Kokubun)
 * Fix `TypeError` with empty :ruby filter. 
[#942](https://github.com/haml/haml/pull/942) (Takashi Kokubun)
-* Fix inconsitent attribute sort order. (Takashi Kokubun)
+* Fix inconsistent attribute sort order. (Takashi Kokubun)
 
 ## 5.0.1
 
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/haml/compiler.rb new/lib/haml/compiler.rb
--- old/lib/haml/compiler.rb    2017-08-01 11:00:14.000000000 +0200
+++ new/lib/haml/compiler.rb    2017-09-07 14:10:32.000000000 +0200
@@ -95,13 +95,11 @@
         parse = false
         value = t[:parse] ? nil : t[:value]
         dynamic_attributes = Haml::Parser::DynamicAttributes.new
-        preserve_script = false
       else
         object_ref = t[:object_ref]
         parse = t[:parse]
         value = t[:value]
         dynamic_attributes = t[:dynamic_attributes]
-        preserve_script = t[:preserve_script]
       end
 
       if @options[:trace]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/haml/railtie.rb new/lib/haml/railtie.rb
--- old/lib/haml/railtie.rb     2017-08-01 11:00:14.000000000 +0200
+++ new/lib/haml/railtie.rb     2017-09-07 14:10:32.000000000 +0200
@@ -26,7 +26,15 @@
           require "haml/sass_rails_filter"
         end
 
-        if defined? Erubi
+        # Any object under ActionView::Template will be defined as the root 
constant with the same
+        # name if it exists. If Erubi is loaded at all, 
ActionView::Template::Handlers::ERB::Erubi
+        # will turn out to be a reference to the ::Erubi module.
+        # In Rails 4.2, calling const_defined? results in odd exceptions, 
which seems to be
+        # solved by looking for ::Erubi first.
+        # However, in JRuby, the const_defined? finds it anyway, so we must 
make sure that it's
+        # not just a reference to ::Erubi.
+        if defined?(::Erubi) && 
const_defined?('ActionView::Template::Handlers::ERB::Erubi') &&
+            ActionView::Template::Handlers::ERB::Erubi != ::Erubi
           require "haml/helpers/safe_erubi_template"
           Haml::Filters::RailsErb.template_class = Haml::SafeErubiTemplate
         else
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/haml/util.rb new/lib/haml/util.rb
--- old/lib/haml/util.rb        2017-08-01 11:00:14.000000000 +0200
+++ new/lib/haml/util.rb        2017-09-07 14:10:32.000000000 +0200
@@ -126,7 +126,7 @@
     def inspect_obj(obj)
       case obj
       when String
-        %Q!"#{obj.gsub(/[\x00-\x7F]+/) {|s| s.inspect[1...-1]}}"!
+        %Q!"#{obj.gsub(/[\x00-\x7F]+/) {|s| s.dump[1...-1]}}"!
       when Symbol
         ":#{inspect_obj(obj.to_s)}"
       else
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/haml/version.rb new/lib/haml/version.rb
--- old/lib/haml/version.rb     2017-08-01 11:00:14.000000000 +0200
+++ new/lib/haml/version.rb     2017-09-07 14:10:32.000000000 +0200
@@ -1,4 +1,4 @@
 # frozen_string_literal: true
 module Haml
-  VERSION = "5.0.2"
+  VERSION = "5.0.3"
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2017-08-01 11:00:14.000000000 +0200
+++ new/metadata        2017-09-07 14:10:32.000000000 +0200
@@ -1,7 +1,7 @@
 --- !ruby/object:Gem::Specification
 name: haml
 version: !ruby/object:Gem::Version
-  version: 5.0.2
+  version: 5.0.3
 platform: ruby
 authors:
 - Natalie Weizenbaum
@@ -11,7 +11,7 @@
 autorequire: 
 bindir: bin
 cert_chain: []
-date: 2017-08-01 00:00:00.000000000 Z
+date: 2017-09-07 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: temple
@@ -180,7 +180,7 @@
       version: '0'
 requirements: []
 rubyforge_project: 
-rubygems_version: 2.5.2
+rubygems_version: 2.6.11
 signing_key: 
 specification_version: 4
 summary: An elegant, structured (X)HTML/XML templating engine.


Reply via email to