import { RubyVersionDatasource } from '../../datasource/ruby-version' ; import { logger } from '../../logger' ; import type { PackageDependency , PackageFile } from '../types' ; export function extractPackageFile ( content ) { logger . trace ( 'ruby-version.extractPackageFile()' ) ; const dep = { depName : 'ruby' , currentValue : content . trim ( ) , datasource : RubyVersionDatasource . id , } ; return { deps : [ dep ] } ; }