Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rubygem-rubocop-ast for 
openSUSE:Factory checked in at 2021-10-11 15:31:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-rubocop-ast (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-rubocop-ast.new.2443 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-rubocop-ast"

Mon Oct 11 15:31:35 2021 rev:13 rq:924372 version:1.12.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-rubocop-ast/rubygem-rubocop-ast.changes  
2021-08-25 20:59:46.913037233 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-rubocop-ast.new.2443/rubygem-rubocop-ast.changes
        2021-10-11 15:32:33.906936146 +0200
@@ -1,0 +2,9 @@
+Sat Oct  9 09:19:45 UTC 2021 - Manuel Schnitzer <[email protected]>
+
+- updated to version 1.12.0
+
+  ### Bug fixes
+
+  * [#208](https://github.com/rubocop/rubocop-ast/issues/208): Update 
`MethodDispatchNode#block_literal?` to return true for `numblock`s. 
([@dvandersluis][])
+
+-------------------------------------------------------------------

Old:
----
  rubocop-ast-1.11.0.gem

New:
----
  rubocop-ast-1.12.0.gem

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

Other differences:
------------------
++++++ rubygem-rubocop-ast.spec ++++++
--- /var/tmp/diff_new_pack.ZgfsfO/_old  2021-10-11 15:32:34.250936697 +0200
+++ /var/tmp/diff_new_pack.ZgfsfO/_new  2021-10-11 15:32:34.250936697 +0200
@@ -24,7 +24,7 @@
 #
 
 Name:           rubygem-rubocop-ast
-Version:        1.11.0
+Version:        1.12.0
 Release:        0
 %define mod_name rubocop-ast
 %define mod_full_name %{mod_name}-%{version}
@@ -35,7 +35,7 @@
 BuildRequires:  %{ruby >= 2.5.0}
 BuildRequires:  %{rubygem gem2rpm}
 BuildRequires:  ruby-macros >= 5
-URL:            https://github.com/rubocop-hq/rubocop-ast
+URL:            https://github.com/rubocop/rubocop-ast
 Source:         https://rubygems.org/gems/%{mod_full_name}.gem
 Source1:        gem2rpm.yml
 Summary:        RuboCop tools to deal with Ruby code AST

++++++ rubocop-ast-1.11.0.gem -> rubocop-ast-1.12.0.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/README.md new/README.md
--- old/README.md       2021-08-24 06:29:03.000000000 +0200
+++ new/README.md       2021-09-28 03:59:26.000000000 +0200
@@ -1,11 +1,11 @@
 # RuboCop AST
 
 [![Gem 
Version](https://badge.fury.io/rb/rubocop-ast.svg)](https://badge.fury.io/rb/rubocop-ast)
-[![CI](https://github.com/rubocop-hq/rubocop-ast/workflows/CI/badge.svg)](https://github.com/rubocop-hq/rubocop-ast/actions?query=workflow%3ACI)
-[![Test 
Coverage](https://api.codeclimate.com/v1/badges/a29666e6373bc41bc0a9/test_coverage)](https://codeclimate.com/github/rubocop-hq/rubocop-ast/test_coverage)
-[![Maintainability](https://api.codeclimate.com/v1/badges/a29666e6373bc41bc0a9/maintainability)](https://codeclimate.com/github/rubocop-hq/rubocop-ast/maintainability)
+[![CI](https://github.com/rubocop/rubocop-ast/workflows/CI/badge.svg)](https://github.com/rubocop/rubocop-ast/actions?query=workflow%3ACI)
+[![Test 
Coverage](https://api.codeclimate.com/v1/badges/a29666e6373bc41bc0a9/test_coverage)](https://codeclimate.com/github/rubocop/rubocop-ast/test_coverage)
+[![Maintainability](https://api.codeclimate.com/v1/badges/a29666e6373bc41bc0a9/maintainability)](https://codeclimate.com/github/rubocop/rubocop-ast/maintainability)
 
-Contains the classes needed by 
[RuboCop](https://github.com/rubocop-hq/rubocop) to deal with Ruby's AST, in 
particular:
+Contains the classes needed by [RuboCop](https://github.com/rubocop/rubocop) 
to deal with Ruby's AST, in particular:
 
 * `RuboCop::AST::Node` ([doc](docs/modules/ROOT/pages/node_types.adoc))
 * `RuboCop::AST::NodePattern` 
([doc](docs/modules/ROOT/pages/node_pattern.adoc))
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/rubocop/ast/node/mixin/method_dispatch_node.rb 
new/lib/rubocop/ast/node/mixin/method_dispatch_node.rb
--- old/lib/rubocop/ast/node/mixin/method_dispatch_node.rb      2021-08-24 
06:29:03.000000000 +0200
+++ new/lib/rubocop/ast/node/mixin/method_dispatch_node.rb      2021-09-28 
03:59:26.000000000 +0200
@@ -28,9 +28,9 @@
         node_parts[1]
       end
 
-      # The `block` node associated with this method dispatch, if any.
+      # The `block` or `numblock` node associated with this method dispatch, 
if any.
       #
-      # @return [BlockNode, nil] the `block` node associated with this method
+      # @return [BlockNode, nil] the `block` or `numblock` node associated 
with this method
       #                          call or `nil`
       def block_node
         parent if block_literal?
@@ -154,7 +154,7 @@
       #
       # @return [Boolean] whether the dispatched method has a block
       def block_literal?
-        parent&.block_type? && eql?(parent.send_node)
+        (parent&.block_type? || parent&.numblock_type?) && 
eql?(parent.send_node)
       end
 
       # Checks whether this node is an arithmetic operation
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/rubocop/ast/node.rb new/lib/rubocop/ast/node.rb
--- old/lib/rubocop/ast/node.rb 2021-08-24 06:29:03.000000000 +0200
+++ new/lib/rubocop/ast/node.rb 2021-09-28 03:59:26.000000000 +0200
@@ -425,7 +425,7 @@
       end
 
       def keyword?
-        return true if special_keyword? || send_type? && prefix_not?
+        return true if special_keyword? || (send_type? && prefix_not?)
         return false unless KEYWORDS.include?(type)
 
         !OPERATOR_KEYWORDS.include?(type) || loc.operator.is?(type.to_s)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/rubocop/ast/version.rb 
new/lib/rubocop/ast/version.rb
--- old/lib/rubocop/ast/version.rb      2021-08-24 06:29:03.000000000 +0200
+++ new/lib/rubocop/ast/version.rb      2021-09-28 03:59:26.000000000 +0200
@@ -3,7 +3,7 @@
 module RuboCop
   module AST
     module Version
-      STRING = '1.11.0'
+      STRING = '1.12.0'
     end
   end
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2021-08-24 06:29:03.000000000 +0200
+++ new/metadata        2021-09-28 03:59:26.000000000 +0200
@@ -1,7 +1,7 @@
 --- !ruby/object:Gem::Specification
 name: rubocop-ast
 version: !ruby/object:Gem::Version
-  version: 1.11.0
+  version: 1.12.0
 platform: ruby
 authors:
 - Bozhidar Batsov
@@ -10,7 +10,7 @@
 autorequire:
 bindir: bin
 cert_chain: []
-date: 2021-08-24 00:00:00.000000000 Z
+date: 2021-09-28 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: parser
@@ -150,15 +150,15 @@
 - lib/rubocop/ast/token.rb
 - lib/rubocop/ast/traversal.rb
 - lib/rubocop/ast/version.rb
-homepage: https://github.com/rubocop-hq/rubocop-ast
+homepage: https://github.com/rubocop/rubocop-ast
 licenses:
 - MIT
 metadata:
   homepage_uri: https://www.rubocop.org/
-  changelog_uri: 
https://github.com/rubocop-hq/rubocop-ast/blob/master/CHANGELOG.md
-  source_code_uri: https://github.com/rubocop-hq/rubocop-ast/
+  changelog_uri: 
https://github.com/rubocop/rubocop-ast/blob/master/CHANGELOG.md
+  source_code_uri: https://github.com/rubocop/rubocop-ast/
   documentation_uri: https://docs.rubocop.org/rubocop-ast/
-  bug_tracker_uri: https://github.com/rubocop-hq/rubocop-ast/issues
+  bug_tracker_uri: https://github.com/rubocop/rubocop-ast/issues
 post_install_message:
 rdoc_options: []
 require_paths:

Reply via email to