Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also orlearn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also.Learn more about diff comparisons here.
base repository:ruby-syntax-tree/syntax_tree
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base:v3.2.1
Choose a base ref
Loading
...
head repository:ruby-syntax-tree/syntax_tree
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare:v3.3.0
Choose a head ref
Loading
  • 11commits
  • 10files changed
  • 3contributors

Commits on Jul 22, 2022

  1. Deal better with multi-statement blocks inside parenthesized method c…

    …alls.Fixes#120.
    Tony Spataro committedJul 22, 2022
    Configuration menu
    Copy the full SHA
    35cf388View commit details
    Browse the repository at this point in the history
  2. Merge pull request#121from xeger/block-in-parenthesized-method

    Deal better with multi-statement blocks inside parenthesized method calls
    @kddnewton
    kddnewton authoredJul 22, 2022
    Configuration menu
    Copy the full SHA
    515aaffView commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2022

  1. Configuration menu
    Copy the full SHA
    b5758afView commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2022

  1. Merge pull request#123from molawson/rake-print-width-arg

    Add print_width config option for rake tasks
    @kddnewton
    kddnewton authoredJul 31, 2022
    Configuration menu
    Copy the full SHA
    cf97c1bView commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2022

  1. Fix up CI on main

    @kddnewton
    kddnewton committedAug 1, 2022
    Configuration menu
    Copy the full SHA
    f1ed1e9View commit details
    Browse the repository at this point in the history
  2. Add support for a simple config file

    As syntax_tree gains wider usage, it'll be very helpful to allowprojects to commit their particular configs within their repo for use byany tool that uses `stree` instead of having to create wrapper scripts,rely on rake tasks that come with their own overhead, or manually keepsettings up to date among all contributors.This set of changes takes inspiration from sorbet to provide users witha simple config file that's also easy to parse and use within the gem.It's a text file that has the exact options you'd pass on the commandline, each on their own line. These are parsed and prepended to thearguments array within `CLI.run`, still allowing for other options topassed from the command line.I decided to restrict this only to the command line options and avoidthe source files argument, opting to let other tools pass their ownsource file from the command line, which is preferable for tools likeeditor integrations that might interact with a single file at a time. Ifusers want to interact with all of their Ruby files at once, the raketasks are perfect for providing larger, static patterns of files. Andsince they use `CLI.run` as well, they'll pick up options from a.streerc file, if present.I also opted for only supporting a single .streerc file at the projectroot. If there's a need for multiple configs or config locations, thiscan be easily extended to look up through a directory structure oraccept an option for a specific config file location (or even adifferent filename). Those felt out of scope for this initial support.
    @molawson
    molawson committedAug 1, 2022
    Configuration menu
    Copy the full SHA
    bd85cd5View commit details
    Browse the repository at this point in the history
  3. Merge pull request#125from molawson/config-file-support

    Add support for a simple config file
    @kddnewton
    kddnewton authoredAug 1, 2022
    Configuration menu
    Copy the full SHA
    3b81273View commit details
    Browse the repository at this point in the history
  4. Fix up tests on main

    @kddnewton
    kddnewton committedAug 1, 2022
    Configuration menu
    Copy the full SHA
    4b9a3b7View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    282eb1dView commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2022

  1. Configuration menu
    Copy the full SHA
    ddd6406View commit details
    Browse the repository at this point in the history
  2. Bump to version 3.3.0

    @kddnewton
    kddnewton committedAug 2, 2022
    Configuration menu
    Copy the full SHA
    dd07d31View commit details
    Browse the repository at this point in the history
Loading

[8]ページ先頭

©2009-2025 Movatter.jp