<commit_before>'use strict';

var path = require('path');
var fs   = require('fs');

function EmberCLISpinjs(project) {
  this.project = project;
  this.name    = 'Ember CLI Spinjs';
}

function unwatchedTree(dir) {
  return {
    read:    function() { return dir; },
    cleanup: function() { }
  };
}

EmberCLISpinjs.prototype.treeFor = function treeFor(name) {
    var treePath =  path.join('node_modules', 'ember-cli-spinjs', name + '-addon');
    return (fs.existsSync(treePath)) ? unwatchedTree(treePath) : null;
};

EmberCLISpinjs.prototype.included = function included(app) {
  app.import('vendor/ember-cli-spinjs/spinjs/spin.js');
};

module.exports = EmberCLISpinjs;<commit_msg>moved the lookup of spinjs to vendor-addon<commit_after>'use strict';

var path = require('path');
var fs   = require('fs');

function EmberCLISpinjs(project) {
  this.project = project;
  this.name    = 'Ember CLI Spinjs';
}

function unwatchedTree(dir) {
  return {
    read:    function() { return dir; },
    cleanup: function() { }
  };
}

EmberCLISpinjs.prototype.treeFor = function treeFor(name) {
    var treePath =  path.join('node_modules', 'ember-cli-spinjs', name + '-addon');
    return (fs.existsSync(treePath)) ? unwatchedTree(treePath) : null;
};

EmberCLISpinjs.prototype.included = function included(app) {
  app.import('vendor-addon/ember-cli-spinjs/spinjs/spin.js');
};

module.exports = EmberCLISpinjs;
{'fraction_non_alphanumeric': 0.15308291991495393, 'fraction_numerical': 0.0, 'mean_word_length': 4.3283018867924525, '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': '4590291', 'n_tokens_mistral': 493, 'n_tokens_neox': 485, 'n_words': 93}