commit rubygem-rubocop-ast for openSUSE:Factory

2024-06-24 Thread Source-Sync
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 2024-06-24 20:55:41

Comparing /work/SRC/openSUSE:Factory/rubygem-rubocop-ast (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-rubocop-ast.new.18349 (New)


Package is "rubygem-rubocop-ast"

Mon Jun 24 20:55:41 2024 rev:27 rq:1182834 version:1.31.3

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-rubocop-ast/rubygem-rubocop-ast.changes  
2024-03-18 16:47:50.67310 +0100
+++ 
/work/SRC/openSUSE:Factory/.rubygem-rubocop-ast.new.18349/rubygem-rubocop-ast.changes
   2024-06-24 20:57:26.805391665 +0200
@@ -1,0 +2,5 @@
+Fri Jun 21 10:38:51 UTC 2024 - Dan Čermák 
+
+- New upstream release 1.31.3, no changelog found
+
+---

Old:

  rubocop-ast-1.31.2.gem

New:

  rubocop-ast-1.31.3.gem



Other differences:
--
++ rubygem-rubocop-ast.spec ++
--- /var/tmp/diff_new_pack.yTUv4f/_old  2024-06-24 20:57:27.237407452 +0200
+++ /var/tmp/diff_new_pack.yTUv4f/_new  2024-06-24 20:57:27.237407452 +0200
@@ -24,7 +24,7 @@
 #
 
 Name:   rubygem-rubocop-ast
-Version:1.31.2
+Version:1.31.3
 Release:0
 %define mod_name rubocop-ast
 %define mod_full_name %{mod_name}-%{version}
@@ -32,7 +32,7 @@
 BuildRequires:  fdupes
 # /MANUAL
 BuildRequires:  ruby-macros >= 5
-BuildRequires:  %{ruby >= 2.6.0}
+BuildRequires:  %{ruby >= 2.7.0}
 BuildRequires:  %{rubygem gem2rpm}
 URL:https://github.com/rubocop/rubocop-ast
 Source: https://rubygems.org/gems/%{mod_full_name}.gem

++ rubocop-ast-1.31.2.gem -> rubocop-ast-1.31.3.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/rubocop/ast/processed_source.rb 
new/lib/rubocop/ast/processed_source.rb
--- old/lib/rubocop/ast/processed_source.rb 2024-03-08 16:27:16.0 
+0100
+++ new/lib/rubocop/ast/processed_source.rb 2024-04-29 15:33:13.0 
+0200
@@ -209,7 +209,7 @@
 
 begin
   @buffer.source = source
-rescue EncodingError => e
+rescue EncodingError, Parser::UnknownEncodingInMagicComment => e
   @parser_error = e
   @ast = nil
   @comments = []
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/rubocop/ast/traversal.rb 
new/lib/rubocop/ast/traversal.rb
--- old/lib/rubocop/ast/traversal.rb2024-03-08 16:27:16.0 +0100
+++ new/lib/rubocop/ast/traversal.rb2024-04-29 15:33:13.0 +0200
@@ -38,7 +38,7 @@
  body: self.body(signature, arity_check))
   type, *aliases = type
   lineno = caller_locations(1, 1).first.lineno
-  module_eval(<<~RUBY, __FILE__, lineno) # rubocop:disable 
Style/EvalWithLocation
+  module_eval(<<~RUBY, __FILE__, lineno)
 def on_#{type}(node)# def on_send(node)
   #{body}   #   # body ...
   nil   #   nil
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  2024-03-08 16:27:16.0 +0100
+++ new/lib/rubocop/ast/version.rb  2024-04-29 15:33:13.0 +0200
@@ -3,7 +3,7 @@
 module RuboCop
   module AST
 module Version
-  STRING = '1.31.2'
+  STRING = '1.31.3'
 end
   end
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata2024-03-08 16:27:16.0 +0100
+++ new/metadata2024-04-29 15:33:13.0 +0200
@@ -1,7 +1,7 @@
 --- !ruby/object:Gem::Specification
 name: rubocop-ast
 version: !ruby/object:Gem::Version
-  version: 1.31.2
+  version: 1.31.3
 platform: ruby
 authors:
 - Bozhidar Batsov
@@ -10,7 +10,7 @@
 autorequire:
 bindir: bin
 cert_chain: []
-date: 2024-03-08 00:00:00.0 Z
+date: 2024-04-29 00:00:00.0 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: parser
@@ -18,14 +18,14 @@
 requirements:
 - - ">="
   - !ruby/object:Gem::Version
-version: 3.3.0.4
+version: 3.3.1.0
   type: :runtime
   prerelease: false
   version_requirements: !ruby/object:Gem::Requirement
 requirements:
 - - ">="
   - !ruby/object:Gem::Version
-version: 3.3.0.4
+version: 3.3.1.0
 description: "RuboCop's Node and NodePattern classes.\n"
 email: rubo...@googlegroups.com
 executables: []


commit rubygem-rubocop-ast for openSUSE:Factory

2023-10-13 Thread Source-Sync
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 2023-10-10 21:00:04

Comparing /work/SRC/openSUSE:Factory/rubygem-rubocop-ast (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-rubocop-ast.new.28202 (New)


Package is "rubygem-rubocop-ast"

Tue Oct 10 21:00:04 2023 rev:24 rq:1116489 version:1.29.0

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-rubocop-ast/rubygem-rubocop-ast.changes  
2022-12-13 18:57:27.351840025 +0100
+++ 
/work/SRC/openSUSE:Factory/.rubygem-rubocop-ast.new.28202/rubygem-rubocop-ast.changes
   2023-10-10 21:00:58.819562073 +0200
@@ -1,0 +2,40 @@
+Sat Sep  2 10:04:21 UTC 2023 - Mykola Krachkovsky 
+
+- updated to version 1.29.0
+
+  ## 1.29.0 (2023-06-01)
+
+  * [#262](https://github.com/rubocop/rubocop-ast/pull/267): Introduce 
RuboCop::Ast::MethodDispatchNode#selector. ([@gsamokovarov][])
+
+  ## 1.28.1 (2023-05-01)
+
+  ### Bug fixes
+
+  * [#262](https://github.com/rubocop/rubocop-ast/pull/262): Fix an error when 
parsing non UTF-8 frozen string. ([@koic][])
+
+  ## 1.28.0 (2023-03-24)
+
+  ### New features
+
+  * [#259](https://github.com/rubocop/rubocop-ast/pull/259): Add 
`forwarded_kwrestarg` node to `AST::Builder`. ([@koic][])
+
+  ## 1.27.0 (2023-02-27)
+
+  ### New features
+
+  * [#229](https://github.com/rubocop/rubocop-ast/pull/229): Add 
`source_range` method to `NodePattern`. ([@koic][])
+
+  ## 1.26.0 (2023-02-11)
+
+  ### New features
+
+  * [#255](https://github.com/rubocop/rubocop-ast/pull/255): Make 
`Node#class_constructor?` aware of Ruby 3.2's `Data.define`. ([@koic][])
+  * [#255](https://github.com/rubocop/rubocop-ast/pull/255): Make 
`Node#class_construcor?` aware of Ruby 2.7's numbered parameters. ([@koic][])
+
+  ## 1.25.0 (2023-02-11)
+
+  ### New features
+
+  * [#256](https://github.com/rubocop-hq/rubocop-ast/pull/256): Support 
`Parser::Ruby33` for Ruby 3.3 parser (experimental). ([@koic][])
+
+---

Old:

  rubocop-ast-1.24.0.gem

New:

  rubocop-ast-1.29.0.gem



Other differences:
--
++ rubygem-rubocop-ast.spec ++
--- /var/tmp/diff_new_pack.QxHXDH/_old  2023-10-10 21:01:00.923638373 +0200
+++ /var/tmp/diff_new_pack.QxHXDH/_new  2023-10-10 21:01:00.923638373 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-rubocop-ast
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,7 +24,7 @@
 #
 
 Name:   rubygem-rubocop-ast
-Version:1.24.0
+Version:1.29.0
 Release:0
 %define mod_name rubocop-ast
 %define mod_full_name %{mod_name}-%{version}

++ rubocop-ast-1.24.0.gem -> rubocop-ast-1.29.0.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/rubocop/ast/builder.rb 
new/lib/rubocop/ast/builder.rb
--- old/lib/rubocop/ast/builder.rb  2022-11-30 19:45:02.0 +0100
+++ new/lib/rubocop/ast/builder.rb  2023-06-01 14:34:56.0 +0200
@@ -19,76 +19,77 @@
 
   # @api private
   NODE_MAP = {
-and:  AndNode,
-and_asgn: AndAsgnNode,
-alias:AliasNode,
-arg:  ArgNode,
-blockarg: ArgNode,
-forward_arg:  ArgNode,
-kwarg:ArgNode,
-kwoptarg: ArgNode,
-kwrestarg:ArgNode,
-optarg:   ArgNode,
-restarg:  ArgNode,
-shadowarg:ArgNode,
-args: ArgsNode,
-array:ArrayNode,
-lvasgn:   AsgnNode,
-ivasgn:   AsgnNode,
-cvasgn:   AsgnNode,
-gvasgn:   AsgnNode,
-block:BlockNode,
-numblock: BlockNode,
-break:BreakNode,
-case_match:   CaseMatchNode,
-casgn:CasgnNode,
-case: CaseNode,
-class:ClassNode,
-const:ConstNode,
-def:  DefNode,
-defined?: DefinedNode,
-defs: DefNode,
-dstr: DstrNode,
-ensure:   EnsureNode,
-for:  ForNode,
-forward_args: ForwardArgsNode,
-float:FloatNode,
-hash: HashNode,
-if:   IfNode,
-in_pattern:   InPatternNode,
-int:  IntNode,
-index:IndexNode,
-indexasgn:IndexasgnNode,
-irange:   RangeNode,
-erange:   RangeNode,
-kwarg

commit rubygem-rubocop-ast for openSUSE:Factory

2022-12-13 Thread Source-Sync
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 2022-12-13 18:56:58

Comparing /work/SRC/openSUSE:Factory/rubygem-rubocop-ast (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-rubocop-ast.new.1835 (New)


Package is "rubygem-rubocop-ast"

Tue Dec 13 18:56:58 2022 rev:23 rq:1042659 version:1.24.0

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-rubocop-ast/rubygem-rubocop-ast.changes  
2022-10-30 18:29:18.734538794 +0100
+++ 
/work/SRC/openSUSE:Factory/.rubygem-rubocop-ast.new.1835/rubygem-rubocop-ast.changes
2022-12-13 18:57:27.351840025 +0100
@@ -1,0 +2,6 @@
+Wed Dec  7 11:33:32 UTC 2022 - Stephan Kulow 
+
+updated to version 1.24.0
+  no changelog found
+
+---

Old:

  rubocop-ast-1.23.0.gem

New:

  rubocop-ast-1.24.0.gem



Other differences:
--
++ rubygem-rubocop-ast.spec ++
--- /var/tmp/diff_new_pack.Evfnw5/_old  2022-12-13 18:57:28.023843611 +0100
+++ /var/tmp/diff_new_pack.Evfnw5/_new  2022-12-13 18:57:28.031843654 +0100
@@ -24,7 +24,7 @@
 #
 
 Name:   rubygem-rubocop-ast
-Version:1.23.0
+Version:1.24.0
 Release:0
 %define mod_name rubocop-ast
 %define mod_full_name %{mod_name}-%{version}

++ rubocop-ast-1.23.0.gem -> rubocop-ast-1.24.0.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/rubocop/ast/traversal.rb 
new/lib/rubocop/ast/traversal.rb
--- old/lib/rubocop/ast/traversal.rb2022-10-21 16:03:43.0 +0200
+++ new/lib/rubocop/ast/traversal.rb2022-11-30 19:45:02.0 +0100
@@ -75,7 +75,8 @@
   ### arity == 0
   no_children = %i[true false nil self cbase zsuper redo retry
forward_args forwarded_args match_nil_pattern
-   forward_arg lambda empty_else kwnilarg
+   forward_arg forwarded_restarg forwarded_kwrestarg
+   lambda empty_else kwnilarg
__FILE__ __LINE__ __ENCODING__]
 
   ### arity == 0..1
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  2022-10-21 16:03:43.0 +0200
+++ new/lib/rubocop/ast/version.rb  2022-11-30 19:45:02.0 +0100
@@ -3,7 +3,7 @@
 module RuboCop
   module AST
 module Version
-  STRING = '1.23.0'
+  STRING = '1.24.0'
 end
   end
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata2022-10-21 16:03:43.0 +0200
+++ new/metadata2022-11-30 19:45:02.0 +0100
@@ -1,7 +1,7 @@
 --- !ruby/object:Gem::Specification
 name: rubocop-ast
 version: !ruby/object:Gem::Version
-  version: 1.23.0
+  version: 1.24.0
 platform: ruby
 authors:
 - Bozhidar Batsov
@@ -10,7 +10,7 @@
 autorequire:
 bindir: bin
 cert_chain: []
-date: 2022-10-21 00:00:00.0 Z
+date: 2022-11-30 00:00:00.0 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: parser


commit rubygem-rubocop-ast for openSUSE:Factory

2022-10-30 Thread Source-Sync
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 2022-10-30 18:29:00

Comparing /work/SRC/openSUSE:Factory/rubygem-rubocop-ast (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-rubocop-ast.new.2275 (New)


Package is "rubygem-rubocop-ast"

Sun Oct 30 18:29:00 2022 rev:22 rq:1032161 version:1.23.0

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-rubocop-ast/rubygem-rubocop-ast.changes  
2022-08-27 11:50:16.549867015 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-rubocop-ast.new.2275/rubygem-rubocop-ast.changes
2022-10-30 18:29:18.734538794 +0100
@@ -1,0 +2,6 @@
+Fri Oct 28 05:06:50 UTC 2022 - Stephan Kulow 
+
+updated to version 1.23.0
+  no changelog found
+
+---

Old:

  rubocop-ast-1.21.0.gem

New:

  rubocop-ast-1.23.0.gem



Other differences:
--
++ rubygem-rubocop-ast.spec ++
--- /var/tmp/diff_new_pack.O9DyEI/_old  2022-10-30 18:29:19.182541215 +0100
+++ /var/tmp/diff_new_pack.O9DyEI/_new  2022-10-30 18:29:19.186541236 +0100
@@ -24,7 +24,7 @@
 #
 
 Name:   rubygem-rubocop-ast
-Version:1.21.0
+Version:1.23.0
 Release:0
 %define mod_name rubocop-ast
 %define mod_full_name %{mod_name}-%{version}

++ rubocop-ast-1.21.0.gem -> rubocop-ast-1.23.0.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/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  2022-08-08 
13:37:27.0 +0200
+++ new/lib/rubocop/ast/node/mixin/method_dispatch_node.rb  2022-10-21 
16:03:43.0 +0200
@@ -233,7 +233,7 @@
   #
   #   foo + bar
   #
-  # @return [Bookean] whether this method is a binary operation
+  # @return [Boolean] whether this method is a binary operation
   def binary_operation?
 return false unless loc.selector
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/rubocop/ast/node/str_node.rb 
new/lib/rubocop/ast/node/str_node.rb
--- old/lib/rubocop/ast/node/str_node.rb2022-08-08 13:37:27.0 
+0200
+++ new/lib/rubocop/ast/node/str_node.rb2022-10-21 16:03:43.0 
+0200
@@ -8,6 +8,10 @@
 class StrNode < Node
   include BasicLiteralNode
 
+  def character_literal?
+loc.respond_to?(:begin) && loc.begin && loc.begin.is?('?')
+  end
+
   def heredoc?
 loc.is_a?(Parser::Source::Map::Heredoc)
   end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/rubocop/ast/token.rb new/lib/rubocop/ast/token.rb
--- old/lib/rubocop/ast/token.rb2022-08-08 13:37:27.0 +0200
+++ new/lib/rubocop/ast/token.rb2022-10-21 16:03:43.0 +0200
@@ -119,6 +119,10 @@
   def equal_sign?
 %i[tEQL tOP_ASGN].include?(type)
   end
+
+  def new_line?
+type == :tNL
+  end
 end
   end
 end
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  2022-08-08 13:37:27.0 +0200
+++ new/lib/rubocop/ast/version.rb  2022-10-21 16:03:43.0 +0200
@@ -3,7 +3,7 @@
 module RuboCop
   module AST
 module Version
-  STRING = '1.21.0'
+  STRING = '1.23.0'
 end
   end
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata2022-08-08 13:37:27.0 +0200
+++ new/metadata2022-10-21 16:03:43.0 +0200
@@ -1,7 +1,7 @@
 --- !ruby/object:Gem::Specification
 name: rubocop-ast
 version: !ruby/object:Gem::Version
-  version: 1.21.0
+  version: 1.23.0
 platform: ruby
 authors:
 - Bozhidar Batsov
@@ -10,7 +10,7 @@
 autorequire:
 bindir: bin
 cert_chain: []
-date: 2022-08-08 00:00:00.0 Z
+date: 2022-10-21 00:00:00.0 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: parser


commit rubygem-rubocop-ast for openSUSE:Factory

2022-08-27 Thread Source-Sync
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 2022-08-27 11:50:12

Comparing /work/SRC/openSUSE:Factory/rubygem-rubocop-ast (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-rubocop-ast.new.2083 (New)


Package is "rubygem-rubocop-ast"

Sat Aug 27 11:50:12 2022 rev:21 rq:999451 version:1.21.0

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-rubocop-ast/rubygem-rubocop-ast.changes  
2022-08-09 15:27:08.693418179 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-rubocop-ast.new.2083/rubygem-rubocop-ast.changes
2022-08-27 11:50:16.549867015 +0200
@@ -1,0 +2,9 @@
+Fri Aug 26 16:44:18 UTC 2022 - Manuel Schnitzer 
+
+- updated to version 1.21.0
+
+  ### New features
+
+  * [#231](https://github.com/rubocop/rubocop-ast/pull/231): Add a type 
predicate `dot?` to Token. ([@nobuyo][])
+
+---

Old:

  rubocop-ast-1.19.1.gem

New:

  rubocop-ast-1.21.0.gem



Other differences:
--
++ rubygem-rubocop-ast.spec ++
--- /var/tmp/diff_new_pack.e024ds/_old  2022-08-27 11:50:17.081868158 +0200
+++ /var/tmp/diff_new_pack.e024ds/_new  2022-08-27 11:50:17.085868166 +0200
@@ -24,7 +24,7 @@
 #
 
 Name:   rubygem-rubocop-ast
-Version:1.19.1
+Version:1.21.0
 Release:0
 %define mod_name rubocop-ast
 %define mod_full_name %{mod_name}-%{version}

++ rubocop-ast-1.19.1.gem -> rubocop-ast-1.21.0.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/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  2022-07-10 
06:24:48.0 +0200
+++ new/lib/rubocop/ast/node/mixin/method_dispatch_node.rb  2022-08-08 
13:37:27.0 +0200
@@ -249,7 +249,7 @@
   ^{   # or the parent is...
 sclass class module class_constructor? # a class-like node
 [ {# or some "wrapper"
-kwbegin begin block
+kwbegin begin block numblock
 (if _condition <%0 _>)  # note: we're excluding the condition 
of `if` nodes
   }
   #in_macro_scope? # that is itself in a macro 
scope
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/rubocop/ast/node/regexp_node.rb 
new/lib/rubocop/ast/node/regexp_node.rb
--- old/lib/rubocop/ast/node/regexp_node.rb 2022-07-10 06:24:48.0 
+0200
+++ new/lib/rubocop/ast/node/regexp_node.rb 2022-08-08 13:37:27.0 
+0200
@@ -11,6 +11,7 @@
 i: Regexp::IGNORECASE,
 m: Regexp::MULTILINE,
 n: Regexp::NOENCODING,
+u: Regexp::FIXEDENCODING,
 o: 0
   }.freeze
   private_constant :OPTIONS
@@ -87,6 +88,11 @@
 regopt_include?(:n)
   end
 
+  # @return [Bool] if regexp uses the fixed-encoding regopt
+  def fixed_encoding?
+regopt_include?(:u)
+  end
+
   private
 
   def regopt_include?(option)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/rubocop/ast/token.rb new/lib/rubocop/ast/token.rb
--- old/lib/rubocop/ast/token.rb2022-07-10 06:24:48.0 +0200
+++ new/lib/rubocop/ast/token.rb2022-08-08 13:37:27.0 +0200
@@ -100,6 +100,10 @@
 type == :tCOMMA
   end
 
+  def dot?
+type == :tDOT
+  end
+
   def regexp_dots?
 %i[tDOT2 tDOT3].include?(type)
   end
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  2022-07-10 06:24:48.0 +0200
+++ new/lib/rubocop/ast/version.rb  2022-08-08 13:37:27.0 +0200
@@ -3,7 +3,7 @@
 module RuboCop
   module AST
 module Version
-  STRING = '1.19.1'
+  STRING = '1.21.0'
 end
   end
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata2022-07-10 06:24:48.0 +0200
+++ new/metadata2022-08-08 13:37:27.0 +0200
@@ -1,7 +1,7 @@
 --- !ruby/object:Gem::Specification
 name: rubocop-ast
 version: !ruby/object:Gem::Version
-  version: 1.19.1
+  version: 1.21.0
 platform: ruby
 authors:
 - Bozhidar Batsov
@@ -10,7 +10,7 @@
 autorequire:
 bindir: bin
 cert_chain: []
-date: 2022-07-10 00:00:0

commit rubygem-rubocop-ast for openSUSE:Factory

2022-08-09 Thread Source-Sync
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 2022-08-09 15:26:52

Comparing /work/SRC/openSUSE:Factory/rubygem-rubocop-ast (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-rubocop-ast.new.1521 (New)


Package is "rubygem-rubocop-ast"

Tue Aug  9 15:26:52 2022 rev:20 rq:993519 version:1.19.1

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-rubocop-ast/rubygem-rubocop-ast.changes  
2022-05-16 18:11:04.061399856 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-rubocop-ast.new.1521/rubygem-rubocop-ast.changes
2022-08-09 15:27:08.693418179 +0200
@@ -1,0 +2,6 @@
+Thu Aug  4 13:26:45 UTC 2022 - Stephan Kulow 
+
+updated to version 1.19.1
+  no changelog found
+
+---

Old:

  rubocop-ast-1.18.0.gem

New:

  rubocop-ast-1.19.1.gem



Other differences:
--
++ rubygem-rubocop-ast.spec ++
--- /var/tmp/diff_new_pack.n0QBri/_old  2022-08-09 15:27:09.289419883 +0200
+++ /var/tmp/diff_new_pack.n0QBri/_new  2022-08-09 15:27:09.293419894 +0200
@@ -24,7 +24,7 @@
 #
 
 Name:   rubygem-rubocop-ast
-Version:1.18.0
+Version:1.19.1
 Release:0
 %define mod_name rubocop-ast
 %define mod_full_name %{mod_name}-%{version}

++ rubocop-ast-1.18.0.gem -> rubocop-ast-1.19.1.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/rubocop/ast/node_pattern/compiler/binding.rb 
new/lib/rubocop/ast/node_pattern/compiler/binding.rb
--- old/lib/rubocop/ast/node_pattern/compiler/binding.rb2022-05-13 
19:13:22.0 +0200
+++ new/lib/rubocop/ast/node_pattern/compiler/binding.rb2022-07-10 
06:24:48.0 +0200
@@ -20,8 +20,8 @@
 end
 
 if var == :forbidden_unification
-  raise Invalid, "Wildcard #{name} was first seen in a subset of 
a" \
- " union and can't be used outside that union"
+  raise Invalid, "Wildcard #{name} was first seen in a subset of a 
" \
+ "union and can't be used outside that union"
 end
 var
   end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/rubocop/ast/token.rb new/lib/rubocop/ast/token.rb
--- old/lib/rubocop/ast/token.rb2022-05-13 19:13:22.0 +0200
+++ new/lib/rubocop/ast/token.rb2022-07-10 06:24:48.0 +0200
@@ -100,6 +100,10 @@
 type == :tCOMMA
   end
 
+  def regexp_dots?
+%i[tDOT2 tDOT3].include?(type)
+  end
+
   def rescue_modifier?
 type == :kRESCUE_MOD
   end
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  2022-05-13 19:13:22.0 +0200
+++ new/lib/rubocop/ast/version.rb  2022-07-10 06:24:48.0 +0200
@@ -3,7 +3,7 @@
 module RuboCop
   module AST
 module Version
-  STRING = '1.18.0'
+  STRING = '1.19.1'
 end
   end
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata2022-05-13 19:13:22.0 +0200
+++ new/metadata2022-07-10 06:24:48.0 +0200
@@ -1,7 +1,7 @@
 --- !ruby/object:Gem::Specification
 name: rubocop-ast
 version: !ruby/object:Gem::Version
-  version: 1.18.0
+  version: 1.19.1
 platform: ruby
 authors:
 - Bozhidar Batsov
@@ -10,7 +10,7 @@
 autorequire:
 bindir: bin
 cert_chain: []
-date: 2022-05-13 00:00:00.0 Z
+date: 2022-07-10 00:00:00.0 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: parser


commit rubygem-rubocop-ast for openSUSE:Factory

2022-05-16 Thread Source-Sync
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 2022-05-16 18:08:36

Comparing /work/SRC/openSUSE:Factory/rubygem-rubocop-ast (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-rubocop-ast.new.1538 (New)


Package is "rubygem-rubocop-ast"

Mon May 16 18:08:36 2022 rev:19 rq:977462 version:1.18.0

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-rubocop-ast/rubygem-rubocop-ast.changes  
2022-04-30 22:53:01.748264134 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-rubocop-ast.new.1538/rubygem-rubocop-ast.changes
2022-05-16 18:11:04.061399856 +0200
@@ -1,0 +2,9 @@
+Mon May 16 07:56:26 UTC 2022 - Manuel Schnitzer 
+
+- updated to version 1.18.0
+
+  ### New features
+
+  * [#233](https://github.com/rubocop-hq/rubocop-ast/pull/233): Make parse 
from Ruby 1.9 to 2.3 available. ([@koic][])
+
+---

Old:

  rubocop-ast-1.17.0.gem

New:

  rubocop-ast-1.18.0.gem



Other differences:
--
++ rubygem-rubocop-ast.spec ++
--- /var/tmp/diff_new_pack.qvtlJA/_old  2022-05-16 18:11:04.525400225 +0200
+++ /var/tmp/diff_new_pack.qvtlJA/_new  2022-05-16 18:11:04.533400232 +0200
@@ -24,7 +24,7 @@
 #
 
 Name:   rubygem-rubocop-ast
-Version:1.17.0
+Version:1.18.0
 Release:0
 %define mod_name rubocop-ast
 %define mod_full_name %{mod_name}-%{version}
@@ -32,7 +32,7 @@
 BuildRequires:  fdupes
 # /MANUAL
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  %{ruby >= 2.5.0}
+BuildRequires:  %{ruby >= 2.6.0}
 BuildRequires:  %{rubygem gem2rpm}
 BuildRequires:  ruby-macros >= 5
 URL:https://github.com/rubocop/rubocop-ast

++ rubocop-ast-1.17.0.gem -> rubocop-ast-1.18.0.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/rubocop/ast/node/mixin/parameterized_node.rb 
new/lib/rubocop/ast/node/mixin/parameterized_node.rb
--- old/lib/rubocop/ast/node/mixin/parameterized_node.rb2022-04-09 
11:20:37.0 +0200
+++ new/lib/rubocop/ast/node/mixin/parameterized_node.rb2022-05-13 
19:13:22.0 +0200
@@ -84,7 +84,7 @@
 include ParameterizedNode
 # @return [Array] arguments, if any
 def arguments
-  children[first_argument_index..-1].freeze
+  children[first_argument_index..].freeze
 end
 
 # A shorthand for getting the first argument of the node.
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 2022-04-09 11:20:37.0 +0200
+++ new/lib/rubocop/ast/node.rb 2022-05-13 19:13:22.0 +0200
@@ -194,7 +194,7 @@
   def right_siblings
 return [].freeze unless parent
 
-parent.children[sibling_index + 1..-1].freeze
+parent.children[sibling_index + 1..].freeze
   end
 
   # Common destructuring method. This can be used to normalize
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb 
new/lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb
--- old/lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb   
2022-04-09 11:20:37.0 +0200
+++ new/lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb   
2022-05-13 19:13:22.0 +0200
@@ -371,13 +371,13 @@
 
   # @return [Hash] of {subcompiler => code}
   def compile_union_forks
-compiler.each_union(node.children).map do |child|
+compiler.each_union(node.children).to_h do |child|
   subsequence_terms = child.is_a?(Node::Subsequence) ? 
child.children : [child]
   fork = dup
   code = fork.compile_terms(subsequence_terms, @remaining_arity)
   @in_sync = false if @cur_index != :variadic_mode
   [fork, code]
-end.to_h # we could avoid map if RUBY_VERSION >= 2.6...
+end
   end
 
   # Modifies in place `forks` to insure that `cur_{child|index}_var` 
are ok
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/rubocop/ast/node_pattern/node.rb 
new/lib/rubocop/ast/node_pattern/node.rb
--- old/lib/rubocop/ast/node_pattern/node.rb2022-04-09 11:20:37.0 
+0200
+++ new/lib/rubocop/ast/node_pattern/node.rb2022-05-13 19:13:22.0 
+0200
@@ -116,7 +116,7 @@
 
   def initialize(type, children = [], properties = {})
 

commit rubygem-rubocop-ast for openSUSE:Factory

2022-04-30 Thread Source-Sync
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 2022-04-30 22:52:48

Comparing /work/SRC/openSUSE:Factory/rubygem-rubocop-ast (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-rubocop-ast.new.1538 (New)


Package is "rubygem-rubocop-ast"

Sat Apr 30 22:52:48 2022 rev:18 rq:974075 version:1.17.0

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-rubocop-ast/rubygem-rubocop-ast.changes  
2022-03-11 11:35:31.406214995 +0100
+++ 
/work/SRC/openSUSE:Factory/.rubygem-rubocop-ast.new.1538/rubygem-rubocop-ast.changes
2022-04-30 22:53:01.748264134 +0200
@@ -1,0 +2,6 @@
+Thu Apr 28 05:47:10 UTC 2022 - Stephan Kulow 
+
+updated to version 1.17.0
+  no changelog found
+
+---

Old:

  rubocop-ast-1.16.0.gem

New:

  rubocop-ast-1.17.0.gem



Other differences:
--
++ rubygem-rubocop-ast.spec ++
--- /var/tmp/diff_new_pack.oK9FUf/_old  2022-04-30 22:53:02.204264752 +0200
+++ /var/tmp/diff_new_pack.oK9FUf/_new  2022-04-30 22:53:02.212264763 +0200
@@ -24,7 +24,7 @@
 #
 
 Name:   rubygem-rubocop-ast
-Version:1.16.0
+Version:1.17.0
 Release:0
 %define mod_name rubocop-ast
 %define mod_full_name %{mod_name}-%{version}

++ rubocop-ast-1.16.0.gem -> rubocop-ast-1.17.0.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/rubocop/ast/node.rb new/lib/rubocop/ast/node.rb
--- old/lib/rubocop/ast/node.rb 2022-02-22 03:41:59.0 +0100
+++ new/lib/rubocop/ast/node.rb 2022-04-09 11:20:37.0 +0200
@@ -57,7 +57,7 @@
   # @api private
   BASIC_CONDITIONALS = %i[if while until].to_set.freeze
   # @api private
-  CONDITIONALS = (BASIC_CONDITIONALS + [:case]).freeze
+  CONDITIONALS = (BASIC_CONDITIONALS + %i[case case_match]).freeze
   # @api private
   POST_CONDITION_LOOP_TYPES = %i[while_post until_post].to_set.freeze
   # @api private
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  2022-02-22 03:41:59.0 +0100
+++ new/lib/rubocop/ast/version.rb  2022-04-09 11:20:37.0 +0200
@@ -3,7 +3,7 @@
 module RuboCop
   module AST
 module Version
-  STRING = '1.16.0'
+  STRING = '1.17.0'
 end
   end
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata2022-02-22 03:41:59.0 +0100
+++ new/metadata2022-04-09 11:20:37.0 +0200
@@ -1,7 +1,7 @@
 --- !ruby/object:Gem::Specification
 name: rubocop-ast
 version: !ruby/object:Gem::Version
-  version: 1.16.0
+  version: 1.17.0
 platform: ruby
 authors:
 - Bozhidar Batsov
@@ -10,7 +10,7 @@
 autorequire:
 bindir: bin
 cert_chain: []
-date: 2022-02-22 00:00:00.0 Z
+date: 2022-04-09 00:00:00.0 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: parser


commit rubygem-rubocop-ast for openSUSE:Factory

2022-03-11 Thread Source-Sync
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 2022-03-10 22:46:06

Comparing /work/SRC/openSUSE:Factory/rubygem-rubocop-ast (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-rubocop-ast.new.2349 (New)


Package is "rubygem-rubocop-ast"

Thu Mar 10 22:46:06 2022 rev:17 rq:960906 version:1.16.0

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-rubocop-ast/rubygem-rubocop-ast.changes  
2022-02-24 18:23:40.114655112 +0100
+++ 
/work/SRC/openSUSE:Factory/.rubygem-rubocop-ast.new.2349/rubygem-rubocop-ast.changes
2022-03-11 11:35:31.406214995 +0100
@@ -1,0 +2,9 @@
+Thu Mar 10 16:39:06 UTC 2022 - Manuel Schnitzer 
+
+- updated to version 1.16.0
+
+  ### New features
+
+  * [#223](https://github.com/rubocop-hq/rubocop-ast/pull/223): Support 
`Parser::Ruby32` for Ruby 3.2 parser (experimental). ([@koic][])
+
+---

Old:

  rubocop-ast-1.15.2.gem

New:

  rubocop-ast-1.16.0.gem



Other differences:
--
++ rubygem-rubocop-ast.spec ++
--- /var/tmp/diff_new_pack.yTc918/_old  2022-03-11 11:35:31.842215506 +0100
+++ /var/tmp/diff_new_pack.yTc918/_new  2022-03-11 11:35:31.846215511 +0100
@@ -24,7 +24,7 @@
 #
 
 Name:   rubygem-rubocop-ast
-Version:1.15.2
+Version:1.16.0
 Release:0
 %define mod_name rubocop-ast
 %define mod_full_name %{mod_name}-%{version}

++ rubocop-ast-1.15.2.gem -> rubocop-ast-1.16.0.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/rubocop/ast/processed_source.rb 
new/lib/rubocop/ast/processed_source.rb
--- old/lib/rubocop/ast/processed_source.rb 2022-02-12 16:41:46.0 
+0100
+++ new/lib/rubocop/ast/processed_source.rb 2022-02-22 03:41:59.0 
+0100
@@ -226,7 +226,7 @@
 [ast, comments, tokens]
   end
 
-  # rubocop:disable Metrics/MethodLength
+  # rubocop:disable Metrics/CyclomaticComplexity, Metrics/MethodLength
   def parser_class(ruby_version)
 case ruby_version
 when 2.4
@@ -247,12 +247,15 @@
 when 3.1
   require 'parser/ruby31'
   Parser::Ruby31
+when 3.2
+  require 'parser/ruby32'
+  Parser::Ruby32
 else
   raise ArgumentError,
 "RuboCop found unknown Ruby version: #{ruby_version.inspect}"
 end
   end
-  # rubocop:enable Metrics/MethodLength
+  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/MethodLength
 
   def create_parser(ruby_version)
 builder = RuboCop::AST::Builder.new
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  2022-02-12 16:41:46.0 +0100
+++ new/lib/rubocop/ast/version.rb  2022-02-22 03:41:59.0 +0100
@@ -3,7 +3,7 @@
 module RuboCop
   module AST
 module Version
-  STRING = '1.15.2'
+  STRING = '1.16.0'
 end
   end
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata2022-02-12 16:41:46.0 +0100
+++ new/metadata2022-02-22 03:41:59.0 +0100
@@ -1,7 +1,7 @@
 --- !ruby/object:Gem::Specification
 name: rubocop-ast
 version: !ruby/object:Gem::Version
-  version: 1.15.2
+  version: 1.16.0
 platform: ruby
 authors:
 - Bozhidar Batsov
@@ -10,7 +10,7 @@
 autorequire:
 bindir: bin
 cert_chain: []
-date: 2022-02-12 00:00:00.0 Z
+date: 2022-02-22 00:00:00.0 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: parser
@@ -18,14 +18,14 @@
 requirements:
 - - ">="
   - !ruby/object:Gem::Version
-version: 3.0.1.1
+version: 3.1.1.0
   type: :runtime
   prerelease: false
   version_requirements: !ruby/object:Gem::Requirement
 requirements:
 - - ">="
   - !ruby/object:Gem::Version
-version: 3.0.1.1
+version: 3.1.1.0
 - !ruby/object:Gem::Dependency
   name: bundler
   requirement: !ruby/object:Gem::Requirement


commit rubygem-rubocop-ast for openSUSE:Factory

2022-02-24 Thread Source-Sync
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 2022-02-24 18:20:24

Comparing /work/SRC/openSUSE:Factory/rubygem-rubocop-ast (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-rubocop-ast.new.1958 (New)


Package is "rubygem-rubocop-ast"

Thu Feb 24 18:20:24 2022 rev:16 rq:956130 version:1.15.2

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-rubocop-ast/rubygem-rubocop-ast.changes  
2021-12-30 15:56:08.652688020 +0100
+++ 
/work/SRC/openSUSE:Factory/.rubygem-rubocop-ast.new.1958/rubygem-rubocop-ast.changes
2022-02-24 18:23:40.114655112 +0100
@@ -1,0 +2,6 @@
+Tue Feb 15 07:41:48 UTC 2022 - Stephan Kulow 
+
+updated to version 1.15.2
+  no changelog found
+
+---

Old:

  rubocop-ast-1.15.1.gem

New:

  rubocop-ast-1.15.2.gem



Other differences:
--
++ rubygem-rubocop-ast.spec ++
--- /var/tmp/diff_new_pack.rlK3bJ/_old  2022-02-24 18:23:40.574654993 +0100
+++ /var/tmp/diff_new_pack.rlK3bJ/_new  2022-02-24 18:23:40.582654990 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-rubocop-ast
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,7 +24,7 @@
 #
 
 Name:   rubygem-rubocop-ast
-Version:1.15.1
+Version:1.15.2
 Release:0
 %define mod_name rubocop-ast
 %define mod_full_name %{mod_name}-%{version}

++ rubocop-ast-1.15.1.gem -> rubocop-ast-1.15.2.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/rubocop/ast/node_pattern/lexer.rex 
new/lib/rubocop/ast/node_pattern/lexer.rex
--- old/lib/rubocop/ast/node_pattern/lexer.rex  2021-12-27 16:11:46.0 
+0100
+++ new/lib/rubocop/ast/node_pattern/lexer.rex  2022-02-12 16:41:46.0 
+0100
@@ -12,7 +12,7 @@
 
 macros
 CONST_NAME/[A-Z:][a-zA-Z_:]+/
-SYMBOL_NAME   /[\w+@*\/?!<>=~|%^-]+|\[\]=?/
+SYMBOL_NAME   /[\w+@*\/?!<>=~|%^&-]+|\[\]=?/
 IDENTIFIER/[a-z][a-zA-Z0-9_]*/
 NODE_TYPE /[a-z][a-zA-Z0-9_-]*/  # Same as identifier 
but allows '-'
 CALL  /(?:#{CONST_NAME}\.)?#{IDENTIFIER}[!?]?/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/rubocop/ast/node_pattern/lexer.rex.rb 
new/lib/rubocop/ast/node_pattern/lexer.rex.rb
--- old/lib/rubocop/ast/node_pattern/lexer.rex.rb   2021-12-27 
16:11:46.0 +0100
+++ new/lib/rubocop/ast/node_pattern/lexer.rex.rb   2022-02-12 
16:41:46.0 +0100
@@ -25,7 +25,7 @@
 
   # :stopdoc:
   CONST_NAME  = /[A-Z:][a-zA-Z_:]+/
-  SYMBOL_NAME = /[\w+@*\/?!<>=~|%^-]+|\[\]=?/
+  SYMBOL_NAME = /[\w+@*\/?!<>=~|%^&-]+|\[\]=?/
   IDENTIFIER  = /[a-z][a-zA-Z0-9_]*/
   NODE_TYPE   = /[a-z][a-zA-Z0-9_-]*/
   CALL= /(?:#{CONST_NAME}\.)?#{IDENTIFIER}[!?]?/
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-12-27 16:11:46.0 +0100
+++ new/lib/rubocop/ast/version.rb  2022-02-12 16:41:46.0 +0100
@@ -3,7 +3,7 @@
 module RuboCop
   module AST
 module Version
-  STRING = '1.15.1'
+  STRING = '1.15.2'
 end
   end
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata2021-12-27 16:11:46.0 +0100
+++ new/metadata2022-02-12 16:41:46.0 +0100
@@ -1,7 +1,7 @@
 --- !ruby/object:Gem::Specification
 name: rubocop-ast
 version: !ruby/object:Gem::Version
-  version: 1.15.1
+  version: 1.15.2
 platform: ruby
 authors:
 - Bozhidar Batsov
@@ -10,7 +10,7 @@
 autorequire:
 bindir: bin
 cert_chain: []
-date: 2021-12-27 00:00:00.0 Z
+date: 2022-02-12 00:00:00.0 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: parser
@@ -175,7 +175,7 @@
 - !ruby/object:Gem::Version
   version: '0'
 requirements: []
-rubygems_version: 3.2.3
+rubygems_version: 3.3.3
 signing_key:
 specification_version: 4
 summary: RuboCop tools to deal with Ruby code AST.


commit rubygem-rubocop-ast for openSUSE:Factory

2021-12-30 Thread Source-Sync
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-12-30 15:55:42

Comparing /work/SRC/openSUSE:Factory/rubygem-rubocop-ast (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-rubocop-ast.new.1896 (New)


Package is "rubygem-rubocop-ast"

Thu Dec 30 15:55:42 2021 rev:15 rq:943210 version:1.15.1

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-rubocop-ast/rubygem-rubocop-ast.changes  
2021-12-22 20:19:11.167878535 +0100
+++ 
/work/SRC/openSUSE:Factory/.rubygem-rubocop-ast.new.1896/rubygem-rubocop-ast.changes
2021-12-30 15:56:08.652688020 +0100
@@ -1,0 +2,9 @@
+Thu Dec 30 12:37:12 UTC 2021 - Manuel Schnitzer 
+
+- updated to version 1.15.1
+
+  ### Bug fixes
+
+  * [#10220](https://github.com/rubocop/rubocop/pull/10220): Make 
`AST::Node#receiver` aware of `csend` block method calls. ([@koic][])
+
+---

Old:

  rubocop-ast-1.15.0.gem

New:

  rubocop-ast-1.15.1.gem



Other differences:
--
++ rubygem-rubocop-ast.spec ++
--- /var/tmp/diff_new_pack.ZkTad9/_old  2021-12-30 15:56:09.104688369 +0100
+++ /var/tmp/diff_new_pack.ZkTad9/_new  2021-12-30 15:56:09.112688375 +0100
@@ -24,7 +24,7 @@
 #
 
 Name:   rubygem-rubocop-ast
-Version:1.15.0
+Version:1.15.1
 Release:0
 %define mod_name rubocop-ast
 %define mod_full_name %{mod_name}-%{version}

++ rubocop-ast-1.15.0.gem -> rubocop-ast-1.15.1.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/rubocop/ast/node.rb new/lib/rubocop/ast/node.rb
--- old/lib/rubocop/ast/node.rb 2021-12-12 18:17:02.0 +0100
+++ new/lib/rubocop/ast/node.rb 2021-12-27 16:11:46.0 +0100
@@ -274,7 +274,7 @@
 
   # @!method receiver(node = self)
   def_node_matcher :receiver, <<~PATTERN
-{(send $_ ...) ({block numblock} (send $_ ...) ...)}
+{(send $_ ...) ({block numblock} (call $_ ...) ...)}
   PATTERN
 
   # @!method str_content(node = self)
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-12-12 18:17:02.0 +0100
+++ new/lib/rubocop/ast/version.rb  2021-12-27 16:11:46.0 +0100
@@ -3,7 +3,7 @@
 module RuboCop
   module AST
 module Version
-  STRING = '1.15.0'
+  STRING = '1.15.1'
 end
   end
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata2021-12-12 18:17:02.0 +0100
+++ new/metadata2021-12-27 16:11:46.0 +0100
@@ -1,7 +1,7 @@
 --- !ruby/object:Gem::Specification
 name: rubocop-ast
 version: !ruby/object:Gem::Version
-  version: 1.15.0
+  version: 1.15.1
 platform: ruby
 authors:
 - Bozhidar Batsov
@@ -10,7 +10,7 @@
 autorequire:
 bindir: bin
 cert_chain: []
-date: 2021-12-12 00:00:00.0 Z
+date: 2021-12-27 00:00:00.0 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: parser


commit rubygem-rubocop-ast for openSUSE:Factory

2021-12-22 Thread Source-Sync
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-12-22 20:18:08

Comparing /work/SRC/openSUSE:Factory/rubygem-rubocop-ast (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-rubocop-ast.new.2520 (New)


Package is "rubygem-rubocop-ast"

Wed Dec 22 20:18:08 2021 rev:14 rq:942035 version:1.15.0

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-rubocop-ast/rubygem-rubocop-ast.changes  
2021-10-11 15:32:33.906936146 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-rubocop-ast.new.2520/rubygem-rubocop-ast.changes
2021-12-22 20:19:11.167878535 +0100
@@ -1,0 +2,23 @@
+Wed Dec 22 00:31:11 UTC 2021 - Manuel Schnitzer 
+
+- updated to version 1.15.0
+
+  ## 1.15.0 (2021-12-12)
+
+  ### New features
+
+  * [#10219](https://github.com/rubocop/rubocop/pull/10219): Add 
`value_omission` method to `AST::PairNode` for Ruby 3.1's hash value omission. 
([@koic][])
+
+  ## 1.14.0 (2021-12-02)
+
+  ### New features
+
+  * [#218](https://github.com/rubocop/rubocop-ast/pull/218): Support Ruby 
3.1's anonymous block forwarding syntax. ([@koic][])
+
+  ## 1.13.0 (2021-11-07)
+
+  ### New features
+
+  * [#213](https://github.com/rubocop/rubocop-ast/pull/213): Make 
`Node#numeric_type?` aware of rational and complex literals. ([@koic][])
+
+---

Old:

  rubocop-ast-1.12.0.gem

New:

  rubocop-ast-1.15.0.gem



Other differences:
--
++ rubygem-rubocop-ast.spec ++
--- /var/tmp/diff_new_pack.WslwFq/_old  2021-12-22 20:19:11.603878739 +0100
+++ /var/tmp/diff_new_pack.WslwFq/_new  2021-12-22 20:19:11.611878742 +0100
@@ -24,7 +24,7 @@
 #
 
 Name:   rubygem-rubocop-ast
-Version:1.12.0
+Version:1.15.0
 Release:0
 %define mod_name rubocop-ast
 %define mod_full_name %{mod_name}-%{version}

++ rubocop-ast-1.12.0.gem -> rubocop-ast-1.15.0.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/rubocop/ast/node/class_node.rb 
new/lib/rubocop/ast/node/class_node.rb
--- old/lib/rubocop/ast/node/class_node.rb  2021-09-28 03:59:26.0 
+0200
+++ new/lib/rubocop/ast/node/class_node.rb  2021-12-12 18:17:02.0 
+0100
@@ -6,9 +6,9 @@
 # node when the builder constructs the AST, making its methods available
 # to all `class` nodes within RuboCop.
 class ClassNode < Node
-  # The identifer for this `class` node.
+  # The identifier for this `class` node.
   #
-  # @return [Node] the identifer of the class
+  # @return [Node] the identifier of the class
   def identifier
 node_parts[0]
   end
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-09-28 
03:59:26.0 +0200
+++ new/lib/rubocop/ast/node/mixin/method_dispatch_node.rb  2021-12-12 
18:17:02.0 +0100
@@ -171,7 +171,7 @@
   #
   #   private def foo; end
   #
-  # @return wether the `def|defs` node is a modifier or not.
+  # @return whether the `def|defs` node is a modifier or not.
   # See also `def_modifier` that returns the node or `nil`
   def def_modifier?(node = self)
 !!def_modifier(node)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/rubocop/ast/node/module_node.rb 
new/lib/rubocop/ast/node/module_node.rb
--- old/lib/rubocop/ast/node/module_node.rb 2021-09-28 03:59:26.0 
+0200
+++ new/lib/rubocop/ast/node/module_node.rb 2021-12-12 18:17:02.0 
+0100
@@ -6,9 +6,9 @@
 # plain node when the builder constructs the AST, making its methods
 # available to all `module` nodes within RuboCop.
 class ModuleNode < Node
-  # The identifer for this `module` node.
+  # The identifier for this `module` node.
   #
-  # @return [Node] the identifer of the module
+  # @return [Node] the identifier of the module
   def identifier
 node_parts[0]
   end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/rubocop/ast/node/pair_node.rb 
new/lib/rubocop/ast/node/pair_node.rb
--- old/lib/rubocop/ast/node/pair_node.rb   2021-09-28 03:59:26.0 
+0200
+++ new/lib/rubocop/ast/node/pair_node.rb   2021-12-12 18:17:02.0 
+0100
@@ -62,6 +62,13 @@
   def value_on_new_line?
 key.loc.line != value.loc.line
 

commit rubygem-rubocop-ast for openSUSE:Factory

2021-10-11 Thread Source-Sync
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 
+
+- 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.0 +0200
+++ new/README.md   2021-09-28 03:59:26.0 +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.0 +0200
+++ new/lib/rubocop/ast/node/mixin/method_dispatch_node.rb  2021-09-28 
03:59:26.0 +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 

commit rubygem-rubocop-ast for openSUSE:Factory

2021-08-25 Thread Source-Sync
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-08-25 20:58:16

Comparing /work/SRC/openSUSE:Factory/rubygem-rubocop-ast (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-rubocop-ast.new.1899 (New)


Package is "rubygem-rubocop-ast"

Wed Aug 25 20:58:16 2021 rev:12 rq:914161 version:1.11.0

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-rubocop-ast/rubygem-rubocop-ast.changes  
2021-07-29 21:33:05.392687879 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-rubocop-ast.new.1899/rubygem-rubocop-ast.changes
2021-08-25 20:59:46.913037233 +0200
@@ -1,0 +2,27 @@
+Wed Aug 25 06:09:26 UTC 2021 - Manuel Schnitzer 
+
+- updated to version 1.11.0
+
+  ### New features
+
+  * [#205](https://github.com/rubocop/rubocop-ast/pull/205): Make class, 
module, and struct definitions aware of numblock. ([@koic][])
+
+  ## 1.10.0 (2021-08-12)
+
+  ### New features
+
+  * [#201](https://github.com/rubocop-hq/rubocop-ast/pull/201): Add discrete 
node classes for assignments. ([@dvandersluis][])
+
+  ## 1.9.1 (2021-08-10)
+
+  ### Bug fixes
+
+  * [#197](https://github.com/rubocop-hq/rubocop-ast/pull/197): [Fix #184] Fix 
`Node#parent_module_name` for `sclass` nodes. ([@dvandersluis][])
+
+  ## 1.9.0 (2021-08-06)
+
+  ### New features
+
+  * [#195](https://github.com/rubocop-hq/rubocop-ast/pull/195): Move 
`ProcessedSource#sorted_tokens` to be a public method. ([@dvandersluis][])
+
+---

Old:

  rubocop-ast-1.8.0.gem

New:

  rubocop-ast-1.11.0.gem



Other differences:
--
++ rubygem-rubocop-ast.spec ++
--- /var/tmp/diff_new_pack.uZ55Wb/_old  2021-08-25 20:59:47.577036362 +0200
+++ /var/tmp/diff_new_pack.uZ55Wb/_new  2021-08-25 20:59:47.581036356 +0200
@@ -24,7 +24,7 @@
 #
 
 Name:   rubygem-rubocop-ast
-Version:1.8.0
+Version:1.11.0
 Release:0
 %define mod_name rubocop-ast
 %define mod_full_name %{mod_name}-%{version}

++ rubocop-ast-1.8.0.gem -> rubocop-ast-1.11.0.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/rubocop/ast/builder.rb 
new/lib/rubocop/ast/builder.rb
--- old/lib/rubocop/ast/builder.rb  2021-07-14 15:40:58.0 +0200
+++ new/lib/rubocop/ast/builder.rb  2021-08-24 06:29:03.0 +0200
@@ -20,6 +20,7 @@
   # @api private
   NODE_MAP = {
 and:  AndNode,
+and_asgn: AndAsgnNode,
 alias:AliasNode,
 arg:  ArgNode,
 blockarg: ArgNode,
@@ -32,10 +33,15 @@
 shadowarg:ArgNode,
 args: ArgsNode,
 array:ArrayNode,
+lvasgn:   AsgnNode,
+ivasgn:   AsgnNode,
+cvasgn:   AsgnNode,
+gvasgn:   AsgnNode,
 block:BlockNode,
 numblock: BlockNode,
 break:BreakNode,
 case_match:   CaseMatchNode,
+casgn:CasgnNode,
 case: CaseNode,
 class:ClassNode,
 const:ConstNode,
@@ -60,6 +66,8 @@
 lambda:   LambdaNode,
 module:   ModuleNode,
 next: NextNode,
+op_asgn:  OpAsgnNode,
+or_asgn:  OrAsgnNode,
 or:   OrNode,
 pair: PairNode,
 procarg0: Procarg0Node,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/rubocop/ast/node/and_asgn_node.rb 
new/lib/rubocop/ast/node/and_asgn_node.rb
--- old/lib/rubocop/ast/node/and_asgn_node.rb   1970-01-01 01:00:00.0 
+0100
+++ new/lib/rubocop/ast/node/and_asgn_node.rb   2021-08-24 06:29:03.0 
+0200
@@ -0,0 +1,17 @@
+# frozen_string_literal: true
+
+module RuboCop
+  module AST
+# A node extension for `op_asgn` nodes.
+# This will be used in place of a plain node when the builder constructs
+# the AST, making its methods available to all assignment nodes within 
RuboCop.
+class AndAsgnNode < OpAsgnNode
+  # The operator being used for assignment as a symbol.
+  #
+  # @return [Symbol] the assignment operator
+  def operator
+:'&&'
+  end
+end
+  end
+end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/rubocop/ast/node/asgn_node.rb 
new/lib/rubocop/ast/node/asgn_node.rb
--- old/lib/rubocop/ast/node/asgn_node.rb   1970-01-01 01:00:00.0 
+0100
+++ new/lib/rubocop/ast/node/asgn_node.rb   2021-08-24 06:29:03.0 
+0200
@@ -0,0 +1,24 @@
+# frozen

commit rubygem-rubocop-ast for openSUSE:Factory

2021-07-29 Thread Source-Sync
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-07-29 21:31:58

Comparing /work/SRC/openSUSE:Factory/rubygem-rubocop-ast (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-rubocop-ast.new.1899 (New)


Package is "rubygem-rubocop-ast"

Thu Jul 29 21:31:58 2021 rev:11 rq:909131 version:1.8.0

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-rubocop-ast/rubygem-rubocop-ast.changes  
2021-06-01 10:41:35.649235177 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-rubocop-ast.new.1899/rubygem-rubocop-ast.changes
2021-07-29 21:33:05.392687879 +0200
@@ -1,0 +2,13 @@
+Thu Jul 29 09:44:17 UTC 2021 - Manuel Schnitzer 
+
+- updated to version 1.8.0
+
+  ### New features
+
+  * [#192](https://github.com/rubocop/rubocop-ast/pull/192): Add `branches` 
method for `AST::CaseMatchNode`. ([@koic][])
+
+  ### Changes
+
+  * Escape References in Documentation, partially addressing 
https://github.com/rubocop/rubocop/issues/9150. ([@wcmonty][])
+
+---

Old:

  rubocop-ast-1.7.0.gem

New:

  rubocop-ast-1.8.0.gem



Other differences:
--
++ rubygem-rubocop-ast.spec ++
--- /var/tmp/diff_new_pack.YaMmfM/_old  2021-07-29 21:33:05.764687421 +0200
+++ /var/tmp/diff_new_pack.YaMmfM/_new  2021-07-29 21:33:05.764687421 +0200
@@ -24,7 +24,7 @@
 #
 
 Name:   rubygem-rubocop-ast
-Version:1.7.0
+Version:1.8.0
 Release:0
 %define mod_name rubocop-ast
 %define mod_full_name %{mod_name}-%{version}

++ rubocop-ast-1.7.0.gem -> rubocop-ast-1.8.0.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/rubocop/ast/node/case_match_node.rb 
new/lib/rubocop/ast/node/case_match_node.rb
--- old/lib/rubocop/ast/node/case_match_node.rb 2021-05-28 18:57:48.0 
+0200
+++ new/lib/rubocop/ast/node/case_match_node.rb 2021-07-14 15:40:58.0 
+0200
@@ -31,6 +31,19 @@
 node_parts[1...-1]
   end
 
+  # Returns an array of all the when branches in the `case` statement.
+  #
+  # @return [Array] an array of the bodies of the `in` branches
+  # and the `else` (if any). Note that these bodies could be nil.
+  def branches
+bodies = in_pattern_branches.map(&:body)
+if else?
+  # `empty-else` node sets nil because it has no body.
+  else_branch.empty_else_type? ? bodies.push(nil) : 
bodies.push(else_branch)
+end
+bodies
+  end
+
   # Returns the else branch of the `case` statement, if any.
   #
   # @return [Node] the else branch node of the `case` statement
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb 
new/lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb
--- old/lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb   
2021-05-28 18:57:48.0 +0200
+++ new/lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb   
2021-07-14 15:40:58.0 +0200
@@ -347,7 +347,7 @@
   def compile_loop_advance(to = '+=1')
 # The `#{@cur_child_var} ||` is just to avoid unused variable 
warning
 "(#{@cur_child_var} = #{@seq_var}.children[#{@cur_index_var} 
#{to}]; " \
-"#{@cur_child_var} || true)"
+  "#{@cur_child_var} || true)"
   end
 
   def compile_loop(term)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/rubocop/ast/node_pattern/parser.rb 
new/lib/rubocop/ast/node_pattern/parser.rb
--- old/lib/rubocop/ast/node_pattern/parser.rb  2021-05-28 18:57:48.0 
+0200
+++ new/lib/rubocop/ast/node_pattern/parser.rb  2021-07-14 15:40:58.0 
+0200
@@ -52,7 +52,7 @@
 
   detail = node.loc&.expression&.source || node.to_s
   raise NodePattern::Invalid, 'parse error, expected unary node 
pattern ' \
-"but got expression matching multiple elements: #{detail}"
+  "but got expression matching multiple 
elements: #{detail}"
 end
 
 # Overrides Racc::Parser's method:
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-05-28 18:57:48.0 +0200
+++ new/lib/rubocop/ast/version.rb  2021-07-14 15:40:58.0 +0200
@@ -3,7 +3,7 @@
 module RuboCop
   module AST
 module Version
-  STRING = '1.7.0'

commit rubygem-rubocop-ast for openSUSE:Factory

2021-06-01 Thread Source-Sync
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-06-01 10:39:59

Comparing /work/SRC/openSUSE:Factory/rubygem-rubocop-ast (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-rubocop-ast.new.1898 (New)


Package is "rubygem-rubocop-ast"

Tue Jun  1 10:39:59 2021 rev:10 rq:896522 version:1.7.0

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-rubocop-ast/rubygem-rubocop-ast.changes  
2021-05-16 23:40:59.937858348 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-rubocop-ast.new.1898/rubygem-rubocop-ast.changes
2021-06-01 10:41:35.649235177 +0200
@@ -1,0 +2,18 @@
+Tue Jun  1 03:42:13 UTC 2021 - Manuel Schnitzer 
+
+- updated to version 1.7.0
+
+  ## 1.7.0 (2021-05-28)
+
+  ### New features
+
+  * [#171](https://github.com/rubocop-hq/rubocop-ast/pull/171): Add 
`SendNode#def_modifier` that returns the `def` node it modifies, or `nil`. 
([@marcandre][])
+  * [#186](https://github.com/rubocop-hq/rubocop-ast/pull/186): Add `pattern` 
method for `AST::InPatternNode` node. ([@koic][])
+
+  ## 1.6.0 (2021-05-26)
+
+  ### New features
+
+  * [#183](https://github.com/rubocop-hq/rubocop-ast/pull/183): Add 
`AST::InPatternNode` node. ([@koic][])
+
+---

Old:

  rubocop-ast-1.5.0.gem

New:

  rubocop-ast-1.7.0.gem



Other differences:
--
++ rubygem-rubocop-ast.spec ++
--- /var/tmp/diff_new_pack.eGkiuk/_old  2021-06-01 10:41:36.237236178 +0200
+++ /var/tmp/diff_new_pack.eGkiuk/_new  2021-06-01 10:41:36.245236191 +0200
@@ -16,29 +16,31 @@
 #
 
 
-%define mod_name rubocop-ast
-%define mod_full_name %{mod_name}-%{version}
 #
 # This file was generated with a gem2rpm.yml and not just plain gem2rpm.
 # All sections marked as MANUAL, license headers, summaries and descriptions
 # can be maintained in that file. Please consult this file before editing any
 # of those fields
 #
+
 Name:   rubygem-rubocop-ast
-Version:1.5.0
+Version:1.7.0
 Release:0
-Summary:RuboCop tools to deal with Ruby code AST
-License:MIT
-Group:  Development/Languages/Ruby
-URL:https://github.com/rubocop-hq/rubocop-ast
-Source: https://rubygems.org/gems/%{mod_full_name}.gem
-Source1:gem2rpm.yml
-BuildRequires:  %{ruby >= 2.5.0}
-BuildRequires:  %{rubygem gem2rpm}
-BuildRequires:  ruby-macros >= 5
+%define mod_name rubocop-ast
+%define mod_full_name %{mod_name}-%{version}
 # MANUAL
 BuildRequires:  fdupes
 # /MANUAL
+BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  %{ruby >= 2.5.0}
+BuildRequires:  %{rubygem gem2rpm}
+BuildRequires:  ruby-macros >= 5
+URL:https://github.com/rubocop-hq/rubocop-ast
+Source: https://rubygems.org/gems/%{mod_full_name}.gem
+Source1:gem2rpm.yml
+Summary:RuboCop tools to deal with Ruby code AST
+License:MIT
+Group:  Development/Languages/Ruby
 
 %description
 RuboCop's Node and NodePattern classes.

++ rubocop-ast-1.5.0.gem -> rubocop-ast-1.7.0.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/rubocop/ast/builder.rb 
new/lib/rubocop/ast/builder.rb
--- old/lib/rubocop/ast/builder.rb  2021-05-02 12:42:39.0 +0200
+++ new/lib/rubocop/ast/builder.rb  2021-05-28 18:57:48.0 +0200
@@ -49,6 +49,7 @@
 float:FloatNode,
 hash: HashNode,
 if:   IfNode,
+in_pattern:   InPatternNode,
 int:  IntNode,
 index:IndexNode,
 indexasgn:IndexasgnNode,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/rubocop/ast/node/case_match_node.rb 
new/lib/rubocop/ast/node/case_match_node.rb
--- old/lib/rubocop/ast/node/case_match_node.rb 2021-05-02 12:42:39.0 
+0200
+++ new/lib/rubocop/ast/node/case_match_node.rb 2021-05-28 18:57:48.0 
+0200
@@ -24,9 +24,9 @@
 self
   end
 
-  # Returns an array of all the when branches in the `case` statement.
+  # Returns an array of all the `in` pattern branches in the `case` 
statement.
   #
-  # @return [Array] an array of `in_pattern` nodes
+  # @return [Array] an array of `in_pattern` nodes
   def in_pattern_branches
 node_parts[1...-1]
   end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/rubocop/ast/node/in_pattern_node.rb 
new/lib/rubocop/ast/node/in_pattern_node.rb
--- old/lib/rubocop/ast/node/in_pattern_node.rb 1970-01-01 01:00

commit rubygem-rubocop-ast for openSUSE:Factory

2021-05-16 Thread Source-Sync
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-05-16 23:40:26

Comparing /work/SRC/openSUSE:Factory/rubygem-rubocop-ast (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-rubocop-ast.new.2988 (New)


Package is "rubygem-rubocop-ast"

Sun May 16 23:40:26 2021 rev:9 rq:891104 version:1.5.0

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-rubocop-ast/rubygem-rubocop-ast.changes  
2021-04-08 21:32:46.707847491 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-rubocop-ast.new.2988/rubygem-rubocop-ast.changes
2021-05-16 23:40:59.937858348 +0200
@@ -1,0 +2,15 @@
+Thu May  6 16:19:34 UTC 2021 - Dan ??erm??k 
+
+## 1.5.0 (2021-05-02)
+
+### New features
+
+* [#182](https://github.com/rubocop-hq/rubocop-ast/pull/182): Support 
`Parser::Ruby31` for Ruby 3.1 parser (experimental). ([@koic][])
+
+## 1.4.2 (2021-05-02)
+
+### Bug fixes
+
+* [#179](https://github.com/rubocop-hq/rubocop-ast/pull/179): Have 
`ast_with_comments` distinguish nodes with same content. ([@marcandre][])
+
+---

Old:

  rubocop-ast-1.4.1.gem

New:

  rubocop-ast-1.5.0.gem



Other differences:
--
++ rubygem-rubocop-ast.spec ++
--- /var/tmp/diff_new_pack.pRi5te/_old  2021-05-16 23:41:00.393856649 +0200
+++ /var/tmp/diff_new_pack.pRi5te/_new  2021-05-16 23:41:00.397856633 +0200
@@ -25,7 +25,7 @@
 # of those fields
 #
 Name:   rubygem-rubocop-ast
-Version:1.4.1
+Version:1.5.0
 Release:0
 Summary:RuboCop tools to deal with Ruby code AST
 License:MIT
@@ -33,7 +33,7 @@
 URL:https://github.com/rubocop-hq/rubocop-ast
 Source: https://rubygems.org/gems/%{mod_full_name}.gem
 Source1:gem2rpm.yml
-BuildRequires:  %{ruby >= 2.4.0}
+BuildRequires:  %{ruby >= 2.5.0}
 BuildRequires:  %{rubygem gem2rpm}
 BuildRequires:  ruby-macros >= 5
 # MANUAL

++ rubocop-ast-1.4.1.gem -> rubocop-ast-1.5.0.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/rubocop/ast/ext/set.rb 
new/lib/rubocop/ast/ext/set.rb
--- old/lib/rubocop/ast/ext/set.rb  2021-01-23 23:46:01.0 +0100
+++ new/lib/rubocop/ast/ext/set.rb  1970-01-01 01:00:00.0 +0100
@@ -1,12 +0,0 @@
-# frozen_string_literal: true
-
-test = :foo
-case test
-when Set[:foo]
-  # ok, RUBY_VERSION > 2.4
-else
-  # Harmonize `Set#===`
-  class Set
-alias === include?
-  end
-end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/rubocop/ast/node/mixin/descendence.rb 
new/lib/rubocop/ast/node/mixin/descendence.rb
--- old/lib/rubocop/ast/node/mixin/descendence.rb   2021-01-23 
23:46:01.0 +0100
+++ new/lib/rubocop/ast/node/mixin/descendence.rb   2021-05-02 
12:42:39.0 +0200
@@ -13,13 +13,9 @@
   #
   # @overload each_child_node
   #   Yield all nodes.
-  # @overload each_child_node(type)
-  #   Yield only nodes matching the type.
-  #   @param [Symbol] type a node type
-  # @overload each_child_node(type_a, type_b, ...)
+  # @overload each_child_node(type, ...)
   #   Yield only nodes matching any of the types.
-  #   @param [Symbol] type_a a node type
-  #   @param [Symbol] type_b a node type
+  #   @param [Symbol] type a node type
   # @yieldparam [Node] node each child node
   # @return [self] if a block is given
   # @return [Enumerator] if no block is given
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-01-23 
23:46:01.0 +0100
+++ new/lib/rubocop/ast/node/mixin/method_dispatch_node.rb  2021-05-02 
12:42:39.0 +0200
@@ -224,6 +224,7 @@
 
   private
 
+  # @!method in_macro_scope?(node = self)
   def_node_matcher :in_macro_scope?, <<~PATTERN
 {
   root?# Either a root node,
@@ -239,14 +240,17 @@
 }
   PATTERN
 
+  # @!method adjacent_def_modifier?(node = self)
   def_node_matcher :adjacent_def_modifier?, <<~PATTERN
 (send nil? _ ({def defs} ...))
   PATTERN
 
+  # @!method bare_access_modifier_declaration?(node = self)
   def_node_matcher :bare_access_modifier_declaration?, <<~PATTERN
 (send nil? {:public :protected :private :module_function})
   PATTERN
 
+  # @!method non_bare_access

commit rubygem-rubocop-ast for openSUSE:Factory

2021-04-08 Thread Source-Sync
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-04-08 21:32:32

Comparing /work/SRC/openSUSE:Factory/rubygem-rubocop-ast (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-rubocop-ast.new.2401 (New)


Package is "rubygem-rubocop-ast"

Thu Apr  8 21:32:32 2021 rev:8 rq:883773 version:1.4.1

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-rubocop-ast/rubygem-rubocop-ast.changes  
2021-01-04 19:10:16.327444009 +0100
+++ 
/work/SRC/openSUSE:Factory/.rubygem-rubocop-ast.new.2401/rubygem-rubocop-ast.changes
2021-04-08 21:32:46.707847491 +0200
@@ -1,0 +2,11 @@
+Thu Apr  8 08:26:44 UTC 2021 - Dan ??erm??k 
+
+- New upstream release 1.4.1
+
+## 1.4.1 (2021-01-23)
+
+### Changes
+
+* [#167](https://github.com/rubocop-hq/rubocop-ast/pull/167): Fix `#value` for 
`dstr` nodes to return the actual string value. ([@dvandersluis][])
+
+---

Old:

  rubocop-ast-1.4.0.gem

New:

  rubocop-ast-1.4.1.gem



Other differences:
--
++ rubygem-rubocop-ast.spec ++
--- /var/tmp/diff_new_pack.tnT8Vb/_old  2021-04-08 21:32:47.263848102 +0200
+++ /var/tmp/diff_new_pack.tnT8Vb/_new  2021-04-08 21:32:47.263848102 +0200
@@ -25,7 +25,7 @@
 # of those fields
 #
 Name:   rubygem-rubocop-ast
-Version:1.4.0
+Version:1.4.1
 Release:0
 Summary:RuboCop tools to deal with Ruby code AST
 License:MIT
@@ -33,7 +33,7 @@
 URL:https://github.com/rubocop-hq/rubocop-ast
 Source: https://rubygems.org/gems/%{mod_full_name}.gem
 Source1:gem2rpm.yml
-BuildRequires:  %{ruby >= 2.3.0}
+BuildRequires:  %{ruby >= 2.4.0}
 BuildRequires:  %{rubygem gem2rpm}
 BuildRequires:  ruby-macros >= 5
 # MANUAL

++ rubocop-ast-1.4.0.gem -> rubocop-ast-1.4.1.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/rubocop/ast/builder.rb 
new/lib/rubocop/ast/builder.rb
--- old/lib/rubocop/ast/builder.rb  2021-01-01 22:58:00.0 +0100
+++ new/lib/rubocop/ast/builder.rb  2021-01-23 23:46:01.0 +0100
@@ -42,6 +42,7 @@
 def:  DefNode,
 defined?: DefinedNode,
 defs: DefNode,
+dstr: DstrNode,
 ensure:   EnsureNode,
 for:  ForNode,
 forward_args: ForwardArgsNode,
@@ -68,7 +69,6 @@
 csend:SendNode,
 send: SendNode,
 str:  StrNode,
-dstr: StrNode,
 xstr: StrNode,
 sclass:   SelfClassNode,
 super:SuperNode,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/rubocop/ast/node/dstr_node.rb 
new/lib/rubocop/ast/node/dstr_node.rb
--- old/lib/rubocop/ast/node/dstr_node.rb   1970-01-01 01:00:00.0 
+0100
+++ new/lib/rubocop/ast/node/dstr_node.rb   2021-01-23 23:46:01.0 
+0100
@@ -0,0 +1,16 @@
+# frozen_string_literal: true
+
+module RuboCop
+  module AST
+# A node extension for `dstr` nodes. This will be used
+# in place of a plain node when the builder constructs the AST, making
+# its methods available to all `dstr` nodes within RuboCop.
+class DstrNode < StrNode
+  def value
+child_nodes.map do |child|
+  child.respond_to?(:value) ? child.value : child.source
+end.join
+  end
+end
+  end
+end
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-01-01 22:58:00.0 +0100
+++ new/lib/rubocop/ast/version.rb  2021-01-23 23:46:01.0 +0100
@@ -3,7 +3,7 @@
 module RuboCop
   module AST
 module Version
-  STRING = '1.4.0'
+  STRING = '1.4.1'
 end
   end
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/rubocop/ast.rb new/lib/rubocop/ast.rb
--- old/lib/rubocop/ast.rb  2021-01-01 22:58:00.0 +0100
+++ new/lib/rubocop/ast.rb  2021-01-23 23:46:01.0 +0100
@@ -72,6 +72,7 @@
 require_relative 'ast/node/self_class_node'
 require_relative 'ast/node/send_node'
 require_relative 'ast/node/str_node'
+require_relative 'ast/node/dstr_node'
 require_relative 'ast/node/super_node'
 require_relative 'ast/node/symbol_node'
 require_relative 'ast/node/until_node'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata  

[opensuse-commit] commit rubygem-rubocop-ast for openSUSE:Factory

2020-11-23 Thread User for buildservice source handling
Hello community,

here is the log from the commit of package rubygem-rubocop-ast for 
openSUSE:Factory checked in at 2020-11-21 12:43:31

Comparing /work/SRC/openSUSE:Factory/rubygem-rubocop-ast (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-rubocop-ast.new.5913 (New)


Package is "rubygem-rubocop-ast"

Sat Nov 21 12:43:31 2020 rev:6 rq:849713 version:1.1.1

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-rubocop-ast/rubygem-rubocop-ast.changes  
2020-11-03 15:16:45.232050909 +0100
+++ 
/work/SRC/openSUSE:Factory/.rubygem-rubocop-ast.new.5913/rubygem-rubocop-ast.changes
2020-11-23 10:48:56.394509221 +0100
@@ -1,0 +2,11 @@
+Fri Nov 20 16:46:17 UTC 2020 - Dan Čermák 
+
+- New upstream release 1.1.1
+
+## 1.1.1 (2020-11-04)
+
+### Bug fixes
+
+* [#146](https://github.com/rubocop-hq/rubocop-ast/pull/146): Fix 
`IfNode#branches` to return both branches when called on ternary conditional. 
([@fatkodima][])
+
+---

Old:

  rubocop-ast-1.1.0.gem

New:

  rubocop-ast-1.1.1.gem



Other differences:
--
++ rubygem-rubocop-ast.spec ++
--- /var/tmp/diff_new_pack.c68ZZ7/_old  2020-11-23 10:48:56.882509710 +0100
+++ /var/tmp/diff_new_pack.c68ZZ7/_new  2020-11-23 10:48:56.886509714 +0100
@@ -25,7 +25,7 @@
 # of those fields
 #
 Name:   rubygem-rubocop-ast
-Version:1.1.0
+Version:1.1.1
 Release:0
 Summary:RuboCop tools to deal with Ruby code AST
 License:MIT
@@ -53,7 +53,7 @@
   -f
 # MANUAL
 for dir in %{buildroot}%{_libdir}/ruby/gems/* ; do
-%fdupes $dir
+%fdupes $dir
 done
 # /MANUAL
 

++ rubocop-ast-1.1.0.gem -> rubocop-ast-1.1.1.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/rubocop/ast/node/if_node.rb 
new/lib/rubocop/ast/node/if_node.rb
--- old/lib/rubocop/ast/node/if_node.rb 2020-10-27 03:00:50.0 +0100
+++ new/lib/rubocop/ast/node/if_node.rb 2020-11-05 00:01:35.0 +0100
@@ -145,16 +145,19 @@
   #
   # @return [Array] an array of branch nodes
   def branches
-branches = [if_branch]
-
-return branches unless else?
-
-other_branches = if elsif_conditional?
-   else_branch.branches
- else
-   [else_branch]
- end
-branches.concat(other_branches)
+if ternary?
+  [if_branch, else_branch]
+elsif !else?
+  [if_branch]
+else
+  branches = [if_branch]
+  other_branches = if elsif_conditional?
+ else_branch.branches
+   else
+ [else_branch]
+   end
+  branches.concat(other_branches)
+end
   end
 
   # @deprecated Use `branches.each`
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/rubocop/ast/traversal.rb 
new/lib/rubocop/ast/traversal.rb
--- old/lib/rubocop/ast/traversal.rb2020-10-27 03:00:50.0 +0100
+++ new/lib/rubocop/ast/traversal.rb2020-11-05 00:01:35.0 +0100
@@ -39,10 +39,10 @@
   type, *aliases = type
   lineno = caller_locations(1, 1).first.lineno
   module_eval(<<~RUBY, __FILE__, lineno) # rubocop:disable 
Style/EvalWithLocation
-def on_#{type}(node)
-  #{body}
-  nil
-end
+def on_#{type}(node)# def on_send(node)
+  #{body}   #   # body ...
+  nil   #   nil
+end # end
   RUBY
   aliases.each do |m|
 alias_method "on_#{m}", "on_#{type}"
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  2020-10-27 03:00:50.0 +0100
+++ new/lib/rubocop/ast/version.rb  2020-11-05 00:01:35.0 +0100
@@ -3,7 +3,7 @@
 module RuboCop
   module AST
 module Version
-  STRING = '1.1.0'
+  STRING = '1.1.1'
 end
   end
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata2020-10-27 03:00:50.0 +0100
+++ new/metadata2020-11-05 00:01:35.0 +0100
@@ -1,7 +1,7 @@
 --- !ruby/object:Gem::Specification
 name: rubocop-ast
 version: !ruby/object:Gem::Version
-  version: 1.1.0
+  version: 1.1.1
 platform: ruby
 authors:
 - Bozhidar Batsov
@@ -10,