Skip to content

Bump syntax_tree from 6.0.0 to 6.0.1 #34

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

Merged
merged 1 commit into from
Feb 27, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 27, 2023

Bumps syntax_tree from 6.0.0 to 6.0.1.

Changelog

Sourced from syntax_tree's changelog.

[6.0.1] - 2023-02-26

Added

  • The class declarations returned as the result of the indexing operation now have their superclass as a field. It is returned as an array of constants. If the superclass is anything other than a constant lookup, then it raises an error.

Changed

  • The nesting field on the results of the indexing operation is no longer a single flat array. Instead it is an array of arrays, where each array is a single nesting level. This more accurately reflects the nesting of the nodes in the tree. For example, class Foo::Bar::Baz; end would result in [Foo, Bar, Baz], but that incorrectly implies that you can see constants at each of those levels. Now this would result in [[Foo, Bar, Baz]] to indicate that it can see either the top level or constants within the scope of Foo::Bar::Baz only.
  • When formatting hashes that have omitted values and mixed hash rockets with labels, the formatting now maintains whichever delimiter was used in the source. This is because forcing the use of hash rockets with omitted values results in a syntax error.
  • Handle the case where a bare hash is used after the break, next, or return keywords. Previously this would result in hash labels which is not valid syntax. Now it maintains the delimiters used in the source.
  • The << operator will now break on chained << expressions. Previously it would always stay flat.
Commits
  • ff9094a Bump to v6.0.1
  • 301e120 Merge pull request #320 from ruby-syntax-tree/break-shovel
  • 7dcc843 Split up chained << expressions
  • fadddf6 Merge pull request #319 from ruby-syntax-tree/keywords-bare-hashes
  • b0ba92e Handle keywords with bare hashes
  • d2278ce Merge pull request #318 from ruby-syntax-tree/hash-omission
  • 2993e27 Handle assoc value omission with mixed delimiters
  • 9129486 Merge pull request #315 from ruby-syntax-tree/dependabot/bundler/rubocop-1.46.0
  • 3742be0 Bump rubocop from 1.45.1 to 1.46.0
  • 7ce4c88 Merge pull request #314 from ruby-syntax-tree/index-updates
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [syntax_tree](https://github.com/kddnewton/syntax_tree) from 6.0.0 to 6.0.1.
- [Release notes](https://github.com/kddnewton/syntax_tree/releases)
- [Changelog](https://github.com/ruby-syntax-tree/syntax_tree/blob/main/CHANGELOG.md)
- [Commits](ruby-syntax-tree/syntax_tree@v6.0.0...v6.0.1)

---
updated-dependencies:
- dependency-name: syntax_tree
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Feb 27, 2023
@github-actions github-actions bot merged commit c7fbeec into main Feb 27, 2023
@dependabot dependabot bot deleted the dependabot/bundler/syntax_tree-6.0.1 branch February 27, 2023 20:17
@davidwessman davidwessman mentioned this pull request Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants