Age | Commit message (Collapse) | Author |
|
Ensure unrecognized SPECS types are ignored
https://github.com/rubygems/rubygems/commit/5b33e91075
|
|
https://github.com/ruby/yarp/commit/c2b9b780c7
|
|
https://github.com/rubygems/rubygems/commit/ac3b85bd5e
|
|
https://github.com/rubygems/rubygems/commit/58173ff2ea
|
|
The flags integer is an implementation detail. We want people to
use the query methods to access the individual fields so we are
freed from having to maintain a specific order. As such, this
commit changes the Ruby API to mark all flags fields as private
attr_readers.
The only one that has a clear use case is returning the set of
options given to regular expressions, to mirror the Regexp#options
API. So, to support this use case, this commit introduces
RegularExpressionNode#options and InterpolatedRegularExpressionNode#options.
These APIs provide back the same integer so that they can be used
interchangeably.
https://github.com/ruby/yarp/commit/4e6d5dd99f
|
|
https://github.com/ruby/yarp/commit/2b41ceb754
|
|
https://github.com/ruby/yarp/commit/a94af7c4c8
|
|
https://github.com/ruby/yarp/commit/3be8272fa2
|
|
https://github.com/ruby/yarp/commit/ddc699156f
Co-authored-by: Kevin Newton <kddnewton@users.noreply.github.com>
|
|
https://github.com/ruby/yarp/commit/a6fdb8aae9
|
|
https://github.com/ruby/yarp/commit/d2d4f25a23
|
|
When @allow_cached is true, @allow_local is always true,
therefore, the #installed_specs will always be merged after #cached_specs
is called. This makes starting with installed_specs.dup redundant.
When #cached_specs is called because @allow_remote is true and
@allow_cached is false, then installed_specs will be added after
cached_specs based on @allow_local.
We never need to add installed_specs here, so don't.
https://github.com/rubygems/rubygems/commit/49b38f9750
|
|
Rename Index#use(override = true) to #merge!
Rename Index @all_specs to @duplicates, it is not actually all specs.
@duplicates only holds specs that would have been overridden during a call to
Index#use or Index#merge!
Reduced dupes in @duplicates by not double adding the new spec to the
index and the @duplicates during #merge!
Reduce Array creation by using specialized methods when the one result
or no results are needed from the search.
https://github.com/rubygems/rubygems/commit/47e91125db
|
|
override = false
https://github.com/rubygems/rubygems/commit/790202691d
|
|
https://github.com/ruby/yarp/commit/00e4711026
|
|
https://github.com/ruby/yarp/commit/2a12e9637b
|
|
https://github.com/ruby/yarp/commit/d7eaa89bc3
|
|
(https://github.com/ruby/irb/pull/706)
https://github.com/ruby/irb/commit/c7c838a4bf
|
|
https://github.com/ruby/rdoc/commit/0d10f460eb
|
|
https://github.com/ruby/rdoc/commit/a61b777df0
|
|
not mentioned in call-seq
This allows RDoc to better generate documentation for methods
following the Ruby core documentation guide (which omits aliases
in call-seq in most cases). This makes documentation for methods
defined in C more similar to methods defined in Ruby. For methods
defined in Ruby, the method description of the aliased method is
already not used (you have to explicitly document the alias to
use it).
Internally, this adds AnyMethod#has_call_seq? and #skip_description?,
and updates Darkfish to:
* only show the method name if there is a call-seq for the method,
but the call-seq omits the method
* to omit the method description if the method is an alias or has
aliases and has a call-seq that does not include the method
See discussion in https://github.com/ruby/ruby/pull/7316 for
details.
https://github.com/ruby/rdoc/commit/e3688de49b
|
|
https://github.com/ruby/rdoc/commit/ed91c4b784
|
|
https://github.com/ruby/yarp/commit/ef14ae66e4
|
|
https://github.com/ruby/yarp/commit/b48067b067
|
|
https://github.com/ruby/yarp/commit/b6164a76d9
|
|
without a temporary variable
* See https://github.com/ruby/yarp/pull/1329#discussion_r1310775433 for details.
https://github.com/ruby/yarp/commit/f0fdcba0c3
|
|
https://github.com/ruby/yarp/commit/a39147736e
|
|
(https://github.com/ruby/irb/pull/704)
1. The newer versions of rdoc requires pysch 4.0+, which could break apps
using Ruby 3.0 or 2.7. #703 has more detailed explanation on this.
2. We actually don't use any version-specific rdoc APIs. So having a version
requirement is not necessary atm.
https://github.com/ruby/irb/commit/3e6ba78c42
|
|
(https://github.com/ruby/irb/pull/702)
Reline 0.3.8 reduces the chance of having a deadlock with the debugger
while using the new `irb:rdbg` integration.
https://github.com/ruby/irb/commit/9b8c56b7d4
|
|
https://github.com/ruby/shellwords/commit/b45de514ab
|
|
https://github.com/ruby/yarp/commit/be5cb60c83
|
|
Class variables, global variables, constants, and constant paths
should actually desugar to `defined?` instead of just reading the
value.
https://github.com/ruby/yarp/commit/551a59b876
|
|
(https://github.com/ruby/irb/pull/700)
https://github.com/ruby/irb/commit/a061744ed3
|
|
https://github.com/rubygems/rubygems/commit/75ffa8ef76
Co-authored-by: Martin Emde <martinemde@users.noreply.github.com>
|
|
memory usage
I previously identified and improved this method over in https://github.com/rubygems/rubygems/pull/6884
but while reviewing another memory_profiler profile, I realized another
gain we can eek out.
This method keeps comes up in part because `configs` is allocating a new
Hash every time. My last change took advantage of that by using `map!`
on it. `configs` is called quite often, including in this `[]` method,
so there's a benefit to memoizing it.
Back in `[]`, logically we are trying to find the first Hash in `configs`
that has a value for the given key. Currently, we end up `map` and
`compact` to just get that value.
Instead, we can use a loop over `configs`, and break when we find the
value for the key.
https://github.com/rubygems/rubygems/commit/b913cfc87b
|
|
https://github.com/ruby/yarp/commit/f049932c44
|
|
It now does the redownloading/installing just like bundle install --redownload
https://github.com/rubygems/rubygems/commit/3b058e5eca
|
|
integration
(https://github.com/ruby/irb/pull/693)
* `help` should display debugger's help during irb:rdbg session
* Update `show_cmds`'s output when in irb:rdbg session
https://github.com/ruby/irb/commit/4029c2e564
|
|
(https://github.com/ruby/reline/pull/587)
`ARGV.first` is the name of the EastAsianWidth file and is not needed for east_asian_width.rb
https://github.com/ruby/reline/commit/6649bda31c
|
|
(https://github.com/ruby/reline/pull/586)
* Set EastAsianWidth::UNICODE_VERSION
* Commented out UNICODE_VERSION in Reline::Unicode::EastAsianWidth
* Commented out UNICODE_VERSION in Reline::Unicode::EastAsianWidth
https://github.com/ruby/reline/commit/6d94f2a26a
|
|
(https://github.com/ruby/irb/pull/696)
https://github.com/ruby/irb/commit/59bcc07def
|
|
* Remove unused method and constant from IRB::Debug
* Update comments
https://github.com/ruby/irb/commit/98914a963c
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/8317
|
|
(https://github.com/ruby/irb/pull/691)
They were removed in #685, but we should still keep them to avoid breaking
changes to tools like Chef.
https://github.com/chef/chef/blob/533ff089479763f29045e4e6ddf388b73fc99338/lib/chef/shell.rb#L138
https://github.com/ruby/irb/commit/b585e0c835
|
|
(https://github.com/ruby/irb/pull/685)
https://github.com/ruby/irb/commit/66e69fa0dc
|
|
https://github.com/rubygems/rubygems/commit/f240bfad2a
|
|
|
|
See previous similar YJIT commit.
Notes:
Merged: https://github.com/ruby/ruby/pull/8299
|
|
https://github.com/rubygems/rubygems/commit/c969a192bf
|
|
https://github.com/rubygems/rubygems/commit/d275cdccb1
|