Skip to content
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

Merged
merged 4 commits into from
Jul 10, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 8, 2024

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.0

Release notes

Sourced from irb's releases.

v1.14.0

What's Changed

✨ Enhancements

🐛 Bug Fixes

🛠 Other Changes

Full Changelog: ruby/irb@v1.13.2...v1.14.0

Commits

Updates rubocop-rspec from 3.0.1 to 3.0.2

Release notes

Sourced from rubocop-rspec's releases.

RuboCop RSpec v3.0.2

  • Fix wrong autocorrect for RSpec/ScatteredSetup when hook contains heredoc. (@​earlopain)
  • Fix false negative for RSpec/PredicateMatcher when expectation contains custom failure message. (@​earlopain)
  • Facilitate the 3.0 upgrade flow with proper extracted cop messages. (@​jeppester)
Changelog

Sourced from rubocop-rspec's changelog.

3.0.2 (2024-07-02)

  • Fix wrong autocorrect for RSpec/ScatteredSetup when hook contains heredoc. ([@​earlopain])
  • Fix false negative for RSpec/PredicateMatcher when expectation contains custom failure message. ([@​earlopain])
  • Facilitate the 3.0 upgrade flow with proper extracted cop messages. ([@​jeppester])
Commits
  • 77f026b Merge pull request #1933 from rubocop/release
  • 0cb5dc5 Release v3.0.2
  • 9ca2541 Merge pull request #1931 from jeppester/master
  • 4c2e03e Better assist rspec rails cop users when migrating to 3
  • 11f5cb8 Merge pull request #1930 from Earlopain/false-negative-predicate-matcher
  • 7586bc3 Fix false negative for RSpec/PredicateMatcher when expectation contains cus...
  • 781a866 Merge pull request #1927 from bmulholland/patch-1
  • 5646c8c Apply suggestions from code review
  • 5fd1228 chore(docs): Gem names and troubleshooting for v3 migration instructions
  • 2004e4b Merge pull request #1924 from rubocop/add-toc
  • Additional commits viewable in compare view

Updates identity_cache from 1.5.6 to 1.6.0

Changelog

Sourced from identity_cache's changelog.

1.6.0

  • Introduce .with_deferred_parent_expiration, which takes a block and avoids duplicate parent cache expiry. (#569)
Commits

Updates sorbet-static-and-runtime from 0.5.11463 to 0.5.11473

Release notes

Sourced from sorbet-static-and-runtime's releases.

sorbet 0.5.11472.20240705142640-c9f3909ed

To use Sorbet add this line to your Gemfile:

gem 'sorbet', '0.5.11472', :group => :development
gem 'sorbet-runtime', '0.5.11472'

sorbet 0.5.11471.20240703153050-f00698dd3

To use Sorbet add this line to your Gemfile:

gem 'sorbet', '0.5.11471', :group => :development
gem 'sorbet-runtime', '0.5.11471'

sorbet 0.5.11470.20240703150505-d17df3054

To use Sorbet add this line to your Gemfile:

gem 'sorbet', '0.5.11470', :group => :development
gem 'sorbet-runtime', '0.5.11470'

sorbet 0.5.11469.20240703143531-a2a3f1088

To use Sorbet add this line to your Gemfile:

gem 'sorbet', '0.5.11469', :group => :development
gem 'sorbet-runtime', '0.5.11469'

sorbet 0.5.11468.20240703143156-bc1b57ff4

To use Sorbet add this line to your Gemfile:

gem 'sorbet', '0.5.11468', :group => :development
gem 'sorbet-runtime', '0.5.11468'

sorbet 0.5.11467.20240703093809-474b1b33a

To use Sorbet add this line to your Gemfile:

gem 'sorbet', '0.5.11467', :group => :development
gem 'sorbet-runtime', '0.5.11467'

sorbet 0.5.11466.20240702110515-0fc62fb7b

To use Sorbet add this line to your Gemfile:

gem 'sorbet', '0.5.11466', :group => :development
gem 'sorbet-runtime', '0.5.11466'

sorbet 0.5.11465.20240701160127-2dd52b435

... (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

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]>
@dependabot dependabot bot requested a review from a team as a code owner July 8, 2024 21:10
@dependabot dependabot bot added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code labels Jul 8, 2024
@dependabot dependabot bot requested review from Morriar and amomchilov July 8, 2024 21:10
@andyw8 andyw8 force-pushed the dependabot/bundler/minor-and-patch-584dbfb7ce branch from dd7260b to 7e05efe Compare July 9, 2024 14:45
@@ -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,
Copy link
Contributor

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]]

Copy link
Contributor

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

Copy link
Member

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.

@@ -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
Copy link
Contributor

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:

Suggested change
k.singleton_class? || T.unsafe(k) == klass
k.singleton_class? || klass == k

@andyw8 andyw8 enabled auto-merge July 10, 2024 18:46
@andyw8 andyw8 merged commit c2bca9d into main Jul 10, 2024
29 checks passed
@andyw8 andyw8 deleted the dependabot/bundler/minor-and-patch-584dbfb7ce branch July 10, 2024 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants