Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rubygem-parser for openSUSE:Factory 
checked in at 2023-10-12 23:41:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-parser (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-parser.new.1807 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-parser"

Thu Oct 12 23:41:37 2023 rev:18 rq:1117130 version:3.2.2.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-parser/rubygem-parser.changes    
2023-10-10 21:00:54.723413536 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-parser.new.1807/rubygem-parser.changes  
2023-10-12 23:42:59.118800507 +0200
@@ -1,0 +2,14 @@
+Wed Oct 11 20:31:49 UTC 2023 - Mykola Krachkovsky <[email protected]>
+
+- updated to version 3.2.2.4
+
+  v3.2.2.4 (2023-10-04)
+  ---------------------
+
+  API modifications:
+   * bump Racc to 1.7.1 (#930) (Koichi ITO)
+
+  Bugs fixed:
+   * Fix an error for flip-flop with beginless or endless ranges (#946) 
(Koichi ITO)
+
+-------------------------------------------------------------------

Old:
----
  parser-3.2.2.3.gem

New:
----
  parser-3.2.2.4.gem

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

Other differences:
------------------
++++++ rubygem-parser.spec ++++++
--- /var/tmp/diff_new_pack.ikTAE4/_old  2023-10-12 23:42:59.986831929 +0200
+++ /var/tmp/diff_new_pack.ikTAE4/_new  2023-10-12 23:42:59.986831929 +0200
@@ -24,7 +24,7 @@
 #
 
 Name:           rubygem-parser
-Version:        3.2.2.3
+Version:        3.2.2.4
 Release:        0
 %define mod_name parser
 %define mod_full_name %{mod_name}-%{version}

++++++ parser-3.2.2.3.gem -> parser-3.2.2.4.gem ++++++
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/parser/builders/default.rb 
new/lib/parser/builders/default.rb
--- old/lib/parser/builders/default.rb  2023-06-08 19:05:12.000000000 +0200
+++ new/lib/parser/builders/default.rb  2023-10-04 12:10:19.000000000 +0200
@@ -1690,24 +1690,34 @@
           cond
         end
 
-      when :and, :or, :irange, :erange
+      when :and, :or
         lhs, rhs = *cond
 
-        type = case cond.type
-        when :irange then :iflipflop
-        when :erange then :eflipflop
-        end
-
-        if [:and, :or].include?(cond.type) &&
-               @parser.version == 18
+        if @parser.version == 18
           cond
         else
-          cond.updated(type, [
+          cond.updated(cond.type, [
             check_condition(lhs),
             check_condition(rhs)
           ])
         end
 
+      when :irange, :erange
+        lhs, rhs = *cond
+
+        type = case cond.type
+        when :irange then :iflipflop
+        when :erange then :eflipflop
+        end
+
+        lhs_condition = check_condition(lhs) unless lhs.nil?
+        rhs_condition = check_condition(rhs) unless rhs.nil?
+
+        return cond.updated(type, [
+          lhs_condition,
+          rhs_condition
+        ])
+
       when :regexp
         n(:match_current_line, [ cond ], expr_map(cond.loc.expression))
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/parser/macruby.rb new/lib/parser/macruby.rb
--- old/lib/parser/macruby.rb   2023-06-08 19:05:12.000000000 +0200
+++ new/lib/parser/macruby.rb   2023-10-04 12:10:19.000000000 +0200
@@ -1,7 +1,7 @@
 # -*- encoding:utf-8; warn-indent:false; frozen_string_literal: true  -*-
 #
 # DO NOT MODIFY!!!!
-# This file is automatically generated by Racc 1.7.0
+# This file is automatically generated by Racc 1.7.1
 # from Racc grammar file "".
 #
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/parser/ruby18.rb new/lib/parser/ruby18.rb
--- old/lib/parser/ruby18.rb    2023-06-08 19:05:12.000000000 +0200
+++ new/lib/parser/ruby18.rb    2023-10-04 12:10:19.000000000 +0200
@@ -1,7 +1,7 @@
 # -*- encoding:utf-8; warn-indent:false; frozen_string_literal: true  -*-
 #
 # DO NOT MODIFY!!!!
-# This file is automatically generated by Racc 1.7.0
+# This file is automatically generated by Racc 1.7.1
 # from Racc grammar file "".
 #
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/parser/ruby19.rb new/lib/parser/ruby19.rb
--- old/lib/parser/ruby19.rb    2023-06-08 19:05:12.000000000 +0200
+++ new/lib/parser/ruby19.rb    2023-10-04 12:10:19.000000000 +0200
@@ -1,7 +1,7 @@
 # -*- encoding:utf-8; warn-indent:false; frozen_string_literal: true  -*-
 #
 # DO NOT MODIFY!!!!
-# This file is automatically generated by Racc 1.7.0
+# This file is automatically generated by Racc 1.7.1
 # from Racc grammar file "".
 #
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/parser/ruby20.rb new/lib/parser/ruby20.rb
--- old/lib/parser/ruby20.rb    2023-06-08 19:05:12.000000000 +0200
+++ new/lib/parser/ruby20.rb    2023-10-04 12:10:19.000000000 +0200
@@ -1,7 +1,7 @@
 # -*- encoding:utf-8; warn-indent:false; frozen_string_literal: true  -*-
 #
 # DO NOT MODIFY!!!!
-# This file is automatically generated by Racc 1.7.0
+# This file is automatically generated by Racc 1.7.1
 # from Racc grammar file "".
 #
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/parser/ruby21.rb new/lib/parser/ruby21.rb
--- old/lib/parser/ruby21.rb    2023-06-08 19:05:12.000000000 +0200
+++ new/lib/parser/ruby21.rb    2023-10-04 12:10:19.000000000 +0200
@@ -1,7 +1,7 @@
 # -*- encoding:utf-8; warn-indent:false; frozen_string_literal: true  -*-
 #
 # DO NOT MODIFY!!!!
-# This file is automatically generated by Racc 1.7.0
+# This file is automatically generated by Racc 1.7.1
 # from Racc grammar file "".
 #
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/parser/ruby22.rb new/lib/parser/ruby22.rb
--- old/lib/parser/ruby22.rb    2023-06-08 19:05:12.000000000 +0200
+++ new/lib/parser/ruby22.rb    2023-10-04 12:10:19.000000000 +0200
@@ -1,7 +1,7 @@
 # -*- encoding:utf-8; warn-indent:false; frozen_string_literal: true  -*-
 #
 # DO NOT MODIFY!!!!
-# This file is automatically generated by Racc 1.7.0
+# This file is automatically generated by Racc 1.7.1
 # from Racc grammar file "".
 #
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/parser/ruby23.rb new/lib/parser/ruby23.rb
--- old/lib/parser/ruby23.rb    2023-06-08 19:05:12.000000000 +0200
+++ new/lib/parser/ruby23.rb    2023-10-04 12:10:19.000000000 +0200
@@ -1,7 +1,7 @@
 # -*- encoding:utf-8; warn-indent:false; frozen_string_literal: true  -*-
 #
 # DO NOT MODIFY!!!!
-# This file is automatically generated by Racc 1.7.0
+# This file is automatically generated by Racc 1.7.1
 # from Racc grammar file "".
 #
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/parser/ruby24.rb new/lib/parser/ruby24.rb
--- old/lib/parser/ruby24.rb    2023-06-08 19:05:12.000000000 +0200
+++ new/lib/parser/ruby24.rb    2023-10-04 12:10:19.000000000 +0200
@@ -1,7 +1,7 @@
 # -*- encoding:utf-8; warn-indent:false; frozen_string_literal: true  -*-
 #
 # DO NOT MODIFY!!!!
-# This file is automatically generated by Racc 1.7.0
+# This file is automatically generated by Racc 1.7.1
 # from Racc grammar file "".
 #
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/parser/ruby25.rb new/lib/parser/ruby25.rb
--- old/lib/parser/ruby25.rb    2023-06-08 19:05:12.000000000 +0200
+++ new/lib/parser/ruby25.rb    2023-10-04 12:10:19.000000000 +0200
@@ -1,7 +1,7 @@
 # -*- encoding:utf-8; warn-indent:false; frozen_string_literal: true  -*-
 #
 # DO NOT MODIFY!!!!
-# This file is automatically generated by Racc 1.7.0
+# This file is automatically generated by Racc 1.7.1
 # from Racc grammar file "".
 #
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/parser/ruby26.rb new/lib/parser/ruby26.rb
--- old/lib/parser/ruby26.rb    2023-06-08 19:05:12.000000000 +0200
+++ new/lib/parser/ruby26.rb    2023-10-04 12:10:19.000000000 +0200
@@ -1,7 +1,7 @@
 # -*- encoding:utf-8; warn-indent:false; frozen_string_literal: true  -*-
 #
 # DO NOT MODIFY!!!!
-# This file is automatically generated by Racc 1.7.0
+# This file is automatically generated by Racc 1.7.1
 # from Racc grammar file "".
 #
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/parser/ruby27.rb new/lib/parser/ruby27.rb
--- old/lib/parser/ruby27.rb    2023-06-08 19:05:12.000000000 +0200
+++ new/lib/parser/ruby27.rb    2023-10-04 12:10:19.000000000 +0200
@@ -1,7 +1,7 @@
 # -*- encoding:utf-8; warn-indent:false; frozen_string_literal: true  -*-
 #
 # DO NOT MODIFY!!!!
-# This file is automatically generated by Racc 1.7.0
+# This file is automatically generated by Racc 1.7.1
 # from Racc grammar file "".
 #
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/parser/ruby30.rb new/lib/parser/ruby30.rb
--- old/lib/parser/ruby30.rb    2023-06-08 19:05:12.000000000 +0200
+++ new/lib/parser/ruby30.rb    2023-10-04 12:10:19.000000000 +0200
@@ -1,7 +1,7 @@
 # -*- encoding:utf-8; warn-indent:false; frozen_string_literal: true  -*-
 #
 # DO NOT MODIFY!!!!
-# This file is automatically generated by Racc 1.7.0
+# This file is automatically generated by Racc 1.7.1
 # from Racc grammar file "".
 #
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/parser/ruby31.rb new/lib/parser/ruby31.rb
--- old/lib/parser/ruby31.rb    2023-06-08 19:05:12.000000000 +0200
+++ new/lib/parser/ruby31.rb    2023-10-04 12:10:19.000000000 +0200
@@ -1,7 +1,7 @@
 # -*- encoding:utf-8; warn-indent:false; frozen_string_literal: true  -*-
 #
 # DO NOT MODIFY!!!!
-# This file is automatically generated by Racc 1.7.0
+# This file is automatically generated by Racc 1.7.1
 # from Racc grammar file "".
 #
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/parser/ruby32.rb new/lib/parser/ruby32.rb
--- old/lib/parser/ruby32.rb    2023-06-08 19:05:12.000000000 +0200
+++ new/lib/parser/ruby32.rb    2023-10-04 12:10:19.000000000 +0200
@@ -1,7 +1,7 @@
 # -*- encoding:utf-8; warn-indent:false; frozen_string_literal: true  -*-
 #
 # DO NOT MODIFY!!!!
-# This file is automatically generated by Racc 1.7.0
+# This file is automatically generated by Racc 1.7.1
 # from Racc grammar file "".
 #
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/parser/ruby33.rb new/lib/parser/ruby33.rb
--- old/lib/parser/ruby33.rb    2023-06-08 19:05:12.000000000 +0200
+++ new/lib/parser/ruby33.rb    2023-10-04 12:10:19.000000000 +0200
@@ -1,7 +1,7 @@
 # -*- encoding:utf-8; warn-indent:false; frozen_string_literal: true  -*-
 #
 # DO NOT MODIFY!!!!
-# This file is automatically generated by Racc 1.7.0
+# This file is automatically generated by Racc 1.7.1
 # from Racc grammar file "".
 #
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/parser/rubymotion.rb new/lib/parser/rubymotion.rb
--- old/lib/parser/rubymotion.rb        2023-06-08 19:05:12.000000000 +0200
+++ new/lib/parser/rubymotion.rb        2023-10-04 12:10:19.000000000 +0200
@@ -1,7 +1,7 @@
 # -*- encoding:utf-8; warn-indent:false; frozen_string_literal: true  -*-
 #
 # DO NOT MODIFY!!!!
-# This file is automatically generated by Racc 1.7.0
+# This file is automatically generated by Racc 1.7.1
 # from Racc grammar file "".
 #
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/parser/source/comment/associator.rb 
new/lib/parser/source/comment/associator.rb
--- old/lib/parser/source/comment/associator.rb 2023-06-08 19:05:12.000000000 
+0200
+++ new/lib/parser/source/comment/associator.rb 2023-10-04 12:10:19.000000000 
+0200
@@ -95,10 +95,11 @@
       end
 
       ##
-      # Same as {associate}, but compares by identity, thus producing an 
unambiguous
-      # result even in presence of equal nodes.
+      # Same as {associate}, but uses `node.loc` instead of `node` as
+      # the hash key, thus producing an unambiguous result even in presence
+      # of equal nodes.
       #
-      # @return [Hash<Parser::Source::Node, Array<Parser::Source::Comment>>]
+      # @return [Hash<Parser::Source::Map, Array<Parser::Source::Comment>>]
       #
       def associate_locations
         @map_using = :location
@@ -106,11 +107,10 @@
       end
 
       ##
-      # Same as {associate}, but uses `node.loc` instead of `node` as
-      # the hash key, thus producing an unambiguous result even in presence
-      # of equal nodes.
+      # Same as {associate}, but compares by identity, thus producing an 
unambiguous
+      # result even in presence of equal nodes.
       #
-      # @return [Hash<Parser::Source::Map, Array<Parser::Source::Comment>>]
+      # @return [Hash<Parser::Source::Node, Array<Parser::Source::Comment>>]
       #
       def associate_by_identity
         @map_using = :identity
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/parser/version.rb new/lib/parser/version.rb
--- old/lib/parser/version.rb   2023-06-08 19:05:12.000000000 +0200
+++ new/lib/parser/version.rb   2023-10-04 12:10:19.000000000 +0200
@@ -1,5 +1,5 @@
 # frozen_string_literal: true
 
 module Parser
-  VERSION = '3.2.2.3'
+  VERSION = '3.2.2.4'
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2023-06-08 19:05:12.000000000 +0200
+++ new/metadata        2023-10-04 12:10:19.000000000 +0200
@@ -1,14 +1,14 @@
 --- !ruby/object:Gem::Specification
 name: parser
 version: !ruby/object:Gem::Version
-  version: 3.2.2.3
+  version: 3.2.2.4
 platform: ruby
 authors:
 - whitequark
 autorequire:
 bindir: bin
 cert_chain: []
-date: 2023-06-08 00:00:00.000000000 Z
+date: 2023-10-04 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: ast
@@ -249,9 +249,9 @@
 - MIT
 metadata:
   bug_tracker_uri: https://github.com/whitequark/parser/issues
-  changelog_uri: 
https://github.com/whitequark/parser/blob/v3.2.2.3/CHANGELOG.md
-  documentation_uri: https://www.rubydoc.info/gems/parser/3.2.2.3
-  source_code_uri: https://github.com/whitequark/parser/tree/v3.2.2.3
+  changelog_uri: 
https://github.com/whitequark/parser/blob/v3.2.2.4/CHANGELOG.md
+  documentation_uri: https://www.rubydoc.info/gems/parser/3.2.2.4
+  source_code_uri: https://github.com/whitequark/parser/tree/v3.2.2.4
 post_install_message:
 rdoc_options: []
 require_paths:

Reply via email to