<commit_before>import runtime    from './runtime';
import middleware from './middleware';

var initializer = ( () => {
  let Addon = {
    isActivated:  false,
    configs:      {},
    settings:     null
  };

  // start catching all of actions and transitions
  middleware.use(Addon);

  return runtime(Addon);
})();

export default initializer;<commit_msg>Showing VERSION in Ember Inspector, resolves #129<commit_after>/* global Ember */
import runtime    from './runtime';
import middleware from './middleware';

let version = '0.4.0';
Ember.libraries.register('Ember Insights', version);

export default ( () => {
  let Addon = {
    isActivated:  false,
    configs:      {},
    settings:     null
  };

  middleware.use(Addon);

  let instance     = runtime(Addon);
  instance.VERSION = version;

  return instance;
})();
{'fraction_non_alphanumeric': 0.13630880579010857, 'fraction_numerical': 0.007237635705669481, 'mean_word_length': 3.213197969543147, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '4574694', 'n_tokens_mistral': 260, 'n_tokens_neox': 251, 'n_words': 69}