-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update dependency rubocop-ast to v1 #17
base: master
Are you sure you want to change the base?
Conversation
|
2b72289
to
0c7809e
Compare
0c7809e
to
92b5c15
Compare
⚠ Artifact update problemRenovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below: File name: Gemfile.lock
|
92b5c15
to
34199f9
Compare
34199f9
to
d09145a
Compare
d09145a
to
7852c9a
Compare
7852c9a
to
efde0ba
Compare
efde0ba
to
69e38eb
Compare
69e38eb
to
9a1ecab
Compare
ecae116
to
59c0223
Compare
59c0223
to
3a75d05
Compare
3a75d05
to
b0f7340
Compare
b0f7340
to
8eadbda
Compare
8eadbda
to
3ff62f4
Compare
3ff62f4
to
00cc798
Compare
44557c8
to
acc6768
Compare
acc6768
to
f534d91
Compare
f534d91
to
edf80b6
Compare
edf80b6
to
1eff1f0
Compare
This PR contains the following updates:
'~> 0.3.0'
->'~> 1.38.0'
Release Notes
rubocop/rubocop-ast (rubocop-ast)
v1.38.0
Compare Source
New features
Node#loc?
to determine if a node has a given location. ([@dvandersluis][]):any_block
as an alias for:block
and:numblock
, use it withNode#any_block_type?
. Also available in node patterns:{block numblock}
can becomeany_block
. ([@earlopain][])Bug fixes
?
,+
, and*
repetition. ([@earlopain][])Changes
Node#each_descendant
and similar traversal methods. ([@earlopain][])v1.37.0
Compare Source
New features
RuboCop::AST::IfNode
supportthen?
. ([@koic][])Node#loc_is?
for easier test of locations. ([@marcandre][])Changes
StrNode#single_quoted?
,StrNode#double_quoted?
andStrNode#percent_literal?
to simplify checking for string delimiters. ([@dvandersluis][])v1.36.2
Compare Source
Bug fixes
MlhsNode
. ([@earlopain][])v1.36.1
Compare Source
Bug fixes
EnsureNode#body
to give RuboCop a chance to update its usage.EnsureNode#body
will still be changed in the next major version ofrubocop-ast
. ([@earlopain][])v1.36.0
Compare Source
Changes
EnsureNode#body
in favour ofEnsureNode#branch
.EnsureNode#body
will be redefined in the next major version of rubocop-ast. ([@dvandersluis][])v1.35.0
Compare Source
New features
BeginNode
forkwbegin
nodes. ([@dvandersluis][])Changes
EnsureNode#rescue_node
method. ([@dvandersluis][])v1.34.1
Compare Source
New features
Node#type?
to reduce complexity of checking against multiple node types. ([@dvandersluis][])Node#const_name
tocasgn
nodes. ([@dvandersluis][])Bug fixes
OpAsgnNode#name
when the lhs is asend
orcsend
node. ([@dvandersluis][])v1.34.0
Compare Source
New features
lhs
andrhs
aliases to assignment nodes for consistency. ([@dvandersluis][])v1.33.1
Compare Source
Bug fixes
non_bare_access_modifier_declaration?
to handle modifiers with multiple arguments. ([@dvandersluis][])v1.33.0
Compare Source
New features
masgn
andmlhs
nodes. ([@dvandersluis][])VarNode
class forlvar
,ivar
,cvar
andgvar
node types. ([@dvandersluis][])v1.32.3
Compare Source
Bug fixes
RuboCop::AST::DefNode#void_context?
to handle class methods calledinitialize
. ([@vlad-pisanov][])v1.32.2
Compare Source
v1.32.1
Compare Source
Changes
RuboCop::AST::EnsureNode
as being in a void context. ([@earlopain][])v1.32.0
Compare Source
New features
RuboCop::AST::RationalNode
. ([@koic][])v1.31.3
Compare Source
Bug fixes
v1.31.2
Compare Source
Bug fixes
parser_engine
value. ([@Earlopain][])v1.31.1
Compare Source
Changes
v1.31.0
Compare Source
New features
Parser::Ruby34
for Ruby 3.4 parser (experimental). ([@koic][])Changes
Node#left_curly_brace?
aware of lambda brace. ([@koic][])v1.30.0
Compare Source
New features
BlockNode#{first,last}_argument
helpers. ([@sambostock][])v1.29.0
Compare Source
v1.28.1
Compare Source
Bug fixes
v1.28.0
Compare Source
New features
forwarded_kwrestarg
node toAST::Builder
. ([@koic][])v1.27.0
Compare Source
New features
source_range
method toNodePattern
. ([@koic][])v1.26.0
Compare Source
New features
Node#class_constructor?
aware of Ruby 3.2'sData.define
. ([@koic][])Node#class_construcor?
aware of Ruby 2.7's numbered parameters. ([@koic][])v1.25.0
Compare Source
New features
Parser::Ruby33
for Ruby 3.3 parser (experimental). ([@koic][])v1.24.1
Compare Source
v1.24.0
Compare Source
New features
forwarded_restarg
andforwarded_kwrestarg
. ([@ydah][])v1.23.0
Compare Source
New features
character_literal?
toStrNode
. ([@koic][])v1.22.0
Compare Source
New features
new_line?
to Token. ([@tdeo][])v1.21.0
Compare Source
New features
dot?
to Token. ([@nobuyo][])v1.20.1
Compare Source
New features
#macro?
for numblock nodes ([@gsamokovarov][])v1.20.0
Compare Source
Bug fixes
RegexpNode
aware of fixed-encoding regopt. ([@koic][])v1.19.1
Compare Source
New features
regexp_dots?
method toRuboCop::AST::Token
(erroneously released in 1.19.0 asregexp_dot?
). ([@koic][])v1.19.0
Compare Source
v1.18.0
Compare Source
New features
Changes
v1.17.0
Compare Source
New features
Node#condition?
aware ofcase-match
node. ([@koic][])v1.16.0
Compare Source
New features
Parser::Ruby32
for Ruby 3.2 parser (experimental). ([@koic][])v1.15.2
Compare Source
Bug fixes
:&
parsing ([@zverok][])v1.15.1
Compare Source
Bug fixes
AST::Node#receiver
aware ofcsend
block method calls. ([@koic][])v1.15.0
Compare Source
New features
value_omission
method toAST::PairNode
for Ruby 3.1's hash value omission. ([@koic][])v1.14.0
Compare Source
New features
v1.13.0
Compare Source
New features
Node#numeric_type?
aware of rational and complex literals. ([@koic][])v1.12.0
Compare Source
Bug fixes
MethodDispatchNode#block_literal?
to return true fornumblock
s. ([@dvandersluis][])v1.11.0
Compare Source
New features
v1.10.0
Compare Source
New features
v1.9.1
Compare Source
Bug fixes
Node#parent_module_name
forsclass
nodes. ([@dvandersluis][])v1.9.0
Compare Source
New features
ProcessedSource#sorted_tokens
to be a public method. ([@dvandersluis][])v1.8.0
Compare Source
New features
branches
method forAST::CaseMatchNode
. ([@koic][])Changes
v1.7.0
Compare Source
New features
SendNode#def_modifier
that returns thedef
node it modifies, ornil
. ([@marcandre][])pattern
method forAST::InPatternNode
node. ([@koic][])v1.6.0
Compare Source
New features
AST::InPatternNode
node. ([@koic][])v1.5.0
Compare Source
New features
Parser::Ruby31
for Ruby 3.1 parser (experimental). ([@koic][])v1.4.2
Compare Source
Bug fixes
ast_with_comments
distinguish nodes with same content. ([@marcandre][])v1.4.1
Compare Source
Changes
#value
fordstr
nodes to return the actual string value. ([@dvandersluis][])v1.4.0
Compare Source
Changes
parser
3.0. Turn onemit_match_pattern
switch. ([@marcandre][])v1.3.0
Compare Source
Changes
#Example_type?
). ([@marcandre][])v1.2.0
Compare Source
New features
ArgNode
andProcarg0Node
("modern" mode), and addArgsNode#argument_list
to get only argument type nodes. ([@dvandersluis][])Changes
BlockNode#argument_list
fornumblock
s. ([@dvandersluis][])BlockNode#argument_list
andBlockNode#argument_names
. ([@dvandersluis][])def_node_pattern
anddef_node_search
now return the method name. ([@marcandre][])v1.1.1
Compare Source
Bug fixes
IfNode#branches
to return both branches when called on ternary conditional. ([@fatkodima][])v1.1.0
Compare Source
New features
v1.0.1
Compare Source
Bug fixes
SendNode#macro?
andRuboCop::AST::Node#class_constructor?
aware of struct constructor andRuboCop::AST::Node#struct_constructor?
is deprecated. ([@koic][])MethodDispatchNode#def_modifier?
. ([@eugeneius][])v1.0.0
Compare Source
Changes
v0.8.0
Compare Source
New features
DefNode#endless?
(Ruby 3.0). ([@marcandre][])AST::Traversal
by detecting unknownNode
types. ([@marcandre][])Bug fixes
break
andnext
are now traversed. ([@marcandre][])v0.7.1
Compare Source
Bug fixes
v0.7.0
Compare Source
New features
NodePattern
compiler complete rewrite. Add support for multiple variadic terms. ([@marcandre][])NodePattern
debugging rake tasks:test_pattern
,compile
,parse
. See also this app ([@marcandre][])NodePattern
support for multiple terms unions. ([@marcandre][])NodePattern
s by usingSet
s. ([@marcandre][])NodePattern
support for Regexp literals. ([@marcandre][])Changes
v0.6.0
Compare Source
New features
RegexpNode#options
. ([@owst][])v0.5.1
Compare Source
Bug fixes
SendNode#macro?
. This impacts{non_}bare_access_modifier?
andspecial_access_modifier?
. ([@marcandre][])v0.5.0
Compare Source
New features
Node#parent?
andNode#root?
. ([@marcandre][])Changes
Parser::Ruby28
toParser::Ruby30
for Ruby 3.0 parser (experimental). ([@koic][])v0.4.2
Compare Source
Bug fixes
v0.4.1
Compare Source
Bug fixes
ConstNode#absolute?
when the constant is not namespaced. ([@dvandersluis][])v0.4.0
Compare Source
New features
ProcessedSource#tokens_within
,ProcessedSource#first_token_of
andProcessedSource#last_token_of
. ([@fatkodima][])RescueNode
. AddResbodyNode#exceptions
andResbodyNode#branch_index
. ([@fatkodima][])Node#{left|right}_sibling{s}
([@marcandre][])ConstNode
and some helper methods. ([@marcandre][])Changes
Set#===
is harmonized with Ruby 2.5+ to callinclude?
. ([@marcandre][])Node#arguments
always returns a frozen array ([@marcandre][])Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.