diff --git a/common/spec/dependabot/pull_request_creator/message_builder_spec.rb b/common/spec/dependabot/pull_request_creator/message_builder_spec.rb index d9f6acb748..41018851d5 100644 --- a/common/spec/dependabot/pull_request_creator/message_builder_spec.rb +++ b/common/spec/dependabot/pull_request_creator/message_builder_spec.rb @@ -3324,6 +3324,7 @@ def commits_details(base:, head:) mode: "WARN", type: "bundler_deprecated_warn", package_manager_name: "bundler", + title: "Package manager deprecation notice", message: "Dependabot will stop supporting `bundler v1`!\n" \ "Please upgrade to one of the following versions: `v2`, or `v3`.\n", markdown: "> [!WARNING]\n> Dependabot will stop supporting `bundler v1`!\n>\n" \ @@ -3342,6 +3343,7 @@ def commits_details(base:, head:) mode: "WARN", type: "bundler_deprecated_warn", package_manager_name: "bundler", + title: "Package manager deprecation notice", message: "Dependabot will stop supporting `bundler v1`!\n" \ "Please upgrade to one of the following versions: `v2`, or `v3`.\n", markdown: "> [!WARNING]\n> Dependabot will stop supporting `bundler v1`!\n>\n" \ @@ -3350,6 +3352,7 @@ def commits_details(base:, head:) mode: "ERROR", type: "bundler_unsupported_error", package_manager_name: "bundler", + title: "Package manager deprecation notice", message: "Dependabot no longer supports `bundler v1`!\n" \ "Please upgrade to one of the following versions: `v2`, or `v3`.\n", markdown: "> [!IMPORTANT]\n> Dependabot no longer supports `bundler v1`!\n>\n" \ @@ -3370,6 +3373,7 @@ def commits_details(base:, head:) mode: "WARN", type: "bundler_deprecated_warn", package_manager_name: "bundler", + title: "Package manager deprecation notice", message: "Dependabot will stop supporting `bundler v1`!\n" \ "Please upgrade to one of the following versions: `v2`, or `v3`.\n", markdown: "> [!WARNING]\n> Dependabot will stop supporting `bundler v1`!\n>\n" \ @@ -3378,6 +3382,7 @@ def commits_details(base:, head:) mode: "WARN", type: "bundler_deprecated_warn", package_manager_name: "bundler", + title: "Package manager deprecation notice", message: "Dependabot will stop supporting `bundler v1`!\n" \ "Please upgrade to one of the following versions: `v2`, or `v3`.\n", markdown: "> [!WARNING]\n> Dependabot will stop supporting `bundler v1`!\n>\n" \ diff --git a/updater/spec/dependabot/updater/operations/create_group_update_pull_request_spec.rb b/updater/spec/dependabot/updater/operations/create_group_update_pull_request_spec.rb index e3f7fb287c..bec28fd420 100644 --- a/updater/spec/dependabot/updater/operations/create_group_update_pull_request_spec.rb +++ b/updater/spec/dependabot/updater/operations/create_group_update_pull_request_spec.rb @@ -122,6 +122,7 @@ mode: "WARN", type: "bundler_deprecated_warn", package_manager_name: "bundler", + title: "Package manager deprecation notice", message: "Dependabot will stop supporting `bundler v1`!\n" \ "Please upgrade to one of the following versions: `v2`, or `v3`.\n", markdown: "> [!WARNING]\n> Dependabot will stop supporting `bundler v1`!\n>\n" \ @@ -162,6 +163,7 @@ mode: "WARN", type: "bundler_deprecated_warn", package_manager_name: "bundler", + title: "Package manager deprecation notice", message: "Dependabot will stop supporting `bundler v1`!\n" \ "Please upgrade to one of the following versions: `v2`, or `v3`.\n", markdown: "> [!WARNING]\n> Dependabot will stop supporting `bundler v1`!\n>\n" \ diff --git a/updater/spec/dependabot/updater/operations/create_security_update_pull_request_spec.rb b/updater/spec/dependabot/updater/operations/create_security_update_pull_request_spec.rb index 4d9a08cb5a..248fd57c12 100644 --- a/updater/spec/dependabot/updater/operations/create_security_update_pull_request_spec.rb +++ b/updater/spec/dependabot/updater/operations/create_security_update_pull_request_spec.rb @@ -369,6 +369,7 @@ def support_later_versions? mode: "WARN", type: "bundler_deprecated_warn", package_manager_name: "bundler", + title: "Package manager deprecation notice", message: "Dependabot will stop supporting `bundler v1`!\n" \ "Please upgrade to one of the following versions: `v2`, or `v3`.\n", markdown: "> [!WARNING]\n> Dependabot will stop supporting `bundler v1`!\n>\n" \ diff --git a/updater/spec/dependabot/updater/operations/refresh_security_update_pull_request_spec.rb b/updater/spec/dependabot/updater/operations/refresh_security_update_pull_request_spec.rb index f2609a16e1..6ed62e5a29 100644 --- a/updater/spec/dependabot/updater/operations/refresh_security_update_pull_request_spec.rb +++ b/updater/spec/dependabot/updater/operations/refresh_security_update_pull_request_spec.rb @@ -206,13 +206,11 @@ mode: "WARN", type: "bundler_deprecated_warn", package_manager_name: "bundler", - details: { - message: "Dependabot will stop supporting `bundler v1`!\n" \ - "Please upgrade to one of the following versions: `v2`, or `v3`.\n", - current_version: "v1", - markdown: "> [!WARNING]\n> Dependabot will stop supporting `bundler v1`!\n>\n" \ - "> Please upgrade to one of the following versions: `v2`, or `v3`.\n>\n" - } + title: "Package manager deprecation notice", + message: "Dependabot will stop supporting `bundler v1`!\n" \ + "Please upgrade to one of the following versions: `v2`, or `v3`.\n", + markdown: "> [!WARNING]\n> Dependabot will stop supporting `bundler v1`!\n>\n" \ + "> Please upgrade to one of the following versions: `v2`, or `v3`.\n>\n" }]) expect(refresh_security_update_pull_request).to receive(:create_pull_request) refresh_security_update_pull_request.send(:check_and_update_pull_request, [dependency])