Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
90 changes: 45 additions & 45 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ anyhow = { version = "1.0.75", features = [] } # for err
clap = { version = "4.2.1", features = ["derive"] } # cli
clap_derive = "4.2.0" # cli
csv = "1.3.0" # csv de/serialize
dua-core = "5.0.1" # for walking the file tree
dua-core = "6.1.0" # for walking the file tree
itertools = "0.15.0" # tools for iterating over iterable things
path-clean = "1.0.1" # Pathname#cleaname in Ruby
rayon = "1.10.0" # for parallel iteration
Expand All @@ -72,7 +72,7 @@ ignore = "0.4" # for gitignore pattern matching

[dev-dependencies]
assert_cmd = "2.1.1" # testing CLI
jsonschema = "0.60" # JSON schema validation
jsonschema = "0.63" # JSON schema validation
rusty-hook = "^0.11.2" # git hooks
predicates = "3.0.2" # kind of like rspec assertions
pretty_assertions = "1.3.0" # Shows a more readable diff when comparing objects
Expand Down
5 changes: 2 additions & 3 deletions src/packs/parsing/ruby/parse_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,9 @@ pub fn get_definition_from(
}

/// Ruby 4.0's syntax, the newest Ruby's. Prism's own default is the syntax of
/// Ruby 4.1, which isn't released until December 2026. `CRuby3_5` is 4.0, the
/// name Ruby 4.0 had before its release.
/// Ruby 4.1, which isn't released until December 2026.
pub fn parse_options() -> ParseOptions {
Options::default().version(Version::CRuby3_5).build()
Options::default().version(Version::CRuby4_0).build()
}

/// The first error Prism reports, which is where it lost its way. Errors that
Expand Down
Loading