This commit adds an `expect1_opening` function that expects a token and attaches the error to the opening token location rather than the current position. This is useful for errors about missing closing tokens, where we want to point to ...thomasmarshall (Thomas Marshall)
This commit adds tests to capture the current behavior of `#checkout`. They are not exhaustive, but they cover cases cloning and fetching the repository with different ref types. This will make it easier to change the caching behavior in...thomasmarshall (Thomas Marshall)
If the `ref` option is a specific commit SHA, we can check to see if it's already fetched locally. If it is, then we don't need to re-fetch it from the remote. The `ref` option might not be a commit SHA, so we're using the `#commit` met...thomasmarshall (Thomas Marshall)
This commit ensures warnings about `object_id` and `__send__` method redefinitions are emitted for other method types such as aliases, procs, and attr readers—anything except C functions.thomasmarshall (Thomas Marshall)
This commit switches out the full gemspec validation for a partial one which only performs resolution related checks. This will allow gem authors to run `bundle` commands immediately after creating a new gem with Bundler, rather than hav...thomasmarshall (Thomas Marshall)
This method validates only what is required for resolution, skipping any irrelevant metadata validation. This will be used by Bundler instead of doing a full validation, allowing gem authors to use `bundle` commands immediately in newly ...thomasmarshall (Thomas Marshall)
Applied in changeset commit:git|7e4b1f8e1935a10df3c41ee60ca0987d73281126. ---------- [Bug #20322] Fix rb_enc_interned_str_cstr null encoding The documentation for `rb_enc_interned_str_cstr` notes that `enc` can be a null pointer, but t...thomasmarshall (Thomas Marshall)
The documentation for `rb_enc_interned_str_cstr` notes that `enc` can be a null pointer, but this currently causes a segmentation fault when trying to autoload the encoding. This commit fixes the issue by checking for NULL before calling...thomasmarshall (Thomas Marshall)