summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2024-11-14Update vendored securerandom to 0.3.2David Rodríguez
2024-11-14Update vendored resolv to 0.5.0David Rodríguez
2024-11-14Update vendored net-http to 0.5.0David Rodríguez
2024-11-14Update vendored fileutils to 1.7.3David Rodríguez
2024-11-14Update vendored optparse to 0.6.0David Rodríguez
2024-11-14[ruby/uri] Removed duplicated declare step for constants under the ↵Hiroshi SHIBATA
URI::RFC2396_REGEXP::PATTERN https://github.com/ruby/uri/commit/60a8bc1575
2024-11-14[ruby/uri] Restore constants like URI::REGEXP::PATTERN::IPV6ADDRHiroshi SHIBATA
https://github.com/ruby/uri/commit/ee9a38701a
2024-11-13[ruby/rdoc] Split list of class and instance methods in twoAlexis Bernard
(https://github.com/ruby/rdoc/pull/1206) Looking for a method is easier because eyes don't have to skip dashes or double colon. https://github.com/ruby/rdoc/commit/6852567640
2024-11-13Mark strings returned by Symbol#to_s as chilled (#12065)Jean byroot Boussier
* Use FL_USER0 for ELTS_SHARED This makes space in RString for two bits for chilled strings. * Mark strings returned by `Symbol#to_s` as chilled [Feature #20350] `STR_CHILLED` now spans on two user flags. If one bit is set it marks a chilled string literal, if it's the other it marks a `Symbol#to_s` chilled string. Since it's not possible, and doesn't make much sense to include debug info when `--debug-frozen-string-literal` is set, we can't include allocation source, but we can safely include the symbol name in the warning message, making it much easier to find the source of the issue. Co-Authored-By: Étienne Barrié <etienne.barrie@gmail.com> --------- Co-authored-by: Étienne Barrié <etienne.barrie@gmail.com> Co-authored-by: Jean Boussier <jean.boussier@gmail.com>
2024-11-13[rubygems/rubygems] Include original error when openssl fails to loadDavid Rodríguez
https://github.com/rubygems/rubygems/commit/440343b791
2024-11-13[ruby/uri] Remove rakelib/ dir from gem alsoOrien Madgwick
https://github.com/ruby/uri/commit/a0dd612e90
2024-11-13[ruby/uri] Remove unused files from the gem packageOrien Madgwick
https://github.com/ruby/uri/commit/f0847c266c
2024-11-13We can't handle optional dependency without new API of Rubygems.Hiroshi SHIBATA
I don't want to make bundled_gems.rb more complex and complicate. Revert "Fixed warning condition with LoadError" This reverts commit 3a9e48b9a4860022f43d8101c0f3249299437886. Revert "Only warn fiddle as optional dependency" This reverts commit ff3f61556fb62d12d57d017f4c54f1a8fd5208be. Revert "Only `warn` about bundled gems when require succeeds" This reverts commit a70adce1ce5fae8eaae385214ac0d2e7d17c1103. Notes: Merged: https://github.com/ruby/ruby/pull/12072
2024-11-12[ruby/prism] Use RbConfig to locate libprism and headers when it is a ↵Benoit Daloze
default gem * This is notably necessary on TruffleRuby, which is updating to Ruby 3.3 which introduces Prism as a default gem. * Using the existing path is not an option as it would end up in truffleruby/lib/build/libprism.so and "truffleruby/lib/include/#{header}" which are not good places for such files. https://github.com/ruby/prism/commit/5d16473e69
2024-11-12[rubygems/rubygems] Update SPDX license list as of 2024-08-19License Update
https://github.com/rubygems/rubygems/commit/5a094cbfab
2024-11-12Fix commit miss [ci skip]Nobuyoshi Nakada
2024-11-12CI: check_dependencies.yml is now required [ci skip]Nobuyoshi Nakada
`paths-ignore` cannot be used for required status checks.
2024-11-12[ruby/pp] Fixed file list for pp gemHiroshi SHIBATA
https://github.com/ruby/pp/commit/b192896a1d
2024-11-12Removed unused variableHiroshi SHIBATA
2024-11-12[ruby/pp] Bump up v0.6.0Hiroshi SHIBATA
https://github.com/ruby/pp/commit/af2229e8e6
2024-11-12[ruby/pp] Handle BasicObjectJean Boussier
Right now attempting to pretty print a BasicObject or any other object lacking a few core Object methods will result in an error ``` Error: test_basic_object(PPTestModule::PPInspectTest): NoMethodError: undefined method `is_a?' for an instance of BasicObject lib/pp.rb:192:in `pp' lib/pp.rb:97:in `block in pp' lib/pp.rb:158:in `guard_inspect_key' lib/pp.rb:97:in `pp' test/test_pp.rb:131:in `test_basic_object' 128: 129: def test_basic_object 130: a = BasicObject.new => 131: assert_match(/\A#<BasicObject:0x[\da-f]+>\n\z/, PP.pp(a, ''.dup)) 132: end 133: end 134: ``` With some fairly small changes we can fallback to `Object#inspect` which is better than an error. https://github.com/ruby/pp/commit/4e9f6c2de0
2024-11-12[ruby/pp] Data#pretty_print handle privated or removed membersJean Boussier
[Bug #20808] The previous implementation assumed all members are accessible, but it's possible for users to change the visibility of members or to entirely remove the accessor. https://github.com/ruby/pp/commit/fb19501434
2024-11-11[rubygems/rubygems] Add a `lockfile_checksums` configuration to include ↵David Rodríguez
checksums in fresh lockfiles https://github.com/rubygems/rubygems/commit/50b9ef8589
2024-11-11[ruby/reline] Refactor perform_completontomoya ishida
(https://github.com/ruby/reline/pull/778) Flatten recursive method Remove CompletionState::COMPLETE https://github.com/ruby/reline/commit/aa5b278f3d
2024-11-11[rubygems/rubygems] Cancel `bundle console` deprecationDavid Rodríguez
https://github.com/rubygems/rubygems/commit/506a863b36
2024-11-11[ruby/securerandom] Bump up v0.3.2Hiroshi SHIBATA
https://github.com/ruby/securerandom/commit/9703d96a76
2024-11-11[ruby/resolv] Bump up v0.5.0Hiroshi SHIBATA
https://github.com/ruby/resolv/commit/c4837aae9b
2024-11-11[ruby/uri] Fix minor typo fromJoe Rafaniello
https://github.com/ruby/uri/commit/9997c1acee https://github.com/ruby/uri/commit/c191b627cb
2024-11-11Bump vendored uri to 1.0.1David Rodríguez
2024-11-10[ruby/reline] Remove unused things from reline/unicode.rbtomoya ishida
(https://github.com/ruby/reline/pull/759) * Remove garbage(nil) from Reline::Unicode.split_by_width result * Remove unused width from Reline::Unicode vi_ ed_ em_ method return value * Remove unused height from Unicode.split_by_width return value * Rename split_by_width to split_line_by_width and add legacy split_by_width for IRB https://github.com/ruby/reline/commit/f32446ebc4
2024-11-08[rubygems/rubygems] Fix private registry credentials being written to logssamisalamiws
https://github.com/rubygems/rubygems/commit/d070fa10c1 Co-authored-by: Artem Ignatyev <zazubrik@gmail.com>
2024-11-08[rubygems/rubygems] Warn on insecure materializationDavid Rodríguez
https://github.com/rubygems/rubygems/commit/bc2537de71
2024-11-08[rubygems/rubygems] Small tweakDavid Rodríguez
https://github.com/rubygems/rubygems/commit/98641d21a2
2024-11-08[rubygems/rubygems] Reduce global stateDavid Rodríguez
https://github.com/rubygems/rubygems/commit/43c0c41c6b
2024-11-08[rubygems/rubygems] Remove unnecessary attributeDavid Rodríguez
It's defined in the superclass already. https://github.com/rubygems/rubygems/commit/e269f5477b
2024-11-08[rubygems/rubygems] Cleaner extension of `Gem::Specification` to be able to ↵David Rodríguez
set source https://github.com/rubygems/rubygems/commit/3749273ec6
2024-11-08[rubygems/rubygems] Remove accessor that's been unused for yearsDavid Rodríguez
https://github.com/rubygems/rubygems/commit/ffd2fbaf6c
2024-11-08[rubygems/rubygems] Add `bundle lock --add-checksums` to add checksums to an ↵David Rodríguez
existing lockfile https://github.com/rubygems/rubygems/commit/0a9c1ce60d
2024-11-08[rubygems/rubygems] Remove no longer necessary hacks to define the `gem` commandDavid Rodríguez
We did this because RubyGems `require` would call `gem` on self, so defining a `gem` method in the CLI would cause conflicts. However, this is not the case since https://github.com/rubygems/rubygems/commit/439c4464890958fec17b3aa65b9d3a4dbdd3bf90, so this should no longer be necessary. https://github.com/rubygems/rubygems/commit/3e5c861046
2024-11-08[ruby/uri] Bump up v1.0.1Hiroshi SHIBATA
https://github.com/ruby/uri/commit/3011eb6f6e
2024-11-08[ruby/uri] Added more fallback constants like URI::PARTTERN and URI::REGEXPHiroshi SHIBATA
Fixed https://github.com/ruby/uri/issues/125 https://github.com/ruby/uri/commit/1f3d3df02a
2024-11-08[ruby/time] Bump up v0.4.1Hiroshi SHIBATA
https://github.com/ruby/time/commit/539b151049
2024-11-08[ruby/optparse] Bump up v0.6.0Hiroshi SHIBATA
https://github.com/ruby/optparse/commit/080360ffd4
2024-11-08[ruby/pstore] Bump up v0.1.4Hiroshi SHIBATA
https://github.com/ruby/pstore/commit/a63a70a830
2024-11-08[ruby/singleton] Bump up v0.3.0Hiroshi SHIBATA
https://github.com/ruby/singleton/commit/256c91171b
2024-11-08[ruby/reline] Bump version to 0.5.11Mari Imaizumi
(https://github.com/ruby/reline/pull/777) https://github.com/ruby/reline/commit/4d90743409
2024-11-08[ruby/reline] Windows fix (https://github.com/ruby/reline/pull/775)YO4
* test_yamatanooroti: close tempfile before unlink * test_yamatanooroti: omit because of windows does not support job control * test_yamatanooroti: change startup message detection for windows * windows.rb: can call win32api using nil as NULL for pointer argument Exception occurred when interrupted with Ctrl+C on legacy conhost * windows.rb: fix get_screen_size return [window height, buffer width] insted of [buffer height, buffer width] * windows.rb: import scroll_down() from ansi.rb * windows.rb: add auto linewrap control if VT output not supported (legacy console) * unfreeze WIN32API pointer arguments They internally duplicate arguments so api functions write to another place. This breaks the console mode detection with ruby-head. * remove useless code from Win32API#call argument repacking and return value tweaking is not needed for Reline::Windows requirements. * Correctly handle top of console viewport * Revert "remove useless code from Win32API#call" This reverts commit https://github.com/ruby/reline/commit/060ba140ed43. * Revert "windows.rb: can call win32api using nil as NULL for pointer argument" This reverts commit https://github.com/ruby/reline/commit/93a23bc5d0c9. https://github.com/ruby/reline/commit/47c1ffbabe
2024-11-08[ruby/benchmark] Bump up v0.4.0Hiroshi SHIBATA
https://github.com/ruby/benchmark/commit/a5d77ceae0
2024-11-08[ruby/benchmark] Adjust ljust Benchmark#bm with labels was not using the ↵Kaíque Kandy Koga
highest length among the labels to adjust the correct ljust. Instead of printing the result during the report generation, now it is waiting to print the result once it is generated. Benchmark.bm { |x| x.item("aaaa") { 1 } x.item("aaaaaaaa") { 0 } } After user system total real aaaa 0.000005 0.000002 0.000007 ( 0.000003) aaaaaaaa 0.000001 0.000001 0.000002 ( 0.000002) Before user system total real aaaa 0.000005 0.000001 0.000006 ( 0.000003) aaaaaaaa 0.000002 0.000001 0.000003 ( 0.000003) https://github.com/ruby/benchmark/commit/3e74533ead
2024-11-08[ruby/ostruct] Bump up v0.6.1Hiroshi SHIBATA
https://github.com/ruby/ostruct/commit/b38680089f