renovate/lib/manager/bundler/index.ts
Rhys Arkins ab778ebf1d
feat: supportedDatasources (#13621)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
2022-01-19 08:06:21 +00:00

30 lines
1 KiB
TypeScript

import { ProgrammingLanguage } from '../../constants';
import { RubyGemsDatasource } from '../../datasource/rubygems';
import * as rubyVersioning from '../../versioning/ruby';
import { updateArtifacts } from './artifacts';
import { extractPackageFile } from './extract';
import { getRangeStrategy } from './range';
import { updateLockedDependency } from './update-locked';
const language = ProgrammingLanguage.Ruby;
export const supportsLockFileMaintenance = true;
/*
* Each of the below functions contain some explanations within their own files.
* The best way to understand them in more detail is to look at the existing managers and find one that matches most closely what you need to do.
*/
export {
extractPackageFile, // Mandatory unless extractAllPackageFiles is used instead
updateArtifacts, // Optional
getRangeStrategy, // Optional
language, // Optional
updateLockedDependency,
};
export const defaultConfig = {
fileMatch: ['(^|/)Gemfile$'],
versioning: rubyVersioning.id,
};
export const supportedDatasources = [RubyGemsDatasource.id];