Hello community,

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

Package is "rubygem-haml"

Thu Dec  7 13:51:51 2017 rev:29 rq:533911 version:5.0.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-haml/rubygem-haml.changes        
2017-09-13 22:35:33.487490150 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-haml.new/rubygem-haml.changes   
2017-12-07 13:51:54.113500752 +0100
@@ -1,0 +2,9 @@
+Fri Oct 13 11:42:21 UTC 2017 - mschnit...@suse.com
+
+- updated to version 5.0.4
+  
+  Released on October 13, 2017 (diff).
+    * Fix haml -c --stdin regression in 5.0.2. #958 (thanks Timo Göllner)
+    * Ruby 2.5 support (it wasn't working due to Ripper API change). (Akira 
Matsuda)
+
+-------------------------------------------------------------------

Old:
----
  haml-5.0.3.gem

New:
----
  haml-5.0.4.gem

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

Other differences:
------------------
++++++ rubygem-haml.spec ++++++
--- /var/tmp/diff_new_pack.g12Bo2/_old  2017-12-07 13:51:54.701479338 +0100
+++ /var/tmp/diff_new_pack.g12Bo2/_new  2017-12-07 13:51:54.705479193 +0100
@@ -24,7 +24,7 @@
 #
 
 Name:           rubygem-haml
-Version:        5.0.3
+Version:        5.0.4
 Release:        0
 %define mod_name haml
 %define mod_full_name %{mod_name}-%{version}

++++++ haml-5.0.3.gem -> haml-5.0.4.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/.travis.yml new/.travis.yml
--- old/.travis.yml     2017-09-07 14:10:32.000000000 +0200
+++ new/.travis.yml     2017-10-13 10:07:03.000000000 +0200
@@ -3,9 +3,10 @@
 language: ruby
 cache: bundler
 rvm:
-  - 2.4.1
-  - 2.3.4
-  - 2.2.7
+  - ruby-head
+  - 2.4.2
+  - 2.3.5
+  - 2.2.8
   - 2.1.10
   - 2.0.0
   - jruby-9.1.12.0
@@ -31,14 +32,20 @@
       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
+    - rvm: 2.4.2
       gemfile: test/gemfiles/Gemfile.rails-4.0.x
-    - rvm: 2.4.1
+    - rvm: 2.4.2
       gemfile: test/gemfiles/Gemfile.rails-4.1.x
-    - rvm: 2.4.1
+    - rvm: 2.4.2
+      gemfile: test/gemfiles/Gemfile.rails-4.2.x
+    - rvm: ruby-head
+      gemfile: test/gemfiles/Gemfile.rails-4.0.x
+    - rvm: ruby-head
+      gemfile: test/gemfiles/Gemfile.rails-4.1.x
+    - rvm: ruby-head
       gemfile: test/gemfiles/Gemfile.rails-4.2.x
   include:
-    - rvm: 2.4.1
+    - rvm: 2.4.2
       gemfile: test/gemfiles/Gemfile.rails-edge
   allow_failures:
     - rvm: rbx-3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md    2017-09-07 14:10:32.000000000 +0200
+++ new/CHANGELOG.md    2017-10-13 10:07:03.000000000 +0200
@@ -1,5 +1,13 @@
 # Haml Changelog
 
+## 5.0.4
+
+Released on October 13, 2017
+([diff](https://github.com/haml/haml/compare/v5.0.3...v5.0.4)).
+
+* Fix `haml -c --stdin` regression in 5.0.2. 
[#958](https://github.com/haml/haml/pull/958) (thanks [Timo 
Göllner](https://github.com/TeaMoe))
+* Ruby 2.5 support (it wasn't working due to Ripper API change). (Akira 
Matsuda)
+
 ## 5.0.3
 
 Released on September 7, 2017
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/attribute_parser.rb 
new/lib/haml/attribute_parser.rb
--- old/lib/haml/attribute_parser.rb    2017-09-07 14:10:32.000000000 +0200
+++ new/lib/haml/attribute_parser.rb    2017-10-13 10:07:03.000000000 +0200
@@ -98,16 +98,16 @@
         all_tokens = Ripper.lex(hash_literal.strip)
         all_tokens = all_tokens[1...-1] || [] # strip tokens for brackets
 
-        each_balaned_tokens(all_tokens) do |tokens|
+        each_balanced_tokens(all_tokens) do |tokens|
           key   = shift_key!(tokens)
-          value = tokens.map(&:last).join.strip
+          value = tokens.map {|t| t[2] }.join.strip
           block.call(key, value)
         end
       end
 
       # @param [Array] tokens - Ripper tokens
       # @param [Proc] block - that takes balanced Ripper tokens as arguments
-      def each_balaned_tokens(tokens, &block)
+      def each_balanced_tokens(tokens, &block)
         attr_tokens = []
         open_tokens = Hash.new { |h, k| h[k] = 0 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/haml/exec.rb new/lib/haml/exec.rb
--- old/lib/haml/exec.rb        2017-09-07 14:10:32.000000000 +0200
+++ new/lib/haml/exec.rb        2017-10-13 10:07:03.000000000 +0200
@@ -338,7 +338,7 @@
 
       def validate_ruby(code)
         begin
-          eval("BEGIN {return nil}; #{code}", binding, @options[:filename])
+          eval("BEGIN {return nil}; #{code}", binding, @options[:filename] || 
"")
         rescue ::SyntaxError # Not to be confused with Haml::SyntaxError
           $!
         end
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-09-07 14:10:32.000000000 +0200
+++ new/lib/haml/version.rb     2017-10-13 10:07:03.000000000 +0200
@@ -1,4 +1,4 @@
 # frozen_string_literal: true
 module Haml
-  VERSION = "5.0.3"
+  VERSION = "5.0.4"
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2017-09-07 14:10:32.000000000 +0200
+++ new/metadata        2017-10-13 10:07:03.000000000 +0200
@@ -1,7 +1,7 @@
 --- !ruby/object:Gem::Specification
 name: haml
 version: !ruby/object:Gem::Version
-  version: 5.0.3
+  version: 5.0.4
 platform: ruby
 authors:
 - Natalie Weizenbaum
@@ -11,7 +11,7 @@
 autorequire: 
 bindir: bin
 cert_chain: []
-date: 2017-09-07 00:00:00.000000000 Z
+date: 2017-10-13 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: temple
@@ -180,9 +180,8 @@
       version: '0'
 requirements: []
 rubyforge_project: 
-rubygems_version: 2.6.11
+rubygems_version: 2.6.14
 signing_key: 
 specification_version: 4
 summary: An elegant, structured (X)HTML/XML templating engine.
 test_files: []
-has_rdoc: false


Reply via email to