renovate/lib/manager/bundler/index.ts
2020-02-07 18:25:27 +00:00

26 lines
901 B
TypeScript

import { extractPackageFile } from './extract';
import { updateDependency } from './update';
import { updateArtifacts } from './artifacts';
import { getRangeStrategy } from './range';
import { LANGUAGE_RUBY } from '../../constants/languages';
import { VERSION_SCHEME_RUBY } from '../../constants/version-schemes';
const language = LANGUAGE_RUBY;
/*
* 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
updateDependency, // Mandatory
};
export const defaultConfig = {
fileMatch: ['(^|/)Gemfile$'],
versionScheme: VERSION_SCHEME_RUBY,
};