aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* [rubygems/rubygems] Bundler: github DSL has used https protocol over gitTakuya Noguchi2022-10-1830-31/+31
| | | | | | | | | | This behavior change was done in Bundler 2.2.0. https://github.com/rubygems/bundler/pull/7142 Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com> https://github.com/rubygems/rubygems/commit/9510190be1
* Merge RubyGems/Bundler masterHiroshi SHIBATA2022-10-1810-164/+54
| | | | https://github.com/rubygems/rubygems/commit/6214d00b2315ed37c76b1fbc1c72f61f92ba5a65
* [rubygems/rubygems] Materialize platforms strictly on Windows tooDavid Rodríguez2022-10-181-2/+5
| | | | https://github.com/rubygems/rubygems/commit/ab11545f80
* [rubygems/rubygems] Remove unnecessary receiverDavid Rodríguez2022-10-181-1/+1
| | | | https://github.com/rubygems/rubygems/commit/ba9d9b1890
* [rubygems/rubygems] Remove unnecessary genericDavid Rodríguez2022-10-181-1/+0
| | | | | | | I didn't realize how the `Bundler::GemHelpers.generic` method works when I added this. It already matches this and other java platforms properly. https://github.com/rubygems/rubygems/commit/5f0f0c678c
* [rubygems/rubygems] Simplify fetching spec group dependenciesDavid Rodríguez2022-10-181-4/+1
| | | | https://github.com/rubygems/rubygems/commit/62c2edd255
* [rubygems/rubygems] Simplify SpecGroup creationDavid Rodríguez2022-10-182-13/+10
| | | | https://github.com/rubygems/rubygems/commit/788e46e152
* [rubygems/rubygems] Inline helper methodDavid Rodríguez2022-10-181-8/+3
| | | | https://github.com/rubygems/rubygems/commit/e60459d6b6
* [rubygems/rubygems] Use `flat_map`David Rodríguez2022-10-181-4/+2
| | | | https://github.com/rubygems/rubygems/commit/b31308fb4c
* [rubygems/rubygems] Remove one more `expand_dependencies` callDavid Rodríguez2022-10-181-2/+2
| | | | https://github.com/rubygems/rubygems/commit/996fd81871
* [rubygems/rubygems] Remove now unnecessary parameter to `expand_dependencies`David Rodríguez2022-10-181-4/+3
| | | | | | We just call it once for resolution, so we can simplify things. https://github.com/rubygems/rubygems/commit/99c144fbe3
* [rubygems/rubygems] Remove another `expand_dependencies` instanceDavid Rodríguez2022-10-181-3/+2
| | | | https://github.com/rubygems/rubygems/commit/33769ddb07
* [rubygems/rubygems] Remove another unnecessary dependency expansionDavid Rodríguez2022-10-181-1/+1
| | | | https://github.com/rubygems/rubygems/commit/b4a0fcd2d2
* [rubygems/rubygems] Avoid unnecessary dependency expansionDavid Rodríguez2022-10-181-2/+1
| | | | https://github.com/rubygems/rubygems/commit/426748ed06
* [rubygems/rubygems] Remove unused parameter to `SharedHelpers.pretty_dependency`David Rodríguez2022-10-183-5/+4
| | | | https://github.com/rubygems/rubygems/commit/665051d085
* [rubygems/rubygems] Remove dead codeDavid Rodríguez2022-10-181-12/+1
| | | | https://github.com/rubygems/rubygems/commit/999b644708
* [ruby/irb] Assert lvars_code doesn't include \nTakashi Kokubun2022-10-181-3/+3
| | | | | | | | | Removing /\A.+\n/ could have an unexpected impact, depending on how RubyLex.generate_local_variables_assign_code is implemented. It feels like a too much assumption and the intention isn't immediately clear, so I added these changes. https://github.com/ruby/irb/commit/ccc07a35ce
* [ruby/irb] Always use local variables in current context to parse code ↵tomoya ishida2022-10-185-24/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (https://github.com/ruby/irb/pull/397) * Use local_variables for colorize, code_block_open check, nesting_level and assignment_expression check * Check if expression is an assignment BEFORE evaluating it. evaluate might define new localvars and change result of assignment_expression? * Add local_variables dependent code test * pend local variable dependent test on truffleruby code_block_open is not working on truffleruby * Always pass context to RubyLex#lex * Rename local_variable_assign_code generator method name * Add assignment expression truncate test * Add Context#local_variables and make generate_local_variables_assign_code more simple * Update lib/irb/input-method.rb Co-authored-by: Stan Lo <stan001212@gmail.com> * Add a comment why assignment expression check should be done before evaluate https://github.com/ruby/irb/commit/c8b3877281 Co-authored-by: Stan Lo <stan001212@gmail.com> Co-authored-by: Takashi Kokubun <takashikkbn@gmail.com>
* [ruby/irb] Fix code terminated check with heredoc and backtick ↵tomoya ishida2022-10-181-6/+16
| | | | | | | | | | | | | | | | | | | | | | | (https://github.com/ruby/irb/pull/390) * Fix backtick method def method call handled as backtick open * Fix handling heredoc in check_string_literal * Sort result of lexer.parse by pos in ruby<2.7. It's not sorted when the given code includes heredoc. * Update lib/irb/ruby-lex.rb Co-authored-by: Stan Lo <stan001212@gmail.com> * Update lib/irb/ruby-lex.rb Co-authored-by: Stan Lo <stan001212@gmail.com> * Add check_string_literal test for heredoc code that does not end with newline https://github.com/ruby/irb/commit/44bc712460 Co-authored-by: Stan Lo <stan001212@gmail.com>
* [ruby/delegate] Fix DelegateClass block "method redefined" warningJonathan Hefner2022-10-151-0/+2
| | | | | | | | | | | | | | | | | | | | | | | This commit prevents "method redefined" warnings when overriding methods within a `DelegateClass` block, such as in the following example: ```ruby Base = Class.new do def foo "foo" end end Overridden = DelegateClass(Base) do def foo super + "!" end end ``` Fixes https://bugs.ruby-lang.org/issues/19047. https://github.com/ruby/delegate/commit/214fae86de
* [ruby/pp] [Feature #19045] Add support Data#pretty_printmanga_osyo2022-10-141-0/+20
| | | | https://github.com/ruby/pp/commit/343a20d721
* Only expose Ruby Shape API if VM_CHECK_MODE is enabledAaron Patterson2022-10-131-1/+1
|
* [ruby/uri] Fix splitting relative URINobuyoshi Nakada2022-10-131-1/+1
| | | | https://github.com/ruby/uri/commit/ffbab83de6
* Raise ArgumentError with empty host url again.Hiroshi SHIBATA2022-10-131-1/+2
| | | | | | Fixup dd5118f8524c425894d4716b787837ad7380bb0d Co-authored-by: Koichi Sasada <ko1@atdot.net>
* URI.parse should set empty string in host instead of nilNARUSE, Yui2022-10-131-2/+1
|
* [DOC] Replace the external URIs to docs with rdoc-refNobuyoshi Nakada2022-10-121-1/+1
|
* [DOC] Replace the external URIs to docs with rdoc-refNobuyoshi Nakada2022-10-126-38/+38
|
* Add :ssl_min_version and :ssl_max_version optionsKazuki Yamaguchi2022-10-121-3/+18
| | | | | | Replace :ssl_version option with these two new options. These provide access to OpenSSL::SSL::SSLContext#{min,max}_version=, which is the recommended way to specify SSL/TLS protocol versions.
* Make inline cache reads / writes atomic with object shapesJemma Issroff2022-10-111-9/+21
| | | | | | | | | | | | | | Prior to this commit, we were reading and writing ivar index and shape ID in inline caches in two separate instructions when getting and setting ivars. This meant there was a race condition with ractors and these caches where one ractor could change a value in the cache while another was still reading from it. This commit instead reads and writes shape ID and ivar index to inline caches atomically so there is no longer a race condition. Co-Authored-By: Aaron Patterson <tenderlove@ruby-lang.org> Co-Authored-By: John Hawthorn <john@hawthorn.email>
* Revert "Revert "This commit implements the Object Shapes technique in CRuby.""Jemma Issroff2022-10-111-81/+36
| | | | This reverts commit 9a6803c90b817f70389cae10d60b50ad752da48f.
* [ruby/open-uri] Remove unused files from the packagesNobuyoshi Nakada2022-10-111-1/+1
| | | | https://github.com/ruby/open-uri/commit/b2d9efbaf8
* [ruby/optparse] Don't treat empty string as an option descriptionMaciek Rząsa2022-10-081-1/+1
| | | | https://github.com/ruby/optparse/commit/078638ee6d
* [ruby/irb] Sort constant completion's candidatesst00122022-10-081-1/+1
| | | | https://github.com/ruby/irb/commit/ee9b33c817
* [ruby/irb] Lazily evaluate candidates localsst00122022-10-081-22/+32
| | | | https://github.com/ruby/irb/commit/19a2fcbd87
* [ruby/logger] Fix the Logger::Formatter documentationlijunwei2022-10-071-1/+1
| | | | https://github.com/ruby/logger/commit/db554fbda7
* [ruby/rdoc] Escape search resultsNobuyoshi Nakada2022-10-073-12/+12
| | | | | | https://hackerone.com/reports/1321358 https://github.com/ruby/rdoc/commit/2ebf8fd510
* [ruby/rdoc] Escape file namesNobuyoshi Nakada2022-10-072-5/+5
| | | | | | https://hackerone.com/reports/1321358 https://github.com/ruby/rdoc/commit/8c07cc4657
* [ruby/rdoc] Escape main titleNobuyoshi Nakada2022-10-071-1/+1
| | | | | | https://hackerone.com/reports/1187156 https://github.com/ruby/rdoc/commit/5dedb5741d
* [ruby/rdoc] Escape HYPERLINKsNobuyoshi Nakada2022-10-071-1/+1
| | | | https://github.com/ruby/rdoc/commit/ac35485be6
* [ruby/rdoc] Escape RDOCLINKsNobuyoshi Nakada2022-10-071-7/+5
| | | | | | https://hackerone.com/reports/1187156 https://github.com/ruby/rdoc/commit/7cecf1efae
* [ruby/rdoc] Escape TIDYLINKsNobuyoshi Nakada2022-10-071-2/+6
| | | | | | https://hackerone.com/reports/1187156 https://github.com/ruby/rdoc/commit/1ad2dd3ca2
* [ruby/open-uri] Support 308 status redirectJanko Marohnić2022-10-071-1/+2
| | | | https://github.com/ruby/open-uri/commit/d8899ae4ac
* [ruby/rdoc] Remove trailing spaces to fix CITakashi Kokubun2022-10-061-1/+1
| | | | | | https://github.com/ruby/ruby/actions/runs/3199301563/jobs/5224898228 https://github.com/ruby/rdoc/commit/369e4fa32d60bc00982801a6848efe5338603ac5
* [ruby/rdoc] Add center alignNobuyoshi Nakada2022-10-061-68/+10
| | | | https://github.com/ruby/rdoc/commit/512cc55a0e
* [ruby/rdoc] Allow spaces around pipesNobuyoshi Nakada2022-10-061-4/+64
| | | | https://github.com/ruby/rdoc/commit/3b3a583580
* [ruby/rdoc] Allow escaped pipes in cellsNobuyoshi Nakada2022-10-061-68/+18
| | | | https://github.com/ruby/rdoc/commit/333952a62d
* [ruby/rdoc] Allow leading pipes to be ommittedNobuyoshi Nakada2022-10-061-90/+201
| | | | https://github.com/ruby/rdoc/commit/d263a2c9c4
* [ruby/rdoc] Allow trailing pipes to be ommittedNobuyoshi Nakada2022-10-061-4/+14
| | | | https://github.com/ruby/rdoc/commit/1318048877
* [ruby/rdoc] Allow RDoc markups in table cellsNobuyoshi Nakada2022-10-061-2/+2
| | | | https://github.com/ruby/rdoc/commit/b16d3f1727
* * remove trailing spaces. [ci skip]git2022-10-061-1/+1
|