mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-15 09:06:25 +00:00
ab778ebf1d
Co-authored-by: Michael Kriese <michael.kriese@visualon.de> Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
30 lines
1 KiB
TypeScript
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];
|