From fc60f9e8ec3fe4ff51150af67676295f88ca98ef Mon Sep 17 00:00:00 2001 From: Matt Wynne Date: Fri, 20 May 2022 07:39:38 -0700 Subject: [PATCH] Add rule to renovate config to examine gemspec too Fixes #1637 --- renovate.json | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/renovate.json b/renovate.json index 67b45874ac..0c6e5e15ed 100644 --- a/renovate.json +++ b/renovate.json @@ -2,5 +2,16 @@ "extends": [ "config:base", ":disableDependencyDashboard" + ], + "regexManagers": [ + { + "fileMatch": ["^*.gemspec"], + "matchStrings": [ + "^.*add.*dependency.*['\"](?.*?)['\"],.*['\"](?.*?)['\"].*" + ], + "depNameTemplate": "gemspec", + "datasourceTemplate": "rubygems", + "versioningTemplate": "ruby" + } ] }