| Age | Commit message (Collapse) | Author |
|
To work with options defined as `--[no]-something`.
Fix https://bugs.ruby-lang.org/issues/20252
Fix https://github.com/ruby/optparse/pull/60
https://github.com/ruby/optparse/commit/78afdab307
|
|
https://github.com/ruby/prism/commit/2c53e017c1
Co-authored-by: Kevin Newton <kddnewton@gmail.com>
|
|
https://github.com/ruby/prism/commit/b771c7f2ec
|
|
https://github.com/ruby/prism/commit/8cd92eef79
|
|
Rake uses [lambda] as callbacks.
Calling it without omitted argument raises an `ArgumentError`.
lambda: https://github.com/ruby/rake/blob/master/lib/rake/application.rb#L543
https://github.com/ruby/optparse/commit/213cb03b59
|
|
Fix https://github.com/ruby/optparse/pull/55
https://github.com/ruby/optparse/commit/9d53e74aa4
|
|
`--[no]-something`
https://github.com/ruby/optparse/commit/4e346ad337
|
|
https://github.com/ruby/optparse/commit/b14c2c644d
|
|
Attribute readers and writers can be marked as `:nodoc` to keep them
undocumented:
```ruby
attr_reader :name # :nodoc:
```
For aliases this behaviour should be the same:
```ruby
alias_method :old :new # :nodoc:
```
https://github.com/ruby/rdoc/commit/30f14e8271
|
|
back to to_s
https://github.com/ruby/prism/commit/0b90c9a398
|
|
Compiler.
https://github.com/ruby/prism/commit/bbdba3f42d
Co-Authored-By: Kevin Newton <kddnewton@gmail.com>
|
|
https://github.com/ruby/prism/commit/03addf2d3d
Co-authored-by: Kevin Newton <kddnewton@gmail.com>
|
|
https://github.com/ruby/prism/commit/5eac08f699
Co-authored-by: Kevin Newton <kddnewton@gmail.com>
|
|
https://github.com/ruby/prism/commit/8271ce5ec9
Co-authored-by: Kevin Newton <kddnewton@gmail.com>
|
|
https://github.com/ruby/prism/commit/6e2bf9c8cd
Co-authored-by: Kevin Newton <kddnewton@gmail.com>
|
|
https://github.com/ruby/prism/commit/bce0a5c916
Co-authored-by: Kevin Newton <kddnewton@gmail.com>
|
|
* add bin/prism ripper to compare Ripper output
* block arg handling is quirky, do it per-call-site
* block required params
* boolean values
* various assign-operator support
* breaks, early fragile begin/rescue/end
* more fixtures being checked
https://github.com/ruby/prism/commit/31732cb720
|
|
https://github.com/rubygems/rubygems/commit/c38a96ceae
|
|
https://github.com/rubygems/rubygems/commit/2361527c45
|
|
https://github.com/rubygems/rubygems/commit/d1963bf1a6
|
|
https://github.com/rubygems/rubygems/commit/6a0c03c77f
|
|
https://github.com/rubygems/rubygems/commit/085eda7147
|
|
We keep adding more scripts to /bin that are doing the same kinds
of processing. Instead, this commit consolidates them all into a
single CLI that shares the same logic so that we can consistently
read files in the same way.
It keeps around 2 binstubs for bin/lex and bin/parse since those
are the most used and I'm sure people have built up muscle memory
for those. Those scripts are now just wrappers for forwarding to
bin/prism.
https://github.com/ruby/prism/commit/bddcb9bf17
|
|
https://github.com/ruby/prism/commit/874ba7a1f4
Co-Authored-By: Kevin Newton <kddnewton@gmail.com>
|
|
method calls
https://github.com/ruby/prism/commit/40cf114a24
|
|
https://github.com/ruby/prism/commit/e346fa583a
|
|
Add tests. Start parsing some simpler fixture code.
https://github.com/ruby/prism/commit/997f4191d8
|
|
|
|
(https://github.com/ruby/irb/pull/865)
https://github.com/ruby/irb/commit/afe1f459cc
|
|
https://github.com/ruby/prism/commit/1a15b70a8e
|
|
(https://github.com/ruby/irb/pull/864)
* Remove useless ivar
* Simplify tracer test setup
* Treat tracer like a normal development dependency
* Only require ext/tracer when value is truthy
* Make tracer integration skip IRB traces
https://github.com/ruby/irb/commit/a97a4129a7
|
|
translation
https://github.com/ruby/prism/commit/63979de21d
|
|
https://github.com/rubygems/rubygems/commit/6302798a32
|
|
prerelease is the only available version
https://github.com/rubygems/rubygems/commit/a7dcc7214b
|
|
https://github.com/ruby/prism/commit/47a602dc1c
|
|
Part of issue #2354
https://github.com/ruby/prism/commit/cb28edae34
|
|
This PR implements proper file parsing error handling. Previously
`file_options` would call `pm_string_mapped_init` which would print an
error from `perror`. However this wouldn't raise a proper Ruby error so
it was just a string output. I've done the following:
- Raise an error from `rb_syserr_fail` with the filepath in
`file_options`.
- No longer return `Qnil` if `file_options` returns false (because now
it will raise)
- Update `file_options` to return `static void` instead of `static
bool`.
- Update `file_options` and `profile_file` to check the type so when
passing `nil` we see a `TypeError`.
- Delete `perror` from `pm_string_mapped_init`
- Update `FFI` backend to raise appropriate errors when calling
`pm_string_mapped_init`.
- Add tests for `dump_file`, `lex_file`, `parse_file`,
`parse_file_comments`, `parse_lex_file`, and `parse_file_success?`
when a file doesn't exist and for `nil`.
- Updates the `bin/parse` script to no longer raise it's own
`ArgumentError` now that we raise a proper error.
Fixes: ruby/prism#2207
https://github.com/ruby/prism/commit/b2f7494ff5
|
|
(https://github.com/ruby/irb/pull/857)
The new tests are skipped when ruby below 3.1, as it was a default gem on it, and in a version we do not support.
This also move definition of `use_tracer` to module Context instead of monkey patch.
https://github.com/ruby/irb/commit/08834fbd5f
|
|
This reverts commit https://github.com/rubygems/rubygems/commit/0b8faf1e3926.
https://github.com/rubygems/rubygems/commit/7528e0f1ce
|
|
|
|
https://github.com/ruby/irb/commit/0ab96ed426
|
|
(https://github.com/ruby/irb/pull/852)
* Add a warning for when the history path doesn't exist
* warn when the directory does not exist
* added test for when the history_file does not exist
* Update lib/irb/history.rb
---------
https://github.com/ruby/irb/commit/9e6fa67212
Co-authored-by: Stan Lo <stan001212@gmail.com>
|
|
requirements
to avoid accidentally mutating the original's state when doing:
```ruby
spec2 = spec.dup
spec2.required_rubygems_version.concat([">= 3.3.22"])
```
see https://github.com/rake-compiler/rake-compiler/pull/236 for a
real-world use case that would be made simpler with this behavior.
https://github.com/rubygems/rubygems/commit/c1d52389f0
|
|
@requirements
to avoid accidentally mutating the original's state when doing:
```ruby
req2 = req.dup
req2.concat([">= 3.3.22"])
```
see https://github.com/rake-compiler/rake-compiler/pull/236 for a
real-world use case that would be made simpler with this behavior.
https://github.com/rubygems/rubygems/commit/8e0c03144e
|
|
https://github.com/ruby/prism/commit/b7ab29daa0
|
|
https://github.com/rubygems/rubygems/commit/f72a7989cd
|
|
be also used
https://github.com/rubygems/rubygems/commit/2bf6163eaf
|
|
https://github.com/ruby/prism/commit/4327051c86
|
|
|
|
(https://github.com/ruby/irb/pull/849)
* Use rubocop to enforce a few styling rules
* Add a CI job for linting
https://github.com/ruby/irb/commit/4f60cd88bb
|