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


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