mirror of https://github.com/renovatebot/renovate
33 lines
1.1 KiB
TypeScript
33 lines
1.1 KiB
TypeScript
import type { Category } from '../../../constants';
|
|
import { RubyVersionDatasource } from '../../datasource/ruby-version';
|
|
import { RubygemsDatasource } from '../../datasource/rubygems';
|
|
import * as rubyVersioning from '../../versioning/ruby';
|
|
import { updateArtifacts } from './artifacts';
|
|
import { extractPackageFile } from './extract';
|
|
import { updateLockedDependency } from './update-locked';
|
|
|
|
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
|
|
updateLockedDependency,
|
|
};
|
|
|
|
export const defaultConfig = {
|
|
fileMatch: ['(^|/)Gemfile$'],
|
|
versioning: rubyVersioning.id,
|
|
};
|
|
|
|
export const categories: Category[] = ['ruby'];
|
|
|
|
export const supportedDatasources = [
|
|
RubygemsDatasource.id,
|
|
RubyVersionDatasource.id,
|
|
];
|