| Age | Commit message (Collapse) | Author |
|
That's indeed the ideal behavior but it's a mess to maintain because the
version of RubyGems shipped with each patchlevel of Ruby changes. We
could try looking at the `VERSION` constant in `
RbConfig::CONFIG["rubylibdir"` but for now I calling what's in there now
as good enough.
https://github.com/rubygems/rubygems/commit/40ccf2b093
|
|
We already do this check in `setup.rb` itself, which is run earlier.
https://github.com/rubygems/rubygems/commit/160cc3f1c5
|
|
https://github.com/rubygems/rubygems/commit/31fadaf2d2
|
|
bug
(https://github.com/ruby/reline/pull/763)
https://github.com/ruby/reline/commit/d3ba7216eb
|
|
https://github.com/rubygems/rubygems/commit/9e0018d9fe
|
|
output
The $0 value is used in many CLI libraries to determine the name of the
application, when displaying help and error messages.
Without setting this value, it defaults to `gem` which can be confusing.
Before:
```
$ gem exec kamal help
Commands:
gem accessory # Manage accessories (db/redis/search)
gem app # Manage application
gem audit # Show audit log from servers
gem build # Build application image
gem config # Show combined config (including secrets!)
gem deploy # Deploy app to servers
gem details # Show details about all containers
gem docs [SECTION] # Show Kamal configuration documentation
gem help [COMMAND] # Describe available commands or one specific command
gem init # Create config stub in config/deploy.yml and secrets stub in .kamal
gem lock # Manage the deploy lock
gem proxy # Manage kamal-proxy
gem prune # Prune old application images and containers
gem redeploy # Deploy app to servers without bootstrapping servers, starting kamal-proxy, pruning, and registry login
gem registry # Login and -out of the image registry
gem remove # Remove kamal-proxy, app, accessories, and registry session from servers
gem rollback [VERSION] # Rollback app to VERSION
gem secrets # Helpers for extracting secrets
gem server # Bootstrap servers with curl and Docker
gem setup # Setup all accessories, push the env, and deploy app to servers
gem upgrade # Upgrade from Kamal 1.x to 2.0
gem version # Show Kamal version
```
After:
```
$ gem exec kamal help
Commands:
kamal accessory # Manage accessories (db/redis/search)
kamal app # Manage application
kamal audit # Show audit log from servers
kamal build # Build application image
kamal config # Show combined config (including secrets!)
kamal deploy # Deploy app to servers
kamal details # Show details about all containers
kamal docs [SECTION] # Show Kamal configuration documentation
kamal help [COMMAND] # Describe available commands or one specific command
kamal init # Create config stub in config/deploy.yml and secrets stub in .kamal
kamal lock # Manage the deploy lock
kamal proxy # Manage kamal-proxy
kamal prune # Prune old application images and containers
kamal redeploy # Deploy app to servers without bootstrapping servers, starting kamal-proxy, pruning, and registry login
kamal registry # Login and -out of the image registry
kamal remove # Remove kamal-proxy, app, accessories, and registry session from servers
kamal rollback [VERSION] # Rollback app to VERSION
kamal secrets # Helpers for extracting secrets
kamal server # Bootstrap servers with curl and Docker
kamal setup # Setup all accessories, push the env, and deploy app to servers
kamal upgrade # Upgrade from Kamal 1.x to 2.0
kamal version # Show Kamal version
```
https://github.com/rubygems/rubygems/commit/4fd060b96d
|
|
https://github.com/rubygems/rubygems/commit/e7f5f067e8
|
|
In particular, when a gem registry transitive dependency is changed to a
git source direct dependency.
https://github.com/rubygems/rubygems/commit/bcdc7660d9
|
|
https://github.com/rubygems/rubygems/commit/9964c16bb9
|
|
https://github.com/rubygems/rubygems/commit/c5a9449069
|
|
https://github.com/rubygems/rubygems/commit/508fb45b76
|
|
https://github.com/rubygems/rubygems/commit/2a36af0f38
|
|
There seems to be no reason why the install should be serial for --local.
The packages are still installed in the right dependency order in this case, so that parallel install can be used.
This patch disables parallel install only in case of no_install_needed.
Also remove the `option` argument, which is effectifely not used.
https://github.com/rubygems/rubygems/commit/5da934ddb6
|
|
Signed-off-by: Samuel Giddins <segiddins@segiddins.me>
https://github.com/rubygems/rubygems/commit/a5412d9a0e
|
|
https://github.com/rubygems/rubygems/commit/3f39571181
|
|
(https://github.com/ruby/irb/pull/1033)
It probably won't speed up things significantly, but these are hot paths
and we can save a few method calls per completion/input call.
https://github.com/ruby/irb/commit/f1e25ec7ae
|
|
(https://github.com/ruby/irb/pull/1034)
https://github.com/ruby/irb/commit/9750fa23cc
|
|
https://github.com/rubygems/rubygems/commit/ad26ccde38
|
|
Signed-off-by: Andrew Nesbitt <andrewnez@gmail.com>
https://github.com/rubygems/rubygems/commit/897819da36
|
|
https://github.com/ruby/pp/commit/3e4b7c03b0
Co-authored-by: Nobuyoshi Nakada <nobu.nakada@gmail.com>
|
|
https://github.com/ruby/pp/commit/6d9c0f255a
|
|
https://github.com/ruby/pp/commit/e787cd9139
|
|
object
(https://github.com/ruby/irb/pull/1031)
IRB used delegator to install command as a method of frozen main object.
Command is not a method now. We can drop it.
https://github.com/ruby/irb/commit/2f1c593801
|
|
https://github.com/ruby/pp/commit/dbf177d0fc
|
|
https://github.com/ruby/rdoc/commit/9a7ab17f40
|
|
(https://github.com/ruby/rdoc/pull/1211)
https://github.com/ruby/rdoc/commit/10596827f0
|
|
https://github.com/ruby/net-http/commit/4650f86981
|
|
https://github.com/ruby/rdoc/commit/cf09b2ebb8
|
|
https://github.com/ruby/net-http/commit/37f17d29e0
|
|
(https://github.com/ruby/rdoc/pull/1200)
Fixes https://bugs.ruby-lang.org/issues/20862
https://github.com/ruby/rdoc/commit/3c678249e2
|
|
https://github.com/ruby/tempfile/commit/297bdf2c8d
|
|
`IO::NULL`'s underlying file `/dev/null` is not always available on
WASI, so use of the file on top-level code (introduced in
https://github.com/ruby/tempfile/pull/36) causes tempfile library not
to work at all on WASI.
https://github.com/ruby/tempfile/commit/d50939890e
|
|
https://github.com/ruby/syntax_suggest/commit/e99b5ba287
|
|
https://github.com/ruby/syntax_suggest/commit/8c36b0cb35
|
|
https://github.com/ruby/syntax_suggest/commit/9c78283363
|
|
https://github.com/ruby/syntax_suggest/commit/b17bf0baca
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/12096
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/12096
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/12096
|
|
These constants, isolated in net/http/backward.rb, have not only been
deprecated since 2001, but have also had a warning since 2021.
https://github.com/ruby/net-http/commit/265bfa929f
|
|
In #225 it was reported that the output looks incorrect:
```
$ cat /tmp/4a71c7e417cc9eac0971e3a2519b295c/scratch.rb
def x.y.z
end
$ ruby /tmp/4a71c7e417cc9eac0971e3a2519b295c/scratch.rb
/tmp/4a71c7e417cc9eac0971e3a2519b295c/scratch.rb: --> /tmp/4a71c7e417cc9eac0971e3a2519b295c/scratch.rb
expected a delimiter to close the parametersunexpected '.', ignoring it
> 1 def x.y.z
> 2 end
```
Specifically:
```
expected a delimiter to close the parametersunexpected '.', ignoring it
```
However this does not show up when executing the debug executable:
```
$ bin/bundle exec exe/syntax_suggest /tmp/4a71c7e417cc9eac0971e3a2519b295c/scratch.rb
--> /tmp/4a71c7e417cc9eac0971e3a2519b295c/scratch.rb
expected a delimiter to close the parameters
unexpected '.', ignoring it
> 1 def x.y.z
> 2 end
```
This is because `exe/syntax_suggest` uses STDOUT.puts while calling `ruby` with the filename uses a fake IO object represented by MiniStringIO. This class was incorrectly not adding a newline to the end of the print.
The fix was to move the class to it's own file where it can be tested and then fix the behavior.
close https://github.com/ruby/syntax_suggest/pull/225
https://github.com/ruby/syntax_suggest/commit/d2ecd94a3b
Co-authored-by: Andy Yong <andyywz@gmail.com>
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/12086
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/12086
|
|
non-windows environment.
(https://github.com/ruby/reline/pull/769)
Reline works perfectly in most major terminal emulators without terminfo.
In minor/old terminal emulator, we used to get key bindings from terminfo, but I think it is not used so much.
https://github.com/ruby/reline/commit/3ceba3bff7
|
|
URI::RFC2396_PARSER.escape explicitly
https://github.com/rubygems/rubygems/commit/64f026c9d4
|
|
https://github.com/ruby/uri/commit/e46960a467
|
|
https://github.com/ruby/uri/commit/b6f583369a
|
|
https://github.com/ruby/pp/commit/812933668d
|
|
|
|
|