David Rodríguez
486485a535
[rubygems/rubygems] Refactor
...
9964c16bb9
2024-11-21 10:37:51 +00:00
David Rodríguez
0a7099a0ae
[rubygems/rubygems] Extract a source
local
...
c5a9449069
2024-11-21 10:37:50 +00:00
David Rodríguez
8cf1222e56
[rubygems/rubygems] Reuse name
local
...
508fb45b76
2024-11-21 10:37:50 +00:00
David Rodríguez
335ef5ed81
[rubygems/rubygems] Remove no longer necessary code
...
2a36af0f38
2024-11-21 10:37:49 +00:00
Lars Kanis
796757a01c
[rubygems/rubygems] Remove override of worker jobs for bundle install --local
...
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.
5da934ddb6
2024-11-21 10:35:58 +00:00
Samuel Giddins
b70c1bb150
[rubygems/rubygems] Add --attestation option to gem push
...
Signed-off-by: Samuel Giddins <segiddins@segiddins.me>
a5412d9a0e
2024-11-20 19:32:49 +00:00
Andrew Nesbitt
b4969348bf
[rubygems/rubygems] Add man page for 'bundle issue' command
...
3f39571181
2024-11-20 19:13:27 +00:00
Stan Lo
51bf0d4d68
[ruby/irb] Store method objects in constants
...
(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.
f1e25ec7ae
2024-11-20 18:59:26 +00:00
Stan Lo
2df2e868bc
[ruby/irb] Move main object's safe call logic to Context
...
(https://github.com/ruby/irb/pull/1034 )
9750fa23cc
2024-11-20 15:02:17 +00:00
David Rodríguez
b56aacba78
[rubygems/rubygems] Define a few inspect
methods to help debugging
...
ad26ccde38
2024-11-19 16:50:04 +00:00
Andrew Nesbitt
0914da52e0
[rubygems/rubygems] Add man page for 'bundle fund' command
...
Signed-off-by: Andrew Nesbitt <andrewnez@gmail.com>
897819da36
2024-11-19 16:36:19 +00:00
tomoya ishida
cd7c6c66b4
[ruby/pp] Simplify range nil check
...
3e4b7c03b0
Co-authored-by: Nobuyoshi Nakada <nobu.nakada@gmail.com>
2024-11-19 14:52:01 +00:00
tompng
7b51b3c75b
[ruby/pp] Fix pretty printing range begin/end with false or nil
...
6d9c0f255a
2024-11-19 14:52:01 +00:00
Nobuyoshi Nakada
0de7e6ccb0
[ruby/pp] [DOC] Mark up the method name
...
e787cd9139
2024-11-19 14:43:33 +00:00
tomoya ishida
bc92379664
[ruby/irb] Don't use delegator to install helper methods to main
...
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.
2f1c593801
2024-11-19 13:17:11 +00:00
Nobuyoshi Nakada
492b379b52
[ruby/pp] [DOC] Add documents
...
dbf177d0fc
2024-11-19 12:34:47 +00:00
Stan Lo
6dc3332650
[ruby/rdoc] Bump version to v6.8.1
...
9a7ab17f40
2024-11-19 11:51:56 +00:00
Ihor Shevkun
39f421c9f1
[ruby/rdoc] Update rdoc.gemspec
...
(https://github.com/ruby/rdoc/pull/1211 )
10596827f0
2024-11-19 11:32:26 +00:00
Hiroshi SHIBATA
716ea630db
[ruby/net-http] Need to restore under the Net namespace
...
4650f86981
2024-11-19 09:19:16 +00:00
Hiroshi SHIBATA
da8c8743d5
[ruby/rdoc] Bump up v6.8.0
...
cf09b2ebb8
2024-11-19 05:47:37 +00:00
Hiroshi SHIBATA
b23c5063e8
[ruby/net-http] Restore HTTPSession constant for backward compatibility
...
37f17d29e0
2024-11-19 03:39:17 +00:00
Stan Lo
ee0915feeb
[ruby/rdoc] Extract excerpt from raw pages correctly
...
(https://github.com/ruby/rdoc/pull/1200 )
Fixes https://bugs.ruby-lang.org/issues/20862
3c678249e2
2024-11-18 10:32:31 +00:00
Hiroshi SHIBATA
572eebf603
[ruby/tempfile] Bump up v0.3.1
...
297bdf2c8d
2024-11-18 04:28:47 +00:00
Yuta Saito
6c142d05fa
[ruby/tempfile] Stop using IO::NULL
for feature detection
...
`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.
d50939890e
2024-11-18 04:19:40 +00:00
Schneems
2a0f8d62b6
[ruby/syntax_suggest] v2.0.2
...
e99b5ba287
2024-11-15 16:09:30 +00:00
Schneems
3a547e2539
[ruby/syntax_suggest] Explain why class exists
...
8c36b0cb35
2024-11-15 16:06:25 +00:00
Schneems
03a77c03eb
[ruby/syntax_suggest] Fix spelling
...
9c78283363
2024-11-15 16:06:24 +00:00
Schneems
7969f6791f
[ruby/syntax_suggest] Freeze strings
...
b17bf0baca
2024-11-15 16:06:24 +00:00
Hiroshi SHIBATA
b45f7a54af
Find .ext/common path from LOAD_PATH for out-of-place build
2024-11-15 14:04:19 +09:00
Hiroshi SHIBATA
52e867268e
Port test_warn_sub_feature.rb to RSpec example
2024-11-15 14:04:19 +09:00
Hiroshi SHIBATA
c5637f940a
fiddle provide sub-feature like fiddle/import
2024-11-15 14:04:19 +09:00
Nobuyoshi Nakada
8e98fbdd19
[ruby/net-http] Remove deprecated constants
...
These constants, isolated in net/http/backward.rb, have not only been
deprecated since 2001, but have also had a warning since 2021.
265bfa929f
2024-11-15 03:15:04 +00:00
Schneems
226cfda306
[ruby/syntax_suggest] Fix missing line break due to puts logic
...
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
d2ecd94a3b
Co-authored-by: Andy Yong <andyywz@gmail.com>
2024-11-15 01:31:26 +00:00
Hiroshi SHIBATA
11265baed9
Use environmental variable for bundled_gems_spec.rb
2024-11-15 08:16:03 +09:00
Hiroshi SHIBATA
b44272fcb4
Port test_warn_bundled_gems.rb to RSpec example
2024-11-15 08:16:03 +09:00
tomoya ishida
8f3a6ebcf4
[ruby/reline] Drop loading terminfo, remove fiddle dependency in
...
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.
3ceba3bff7
2024-11-14 23:14:18 +00:00
Hiroshi SHIBATA
8a4ce4e9a9
[rubygems/rubygems] URI::DEFAULT_PARSER.escape is obsoleted. We should use URI::RFC2396_PARSER.escape explicitly
...
64f026c9d4
2024-11-14 07:44:01 +00:00
Hiroshi SHIBATA
0f5e3dca5a
[ruby/uri] Bump up v1.0.2
...
e46960a467
2024-11-14 03:49:15 +00:00
Hiroshi SHIBATA
310e6603a2
[ruby/uri] Check existence constants only URI module
...
b6f583369a
2024-11-14 03:32:13 +00:00
Hiroshi SHIBATA
43285f543b
[ruby/pp] Bump up v0.6.1
...
812933668d
2024-11-14 02:22:14 +00:00
David Rodríguez
7ece47e0de
Update vendored thor to 1.3.2
2024-11-14 11:21:39 +09:00
David Rodríguez
99c35edae1
Update vendored timeout to 0.4.2
2024-11-14 11:21:39 +09:00
David Rodríguez
d9c754ab44
Update vendored securerandom to 0.3.2
2024-11-14 11:21:39 +09:00
David Rodríguez
0ef7d59ef2
Update vendored resolv to 0.5.0
2024-11-14 11:21:39 +09:00
David Rodríguez
26036b1248
Update vendored net-http to 0.5.0
2024-11-14 11:21:39 +09:00
David Rodríguez
570336b80f
Update vendored fileutils to 1.7.3
2024-11-14 11:21:39 +09:00
David Rodríguez
cadf559a99
Update vendored optparse to 0.6.0
2024-11-14 11:21:39 +09:00
Hiroshi SHIBATA
1bab8bf88f
[ruby/uri] Removed duplicated declare step for constants under the URI::RFC2396_REGEXP::PATTERN
...
60a8bc1575
2024-11-14 02:20:04 +00:00
Hiroshi SHIBATA
1d6c986104
[ruby/uri] Restore constants like URI::REGEXP::PATTERN::IPV6ADDR
...
ee9a38701a
2024-11-14 02:20:04 +00:00
Alexis Bernard
202a377d21
[ruby/rdoc] Split list of class and instance methods in two
...
(https://github.com/ruby/rdoc/pull/1206 )
Looking for a method is easier because eyes don't have to skip dashes or
double colon.
6852567640
2024-11-13 16:13:21 +00:00