aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* [rubygems/rubygems] Extract a new small platform helperDavid Rodríguez2023-11-133-2/+7
| | | | https://github.com/rubygems/rubygems/commit/8f7340df8e
* [rubygems/rubygems] Remove unused `SpecSet#merge`David Rodríguez2023-11-131-10/+0
| | | | https://github.com/rubygems/rubygems/commit/53e0490b55
* [rubygems/rubygems] Pass source to `LazySpecification` initializerDavid Rodríguez2023-11-131-2/+1
| | | | https://github.com/rubygems/rubygems/commit/05120e2fe8
* [rubygems/rubygems] Allow setting metadata on LazySpecificationDavid Rodríguez2023-11-133-5/+5
| | | | | | | This is a step forward towards eventually including metadata in the lockfile. https://github.com/rubygems/rubygems/commit/56fc02b251
* [rubygems/rubygems] Set LazySpecification dependencies directlyDavid Rodríguez2023-11-132-3/+3
| | | | https://github.com/rubygems/rubygems/commit/2462c8e04d
* [ruby/prism] Add the ability to convert nodes to dotKevin Newton2023-11-122-0/+2
| | | | https://github.com/ruby/prism/commit/3e4b4fb947
* [ruby/prism] Remove extra locals added by ...Kevin Newton2023-11-101-0/+4
| | | | https://github.com/ruby/prism/commit/b7850f2d30
* [ruby/prism] Add source code and changelog urisMateus Pereira2023-11-101-0/+2
| | | | https://github.com/ruby/prism/commit/33a85f7867
* [ruby/irb] Bump version to 1.9.0ima1zumi2023-11-101-2/+2
| | | | | | (https://github.com/ruby/irb/pull/757) https://github.com/ruby/irb/commit/41548b8bd0
* [ruby/open3] [DOC] RDoc for Open3Burdette Lamar2023-11-101-43/+87
| | | | | | (https://github.com/ruby/open3/pull/18) https://github.com/ruby/open3/commit/9f3f5d004c
* [ruby/irb] Add command line option to select which completor to usetomoya ishida2023-11-093-0/+10
| | | | | | | | | | (https://github.com/ruby/irb/pull/754) * Add command line option to select which completor to use * Add test for completor argv https://github.com/ruby/irb/commit/1dec2708c9
* [ruby/prism] Provide Parameters#signature for mirroring Method#parametersKevin Newton2023-11-081-3/+49
| | | | https://github.com/ruby/prism/commit/90b3245528
* [ruby/tempfile] Make Tempfile#open return the underlying FileJeremy Evans2023-11-081-0/+1
| | | | | | Add test for this behavior. https://github.com/ruby/tempfile/commit/0ca31a6b8d
* * remove trailing spaces. [ci skip]git2023-11-081-1/+1
|
* [ruby/tempfile] Fix Tempfile#{dup,clone}Jeremy Evans2023-11-081-18/+54
| | | | | | | | | | | | | | | | | | | | Instead of storing the delegate in @tmpfile, use __getobj__, since delegate library already handles dup/clone for that. Copy the unlinked, mode, and opts instance variables to the returned object when using dup/clone. Split the close/unlink finalizer into two finalizers. The close finalizer always closes when any Tempfile instance is GCed, since each Tempfile instance uses a separate file descriptor. The unlink finalizer unlinks only when the original and all duped/cloned Tempfiles are GCed, since all share the same path. For Tempfile#open, undefine the close finalizer after closing the current file, the redefine the close finalizer with the new file. Fixes [Bug #19441] https://github.com/ruby/tempfile/commit/dafabf9c7b
* [rubygems/rubygems] Ensure we are using the same extension dirHan Young2023-11-081-1/+1
| | | | | | | | Since #6945 the extension dir changed to Gem::BasicSpecification's implementation, we didn't hook that in rubygems_ext.rb. So for universal rubies, we ended up using the universal platform name when installing, but arch replaced platform name when checking. This lead to native extensions can never be correctly installed on universal rubies. Hook Gem::BasicSpecifications so the behavior is consistent on installing and checking. https://github.com/rubygems/rubygems/commit/8d699ed096
* Refactor rb_shape_transition_shape_capa outJean Boussier2023-11-081-23/+8
| | | | | | | | | | | | | | | | Right now the `rb_shape_get_next` shape caller need to first check if there is capacity left, and if not call `rb_shape_transition_shape_capa` before it can call `rb_shape_get_next`. And on each of these it needs to checks if we got a TOO_COMPLEX back. All this logic is duplicated in the interpreter, YJIT and RJIT. Instead we can have `rb_shape_get_next` do the capacity transition when needed. The caller can compare the old and new shapes capacity to know if resizing is needed. It also can check for TOO_COMPLEX only once.
* [ruby/irb] Type based completion using Prism and RBStomoya ishida2023-11-0811-27/+2339
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (https://github.com/ruby/irb/pull/708) * Add completor using prism and rbs * Add TypeCompletion test * Switchable completors: RegexpCompletor and TypeCompletion::Completor * Add completion info to irb_info * Complete reserved words * Fix [*] (*) {**} and prism's change of KeywordParameterNode * Fix require, frozen_string_literal * Drop prism<=0.16.0 support * Add Completor.last_completion_error for debug report * Retrieve `self` and `Module.nesting` in more safe way * Support BasicObject * Handle lvar and ivar get exception correctly * Skip ivar reference test of non-self object in ruby < 3.2 * BaseScope to RootScope, move method objects constant under Methods * Remove unused Splat struct * Drop deeply nested array/hash type calculation from actual object. Now, calculation depth is 1 * Refactor loading rbs in test, change preload_in_thread not to cache Thread object * Use new option added in prism 0.17.1 to parse code with localvars * Add Prism version check and warn when :type completor cannot be enabled * build_type_completor should skip truffleruby (because endless method definition is not supported) https://github.com/ruby/irb/commit/1048c7ed7a
* [ruby/irb] Fix dancing-ruby Ctrl+C stoptomoya ishida2023-11-081-1/+5
| | | | | | (https://github.com/ruby/irb/pull/735) https://github.com/ruby/irb/commit/802b1cb6d8
* [rubygems/rubygems] Hack to get `Gem::Specification#extensions_dir` documentedDavid Rodríguez2023-11-082-10/+17
| | | | https://github.com/rubygems/rubygems/commit/625b8293f7
* [rubygems/rubygems] Simplify selecting specs with `force_ruby_platform` setDavid Rodríguez2023-11-083-3/+16
| | | | | | https://github.com/rubygems/rubygems/commit/5f90a43635 Co-authored-by: Martin Emde <martin.emde@gmail.com>
* [rubygems/rubygems] Better error when having an insecure install folderDavid Rodríguez2023-11-084-13/+31
| | | | https://github.com/rubygems/rubygems/commit/e41156e272
* [rubygems/rubygems] Remove redundant error classDavid Rodríguez2023-11-081-1/+1
| | | | | | It's a `BundlerError`. https://github.com/rubygems/rubygems/commit/53ea676dab
* [rubygems/rubygems] Fix regression on old git versionsDavid Rodríguez2023-11-081-1/+9
| | | | https://github.com/rubygems/rubygems/commit/abd91ca2e5
* [rubygems/rubygems] Don't show bug report template when GEM_HOME has no ↵David Rodríguez2023-11-081-0/+8
| | | | | | | | | | | | | | | | | | | | writable bit Instead, don't check that at all and proceed. If something fails to be written inside GEM_HOME, we'll eventually fail with a proper permissions error. In addition to that, the writable bit in GEM_HOME is not even reliable, because only the immediate parent is actually checked when writing. For example, ``` $ mkdir -p foo/bar $ chmod -w foo $ touch foo/bar/baz # writes without issue ``` https://github.com/rubygems/rubygems/commit/4bced7ac73
* [rubygems/rubygems] Remove unnecessary rescueDavid Rodríguez2023-11-081-5/+0
| | | | https://github.com/rubygems/rubygems/commit/c0b549f943
* [rubygems/rubygems] Allow `--install-dir` to be specified together with ↵Vít Ondruch2023-11-081-8/+0
| | | | | | | | | | | | | | `--user-install` The combination of `install-dir` and `--user-install` used to be disabled for no good reason. This even makes problem on Linux distributions such as Fedora, where `--user-install` is set by default via operating_system.rb. The `--install-dir` is already prefered over the `--user-install` by the implementation, therefore just drop the check. https://github.com/rubygems/rubygems/commit/313b1c5e76
* [rubygems/rubygems] Make the user installation less exceptionalVít Ondruch2023-11-081-12/+11
| | | | | | | | | | | | | The main purpose is to put handling of user installation into the same place as e.g. handling the --build-root option handling. There is no reason why the --build-root option should not prefix also paths used for user installation. Please note that the `util_installer` in `test_generate_plugins_with_user_install` enforced the `:install_dir`, which is against what user install is about. https://github.com/rubygems/rubygems/commit/0b10cb41aa
* [ruby/reline] Bump version to 0.4.0ima1zumi2023-11-071-1/+1
| | | | | | (https://github.com/ruby/reline/pull/601) https://github.com/ruby/reline/commit/d15ab72d4f
* [ruby/cgi] Add snake case aliases for escapeURIComponentJean Boussier2023-11-071-0/+3
| | | | | | As agreed in [Feature #18822] https://github.com/ruby/cgi/commit/9d1161ec9d
* [ruby/cgi] Bump up 0.4.0Hiroshi SHIBATA2023-11-071-1/+1
| | | | https://github.com/ruby/cgi/commit/6ddd5fc7d7
* [ruby/open-uri] Bump up 0.4.0Hiroshi SHIBATA2023-11-071-1/+1
| | | | https://github.com/ruby/open-uri/commit/09df813305
* [ruby/English] Bump up 0.8.0Hiroshi SHIBATA2023-11-071-1/+1
| | | | https://github.com/ruby/English/commit/826ff728cf
* [ruby/English] Combine duplicate aliases into single sections to more ↵Keith R. Bennett2023-11-071-16/+2
| | | | | | clearly denote sameness and make more concise. https://github.com/ruby/English/commit/dcff090f6f
* [ruby/fileutils] Bump up 1.7.2Hiroshi SHIBATA2023-11-071-1/+1
| | | | https://github.com/ruby/fileutils/commit/577fd38f15
* [ruby/base64] Bump up 0.2.0Hiroshi SHIBATA2023-11-071-1/+1
| | | | https://github.com/ruby/base64/commit/09e839e5ad
* [ruby/base64] Enhanced Rdoc for Base64Burdette Lamar2023-11-071-60/+310
| | | | | | | | | | (https://github.com/ruby/base64/pull/7) * Enhanced Rdoc for Base64 * Enhanced RDoc for Base64 https://github.com/ruby/base64/commit/155c39a949
* [ruby/drb] Removed old version on doc sectionHiroshi SHIBATA2023-11-071-1/+1
| | | | https://github.com/ruby/drb/commit/104f1a4db3
* [ruby/drb] Load DRb::VERSION automaticallyHiroshi SHIBATA2023-11-071-0/+1
| | | | https://github.com/ruby/drb/commit/b250502c43
* [ruby/logger] [DOC] Fix broken linkBurdetteLamar2023-11-071-2/+1
| | | | https://github.com/ruby/logger/commit/8c135bce9a
* [ruby/ostruct] Bump up 0.6.0Hiroshi SHIBATA2023-11-071-1/+1
| | | | https://github.com/ruby/ostruct/commit/0985296e72
* [ruby/drb] Bump up 2.2.0Hiroshi SHIBATA2023-11-071-1/+1
| | | | https://github.com/ruby/drb/commit/c62076f940
* [ruby/logger] Bump up 1.6.0Hiroshi SHIBATA2023-11-071-1/+1
| | | | https://github.com/ruby/logger/commit/0996f90650
* [ruby/time] Bump up 0.3.0Hiroshi SHIBATA2023-11-071-1/+1
| | | | https://github.com/ruby/time/commit/8dba14997c
* [ruby/timeout] Bump up 0.4.1Hiroshi SHIBATA2023-11-071-1/+1
| | | | https://github.com/ruby/timeout/commit/a65e49cc31
* [ruby/delegate] Bump up 0.3.1Hiroshi SHIBATA2023-11-071-1/+1
| | | | https://github.com/ruby/delegate/commit/d4bdf89328
* [ruby/securerandom] Bump up 0.3.0Hiroshi SHIBATA2023-11-071-1/+1
| | | | https://github.com/ruby/securerandom/commit/12c4ef3ea1
* [ruby/net-protocol] Bump up 0.2.2Hiroshi SHIBATA2023-11-071-1/+1
| | | | https://github.com/ruby/net-protocol/commit/2d3c4b43a8
* [ruby/tempfile] Bump up 0.2.0Hiroshi SHIBATA2023-11-071-1/+1
| | | | https://github.com/ruby/tempfile/commit/d6ddf7881e
* [ruby/find] Bump up 0.2.0Hiroshi SHIBATA2023-11-071-1/+1
| | | | https://github.com/ruby/find/commit/192237e766