{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":107872,"defaultBranch":"master","name":"spec","ownerLogin":"ruby","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2009-01-15T08:19:09.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/210414?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1711971971.0","currentOid":""},"activityList":{"items":[{"before":"0ce06334226301d88b18ad2e1fb7545e5de96d70","after":"1afa2eab1cab5df6c5706fc5b7e92756b1db4f07","ref":"refs/heads/master","pushedAt":"2024-04-18T10:44:36.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"eregon","name":"Benoit Daloze","path":"/eregon","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/168854?s=80&v=4"},"commit":{"message":"Add specs for hash key ends with `!` or `?`\n\nThis PR adds several spec for the following syntax errors:\n\n```console\n$ ruby -cve '{a!:}'\nruby 3.4.0dev (2024-04-18T03:46:51Z master b3c59370ca) [x86_64-darwin23]\n-e:1: identifier a! is not valid to get\nruby: compile error (SyntaxError)\n\n$ ruby -cve '{a?:}'\nruby 3.4.0dev (2024-04-18T03:46:51Z master b3c59370ca) [x86_64-darwin23]\n-e:1: identifier a? is not valid to get\nruby: compile error (SyntaxError)\n```\n\nThis addition supplements some specs for the non-omitting value hash notation.","shortMessageHtmlLink":"Add specs for hash key ends with ! or ?"}},{"before":"573cf976f64fbbebe52704d4a6cd4497d19d3d31","after":"0ce06334226301d88b18ad2e1fb7545e5de96d70","ref":"refs/heads/master","pushedAt":"2024-04-04T01:44:36.000Z","pushType":"pr_merge","commitsCount":2,"pusher":{"login":"hsbt","name":"Hiroshi SHIBATA","path":"/hsbt","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/12301?s=80&v=4"},"commit":{"message":"Merge pull request #1147 from nobu/date_specs\n\nMove the extensions for `Time` to the corresponding locations","shortMessageHtmlLink":"Merge pull request #1147 from nobu/date_specs"}},{"before":"eef6056d0c8e717a65c64c3cefe591853b4a1b4f","after":"573cf976f64fbbebe52704d4a6cd4497d19d3d31","ref":"refs/heads/master","pushedAt":"2024-04-01T12:03:35.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"andrykonchin","name":"Andrii Konchyn","path":"/andrykonchin","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/732181?s=80&v=4"},"commit":{"message":"Add subclasses specs for more prepend/include cases\n\nSee jruby/jruby#8121","shortMessageHtmlLink":"Add subclasses specs for more prepend/include cases"}},{"before":"79c26f1c7f5055f4777baa1cc6c293c60f81aa8b","after":"eef6056d0c8e717a65c64c3cefe591853b4a1b4f","ref":"refs/heads/master","pushedAt":"2024-04-01T11:53:26.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"andrykonchin","name":"Andrii Konchyn","path":"/andrykonchin","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/732181?s=80&v=4"},"commit":{"message":"Disable $RUBYOPT env variable in specs that expects there are no --enable-frozen-string-literal flag","shortMessageHtmlLink":"Disable $RUBYOPT env variable in specs that expects there are no --en…"}},{"before":null,"after":"a521d212765060badcab0567a30620cce92d346a","ref":"refs/heads/ak/check-disablin-rubyopt-env-variable","pushedAt":"2024-04-01T11:46:11.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"andrykonchin","name":"Andrii Konchyn","path":"/andrykonchin","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/732181?s=80&v=4"},"commit":{"message":"Disable $RUBYOPT env variable in specs that expects there are no --enable-frozen-string-literal flag","shortMessageHtmlLink":"Disable $RUBYOPT env variable in specs that expects there are no --en…"}},{"before":"6ac4bb594d3c40f32352ad076fa0a07911e1dc07","after":"79c26f1c7f5055f4777baa1cc6c293c60f81aa8b","ref":"refs/heads/master","pushedAt":"2024-04-01T10:49:07.000Z","pushType":"push","commitsCount":7,"pusher":{"login":"andrykonchin","name":"Andrii Konchyn","path":"/andrykonchin","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/732181?s=80&v=4"},"commit":{"message":"Suppress warning at literal string","shortMessageHtmlLink":"Suppress warning at literal string"}},{"before":"118bfc50b7a813a1521d2bbdd30e18795fe8e6e9","after":"6ac4bb594d3c40f32352ad076fa0a07911e1dc07","ref":"refs/heads/master","pushedAt":"2024-03-29T17:52:38.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"andrykonchin","name":"Andrii Konchyn","path":"/andrykonchin","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/732181?s=80&v=4"},"commit":{"message":"Suppress Rubocop warning in core/exception/fixtures/syntax_error.rb","shortMessageHtmlLink":"Suppress Rubocop warning in core/exception/fixtures/syntax_error.rb"}},{"before":"23ab41ba607967ec229b3e87f4b4c61f9eecc9fa","after":"3f5825100049f6bbff24c2624b8807b962f2eb5d","ref":"refs/heads/ak/test-gc-specs-on-windows","pushedAt":"2024-03-29T17:42:58.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"andrykonchin","name":"Andrii Konchyn","path":"/andrykonchin","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/732181?s=80&v=4"},"commit":{"message":"Suppress Rubocop warning in core/exception/fixtures/syntax_error.rb","shortMessageHtmlLink":"Suppress Rubocop warning in core/exception/fixtures/syntax_error.rb"}},{"before":null,"after":"23ab41ba607967ec229b3e87f4b4c61f9eecc9fa","ref":"refs/heads/ak/test-gc-specs-on-windows","pushedAt":"2024-03-29T17:37:48.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"andrykonchin","name":"Andrii Konchyn","path":"/andrykonchin","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/732181?s=80&v=4"},"commit":{"message":"Fix optional/gc_specs.rb and use LL2NUM instead of LONG2NU\n\nINT64_MAX might be long long int and there might be overflow with LONG2NU, e.g. in windows job:\n```\ngc_spec.c: In function 'Init_gc_spec':\ngc_spec.c:108:58: warning: overflow in conversion from 'long long int' to 'long int' changes value from '9223372036854775807' to '-1' [-Woverflow]\n 108 | registered_before_rb_global_variable_bignum = LONG2NUM(INT64_MAX);\n | ^~~~~~~~~\ngc_spec.c:113:57: warning: overflow in conversion from 'long long int' to 'long int' changes value from '9223372036854775807' to '-1' [-Woverflow]\n 113 | registered_after_rb_global_variable_bignum = LONG2NUM(INT64_MAX);\n | ^~~~~~~~~\n```","shortMessageHtmlLink":"Fix optional/gc_specs.rb and use LL2NUM instead of LONG2NU"}},{"before":"c8ab292d394d7bd7f26fd0e8de8a0adf5bebf7b5","after":"118bfc50b7a813a1521d2bbdd30e18795fe8e6e9","ref":"refs/heads/master","pushedAt":"2024-03-29T17:09:00.000Z","pushType":"push","commitsCount":14,"pusher":{"login":"andrykonchin","name":"Andrii Konchyn","path":"/andrykonchin","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/732181?s=80&v=4"},"commit":{"message":"Expand specs for rb_global_variable()\n\n* See https://github.com/oracle/truffleruby/issues/3478#issuecomment-2015064411","shortMessageHtmlLink":"Expand specs for rb_global_variable()"}},{"before":"e2f39fe241d6e0443f3b9e9f989f4cc6a061d06c","after":"c8ab292d394d7bd7f26fd0e8de8a0adf5bebf7b5","ref":"refs/heads/master","pushedAt":"2024-03-25T12:03:12.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"eregon","name":"Benoit Daloze","path":"/eregon","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/168854?s=80&v=4"},"commit":{"message":"Add spec for `Socket#read_nonblock` with a provided buffer\n\nWhen provided a buffer MRI preserves the original encoding\nbut TruffleRuby sets the encoding to `Encoding::BINARY`","shortMessageHtmlLink":"Add spec for Socket#read_nonblock with a provided buffer"}},{"before":"9e9f101d4fa23d9d6be6cb7b091a665c97ab20cc","after":null,"ref":"refs/heads/ak/frozen-string-literal-compat-follow-up","pushedAt":"2024-03-19T13:38:12.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"eregon","name":"Benoit Daloze","path":"/eregon","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/168854?s=80&v=4"}},{"before":"89175b222f15a7929a4f9a8b11bb67c728fc8830","after":"e2f39fe241d6e0443f3b9e9f989f4cc6a061d06c","ref":"refs/heads/master","pushedAt":"2024-03-19T13:38:12.000Z","pushType":"pr_merge","commitsCount":3,"pusher":{"login":"eregon","name":"Benoit Daloze","path":"/eregon","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/168854?s=80&v=4"},"commit":{"message":"Add spec to test String literals behaviour","shortMessageHtmlLink":"Add spec to test String literals behaviour"}},{"before":null,"after":"9e9f101d4fa23d9d6be6cb7b091a665c97ab20cc","ref":"refs/heads/ak/frozen-string-literal-compat-follow-up","pushedAt":"2024-03-19T13:28:38.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"andrykonchin","name":"Andrii Konchyn","path":"/andrykonchin","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/732181?s=80&v=4"},"commit":{"message":"Add spec to test String literals behaviour","shortMessageHtmlLink":"Add spec to test String literals behaviour"}},{"before":"028bc686939f92493172299c178693e14b5af9b9","after":"89175b222f15a7929a4f9a8b11bb67c728fc8830","ref":"refs/heads/master","pushedAt":"2024-03-14T20:41:44.000Z","pushType":"push","commitsCount":10,"pusher":{"login":"eregon","name":"Benoit Daloze","path":"/eregon","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/168854?s=80&v=4"},"commit":{"message":"[Feature #20265] Remove rb_newobj_of and RB_NEWOBJ_OF","shortMessageHtmlLink":"[Feature #20265] Remove rb_newobj_of and RB_NEWOBJ_OF"}},{"before":"f23d158c8736bcb2d3dd83d90a4457ea611bd247","after":"028bc686939f92493172299c178693e14b5af9b9","ref":"refs/heads/master","pushedAt":"2024-03-14T16:49:04.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"eregon","name":"Benoit Daloze","path":"/eregon","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/168854?s=80&v=4"},"commit":{"message":"Make the spec suite compatible with `--enable-frozen-string-literal`\n\nExtracted from: https://github.com/ruby/ruby/pull/10235\n\nRef: https://bugs.ruby-lang.org/issues/20205\n\nRuby will gradually move towards enabling frozen string literals\nby default. Making the ruby spec suite compatible is a good first\nstep.\n\nCo-authored-by: Benoit Daloze ","shortMessageHtmlLink":"Make the spec suite compatible with --enable-frozen-string-literal"}},{"before":"8fd23da0e041e0b76c52b1ce18bfc2963462d148","after":null,"ref":"refs/heads/remove_senseless_spec","pushedAt":"2024-03-11T11:18:59.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"andrykonchin","name":"Andrii Konchyn","path":"/andrykonchin","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/732181?s=80&v=4"}},{"before":"408e230ae1830bd54eb7b34f7feafbfe51e09cdb","after":"f23d158c8736bcb2d3dd83d90a4457ea611bd247","ref":"refs/heads/master","pushedAt":"2024-03-11T11:18:59.000Z","pushType":"pr_merge","commitsCount":2,"pusher":{"login":"andrykonchin","name":"Andrii Konchyn","path":"/andrykonchin","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/732181?s=80&v=4"},"commit":{"message":"Merge pull request #1140 from ruby/remove_senseless_spec\n\nRemove senseless spec.","shortMessageHtmlLink":"Merge pull request #1140 from ruby/remove_senseless_spec"}},{"before":"a73665299dfeed38433380c37850eb23c3fa6597","after":"8fd23da0e041e0b76c52b1ce18bfc2963462d148","ref":"refs/heads/remove_senseless_spec","pushedAt":"2024-03-05T20:18:57.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"marcandre","name":"Marc-André Lafortune","path":"/marcandre","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33770?s=80&v=4"},"commit":{"message":"Remove senseless spec.\n\nA negative `size` makes no sense at all, -infinity even less so. It is indeed the case that Ruby currently returns `-infinity` (even if you take the product of two of these senseless enumerables), but that doesn't make it a _valid spec_. Ruby does this because it is simpler to test for ±infinity than it is to test for +infinity...\n\nOther alternative implementations should _not_ attempt to mimick such behaviour.\n\nOne could argue it is a bug (and `nil` should be returned maybe, but that would be the case for any negative `size`), or that the current result is acceptable because \"garbage in garbage out\", but nobody in their right mind would rely on this behavior and clearly returning `nil` or raising an exception are better results than returning - infinity.\n\nThis PR leaves this uninteresting and ill-defined corner case as implementation dependent.","shortMessageHtmlLink":"Remove senseless spec."}},{"before":"2a4725b9bb4c066ba855e3a41cc6e608a6515006","after":"a73665299dfeed38433380c37850eb23c3fa6597","ref":"refs/heads/remove_senseless_spec","pushedAt":"2024-03-05T20:03:14.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"marcandre","name":"Marc-André Lafortune","path":"/marcandre","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33770?s=80&v=4"},"commit":{"message":"Remove senseless spec.\n\nA negative `size` makes no sense at all, -infinity even less so. It is indeed the case that Ruby currently returns `-infinity` (even if you take the product of two of these senseless enumerables), but that doesn't make it a _valid spec_. It does so because it is simpler to test for ±infinity than it is to test for +infinity...\n\nOther alternative implementations should attempt to mimick such behaviour.\n\nOne could argue it is a bug (and `nil` should be returned maybe, but that would be the case for any negative `size`), or that the current result is acceptable because \"garbage in garbage out\", but nobody in their right mind would rely on this behavior and clearly returning `nil` or raising an exception are better results than returning - infinity.\n\nThis PR takes to leave this uninteresting and ill-defined corner case as implementation dependent.","shortMessageHtmlLink":"Remove senseless spec."}},{"before":"0b21063506bfae4a806d216e89a3aca6ee01f68c","after":"2a4725b9bb4c066ba855e3a41cc6e608a6515006","ref":"refs/heads/remove_senseless_spec","pushedAt":"2024-03-05T20:01:47.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"marcandre","name":"Marc-André Lafortune","path":"/marcandre","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33770?s=80&v=4"},"commit":{"message":"Remove senseless spec.\n\nA negative `size` makes no sense at all, -infinity even less so. It is indeed the case that Ruby currently returns `-infinity` (even if you take the product of two of these senseless enumerables), but that doesn't make it a _valid spec_.\n\nOne could argue it is a bug (and `nil` should be returned maybe, but that would be the case for any negative `size`), or that the current result is acceptable because \"garbage in garbage out\", but nobody in their right mind would rely on this behavior and clearly returning `nil` or raising an exception are better results than returning - infinity.\n\nThis PR takes to leave this uninteresting and ill-defined corner case as implementation dependent.","shortMessageHtmlLink":"Remove senseless spec."}},{"before":null,"after":"0b21063506bfae4a806d216e89a3aca6ee01f68c","ref":"refs/heads/remove_senseless_spec","pushedAt":"2024-03-05T19:59:11.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"marcandre","name":"Marc-André Lafortune","path":"/marcandre","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/33770?s=80&v=4"},"commit":{"message":"Remove senseless spec.\n\nA negative size makes no sense at all, -infinity even less so.\nIt is indeed the case that Ruby currently returns `-infinity`, that doesn't make it a _spec_. One could argue it is a bug (and `nil` should be returned maybe, but that would be the case for any negative `size`), or that it is acceptable because \"garbage in garbage out\".\n\nThis PR takes the second approach and leaves these unintersting and ill-defined corner cases as implementation dependent.","shortMessageHtmlLink":"Remove senseless spec."}},{"before":"3a510bb8fc4e0d90dd87907229c4aa70b078e4a0","after":"408e230ae1830bd54eb7b34f7feafbfe51e09cdb","ref":"refs/heads/master","pushedAt":"2024-02-27T20:30:34.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"eregon","name":"Benoit Daloze","path":"/eregon","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/168854?s=80&v=4"},"commit":{"message":"Don't assume that Qfalse is 0 in rb_special_const_p\n\nrb_special_const_p returns a VALUE (Qtrue or Qfalse), so can directly\nreturn the value and we shouldn't assume that Qfalse is 0.","shortMessageHtmlLink":"Don't assume that Qfalse is 0 in rb_special_const_p"}},{"before":"637f41cfe189b2393bfc42a391b9c7aaaeb03728","after":"3a510bb8fc4e0d90dd87907229c4aa70b078e4a0","ref":"refs/heads/master","pushedAt":"2024-02-26T13:43:40.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"eregon","name":"Benoit Daloze","path":"/eregon","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/168854?s=80&v=4"},"commit":{"message":"Add guard for Windows","shortMessageHtmlLink":"Add guard for Windows"}},{"before":"817857c489122da59d09ae37b98e6c51973eeda7","after":"637f41cfe189b2393bfc42a391b9c7aaaeb03728","ref":"refs/heads/master","pushedAt":"2024-02-26T13:02:25.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"eregon","name":"Benoit Daloze","path":"/eregon","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/168854?s=80&v=4"},"commit":{"message":"Fix trailing newlines","shortMessageHtmlLink":"Fix trailing newlines"}},{"before":"cc1894ce39d3ed18a4ca76b223470b79a7b8c2cf","after":"817857c489122da59d09ae37b98e6c51973eeda7","ref":"refs/heads/master","pushedAt":"2024-02-26T12:59:23.000Z","pushType":"push","commitsCount":14,"pusher":{"login":"eregon","name":"Benoit Daloze","path":"/eregon","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/168854?s=80&v=4"},"commit":{"message":"Fix RuboCop warning in ftp/connect_spec.rb","shortMessageHtmlLink":"Fix RuboCop warning in ftp/connect_spec.rb"}},{"before":"b2858de16c16359c824e4caef90b02fe91297d84","after":"cc1894ce39d3ed18a4ca76b223470b79a7b8c2cf","ref":"refs/heads/master","pushedAt":"2024-02-26T12:53:55.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"eregon","name":"Benoit Daloze","path":"/eregon","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/168854?s=80&v=4"},"commit":{"message":"More specs for String#to_i with underscores\n\nSpecifically for cases with leading zeros, which falls into logic\nin CRuby that ignores any number of non-consecutivee underscores\nbut bails out on two or more consecutive underscores.","shortMessageHtmlLink":"More specs for String#to_i with underscores"}},{"before":"ce834ad899f254617e14e603ac9899be7ff1f4b2","after":"b2858de16c16359c824e4caef90b02fe91297d84","ref":"refs/heads/master","pushedAt":"2024-02-26T12:50:30.000Z","pushType":"push","commitsCount":11,"pusher":{"login":"eregon","name":"Benoit Daloze","path":"/eregon","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/168854?s=80&v=4"},"commit":{"message":"Stop using rb_fstring publicly\n\nrb_fstring is a private API, so we should use rb_str_to_interned_str\ninstead, which is a public API.","shortMessageHtmlLink":"Stop using rb_fstring publicly"}},{"before":"24a5994dc18694b5eb2cd02cae522e0e4dca2d93","after":"ce834ad899f254617e14e603ac9899be7ff1f4b2","ref":"refs/heads/master","pushedAt":"2024-02-12T09:55:43.000Z","pushType":"pr_merge","commitsCount":11,"pusher":{"login":"eregon","name":"Benoit Daloze","path":"/eregon","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/168854?s=80&v=4"},"commit":{"message":"Revert \"spec/mspec/tool/wrap_with_guard.rb 'ruby_version_is \"\"...\"3.4\"' spec/ruby/library/getoptlong/**/*.rb\"\n\nThis reverts commit 8538c30a8a6ea45264b014a5990986aae8997aed.","shortMessageHtmlLink":"Revert \"spec/mspec/tool/wrap_with_guard.rb 'ruby_version_is \"\"...\"3.4…"}},{"before":"82611857385a47b1257bc9997d46ce4b5587ed57","after":"24a5994dc18694b5eb2cd02cae522e0e4dca2d93","ref":"refs/heads/master","pushedAt":"2024-02-12T09:05:55.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"eregon","name":"Benoit Daloze","path":"/eregon","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/168854?s=80&v=4"},"commit":{"message":"Add specs for prepend modifying ancestor chain","shortMessageHtmlLink":"Add specs for prepend modifying ancestor chain"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAENAX5xQA","startCursor":null,"endCursor":null}},"title":"Activity · ruby/spec"}