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 <[email protected]>
+
+- 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.000000000
+0200
+++ new/lib/rubocop/ast/node/class_node.rb 2021-12-12 18:17:02.000000000
+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.000000000 +0200
+++ new/lib/rubocop/ast/node/mixin/method_dispatch_node.rb 2021-12-12
18:17:02.000000000 +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.000000000
+0200
+++ new/lib/rubocop/ast/node/module_node.rb 2021-12-12 18:17:02.000000000
+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.000000000
+0200
+++ new/lib/rubocop/ast/node/pair_node.rb 2021-12-12 18:17:02.000000000
+0100
@@ -62,6 +62,13 @@
def value_on_new_line?
key.loc.line != value.loc.line
end
+
+ # Checks whether the `pair` uses hash value omission.
+ #
+ # @return [Boolean] whether this `pair` uses hash value omission
+ def value_omission?
+ source.end_with?(':')
+ end
end
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/rubocop/ast/node/self_class_node.rb
new/lib/rubocop/ast/node/self_class_node.rb
--- old/lib/rubocop/ast/node/self_class_node.rb 2021-09-28 03:59:26.000000000
+0200
+++ new/lib/rubocop/ast/node/self_class_node.rb 2021-12-12 18:17:02.000000000
+0100
@@ -6,9 +6,9 @@
# plain node when the builder constructs the AST, making its methods
# available to all `sclass` nodes within RuboCop.
class SelfClassNode < Node
- # The identifer for this `sclass` node. (Always `self`.)
+ # The identifier for this `sclass` node. (Always `self`.)
#
- # @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.rb new/lib/rubocop/ast/node.rb
--- old/lib/rubocop/ast/node.rb 2021-09-28 03:59:26.000000000 +0200
+++ new/lib/rubocop/ast/node.rb 2021-12-12 18:17:02.000000000 +0100
@@ -464,7 +464,7 @@
end
def numeric_type?
- int_type? || float_type?
+ int_type? || float_type? || rational_type? || complex_type?
end
def range_type?
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-09-28
03:59:26.000000000 +0200
+++ new/lib/rubocop/ast/node_pattern/lexer.rex.rb 2021-12-12
18:17:02.000000000 +0100
@@ -2,7 +2,7 @@
# encoding: UTF-8
#--
# This file is automatically generated. Do not modify it.
-# Generated by: oedipus_lex version 2.5.2.
+# Generated by: oedipus_lex version 2.6.0.
# Source: lib/rubocop/ast/node_pattern/lexer.rex
#++
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.rb 2021-09-28 03:59:26.000000000 +0200
+++ new/lib/rubocop/ast/traversal.rb 2021-12-12 18:17:02.000000000 +0100
@@ -91,11 +91,10 @@
many_symbol_children = %i[regopt]
- node_child = %i[block_pass not
- match_current_line defined?
+ node_child = %i[not match_current_line defined?
arg_expr pin if_guard unless_guard
match_with_trailing_comma]
- node_or_nil_child = %i[preexe postexe]
+ node_or_nil_child = %i[block_pass preexe postexe]
NO_CHILD_NODES = (no_children + opt_symbol_child +
literal_child).to_set.freeze
private_constant :NO_CHILD_NODES # Used by Commissioner
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-09-28 03:59:26.000000000 +0200
+++ new/lib/rubocop/ast/version.rb 2021-12-12 18:17:02.000000000 +0100
@@ -3,7 +3,7 @@
module RuboCop
module AST
module Version
- STRING = '1.12.0'
+ STRING = '1.15.0'
end
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2021-09-28 03:59:26.000000000 +0200
+++ new/metadata 2021-12-12 18:17:02.000000000 +0100
@@ -1,7 +1,7 @@
--- !ruby/object:Gem::Specification
name: rubocop-ast
version: !ruby/object:Gem::Version
- version: 1.12.0
+ version: 1.15.0
platform: ruby
authors:
- Bozhidar Batsov
@@ -10,7 +10,7 @@
autorequire:
bindir: bin
cert_chain: []
-date: 2021-09-28 00:00:00.000000000 Z
+date: 2021-12-12 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: parser
@@ -159,6 +159,7 @@
source_code_uri: https://github.com/rubocop/rubocop-ast/
documentation_uri: https://docs.rubocop.org/rubocop-ast/
bug_tracker_uri: https://github.com/rubocop/rubocop-ast/issues
+ rubygems_mfa_required: 'true'
post_install_message:
rdoc_options: []
require_paths: