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

build(deps): Bump the rspec group across 1 directory with 5 updates #2479

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 10, 2025

Bumps the rspec group with 3 updates in the / directory: rspec-rails, rails and rubocop.

Updates rspec-rails from 6.1.5 to 7.1.0

Changelog

Sourced from rspec-rails's changelog.

7.1.0 / 2024-11-09

Full Changelog

Enhancements:

  • Improve implicit description for ActionCable matchers have_broadcasted_to / have_broadcast. (Simon Fish, #2795)
  • Comment out infer_spec_type_from_file_location! in newly generated rails_helper.rb files. (Jon Rowe, #2804)
  • Allow turning off active job / mailer argument validation. (Oli Peate, #2808)

7.0.2 / 2024-11-09

Full Changelog

Bug Fixes:

  • Fix issue with have_enqueued_mail when jobs were incorrectly matched due to refactoring in #2780. (David Runger, #2793)

7.0.1 / 2024-09-03

Full Changelog

Bug Fixes:

  • Remove mutation of Rails constant in favour of public api. (Petrik de Heus, #2789)
  • Cleanup Rails scaffold for unsupported versions. (Matt Jankowski, #2790)
  • Remove deprecated scaffold that was unintentionally included in 7.0.0 (Jon Rowe, #2791)

7.0.0 / 2024-09-02

Full Changelog

Enhancements:

  • Change default driver for system specs on Rails 7.2 to match its default. (Steve Polito, #2746)
  • Verify ActiveJob arguments by comparing to the method signature. (Oli Peate, #2745)
  • Add suggestion to rails_helper.rb to skip when not in test mode. (Glauco Custódio, #2751)
  • Add at_priority qualifier to have_enqueued_job set of matchers. (mbajur, #2759)
  • Add spec directories to rails stats on Rails main / 8.0.0. (Petrik de Heus, #2781)
Commits

Updates rails from 6.1.7.10 to 8.0.1

Release notes

Sourced from rails's releases.

8.0.1

Active Support

  • Fix a bug in ERB::Util.tokenize that causes incorrect tokenization when ERB tags are preceeded by multibyte characters.

    Martin Emde

  • Restore the ability to decorate methods generated by class_attribute.

    It always has been complicated to use Module#prepend or an alias method chain to decorate methods defined by class_attribute, but became even harder in 8.0.

    This capability is now supported for both reader and writer methods.

    Jean Boussier

Active Model

  • No changes.

Active Record

  • Fix removing foreign keys with :restrict action for MySQ

    fatkodima

  • Fix a race condition in ActiveRecord::Base#method_missing when lazily defining attributes.

    If multiple thread were concurrently triggering attribute definition on the same model, it could result in a NoMethodError being raised.

    Jean Boussier

  • Fix MySQL default functions getting dropped when changing a column's nullability.

    Bastian Bartmann

  • Fix add_unique_constraint/add_check_constraint/add_foreign_key to be revertible when given invalid options.

    fatkodima

  • Fix asynchronous destroying of polymorphic belongs_to associations.

    fatkodima

  • Fix insert_all to not update existing records.

    fatkodima

... (truncated)

Commits
  • cf6ff17 Preparing for 8.0.1 release
  • 0bba3c2 Merge pull request #53936 from jsharpify/jsharpify/prism-parsing
  • 8521b99 [RF-DOCS] Update Rails Testing Guide [ci skip] (#53872)
  • dbe61a7 Merge pull request #53907 from p8/guides/fix-canonical
  • f8d559d [RF-DOCS] Asset Pipeline Documentation (Propshaft) [ci-skip] (#53875)
  • 2ae1d69 [RF-DOCS] Solid Cache updates in Caching with Rails: An Overview [ci-skip] (...
  • 85bde83 Merge pull request #53926 from Ridhwana/Ridhwana/solid-queue
  • c167cbe Merge pull request #53941 from byroot/rack-server-protocol
  • 656e209 Merge pull request #53940 from mjankowski/rdoc-link-to-add-check-constraint
  • b9608a6 Merge pull request #53937 from fatkodima/mysql-fix-remove-foreign-key-restrict
  • Additional commits viewable in compare view

Updates rubocop from 1.64.1 to 1.70.0

Release notes

Sourced from rubocop's releases.

RuboCop 1.70

New features

  • #13474: Add new Style/ItAssignment cop to detect local assignments to it inside blocks. ([@​dvandersluis][])
  • #11013: Add new Lint/SharedMutableDefault cop to alert on mutable Hash defaults. ([@​corsonknowles][])
  • #13612: Create new cop Lint/ConstantReassignment. ([@​lovro-bikic][])
  • #13628: Make LSP server support quick fix code action. ([@​koic][])
  • #13607: Support passing the target ruby version through an environment variable. ([@​elliottt][])
  • #13628: Add support for Ruby LSP as a built-in add-on. ([@​koic][])
  • #13284: Add new target_gem_version API to change behavior of a cop at runtime depending on which gem version is present. ([@​earlopain][])

Bug fixes

  • #13589: Fix Lint/NonAtomicFileOperation to detect offenses with fully qualified constants. ([@​viralpraxis][])
  • #13630: Fix CLI --format option to accept fully qualified formatter class names. ([@​viralpraxis][])
  • #13624: Don't show warnings from Lint/Syntax when a syntax error occurs. ([@​earlopain][])
  • #13605: Fix RuboCop::Cop::Util.to_string_literal to work correctly with frozen strings. ([@​viralpraxis][])
  • #12393: Fix false negatives for Lint/Void inside of non-modifier conditionals. ([@​GabeIsman][])
  • #13623: Fix false negatives for Style/MultipleComparison when setting AllowMethodComparison: false and comparing with simple method calls. ([@​koic][])
  • #13644: Fix a false positive for Layout/EmptyLinesAroundAccessModifier when an access modifier and an expression are on the same line. ([@​koic][])
  • #13645: Fix a false positive for Style/MethodCallWithArgsParentheses when setting EnforcedStyle: omit_parentheses and last argument is an endless range. ([@​earlopain][])
  • #13614: Fix false positives for Style/RaiseArgs with anonymous splat and triple dot forwarding. ([@​earlopain][])
  • #13591: Fix false positives for Lint/NestedMethodDefinition when defining a method on a constant or a method call. ([@​koic][])
  • #13594: Fix false positives for Style/MultipleComparison when using multiple safe navigation method calls. ([@​koic][])
  • #13654: Fix false positives for Style/RedundantInitialize when empty initialize method has arguments. ([@​marocchino][])
  • #13608: Fix crash when running rubocop -d on a config with a remote inherit_from that causes a duplicate setting warning. ([@​dvandersluis][])
  • #12430: Fix false negatives in Style/RedundantLineContinuation with multiple line continuations. ([@​dvandersluis][])
  • #13638: Fix false positive for Naming/BlockForwarding when method just returns the block argument. ([@​mvz][])
  • #13599: Fix incorrect autocorrect for Layout/HashAlignment when there is a multiline positional argument and Layout/ArgumentAlignment is configured with EnforcedStyle: with_fixed_indentation. ([@​dvandersluis][])
  • #13586: Fix regression in Layout/SpaceAroundOperators when different comparison operators were aligned with each other. ([@​dvandersluis][])
  • #13603: Fix Lint/LiteralInInterpolation cop error on invalid string literal. ([@​viralpraxis][])
  • #13582: Fix Lint/NonAtomicFileOperation cop error on non-constant receiver. ([@​viralpraxis][])
  • #13598: Fix Lint/Void cop error on if without body. ([@​viralpraxis][])
  • #13634: Fix Style/ClassAndModuleChildren cop error on compact enforced style and unindented body. ([@​viralpraxis][])
  • #13642: Fix Style/FloatDivision cop error if #to_f has implicit receiver. ([@​viralpraxis][])
  • #13517: Fixes Style/HashExcept to recognize safe navigation when ActiveSupportExtensionsEnabled config is enabled. ([@​lovro-bikic][])
  • #13585: Fix Style/HashSyntax cop error on implicit call method. ([@​viralpraxis][])
  • #13632: Fix Style/MissingElse cop error if Style/EmptyElse's EnforcedStyle is not both and if expression contains elsif. ([@​viralpraxis][])
  • #13659: Fix Style/MissingElse cop error if Style/EmptyElse's EnforcedStyle is not both and if expression contains multiple elsif. ([@​viralpraxis][])
  • #13596: Fix Style/RedundantCondition cop error on parentheses and modifier if in else. ([@​viralpraxis][])
  • #13616: Fix incorrect autocorrect for Style/RedundantRegexpArgument when the regex contains a single quote. ([@​mrzasa][])
  • #13619: Fix Style/YodaExpression cop error in case of suffix form of operator. ([@​viralpraxis][])
  • #13578: Update Layout/LineContinuationSpacing to ignore continuations inside a regexp or xstr. ([@​dvandersluis][])
  • #13601: Update Style/SuperArguments to handle super with a block or with a chained method with a block. ([@​dvandersluis][])
  • #13568: Fix NoMethodError in ConfigValidator when a Cop's config is not a Hash and raise ValidationError instead. ([@​amomchilov][])

Changes

... (truncated)

Changelog

Sourced from rubocop's changelog.

1.70.0 (2025-01-10)

New features

  • #13474: Add new Style/ItAssignment cop to detect local assignments to it inside blocks. ([@​dvandersluis][])
  • #11013: Add new Lint/SharedMutableDefault cop to alert on mutable Hash defaults. ([@​corsonknowles][])
  • #13612: Create new cop Lint/ConstantReassignment. ([@​lovro-bikic][])
  • #13628: Make LSP server support quick fix code action. ([@​koic][])
  • #13607: Support passing the target ruby version through an environment variable. ([@​elliottt][])
  • #13628: Add support for Ruby LSP as a built-in add-on. ([@​koic][])
  • #13284: Add new target_gem_version API to change behavior of a cop at runtime depending on which gem version is present. ([@​earlopain][])

Bug fixes

  • #13589: Fix Lint/NonAtomicFileOperation to detect offenses with fully qualified constants. ([@​viralpraxis][])
  • #13630: Fix CLI --format option to accept fully qualified formatter class names. ([@​viralpraxis][])
  • #13624: Don't show warnings from Lint/Syntax when a syntax error occurs. ([@​earlopain][])
  • #13605: Fix RuboCop::Cop::Util.to_string_literal to work correctly with frozen strings. ([@​viralpraxis][])
  • #12393: Fix false negatives for Lint/Void inside of non-modifier conditionals. ([@​GabeIsman][])
  • #13623: Fix false negatives for Style/MultipleComparison when setting AllowMethodComparison: false and comparing with simple method calls. ([@​koic][])
  • #13644: Fix a false positive for Layout/EmptyLinesAroundAccessModifier when an access modifier and an expression are on the same line. ([@​koic][])
  • #13645: Fix a false positive for Style/MethodCallWithArgsParentheses when setting EnforcedStyle: omit_parentheses and last argument is an endless range. ([@​earlopain][])
  • #13614: Fix false positives for Style/RaiseArgs with anonymous splat and triple dot forwarding. ([@​earlopain][])
  • #13591: Fix false positives for Lint/NestedMethodDefinition when defining a method on a constant or a method call. ([@​koic][])
  • #13594: Fix false positives for Style/MultipleComparison when using multiple safe navigation method calls. ([@​koic][])
  • #13654: Fix false positives for Style/RedundantInitialize when empty initialize method has arguments. ([@​marocchino][])
  • #13608: Fix crash when running rubocop -d on a config with a remote inherit_from that causes a duplicate setting warning. ([@​dvandersluis][])
  • #12430: Fix false negatives in Style/RedundantLineContinuation with multiple line continuations. ([@​dvandersluis][])
  • #13638: Fix false positive for Naming/BlockForwarding when method just returns the block argument. ([@​mvz][])
  • #13599: Fix incorrect autocorrect for Layout/HashAlignment when there is a multiline positional argument and Layout/ArgumentAlignment is configured with EnforcedStyle: with_fixed_indentation. ([@​dvandersluis][])
  • #13586: Fix regression in Layout/SpaceAroundOperators when different comparison operators were aligned with each other. ([@​dvandersluis][])
  • #13603: Fix Lint/LiteralInInterpolation cop error on invalid string literal. ([@​viralpraxis][])
  • #13582: Fix Lint/NonAtomicFileOperation cop error on non-constant receiver. ([@​viralpraxis][])
  • #13598: Fix Lint/Void cop error on if without body. ([@​viralpraxis][])
  • #13634: Fix Style/ClassAndModuleChildren cop error on compact enforced style and unindented body. ([@​viralpraxis][])
  • #13642: Fix Style/FloatDivision cop error if #to_f has implicit receiver. ([@​viralpraxis][])
  • #13517: Fixes Style/HashExcept to recognize safe navigation when ActiveSupportExtensionsEnabled config is enabled. ([@​lovro-bikic][])
  • #13585: Fix Style/HashSyntax cop error on implicit call method. ([@​viralpraxis][])
  • #13632: Fix Style/MissingElse cop error if Style/EmptyElse's EnforcedStyle is not both and if expression contains elsif. ([@​viralpraxis][])
  • #13659: Fix Style/MissingElse cop error if Style/EmptyElse's EnforcedStyle is not both and if expression contains multiple elsif. ([@​viralpraxis][])
  • #13596: Fix Style/RedundantCondition cop error on parentheses and modifier if in else. ([@​viralpraxis][])
  • #13616: Fix incorrect autocorrect for Style/RedundantRegexpArgument when the regex contains a single quote. ([@​mrzasa][])
  • #13619: Fix Style/YodaExpression cop error in case of suffix form of operator. ([@​viralpraxis][])
  • #13578: Update Layout/LineContinuationSpacing to ignore continuations inside a regexp or xstr. ([@​dvandersluis][])
  • #13601: Update Style/SuperArguments to handle super with a block or with a chained method with a block. ([@​dvandersluis][])
  • #13568: Fix NoMethodError in ConfigValidator when a Cop's config is not a Hash and raise ValidationError instead. ([@​amomchilov][])

Changes

... (truncated)

Commits
  • e2f2d5c Cut 1.70
  • 3994f94 Update Changelog
  • 3123800 Dont show parser warnings in Lint/Syntax
  • 9eaedd0 Add Lint/ConstantReassignment cop
  • 4981738 Fix to recognize safe navigation when config is enabled
  • 6f066b8 Fix build errors related to the RubyLSP add-on specs
  • 45cd66a [Fix #13601] Update Style/SuperArguments to handle super with a block or ...
  • 2bfe0f7 Update Style/SuperArguments to handle super with a block or with a chaine...
  • 5d2be60 Update Style/SuperArguments to handle super with a block
  • e3bcc67 Add range formatting method to the formatter add-on
  • Additional commits viewable in compare view

Updates rspec-core from 3.13.1 to 3.13.2

Changelog

Sourced from rspec-core's changelog.

3.13.2 / 2024-10-18

Full Changelog

Bug fixes:

  • RSpec::Configuration#requires will reflect files already required, whilst requiring them. (Jon Rowe, #3117)
Commits
  • 3bdf310 v3.13.2
  • 55f9ead Merge pull request #3117 from rspec/push_requires_into_config_as_required
  • d092c00 Merge pull request #3118 from rspec/fix-ruby-head-hash-syntax
  • fefe8b6 Merge pull request #3114 from rspec/fix-ruby-head-build
  • b193025 Merge pull request #3112 from the-spectator/proc_type
  • 551a386 Remove coverage version check
  • 203fe0a Restore parity with rspec-dev #3098
  • 19df539 Merge pull request #3095 from makicamel/remove-redundunt-require
  • 2d160fa Merge pull request #3086 from nevinera/nev--full-test-coverage
  • 3ce68cd Merge pull request #3084 from nevinera/nev--fix-simplecov-filters
  • Additional commits viewable in compare view

Updates rspec-support from 3.13.1 to 3.13.2

Changelog

Sourced from rspec-support's changelog.

3.13.2 / 2024-12-02

Full Changelog

Bug Fixes:

  • Prevent recursive calls to stubbed methods during stub invocation. (James Dabbs, rspec/rspec#116)
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 rspec group with 3 updates in the / directory: [rspec-rails](https://github.com/rspec/rspec-rails), [rails](https://github.com/rails/rails) and [rubocop](https://github.com/rubocop/rubocop).


Updates `rspec-rails` from 6.1.5 to 7.1.0
- [Changelog](https://github.com/rspec/rspec-rails/blob/main/Changelog.md)
- [Commits](rspec/rspec-rails@v6.1.5...v7.1.0)

Updates `rails` from 6.1.7.10 to 8.0.1
- [Release notes](https://github.com/rails/rails/releases)
- [Commits](rails/rails@v6.1.7.10...v8.0.1)

Updates `rubocop` from 1.64.1 to 1.70.0
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop@v1.64.1...v1.70.0)

Updates `rspec-core` from 3.13.1 to 3.13.2
- [Release notes](https://github.com/rspec/rspec-core/releases)
- [Changelog](https://github.com/rspec/rspec-core/blob/main/Changelog.md)
- [Commits](rspec/rspec-core@v3.13.1...v3.13.2)

Updates `rspec-support` from 3.13.1 to 3.13.2
- [Changelog](https://github.com/rspec/rspec/blob/rspec-support-v3.13.2/rspec-support/Changelog.md)
- [Commits](rspec/rspec@rspec-support-v3.13.1...rspec-support-v3.13.2)

---
updated-dependencies:
- dependency-name: rspec-rails
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: rspec
- dependency-name: rails
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: rspec
- dependency-name: rubocop
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: rspec
- dependency-name: rspec-core
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: rspec
- dependency-name: rspec-support
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: rspec
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies ruby Pull requests that update Ruby code labels Jan 10, 2025
@dependabot dependabot bot requested a review from toshimaru January 10, 2025 18:30
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 23, 2025

Superseded by #2491.

@dependabot dependabot bot closed this Jan 23, 2025
@dependabot dependabot bot deleted the dependabot/bundler/rspec-02f747625e branch January 23, 2025 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies ruby Pull requests that update Ruby code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants