<commit_before>var Fingerprint = require('./fingerprint');
var UseRev = require('broccoli-asset-rewrite');

function AssetRev(inputTree, options) {
  if (!(this instanceof AssetRev)) {
    return new AssetRev(inputTree, options);
  }

  options = options || {};

  this.assetMap = {};
  this.inputTree = inputTree;
  this.customHash = options.customHash;
  this.extensions = options.extensions || ['js', 'css', 'png', 'jpg', 'gif', 'map'];
  this.replaceExtensions = options.replaceExtensions || ['html', 'css', 'js'];
  this.exclude = options.exclude || [];
  this.generateAssetMap = options.generateAssetMap;
  this.generateRailsManifest = options.generateRailsManifest;
  this.prepend = options.prepend || '';
  this.description = options.description;

  var fingerprintTree = Fingerprint(inputTree, this);

  return UseRev(fingerprintTree, this);
}

module.exports = AssetRev;<commit_msg>Passes through `ignore` option to asset-rewrite.<commit_after>var Fingerprint = require('./fingerprint');
var UseRev = require('broccoli-asset-rewrite');

function AssetRev(inputTree, options) {
  if (!(this instanceof AssetRev)) {
    return new AssetRev(inputTree, options);
  }

  options = options || {};

  this.assetMap = {};
  this.inputTree = inputTree;
  this.customHash = options.customHash;
  this.extensions = options.extensions || ['js', 'css', 'png', 'jpg', 'gif', 'map'];
  this.replaceExtensions = options.replaceExtensions || ['html', 'css', 'js'];
  this.exclude = options.exclude || [];
  this.generateAssetMap = options.generateAssetMap;
  this.generateRailsManifest = options.generateRailsManifest;
  this.prepend = options.prepend || '';
  this.ignore = options.ignore;
  this.description = options.description;

  var fingerprintTree = Fingerprint(inputTree, this);

  return UseRev(fingerprintTree, this);
}

module.exports = AssetRev;
{'fraction_non_alphanumeric': 0.14910858995137763, 'fraction_numerical': 0.0, 'mean_word_length': 5.03257328990228, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5475840', 'n_tokens_mistral': 566, 'n_tokens_neox': 540, 'n_words': 118}