summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-12-17Stir the hash value more with encoding indexNobuyoshi Nakada
2023-12-17Adjust styles [ci skip]Nobuyoshi Nakada
2023-12-16Use regex instead of hard coded pathsHiroshi SHIBATA
2023-12-16We don't use tracked_files in before(:suite). It breaks with release package.Hiroshi SHIBATA
2023-12-16Added simple test scriptHiroshi SHIBATA
2023-12-16Avoid warning when requiring bigdecimal/util when bigdecimal is in gemfileSamuel Giddins
2023-12-16Added test for sub-feature like bigdecimal/utilHiroshi SHIBATA
2023-12-16[Bug #20068] Encoding does not matter to empty stringsNobuyoshi Nakada
2023-12-16Use minimum arguments for BootsnapHiroshi SHIBATA
2023-12-16Update default gems list at 582862754fbbcc521e3d660eba6bfb [ci skip]git
2023-12-16[ruby/io-console] Bump up v0.7.1Hiroshi SHIBATA
https://github.com/ruby/io-console/commit/8ac766d870
2023-12-16[ruby/readline] Bump up v0.0.4Hiroshi SHIBATA
https://github.com/ruby/readline/commit/7dbc5bd8d9
2023-12-16[ruby/readline] Fix readline-ext gem loading in non Unix-like environmentshogelog
https://github.com/ruby/readline/commit/6e1e5d0eb8
2023-12-16[ruby/reline] Bump version to 0.4.1ima1zumi
(https://github.com/ruby/reline/pull/612) https://github.com/ruby/reline/commit/8937279e0f
2023-12-16Update default gems list at 4fd3c85acdfa942d88d8e9e2ccd17b [ci skip]git
2023-12-16[ruby/ipaddr] Bump up v1.2.6Hiroshi SHIBATA
https://github.com/ruby/ipaddr/commit/247459faa5
2023-12-16Update default gems list at 8936bb74c66e68f44d2a18564ea0b0 [ci skip]git
2023-12-16[ruby/abbrev] Bump up v0.1.2Hiroshi SHIBATA
https://github.com/ruby/abbrev/commit/b362e8e3b9
2023-12-16[ruby/syslog] Bump up v0.1.2Hiroshi SHIBATA
https://github.com/ruby/syslog/commit/f7b29e2199
2023-12-16Update default gems list at 2b3fc0407a9b9527ae5bf806994366 [ci skip]git
2023-12-16[ruby/securerandom] Bump up v0.3.1Hiroshi SHIBATA
https://github.com/ruby/securerandom/commit/890d659970
2023-12-16Update default gems list at 6a79e53823e328281b9e9eee53cd14 [ci skip]git
2023-12-16Rollback to released version numbers of stringio and strscanHiroshi SHIBATA
2023-12-16Update default gems list at 1a244730a9fada79fbfc1b2f478c2f [ci skip]git
2023-12-16[ruby/open3] Bump up v0.2.1Hiroshi SHIBATA
https://github.com/ruby/open3/commit/b890922205
2023-12-16Update default gems list at 6c7c4ac407c4eb2f70cd599c78808c [ci skip]git
2023-12-16[ruby/rdoc] Bump up v6.6.2Hiroshi SHIBATA
https://github.com/ruby/rdoc/commit/895f1affc0
2023-12-16Revert all of commits after Prism 0.19.0 releaseHiroshi SHIBATA
We should bundle released version of Prism for Ruby 3.3.0
2023-12-16Update default gems list at 711e85674e7c98909f5a43b7852ddc [ci skip]git
2023-12-16Pin versions that are RubyGems 2.5.1 and Bundler 2.5.1Hiroshi SHIBATA
2023-12-16Partly pick commit from https://github.com/rubygems/rubygems/pull/7285Samuel Giddins
Refactor vendoring to allow validating vendoring is reproducible Helps ensure that unsuspecting diffs to the vendored code arent accidentally introduced
2023-12-16Fix Sinatra warning during specsDavid Rodríguez
Some specs now print the following warning: ``` /path/to/bundler/tmp/1/gems/base/ruby/3.2.0/gems/sinatra-2.0.8.1/lib/sinatra/base.rb:902: warning: constant Tilt::Cache is deprecated ``` Updating sinatra to latest & greatest fixes it. Update other deps too since at it.
2023-12-16[rubygems/rubygems] Fix Bundler daily CIDavid Rodríguez
A default Bundler copy with vendored net-http is causing a Bundler spec to end up loading that copy instead of the copy of Bundler under test. This is because of vcr, but we don't really need vcr in the command that's failing, so I avoided loading it. https://github.com/rubygems/rubygems/commit/304ab6e1b9
2023-12-16[rubygems/rubygems] More improves to default gem home selection for installationDavid Rodríguez
https://github.com/rubygems/rubygems/commit/966daf7d42
2023-12-16[rubygems/rubygems] Improve command suggestion when gems are missingDavid Rodríguez
Previous attempt to use a full path when the running version is different than the one that would be activated by default are different was not correct. This is because if this error happens in a `bundle exec` context, the `Gem.loaded_specs` is cleared because we're in an exec'd process, so will be always using a full path in these cases. This alternative approach should do what I was expecting. https://github.com/rubygems/rubygems/commit/e0bb8bf51b
2023-12-16[rubygems/rubygems] Fix Ruby DSL no longer working as expectedDavid Rodríguez
https://github.com/rubygems/rubygems/commit/f6258e5679 Co-authored-by: AndrewSwerlick <andrew.swerlick@gmail.com>
2023-12-15[PRISM] Fix incorrect instructions for `default_proc=`eileencodes
This is kind of specific and was found via debugging ruby/prism#2061 but does not actually fix that issue. The change here checks for `!popped` for the additional instructions that are normally added for nodes with the `attribute_write` flag. I also removed the extra catch table by deleting the `ISEQ_COMPILE_DATA(iseq)->catch_except_p = true;` line. I'm...not entirely sure why it was added but it doesn't match the upstream compiler [code](https://github.com/ruby/ruby/blob/92b10f5be7453aceb5863e46ac775a4ddbf83b97/compile.c#L887-L892). The changes here unfortunately don't improve the test failures mentioned in the linked issue so we still have other issues with instructions for hashes. Instructions before: ``` "********* Ruby *************" == disasm: #<ISeq:<compiled>@<compiled>:1 (1,0)-(34,8)> local table (size: 1, argc: 0 [opts: 0, rest: -1, post: 0, block: -1, kw: -1@-1, kwrest: -1]) [ 1] h@0 0000 putnil ( 32)[Li] 0001 putobject true 0003 getconstant :Hash 0005 send <calldata!mid:new, argc:0, ARGS_SIMPLE>, nil 0008 setlocal h@0, 0 0011 getlocal h@0, 0 ( 33)[Li] 0014 putspecialobject 1 0016 send <calldata!mid:lambda, argc:0, FCALL>, block in <compiled> 0019 send <calldata!mid:default_proc=, argc:1, ARGS_SIMPLE>, nil 0022 pop 0023 getlocal h@0, 0 ( 34)[Li] 0026 putobject :nope 0028 send <calldata!mid:[], argc:1, ARGS_SIMPLE>, nil 0031 leave == disasm: #<ISeq:block in <compiled>@<compiled>:33 (33,19)-(33,32)> local table (size: 2, argc: 2 [opts: 0, rest: -1, post: 0, block: -1, kw: -1@-1, kwrest: -1]) [ 2] _@0<Arg> [ 1] _@1<Arg> 0000 putobject true ( 33)[LiBc] 0002 leave [Br] true "********* PRISM *************" == disasm: #<ISeq:<compiled>@<compiled>:31 (31,0)-(33,8)> local table (size: 1, argc: 0 [opts: 0, rest: -1, post: 0, block: -1, kw: -1@-1, kwrest: -1]) [ 1] h@0 0000 putnil ( 31)[Li] 0001 putobject true 0003 getconstant :Hash 0005 send <calldata!mid:new, argc:0, ARGS_SIMPLE>, nil 0008 setlocal h@0, 0 0011 putnil ( 32)[Li] 0012 getlocal h@0, 0 0015 putspecialobject 1 0017 send <calldata!mid:lambda, argc:0, FCALL>, block in <compiled> 0020 setn 2 0022 send <calldata!mid:default_proc=, argc:1, ARGS_SIMPLE>, nil 0025 pop 0026 pop 0027 getlocal h@0, 0 ( 33)[Li] 0030 putobject :nope 0032 send <calldata!mid:[], argc:1, ARGS_SIMPLE>, nil 0035 leave ( 31) == disasm: #<ISeq:block in <compiled>@<compiled>:32 (32,17)-(32,32)> == catch table | catch type: redo st: 0000 ed: 0002 sp: 0000 cont: 0000 | catch type: next st: 0000 ed: 0002 sp: 0000 cont: 0002 |------------------------------------------------------------------------ local table (size: 2, argc: 2 [opts: 0, rest: -1, post: 0, block: -1, kw: -1@-1, kwrest: -1]) [ 2] _@0<Arg> [ 1] _@1<Arg> 0000 putobject true ( 32)[LiBc] 0002 leave [Br] ``` Instructions after: ``` "********* Ruby *************" == disasm: #<ISeq:<compiled>@<compiled>:1 (1,0)-(34,8)> local table (size: 1, argc: 0 [opts: 0, rest: -1, post: 0, block: -1, kw: -1@-1, kwrest: -1]) [ 1] h@0 0000 putnil ( 32)[Li] 0001 putobject true 0003 getconstant :Hash 0005 send <calldata!mid:new, argc:0, ARGS_SIMPLE>, nil 0008 setlocal h@0, 0 0011 getlocal h@0, 0 ( 33)[Li] 0014 putspecialobject 1 0016 send <calldata!mid:lambda, argc:0, FCALL>, block in <compiled> 0019 send <calldata!mid:default_proc=, argc:1, ARGS_SIMPLE>, nil 0022 pop 0023 getlocal h@0, 0 ( 34)[Li] 0026 putobject :nope 0028 send <calldata!mid:[], argc:1, ARGS_SIMPLE>, nil 0031 leave == disasm: #<ISeq:block in <compiled>@<compiled>:33 (33,19)-(33,32)> local table (size: 2, argc: 2 [opts: 0, rest: -1, post: 0, block: -1, kw: -1@-1, kwrest: -1]) [ 2] _@0<Arg> [ 1] _@1<Arg> 0000 putobject true ( 33)[LiBc] 0002 leave [Br] "********* PRISM *************" == disasm: #<ISeq:<compiled>@<compiled>:31 (31,0)-(33,8)> local table (size: 1, argc: 0 [opts: 0, rest: -1, post: 0, block: -1, kw: -1@-1, kwrest: -1]) [ 1] h@0 0000 putnil ( 31)[Li] 0001 putobject true 0003 getconstant :Hash 0005 send <calldata!mid:new, argc:0, ARGS_SIMPLE>, nil 0008 setlocal h@0, 0 0011 getlocal h@0, 0 ( 32)[Li] 0014 putspecialobject 1 0016 send <calldata!mid:lambda, argc:0, FCALL>, block in <compiled> 0019 send <calldata!mid:default_proc=, argc:1, ARGS_SIMPLE>, nil 0022 pop 0023 getlocal h@0, 0 ( 33)[Li] 0026 putobject :nope 0028 send <calldata!mid:[], argc:1, ARGS_SIMPLE>, nil 0031 leave ( 31) == disasm: #<ISeq:block in <compiled>@<compiled>:32 (32,17)-(32,32)> local table (size: 2, argc: 2 [opts: 0, rest: -1, post: 0, block: -1, kw: -1@-1, kwrest: -1]) [ 2] _@0<Arg> [ 1] _@1<Arg> 0000 putobject true ( 32)[LiBc] 0002 leave [Br] ```
2023-12-15[PRISM] Compile CallTargetNodeMatt Valentine-House
2023-12-15[PRISM] Compile IndexTargetNodeMatt Valentine-House
2023-12-15[ruby/prism] Fix majority of RBS type mismatchesGopal Patel
https://github.com/ruby/prism/commit/62cc50e41b
2023-12-15[ruby/prism] String literal hash keys should be frozeneileencodes
String literal hash keys can't be mutated by the user so we should mark them as frozen. We were seeing instructions for hashes with string literal keys using two `putstring` instructions when it should be a `putobject` and `putstring`. Code example: ```ruby { "a" => "b" } ``` Instructions before: ``` "********* Ruby *************" == disasm: #<ISeq:<compiled>@<compiled>:1 (1,0)-(2,14)> 0000 putobject "a" ( 2)[Li] 0002 putstring "b" 0004 newhash 2 0006 leave "********* PRISM *************" == disasm: #<ISeq:<compiled>@<compiled>:1 (1,0)-(1,14)> 0000 putstring "a" ( 1)[Li] 0002 putstring "b" 0004 newhash 2 0006 leave ``` Instructions after: ``` "********* Ruby *************" == disasm: #<ISeq:<compiled>@<compiled>:1 (1,0)-(2,14)> 0000 putobject "a" ( 2)[Li] 0002 putstring "b" 0004 newhash 2 0006 leave "********* PRISM *************" == disasm: #<ISeq:<compiled>@<compiled>:1 (1,0)-(1,14)> 0000 putobject "a" ( 1)[Li] 0002 putstring "b" 0004 newhash 2 0006 leave ``` https://github.com/ruby/prism/commit/b14ae55385
2023-12-16[DOC] NEWS entries for C APIsKoichi Sasada
2023-12-15[rubygems/rubygems] Let the guards have some space to breatheMartin Emde
https://github.com/rubygems/rubygems/commit/73f1609715
2023-12-15[rubygems/rubygems] Use a mutex around Checksum::Store @store accessMartin Emde
Not wrapping to_lock since access to it is single threaded and read-only at the time of writing the lockfile. https://github.com/rubygems/rubygems/commit/3b53aa1b12
2023-12-15[rubygems/rubygems] Remove test-only & unused methods from Checksum::StoreMartin Emde
https://github.com/rubygems/rubygems/commit/79636dec12
2023-12-15[ruby/prism] Finish keyword hash node flag refactor by renaming flagUfuk Kayserilioglu
https://github.com/ruby/prism/commit/7f812389f8
2023-12-15Update error message in test_rubyoptionsKevin Newton
2023-12-15update message to clarify compiler, not parserAdam Hess
Co-authored-by: Ufuk Kayserilioglu <ufuk@paralaus.com>
2023-12-15Introduce --parser runtime flagHParker
Introduce runtime flag for specifying the parser, ``` ruby --parser=prism ``` also update the description: ``` $ ruby --parser=prism --version ruby 3.3.0dev (2023-12-08T04:47:14Z add-parser-runtime.. 0616384c9f) +PRISM [x86_64-darwin23] ``` [Bug #20044]
2023-12-15[DOC] RDoc for Complex (#9254)Burdette Lamar