| Age | Commit message (Collapse) | Author |
|
(https://github.com/rubygems/rubygems/pull/6898)
Supports .tool-versions (ASDF) by checking for a line starting with "ruby"
before falling back to reading the entire file, as in .ruby-version.
https://github.com/rubygems/rubygems/commit/6c0a3e793a
|
|
integration
(https://github.com/ruby/irb/pull/688)
* Avoid overriding user's irb_name setting in debugger integration
Instead of always setting `irb_name` to `irb:rdbg`, it should respect
the user's setting and only append `:rdbg` to it.
* Introduce write_rc test helper
https://github.com/ruby/irb/commit/2ce7593351
|
|
locals checking
https://github.com/ruby/yarp/commit/db95191207
|
|
(https://github.com/ruby/irb/pull/683)
* Add a test case for Ctrl-C handling
* Test symbol aliases with integration tests
There are a few places that also need to check symbol aliases before
`Irb#eval_input`. But since the current command test skip them, we
don't have test coverage on them.
* Move each_top_level_statement and readmultiline to Irb
This will save RubyLex from knowning information about commands and aliases.
https://github.com/ruby/irb/commit/69cb5b5615
|
|
https://github.com/ruby/yarp/commit/a328f27d8f
|
|
(https://github.com/ruby/irb/pull/686)
* Support `VISUAL` env var, and prefer it over `EDITOR`
* Update test/irb/test_cmd.rb
---------
https://github.com/ruby/irb/commit/399b872c31
Co-authored-by: Stan Lo <stan001212@gmail.com>
|
|
(https://github.com/ruby/reline/pull/582)
https://github.com/ruby/reline/commit/3840d1f958
|
|
(https://github.com/ruby/reline/pull/583)
https://github.com/ruby/reline/commit/a6504acd63
|
|
(https://github.com/ruby/reline/pull/580)
Timeout's implementation relies on Thread, which would conflict with
`ruby/debug`'s thread-freezing implementation and has casued issues like
- ruby/debug#877
- ruby/debug#934
- ruby/debug#1000
This commit avoids the issue by completely removing the use of Timeout.
https://github.com/ruby/reline/commit/d4f0cd3fe1
|
|
https://github.com/rubygems/rubygems/commit/75c0f27b7e
|
|
https://github.com/rubygems/rubygems/commit/46745885e8
|
|
still include that
https://github.com/rubygems/rubygems/commit/235d9b38d8
|
|
https://github.com/rubygems/rubygems/commit/e79ccdafd8
|
|
.prepend to avoid allocating a new string.
https://github.com/rubygems/rubygems/commit/2ac35a661f
|
|
when it's a symbol
https://github.com/rubygems/rubygems/commit/535feb817c
|
|
allocating a matchdata, which is not used
https://github.com/rubygems/rubygems/commit/cbf9ac93d7
|
|
it's a symbol.
https://github.com/rubygems/rubygems/commit/f8167db8a2
|
|
allocating it multiple times
https://github.com/rubygems/rubygems/commit/8eac49c429
|
|
boundaries
https://github.com/rubygems/rubygems/commit/d7cde68034
|
|
individual keys are also new, so we can use ! methods on each individual one as well.
https://github.com/rubygems/rubygems/commit/f2e912b9bb
|
|
multiple times. This saves allocating 2 arrays
https://github.com/rubygems/rubygems/commit/48c03b33b7
|
|
that means we can use bang methods to avoid allocating new copies
https://github.com/rubygems/rubygems/commit/8bc13fa55f
|
|
avoid allocating another hash.
`String#start_with?` is faster than regex that is bound to the start of
a string.
https://github.com/rubygems/rubygems/commit/9b2006ef09
|
|
Co-authored-by: David Rodríguez <deivid.rodriguez@riseup.net>
|
|
class references does not warn
Before this, you would get constant redefinition warnings on Psych::DefaultKey
Additionally, ensure the retries wont continue infinitely in the case of the ArgumentError not being caused by Marshal trying to load the undefined classes
https://github.com/rubygems/rubygems/commit/919e8c2de4
|
|
https://github.com/rubygems/rubygems/commit/abacb0cb34cd
https://github.com/rubygems/rubygems/commit/5e2e9d6e50
|
|
https://github.com/ruby/yarp/commit/bfde753702
|
|
This is a follow up to https://github.com/rubygems/rubygems/issues/6742.
This change makes it so that the version file is resolved relative to
the Bundle root instead of the working directory.
Why is this useful?
If you run a commnad (eg `rails`) from the `app/` directory, your bundle
would fail to load.
https://github.com/rubygems/rubygems/commit/6d47ee98b9
|
|
https://github.com/rubygems/rubygems/commit/675effb67e
|
|
https://github.com/rubygems/rubygems/commit/3db9165335
|
|
https://github.com/ruby/yarp/commit/66ecec218d
|
|
corrupt gem
Gem::Package::TarReader::Entry now raises EOFError or returns nil
appropriately based on Ruby core IO.read and IO.readpartial behavior.
Zlib will respond accordingly by raising Zlib::GzipFile::Error on EOF.
When verifying a gem or extracting contents, raise FormatError similar
to other cases of corrupt gems.
Addresses a bug where Gem::Package would attempt to call size on nil
instead of raising a more descriptive and useful error, leading users
to assume the problem is internal to rubygems.
Remove unused error class TarReader::UnexpectedEOF that was never raised
since the NoMethodError on nil would happen first. Use EOFError instead.
https://github.com/rubygems/rubygems/commit/dc6129644b
|
|
Notes:
Merged-By: k0kubun <takashikkbn@gmail.com>
|
|
Right now, we have to keep the buffer FFI object in sync with the
definition of yp_buffer_t because we access its fields directly. If
we add more fields or change the order, things will get out of sync.
Instead, let's treat yp_buffer_t as an opaque pointer and access
its fields through accessor functions directly. This is more
consistent with how we handle strings anyway.
https://github.com/ruby/yarp/commit/878d845eff
Notes:
Merged: https://github.com/ruby/ruby/pull/8234
|
|
https://github.com/rubygems/rubygems/commit/fb9354b7bf
|
|
https://github.com/rubygems/rubygems/commit/09ef74ef73
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/8226
|
|
https://github.com/ruby/yarp/commit/e6cea4fa08
Notes:
Merged: https://github.com/ruby/ruby/pull/8226
|
|
https://github.com/ruby/yarp/commit/b490ff0919
Notes:
Merged: https://github.com/ruby/ruby/pull/8226
|
|
https://github.com/ruby/yarp/commit/aa0dc2f301
Notes:
Merged: https://github.com/ruby/ruby/pull/8226
|
|
https://github.com/ruby/yarp/commit/e5f6ffa23a
Notes:
Merged: https://github.com/ruby/ruby/pull/8226
|
|
and change the require from "yarp.so" to "yarp/yarp", which is more
aligned with existing community conventions for gems.
https://github.com/ruby/yarp/commit/64b70e2658
Notes:
Merged: https://github.com/ruby/ruby/pull/8226
|
|
(https://github.com/ruby/irb/pull/682)
* Introduce Statement class
* Split Statement class for better clarity
https://github.com/ruby/irb/commit/65e8e68690
|
|
private server
Before:
```
Fetching gem metadata from https://rubygems.org/........
Fetching source index from https://rubygems.pkg.github.com/my-org/
Bad username or password for https://x-access-token@rubygems.pkg.github.com/my-org/.
Please double-check your credentials and correct them.
```
After:
```
Fetching gem metadata from https://rubygems.org/........
Fetching source index from https://rubygems.pkg.github.com/my-org/
Access token could not be authenticated for https://x-access-token@rubygems.pkg.github.com/my-org/.
Make sure it's valid and has the necessary scopes configured.
```
https://github.com/rubygems/rubygems/commit/2ae69c964a
|
|
https://github.com/rubygems/rubygems/commit/ba3ea27869
|
|
https://github.com/rubygems/rubygems/commit/9a0e0dfd5b
|
|
https://github.com/rubygems/rubygems/commit/689c39b42f
|
|
This should be only for path sources, and unrelated to git.
https://github.com/rubygems/rubygems/commit/0d8f31eeed
|
|
https://github.com/rubygems/rubygems/commit/cfc82b592a
|
|
https://github.com/rubygems/rubygems/commit/784e08348e
|