{
  extends: ['config:base'],
  regexManagers: [
    {
      fileMatch: ['^*.gemspec'],
      matchStrings: [
        '^.*add.*dependency\\s[\'"](?<depName>[^\'"]*)[\'"],\\s*[\'"](?<currentValue>[^\'"]*)[\'"]',
      ],
      datasourceTemplate: 'rubygems',
    },
  ],
}

{
  extends: ['config:base'],
  regexManagers: [
    {
      fileMatch: ['^*.gemspec'],
      matchStrings: [
        ".*add.*dependency '(?<depName>.*?)', '(?<currentValue>.*?)'",
      ],
      datasourceTemplate: 'rubygems',
    },
  ],
}

Revert "Fix regexManagers for gemspec"
