summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2024-02-02[ruby/irb] Require pathname (https://github.com/ruby/irb/pull/860)Stan Lo
https://github.com/ruby/irb/commit/0ab96ed426
2024-02-02[ruby/irb] Add a warning for when the history path doesn't existIgnacio Chiazzo Cardarello
(https://github.com/ruby/irb/pull/852) * Add a warning for when the history path doesn't exist * warn when the directory does not exist * added test for when the history_file does not exist * Update lib/irb/history.rb --------- https://github.com/ruby/irb/commit/9e6fa67212 Co-authored-by: Stan Lo <[email protected]>
2024-02-02[rubygems/rubygems] feat: Gem::Specification#initialize_copy deep-copies ↵Mike Dalessio
requirements to avoid accidentally mutating the original's state when doing: ```ruby spec2 = spec.dup spec2.required_rubygems_version.concat([">= 3.3.22"]) ``` see https://github.com/rake-compiler/rake-compiler/pull/236 for a real-world use case that would be made simpler with this behavior. https://github.com/rubygems/rubygems/commit/c1d52389f0
2024-02-02[rubygems/rubygems] feat: Gem::Requirement#initialize_copy deep-copies ↵Mike Dalessio
@requirements to avoid accidentally mutating the original's state when doing: ```ruby req2 = req.dup req2.concat([">= 3.3.22"]) ``` see https://github.com/rake-compiler/rake-compiler/pull/236 for a real-world use case that would be made simpler with this behavior. https://github.com/rubygems/rubygems/commit/8e0c03144e
2024-02-02[ruby/prism] Fix hash pairs in patternsKevin Newton
https://github.com/ruby/prism/commit/b7ab29daa0
2024-02-02[rubygems/rubygems] Fix var name and also update other placesVitaliy Serov
https://github.com/rubygems/rubygems/commit/f72a7989cd
2024-02-02[rubygems/rubygems] Change gem login message to clear up that username can ↵Vitaliy Serov
be also used https://github.com/rubygems/rubygems/commit/2bf6163eaf
2024-02-02[ruby/prism] Small fixes for the parser translatorKevin Newton
https://github.com/ruby/prism/commit/4327051c86
2024-02-01Sync to latest prismKevin Newton
2024-02-01[ruby/irb] Add rubocop with a few basic styling rulesStan Lo
(https://github.com/ruby/irb/pull/849) * Use rubocop to enforce a few styling rules * Add a CI job for linting https://github.com/ruby/irb/commit/4f60cd88bb
2024-02-01[ruby/irb] Reset history counter even when @loaded_history_lines isStan Lo
not defined (https://github.com/ruby/irb/pull/853) The issue (https://github.com/ruby/debug/issues/1064) is caused by a combination of factors: 1. When user starts an IRB session without a history file, the `@loaded_history_lines` ivar is not defined. 2. If the user then starts the `irb:rdbg` session, the history counter is not set, because the `@loaded_history_lines` is not defined. 3. Because `irb:rdbg` saves the history before passing Ruby expression to the debugger, it saves the history with duplicated lines. The number grows in exponential order. 4. When the user exits the `irb:rdbg` session, the history file could be bloated with duplicated lines. This commit fixes the issue by resetting the history counter even when `@loaded_history_lines` is not defined. https://github.com/ruby/irb/commit/4afc98c258
2024-02-01[ruby/irb] Skip re-setup when creating a child sessionNuno Silva
(https://github.com/ruby/irb/pull/850) https://github.com/ruby/irb/commit/06b2d00dd3
2024-01-31[rubygems/rubygems] Fix musl platform not being added to the lockfileDavid Rodriguez
https://github.com/rubygems/rubygems/commit/235f7b4266
2024-01-31[ruby/yaml] Make PStore support as optionalHiroshi SHIBATA
https://github.com/ruby/yaml/commit/da421ce46f
2024-01-30[ruby/prism] Fix up CIKevin Newton
https://github.com/ruby/prism/commit/224ea85565
2024-01-30Update forwarding locals for prismAaron Patterson
2024-01-30[ruby/irb] Fix undef and alias indenttomoya ishida
(https://github.com/ruby/irb/pull/838) https://github.com/ruby/irb/commit/a641746b18
2024-01-30[rubygems/rubygems] Update namespace Gem::Resolver::Molinillo to Gem::MolinilloHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/6c4caf3ab0
2024-01-30[rubygems/rubygems] Rename molinillo wrapper file to vendored_molinillo.rbHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/d7c15f6fd7
2024-01-30Move molinillo under the vendor directoryHiroshi SHIBATA
2024-01-30Move tsort under the vendor directoryHiroshi SHIBATA
2024-01-30Move timeout under the vendor directoryHiroshi SHIBATA
2024-01-30Move net-http under the vendor directoryHiroshi SHIBATA
2024-01-30Move net-protocol under the vendor directoryHiroshi SHIBATA
2024-01-30Move optparse under the vendor directoryHiroshi SHIBATA
2024-01-30Move resolv under the vendor directoryHiroshi SHIBATA
2024-01-29[rubygems/rubygems] Improve gem login scope selectionWillian Tenfen W
https://github.com/rubygems/rubygems/commit/26c7abe5f6
2024-01-29[ruby/prism] Raise diagnostics for parserKevin Newton
https://github.com/ruby/prism/commit/102b4a16f5
2024-01-29[rubygems/rubygems] Remove `travis_removal_info`Masato Ohba
`travis_removal_info` is added by https://github.com/rubygems/rubygems/pull/6150. According to the comment, it's supposed to be removed at bundler v2.5.0 but it hasn't. https://github.com/rubygems/rubygems/commit/e18797d43f
2024-01-29[rubygems/rubygems] Simplify how extensions are builtDavid Rodríguez
https://github.com/rubygems/rubygems/commit/0b8faf1e39
2024-01-29[rubygems/rubygems] Remove now unnecessary elseifDavid Rodríguez
https://github.com/rubygems/rubygems/commit/d05b9e659b Co-authored-by: Samuel Giddins <[email protected]>
2024-01-29[rubygems/rubygems] Properly restore empty env varsDavid Rodríguez
https://github.com/rubygems/rubygems/commit/e0d68a8688
2024-01-29Removed duplicated license fileHiroshi SHIBATA
2024-01-29[rubygems/rubygems] Use rubygems vendored uri from Bundler when availableDavid Rodríguez
https://github.com/rubygems/rubygems/commit/5d6a8f2fb4
2024-01-29Vendor uri gem in RubyGemsDavid Rodríguez
2024-01-29[rubygems/rubygems] Require vendored_uri file in BundlerDavid Rodríguez
https://github.com/rubygems/rubygems/commit/62bc261042
2024-01-28[ruby/reline] Add metadata for rubygems.orgMasato Nakamura
(https://github.com/ruby/reline/pull/638) https://github.com/ruby/reline/commit/d3a324d22c
2024-01-28[ruby/prism] Handle implicit rest in array pattern for parser gemKevin Newton
https://github.com/ruby/prism/commit/d3722d6660
2024-01-27[ruby/prism] Add parser translationKevin Newton
https://github.com/ruby/prism/commit/8cdec8070c
2024-01-27[ruby/prism] Error follow-upKevin Newton
Split up the diagnostic levels so that error and warning levels aren't mixed. Also fix up deconstruct_keys implementation. https://github.com/ruby/prism/commit/bd3eeb308d Co-authored-by: Benoit Daloze <[email protected]>
2024-01-27[ruby/prism] Call #inspect on diagnostic levelsBenoit Daloze
* So it's clear it is a Symbol. Before: ... @level=warning_verbose_true> After: ... @level=:warning_verbose_true> https://github.com/ruby/prism/commit/84503643b9
2024-01-27[rubygems/rubygems] Bump Ruby version to be used in `bundle gem` templateMasato Ohba
since 2.6 and 2.7 are EOL and bundler dropped their support by https://github.com/rubygems/rubygems/pull/7116. https://github.com/rubygems/rubygems/commit/b562d9a822
2024-01-27[ruby/prism] Bring back #arg_rest localKevin Newton
https://github.com/ruby/prism/commit/9b6907b727
2024-01-26[ruby/prism] Add level to warnings and errors to categorize themBenoit Daloze
* Fixes https://github.com/ruby/prism/issues/2082 https://github.com/ruby/prism/commit/7a74576357
2024-01-25[ruby/prism] Fix Ruby head buildKevin Newton
https://github.com/ruby/prism/commit/149e2ff7f6
2024-01-25[ruby/irb] Reword history file documentation and fix typoEddie Lebow
(https://github.com/ruby/irb/pull/842) https://github.com/ruby/irb/commit/bbabf818c7
2024-01-25[ruby/irb] Synatx ==> Syntaxydah
https://github.com/ruby/irb/commit/2ffacaa031
2024-01-25[ruby/irb] assigment ==> assignmentydah
https://github.com/ruby/irb/commit/24c7694467
2024-01-25[ruby/irb] reseting ==> resettingydah
https://github.com/ruby/irb/commit/6209f06c72
2024-01-25[ruby/irb] configuation ==> configurationydah
https://github.com/ruby/irb/commit/a27a511777