import { PackageParser } from './base' ; export class GemfileParser extends PackageParser { static filename = 'Gemfile' ; protected static parserRaw ( raw ) { if ( raw . match ( /gem ["']rails-i18n['"]/ ) ) return [ 'rails-i18n' ] ; return [ ] ; } }