summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2023-02-24[ruby/set] Set#merge does not take keyword arguments as a HashAkinori MUSHA
https://github.com/ruby/set/commit/ca1c9532a9
2023-02-24[ruby/set] Set#merge takes many enumerable objects like Hash#merge! doesAkinori MUSHA
https://github.com/ruby/set/commit/becaca994d
2023-02-23[ruby/net-http] [DOC] Enhanced RDoc for Net::HTTPBurdette Lamar
(https://github.com/ruby/net-http/pull/125) https://github.com/ruby/net-http/commit/2ea20380fc
2023-02-23[rubygems/rubygems] make Bundler.load_marshal privateMercedes Bernard
https://github.com/rubygems/rubygems/commit/4909d071d2
2023-02-23[rubygems/rubygems] safe marshal gem specs when inflatingMercedes Bernard
https://github.com/rubygems/rubygems/commit/5c5d0c5350
2023-02-23[rubygems/rubygems] safe marshal gem versions when fetching Marshal.specs.4.8.gzMercedes Bernard
https://github.com/rubygems/rubygems/commit/23880353c1
2023-02-22[ruby/net-http] [DOC] Enhanced RDoc for Net:HTTPBurdette Lamar
(https://github.com/ruby/net-http/pull/124) https://github.com/ruby/net-http/commit/aaf26b21d6
2023-02-22[rubygems/rubygems] Always join with a stringSamuel Giddins
Gem.path_separator can also be a regexp... https://github.com/rubygems/rubygems/commit/7e6e56a5f3
2023-02-22[rubygems/rubygems] Only update env if var existsSamuel Giddins
Will save on an error if it would be nil from an exception happening during that line https://github.com/rubygems/rubygems/commit/d6797a04e9
2023-02-22[rubygems/rubygems] Fix resetting env in gem exec, and make sure it is set ↵Samuel Giddins
for gem exec gem https://github.com/rubygems/rubygems/commit/13a6dd4992
2023-02-22[rubygems/rubygems] Allow gem exec gemSamuel Giddins
https://github.com/rubygems/rubygems/commit/a767f7b9be
2023-02-22[rubygems/rubygems] Remove platform option for gem execSamuel Giddins
Also fix native extensions that load dependencies https://github.com/rubygems/rubygems/commit/a06f9870c7
2023-02-22[rubygems/rubygems] Ensure dependencies are updated by default when running ↵Samuel Giddins
gem exec https://github.com/rubygems/rubygems/commit/664f3e1e5f
2023-02-22[rubygems/rubygems] Add gem exec descriptionSamuel Giddins
https://github.com/rubygems/rubygems/commit/dac1609fd5
2023-02-22[rubygems/rubygems] Add specs for gem execSamuel Giddins
https://github.com/rubygems/rubygems/commit/3078e5834e
2023-02-22[rubygems/rubygems] Add gem exec commandSamuel Giddins
https://github.com/rubygems/rubygems/commit/ca69a317f3
2023-02-21[ruby/rdoc] Fix RDoc::Parser::Ruby not being documentedÉtienne Barrié
The calls to require prevent the class from being documented. https://github.com/ruby/rdoc/commit/76283fc42e
2023-02-21[ruby/csv] Use https links instead of httpVivek Bharath Akupatni
(https://github.com/ruby/csv/pull/274) https://github.com/ruby/csv/commit/e2a06929a8
2023-02-21[ruby/csv] Remove unused @double_quote_character from ParserMau Magnaguagno
(https://github.com/ruby/csv/pull/273) https://github.com/ruby/csv/commit/e5622c53ae
2023-02-21Merge rubygems/bundler masterHiroshi SHIBATA
Pick from https://github.com/rubygems/rubygems/commit/e9304aed7e43308b99e70c2f7b92028315fee8a5 Notes: Merged: https://github.com/ruby/ruby/pull/7345
2023-02-21[rubygems/rubygems] Give a better message when Gemfile branch does not existDavid Rodríguez
https://github.com/rubygems/rubygems/commit/cb4fc41cbc Notes: Merged: https://github.com/ruby/ruby/pull/7345
2023-02-21[rubygems/rubygems] Update pub_grubJohn Hawthorn
* Replaces the wording of "is forbidden" with "cannot be used" * Fixes the method signature of VersionRange::Empty#eql? https://github.com/rubygems/rubygems/commit/8c6b3f130b Co-authored-by: Daniel Colson <[email protected]> Notes: Merged: https://github.com/ruby/ruby/pull/7345
2023-02-21[rubygems/rubygems] Sync with pub_grub main branchDavid Rodríguez
We became a bit out of sync lately. https://github.com/rubygems/rubygems/commit/6161a2610a Notes: Merged: https://github.com/ruby/ruby/pull/7345
2023-02-21[rubygems/rubygems] Restore better error message when locked ref does not existDavid Rodríguez
https://github.com/rubygems/rubygems/commit/c8e024359f Notes: Merged: https://github.com/ruby/ruby/pull/7345
2023-02-21[rubygems/rubygems] [DOC] Update the link to OpenSource.orgNobuyoshi Nakada
The static list in alphabetical order seems no longer provided. https://github.com/rubygems/rubygems/commit/a37dff7736
2023-02-20[ruby/net-http] [DOC] Enhanced RDoc for Net::HTTPBurdette Lamar
(https://github.com/ruby/net-http/pull/123) https://github.com/ruby/net-http/commit/220ff3f741
2023-02-19[ruby/pstore] Remove (newly unneeded) remarks about aliasesBurdette Lamar
(https://github.com/ruby/pstore/pull/8) https://github.com/ruby/pstore/commit/01c4ccc7aa
2023-02-19[ruby/fileutils] Remove (newly unneeded) remarks about aliasesBurdette Lamar
(https://github.com/ruby/fileutils/pull/108) https://github.com/ruby/fileutils/commit/bbe595cfa5
2023-02-18[ruby/irb] Remove unused context argument from Worksapce#evaluateStan Lo
(https://github.com/ruby/irb/pull/488) The context argument was introduced in this change: https://github.com/ruby/irb/commit/6806669d178f90f38b99c144bdfee06bdb93a229#diff-296327851fb7a2c307c2d0693b769f58c01aaf315972f290500d10081ee200a9 perhaps for potential usages. But after that it's never used.
2023-02-16[ruby/net-http] [DOC] Enhanced RDoc for Net::HTTPBurdette Lamar
(https://github.com/ruby/net-http/pull/122) https://github.com/ruby/net-http/commit/06f79cda87
2023-02-16[ruby/timeout] bump up 0.3.2Hiroshi SHIBATA
https://github.com/ruby/timeout/commit/e1b2448101
2023-02-15[ruby/timeout] Don't move the timer_thread when it's enclosedRick Blommers
Don't move the timer_thread to ThreadGroup::Default, when it's created in an enclosed ThreadGroup. Prevents the exception: "add" can't move from the enclosed thread group" https://github.com/ruby/timeout/commit/eb889d2c8b
2023-02-15[ruby/net-http] [DOC] Enhanced RDoc for Net::HTTP#getBurdette Lamar
(https://github.com/ruby/net-http/pull/121) https://github.com/ruby/net-http/commit/51b9af1eed
2023-02-15[ruby/irb] Fix help-message (https://github.com/ruby/irb/pull/506)HASUMI Hitoshi
https://github.com/ruby/irb/commit/a55ace0791
2023-02-15[DOC] remove redundant paragraph at set.rb (#6472)TJ
remove redundant paragraph at set.rb Notes: Merged-By: hsbt <[email protected]>
2023-02-14[ruby/net-http] [DOC] Enhanced RDoc for request headersBurdette Lamar
(https://github.com/ruby/net-http/pull/120) https://github.com/ruby/net-http/commit/b4eb8a7932
2023-02-13[ruby/net-http] Enhanced RDoc for CompressionBurdetteLamar
https://github.com/ruby/net-http/commit/cff88acd70
2023-02-12[ruby/irb] Fix colorize backtick symboltomoya ishida
(https://github.com/ruby/irb/pull/508) https://github.com/ruby/irb/commit/dd7f25cd45 Co-authored-by: Stan Lo <[email protected]>
2023-02-10[ruby/fileutils] Add mkdir_p to FileUtils.installSatadru Pramanik, DO, MPH, MEng
(https://github.com/ruby/fileutils/pull/104) * Add mkdir_p to FileUtils.install * Adjust raise message. * adjust raise language * handle trailing slash in dest * simplify * Add tests
2023-02-10[ruby/logger] Add Logger#with_level{...} for block-scoped log level.Mike Perham
(https://github.com/ruby/logger/pull/85) * Update lib/logger/severity.rb https://github.com/ruby/logger/commit/7aabb0b4aa
2023-02-09[rubygems/rubygems] Avoid crashing with a corrupted lockfileDaniel Colson
I did a bad thing (script that edits the Gemfile.lock directly) and ended up with a Gemfile.lock that was completely missing some indirect dependencies. While this is my fault and an error is reasonable, I noticed that the error got progressively less friendly in recent versions of bundler. Something similar came up in https://github.com/rubygems/rubygems/issues/6210, and this commit would have helped with that case as well (although we've already handled this a different way with #6219). Details: --- Back on Bundler 2.2.23, a corrupt lockfile like this would cause a helpful error: ``` Unable to find a spec satisfying minitest (>= 5.1) in the set. Perhaps the lockfile is corrupted? ``` Bundler 2.3.26 gave a helpful warning: ``` Warning: Your lockfile was created by an old Bundler that left some things out. Because of the missing DEPENDENCIES, we can only install gems one at a time, instead of installing 16 at a time. You can fix this by adding the missing gems to your Gemfile, running bundle install, and then removing the gems from your Gemfile. The missing gems are: * minitest depended upon by activesupport ``` But then continued on and crashed while trying to report the unmet dependency: ``` --- ERROR REPORT TEMPLATE ------------------------------------------------------- NoMethodError: undefined method `full_name' for nil:NilClass lib/bundler/installer/parallel_installer.rb:127:in `block (2 levels) in check_for_unmet_dependencies' ... ``` Bundler 2.4.0 and up crash as above when jobs=1, but crash even harder when run in parallel: ``` --- ERROR REPORT TEMPLATE ------------------------------------------------------- fatal: No live threads left. Deadlock? 3 threads, 3 sleeps current:0x00007fa6b6704660 main thread:0x00007fa6b6704660 * #<Thread:0x000000010833b130 sleep_forever> rb_thread_t:0x00007fa6b6704660 native:0x0000000108985600 int:0 * #<Thread:0x0000000108dea630@Parallel Installer Worker #0 tmp/1/gems/system/gems/bundler-2.5.0.dev/lib/bundler/worker.rb:90 sleep_forever> rb_thread_t:0x00007fa6b67f67c0 native:0x0000700009a62000 int:0 * #<Thread:0x0000000108dea4a0@Parallel Installer Worker #1 tmp/1/gems/system/gems/bundler-2.5.0.dev/lib/bundler/worker.rb:90 sleep_forever> rb_thread_t:0x00007fa6b67f63c0 native:0x0000700009c65000 int:0 <internal:thread_sync>:18:in `pop' tmp/1/gems/system/gems/bundler-2.5.0.dev/lib/bundler/worker.rb:42:in `deq' ... ``` Changes --- This commit fixes the confusing thread deadlock crash by detecting if dependencies are missing such that we'll never be able to enqueue. When that happens we treat it as a failure so the install can finish. That gets us back to the `NoMethodError`, which this commit fixes by using a different warning in the case where no spec is found. https://github.com/rubygems/rubygems/commit/d73001a21d
2023-02-08[rubygems/rubygems] Improve wording of unmet dependencies warningDaniel Colson
`trying to manually editing` doesn't seem quite grammatically correct. We could change it to `trying to manually edit` (is that a split infinitive?), but I don't think `trying to` adds much here so I've removed it instead so `editing` is the verb. For the list of dependencies, the wording before this commit seemed to reverse the dependency. "B, depended on A" sounds like B depends on A (or did in the past but doesn't anymore?), but that's not correct. I think there's a missing word: "B, depended on by A", but I find "B, dependency of A" a bit nicer. https://github.com/rubygems/rubygems/commit/49a31257e3
2023-02-07[rubygems/rubygems] Add Ruby 3.2 and 3.3 platforms to Gemfile DSLDaniel Colson
Along the same lines as https://github.com/rubygems/rubygems/pull/5469, this adds support for Ruby 3.2 and 3.3 platforms: `:ruby_32`, `mri_32`, etc. It also includes a spec that should help catch this earlier in the future, failing if we don't support platforms for the version of Ruby that is running the tests. https://github.com/rubygems/rubygems/commit/7cd19d824d
2023-02-07[ruby/net-http] Enhanced RDoc for Net::HTTPBurdetteLamar
https://github.com/ruby/net-http/commit/e65a3d9f11
2023-02-07[ruby/net-http] [DOC] Reorganize doc for proxy serverBurdette Lamar
(https://github.com/ruby/net-http/pull/117) https://github.com/ruby/net-http/commit/f8b6b76cba
2023-02-07[ruby/reline] Add comment for unused constantsima1zumi
FILENAME_COMPLETION_PROC and USERNAME_COMPLETION_PROC are not used by Reline. However, they were added for compatibility with the rb-readline gem. These constants have been retained and comments added. https://github.com/ruby/reline/commit/98fdbd3f18
2023-02-06[ruby/rdoc] Actually execute RDoc document task for coveragezzak
https://github.com/ruby/rdoc/commit/7e70d41585
2023-02-06[rubygems/rubygems] Properly exclude gemspec file itself from gemAkira Matsuda
by comparing the file names with full path. Follows up https://github.com/rubygems/rubygems/commit/f444478eaccf https://github.com/rubygems/rubygems/commit/9637a82d2e
2023-02-06[ruby/reline] Fix line rendering when newline is added at the end of the buffertompng
https://github.com/ruby/reline/commit/7d61b3df9a
2023-02-06[ruby/English] Replace HTML5 deprecated tag <tt> with <code>ccmywish
https://github.com/ruby/English/commit/3712fd6752