Marc-Andre Lafortune
245ed57ddc
[ruby/racc] Turn debugging off
...
https://github.com/ruby/racc/commit/872f75cfa7
2020-09-28 18:08:51 +09:00
Marc-Andre Lafortune
97d1a381e1
[ Fixes #137 ] Improve reporting
2020-09-28 18:07:24 +09:00
Steven Peckins
8863bfb1f4
[rubygems/rubygems] Move comment below shebang in bin/console template
...
In an executable script, the shebang line should be the first line (the
file needs to start with the bytes 0x23 0x21). Putting a comment above
it will break the script.
(Regression test included per @deivid-rodriguez)
https://github.com/rubygems/rubygems/commit/962e669feb
2020-09-28 14:54:22 +09:00
Nobuyoshi Nakada
18c642da86
[rubygems/rubygems] Fix ls-files matching regexp
...
As splitting by NUL means to allow the file names to contain
newlines, path names should match at beginning-of-string instead
of beginning-of-line.
https://github.com/rubygems/rubygems/commit/8a81183236
2020-09-28 14:54:22 +09:00
xndcn
ac3f80a58e
[rubygems/rubygems] Add writable check for cache dir
...
Sometimes "install_dir/cache" directory is not writable although "install_dir" is writable.
https://github.com/rubygems/rubygems/commit/665221cb69
2020-09-28 14:54:22 +09:00
Yusuke Endoh
c55b5f1062
[rubygems/rubygems] Avoid duplicated generation of APISpecification objects
...
As far as I could see, `Gem::Resolver::APISpecification` objects are
supposed to be immutable. If my guessing is correct, then we can cache
and reuse its instances for performance.
At least, `rake` passes on my machine.
Before this change:
```
$ time ruby -I lib bin/gem install --no-doc aws-sdk
Successfully installed aws-sdk-3.0.1
1 gem installed
real 0m37.104s
user 0m36.952s
sys 0m0.333s
```
After this change:
```
$ time ruby -I lib bin/gem install --no-doc aws-sdk
Successfully installed aws-sdk-3.0.1
1 gem installed
real 0m23.905s
user 0m23.740s
sys 0m0.365s
```
https://github.com/rubygems/rubygems/commit/7e8fbba85c
2020-09-28 14:54:22 +09:00
Jean Boussier
91865230cd
[rubygems/rubygems] Eval defaults with frozen_string_literal: true
...
https://github.com/rubygems/rubygems/commit/d498ae3d62
2020-09-28 14:54:22 +09:00
Ellen Marie Dash
9bbca93aa8
[rubygems/rubygems] Remove last remaining line of output from gem update --system --silent
...
https://github.com/rubygems/rubygems/commit/038203aaf8
2020-09-28 14:54:22 +09:00
Ellen Marie Dash
e8274a7683
[rubygems/rubygems] Add test for "gem update --system --silent"
...
https://github.com/rubygems/rubygems/commit/c3fb0db930
2020-09-28 14:54:22 +09:00
Ellen Marie Dash
7fc8f83edb
[rubygems/rubygems] Have "gem update --system" pass through the --silent flag.
...
https://github.com/rubygems/rubygems/commit/5a1e56e892
2020-09-28 14:54:22 +09:00
Hiroshi SHIBATA
ab5e9516b7
[rubygems/rubygems] Added Ruby version for oldest supported version of rubygems
...
https://github.com/rubygems/rubygems/commit/dd87d70f51
2020-09-28 14:54:22 +09:00
David Rodríguez
c6bdf75049
Disallow downgrades to too old versions
...
Consider the version original included with each ruby as the minimum
supported version.
2020-09-28 14:54:22 +09:00
bronzdoc
828cefd629
[rubygems/rubygems] Add --dryrun to the deprecated options when showing the help message
...
https://github.com/rubygems/rubygems/commit/38230a77c1
2020-09-28 14:54:22 +09:00
bronzdoc
777840a16a
[rubygems/rubygems] We don't need shortucts for a deprecated flag
...
https://github.com/rubygems/rubygems/commit/087a1f9720
2020-09-28 14:54:22 +09:00
bronzdoc
be980dd9fa
[rubygems/rubygems] Deprecate --dryrun
...
https://github.com/rubygems/rubygems/commit/1715610648
2020-09-28 14:54:22 +09:00
bronzdoc
b83787b1ce
[rubygems/rubygems] Make --dry-run flag consistent across rubygems commands
...
https://github.com/rubygems/rubygems/commit/addc644cad
2020-09-28 14:54:22 +09:00
Nobuyoshi Nakada
0629e695e3
Added --platform option to build command
2020-09-28 14:54:22 +09:00
Hiroshi SHIBATA
757e185cee
Revert "[ruby/webrick] Allow empty POST and PUT requests without content length"
...
This reverts commit ed12019ce6abe87aac87ec77ac081d37b25180a2.
https://github.com/ruby/ruby/runs/1160423667?check_suite_focus=true#step:14:752
2020-09-24 22:20:02 +09:00
John W Higgins
f64bea6d66
[ruby/webrick] Allow shutdown_pipe to be passed in via @config
...
https://github.com/ruby/webrick/commit/30152b4bf9
2020-09-24 21:37:06 +09:00
Jeremy Evans
ed12019ce6
[ruby/webrick] Allow empty POST and PUT requests without content length
...
RFC 7230 section 3.3.3 allows for this.
Fixes #30
https://github.com/ruby/webrick/commit/069e9b1908
2020-09-24 21:34:07 +09:00
John W Higgins
4715a24dd2
[ruby/webrick] Ensure server port numbers are numeric and ensure they are stored as integers
...
https://github.com/ruby/webrick/commit/86ed621e11
2020-09-24 21:31:55 +09:00
John W Higgins
96da24f279
[ruby/webrick] Make readpartial limit chunk to appropriate size
...
https://github.com/ruby/webrick/commit/e693f501bd
2020-09-24 21:22:20 +09:00
Hiroshi SHIBATA
b717f73402
Revert "Manually merged from https://github.com/rubygems/rubygems/pull/2636 "
...
31a6eaabc165d8a222e176f2c809d90622d88ec2 is obsoleted with
https://github.com/rubygems/rubygems/pull/3820
2020-09-23 22:01:44 +09:00
Hiroshi SHIBATA
a46841612c
bump Bundler's version to 2.2.0.rc.1
2020-09-23 21:06:29 +09:00
Hiroshi SHIBATA
31a6eaabc1
Manually merged from https://github.com/rubygems/rubygems/pull/2636
...
Enable Style/EmptyLinesAroundClassBody rubocop cop.
2020-09-23 21:02:56 +09:00
aycabta
e193dd1e3d
[ruby/irb] Version 1.2.7
...
https://github.com/ruby/irb/commit/0eaa06838b
2020-09-19 05:13:08 +09:00
aycabta
555ea83344
[ruby/irb] Drop OMIT_ON_ASSIGNMENT and add :truncate option for ECHO_ON_ASSIGNMENT
...
https://github.com/ruby/irb/commit/4c89b0775b
2020-09-19 05:13:08 +09:00
aycabta
305c430603
[ruby/rdoc] Add man/ri.1 for distribution files
...
https://github.com/ruby/rdoc/commit/7cb5c3611f
2020-09-18 14:57:58 +09:00
Dorian Marié
0d56aec1dd
[ruby/rdoc] Fix spelling error in parser comment
...
https://github.com/ruby/rdoc/commit/f237c9e223
2020-09-18 14:57:58 +09:00
Nobuyoshi Nakada
e23f0f29da
[ruby/rdoc] update all files if any file is newer
...
Cross references need parse all files which define the subject
names. This commit makes `--force-update` option enforce to parse
all files if any file is newer than the previous parse, not only
updated files.
https://github.com/ruby/rdoc/commit/13e9a44896
2020-09-18 14:57:58 +09:00
aycabta
b5db9b8a31
[ruby/rdoc] Support full filename to make a link for a text file
...
https://github.com/ruby/rdoc/commit/41db49c485
2020-09-18 14:57:57 +09:00
Kazuhiro NISHIYAMA
e4dbb91f4c
Fix typos [ci skip]
...
s/overriden/overridden/
2020-09-17 20:34:59 +09:00
Jeremy Evans
abbd324152
[ruby/uri] Remove deprecated URI.escape/URI.unescape
...
https://github.com/ruby/uri/commit/61c6a47ebf
2020-09-15 21:17:20 +09:00
Ashwin Maroli
3dd9e12b51
[ruby/fileutils] Reduce iteration through list for :mkdir_p
...
By calling the instruction to `list.map` within `list.each` itself.
https://github.com/ruby/fileutils/commit/e690eec937
2020-09-15 20:32:13 +09:00
Marc-Andre Lafortune
60f5d38482
[ruby/ostruct] Fix dup/clone
2020-09-14 16:10:37 -04:00
Marc-Andre Lafortune
125605abd9
[ruby/ostruct] method_missing is private
2020-09-14 16:10:37 -04:00
Marc-Andre Lafortune
606c009ce2
[ruby/ostruct] Avoid self calling our public methods.
...
Found because `json` has a bad example in its test suite.
This implementation still offers better encapsulation.
2020-09-14 16:10:37 -04:00
Marc-Andre Lafortune
67e5f7a9e5
[ruby/ostruct] Reinstate recent changes
...
This reverts commit 28e60b0045b5732bca11012d81a5223001faa6b2.
2020-09-14 16:10:37 -04:00
Marc-Andre Lafortune
28e60b0045
[ruby/ostruct] Revert recent changes
...
This reverts commit e026e186f4..12a2e32d43.
2020-09-14 13:29:54 -04:00
Marc-Andre Lafortune
867f0c6793
[ruby/rdoc] Prefer require_relative
2020-09-14 12:59:11 -04:00
Marc-Andre Lafortune
12a2e32d43
[ruby/ostruct] Add access to public instance methods in case they are overriden
2020-09-14 12:46:51 -04:00
Marc-Andre Lafortune
12a13eef49
[ruby/ostruct] Tweak doc
2020-09-14 12:46:49 -04:00
Marc-Andre Lafortune
8eefa8f373
[ruby/ostruct] Allow overriding public methods
...
[Fixes https://bugs.ruby-lang.org/issues/15409 ]
2020-09-14 12:46:47 -04:00
Marc-Andre Lafortune
ebb8de7302
[ruby/ostruct] Refactor handling of frozen OpenStruct. Simplify new_ostruct_member!
2020-09-14 12:46:45 -04:00
Marc-Andre Lafortune
e026e186f4
[ruby/ostruct] Revert "ostruct.rb: deferred accessors"
...
This reverts commits:
dc38e99813
22c082fcfd
b499e0f9ff
58e5876646
Add test for overriden private methods
[Fixes https://bugs.ruby-lang.org/issues/12136 ]
2020-09-14 12:46:27 -04:00
Nobuyoshi Nakada
edb5c67195
[ruby/tmpdir] Warn when environment variables skipped ( fixes #2 )
...
https://github.com/ruby/tmpdir/commit/af7b020a89
2020-09-14 18:22:37 +09:00
nicholas a. evans
f1d32010e6
[ruby/net-smtp] Add SNI support to net/smtp
...
https://github.com/ruby/net-smtp/commit/b706942392
2020-09-14 17:26:36 +09:00
TOMITA Masahiro
141404e898
[ruby/net-smtp] Net::SMTP.start arguments are keyword arguments
...
The helo argument is not important, but the helo argument must be
specified to specify the user and secret arguments.
If helo, user, secret, and authtype arguments are keyword arguments,
it is not necessary to specify the helo argument.
https://github.com/ruby/net-smtp/commit/269774deac
2020-09-14 17:23:41 +09:00
TOMITA Masahiro
888e04ae05
[ruby/net-smtp] TLS should not check the host name by default.
...
In tlsconnect(), the host name is checked when
@ssl_context.verify_mode is not OpenSSL::SSL::VERIFY_NONE, but the
verify_mode of @ssl_context generated by default is nil.
https://github.com/ruby/net-smtp/commit/bde75a15b5
2020-09-14 17:22:35 +09:00
Hiroshi SHIBATA
cdb85142f9
[ruby/erb] Use libexec same as ruby core repository
...
https://github.com/ruby/erb/commit/660255cf24
2020-09-14 17:15:44 +09:00