-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bump the minor-and-patch group with 4 updates #1948
Conversation
Bumps the minor-and-patch group with 4 updates: [irb](https://github.com/ruby/irb), [rubocop-rspec](https://github.com/rubocop/rubocop-rspec), [identity_cache](https://github.com/Shopify/identity_cache) and [sorbet-static-and-runtime](https://github.com/sorbet/sorbet). Updates `irb` from 1.13.2 to 1.14.0 - [Release notes](https://github.com/ruby/irb/releases) - [Commits](ruby/irb@v1.13.2...v1.14.0) Updates `rubocop-rspec` from 3.0.1 to 3.0.2 - [Release notes](https://github.com/rubocop/rubocop-rspec/releases) - [Changelog](https://github.com/rubocop/rubocop-rspec/blob/master/CHANGELOG.md) - [Commits](rubocop/rubocop-rspec@v3.0.1...v3.0.2) Updates `identity_cache` from 1.5.6 to 1.6.0 - [Changelog](https://github.com/Shopify/identity_cache/blob/main/CHANGELOG.md) - [Commits](Shopify/identity_cache@v1.5.6...v1.6.0) Updates `sorbet-static-and-runtime` from 0.5.11463 to 0.5.11473 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) --- updated-dependencies: - dependency-name: irb dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-and-patch - dependency-name: rubocop-rspec dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-and-patch - dependency-name: identity_cache dependency-type: direct:development update-type: version-update:semver-minor dependency-group: minor-and-patch - dependency-name: sorbet-static-and-runtime dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-and-patch ... Signed-off-by: dependabot[bot] <[email protected]>
dd7260b
to
7e05efe
Compare
lib/tapioca/dsl/compiler.rb
Outdated
@@ -49,15 +49,15 @@ def processable_constants | |||
sig { returns(T::Enumerable[T::Class[T.anything]]) } | |||
def all_classes | |||
@all_classes ||= T.let( | |||
T.cast(ObjectSpace.each_object(Class), T::Enumerable[T::Class[T.anything]]).each, | |||
ObjectSpace.each_object(Class).each, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unrelated to the change, but does this .each
even do anything? ObjectSpace.each_object(Class)
is already an T::Enumerable[T::Class[T.anything]]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, seems unnecessary:
irb(main):002> ObjectSpace.each_object(Module).count
=> 773
irb(main):003> ObjectSpace.each_object(Module).each.count
=> 773
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nitpick: the result is an enumerator not an enumerable, when no block is given.
lib/tapioca/runtime/reflection.rb
Outdated
@@ -166,7 +166,7 @@ def method_of(constant, method) | |||
end | |||
def descendants_of(klass) | |||
result = ObjectSpace.each_object(klass.singleton_class).reject do |k| | |||
T.cast(k, Module).singleton_class? || T.unsafe(k) == klass | |||
k.singleton_class? || T.unsafe(k) == klass |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can remove the unsafe
if we flip this and make the receiver be the klass
:
k.singleton_class? || T.unsafe(k) == klass | |
k.singleton_class? || klass == k |
Bumps the minor-and-patch group with 4 updates: irb, rubocop-rspec, identity_cache and sorbet-static-and-runtime.
Updates
irb
from 1.13.2 to 1.14.0Release notes
Sourced from irb's releases.
Commits
6a9e129
Bump version to v1.14.0 (#980)7b6557c
Return only commands when completing help command's argument (#973)4a0e0e8
Introduce cd command (#971)00603d4
Allow assigning and using local variable name conflicting with command (#961)c844176
Improve how command calls' return value is handled (#972)Updates
rubocop-rspec
from 3.0.1 to 3.0.2Release notes
Sourced from rubocop-rspec's releases.
Changelog
Sourced from rubocop-rspec's changelog.
Commits
77f026b
Merge pull request #1933 from rubocop/release0cb5dc5
Release v3.0.29ca2541
Merge pull request #1931 from jeppester/master4c2e03e
Better assist rspec rails cop users when migrating to 311f5cb8
Merge pull request #1930 from Earlopain/false-negative-predicate-matcher7586bc3
Fix false negative forRSpec/PredicateMatcher
when expectation contains cus...781a866
Merge pull request #1927 from bmulholland/patch-15646c8c
Apply suggestions from code review5fd1228
chore(docs): Gem names and troubleshooting for v3 migration instructions2004e4b
Merge pull request #1924 from rubocop/add-tocUpdates
identity_cache
from 1.5.6 to 1.6.0Changelog
Sourced from identity_cache's changelog.
Commits
5ae647a
Introduce Deferred Parent Cache Expiry (#569)494ac2a
Bump rexml from 3.2.6 to 3.2.8 in the bundler group across 1 directory (#567)313dfbc
Bump dalli from 2.7.11 to 3.2.3 (#564)Updates
sorbet-static-and-runtime
from 0.5.11463 to 0.5.11473Release notes
Sourced from sorbet-static-and-runtime's releases.
... (truncated)
Commits
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major version
will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor version
will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>
will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>
will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>
will remove the ignore condition of the specified dependency and ignore conditions