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 <[email protected]>
+
+- 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.000000000 +0200
+++ new/lib/rubocop/ast/node/mixin/method_dispatch_node.rb      2022-08-08 
13:37:27.000000000 +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.000000000 
+0200
+++ new/lib/rubocop/ast/node/regexp_node.rb     2022-08-08 13:37:27.000000000 
+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.rb        2022-07-10 06:24:48.000000000 +0200
+++ new/lib/rubocop/ast/token.rb        2022-08-08 13:37:27.000000000 +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.000000000 +0200
+++ new/lib/rubocop/ast/version.rb      2022-08-08 13:37:27.000000000 +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/metadata        2022-07-10 06:24:48.000000000 +0200
+++ new/metadata        2022-08-08 13:37:27.000000000 +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:00.000000000 Z
+date: 2022-08-08 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: parser

Reply via email to