<commit_before>/* jshint node: true */

module.exports = function(environment) {
  var ENV = {
    modulePrefix: 'nextdeploy',
    environment: environment,
    baseURL: '/',
    locationType: 'hash',
    contentSecurityPolicy: {
      'connect-src': "*"
    },
    EmberENV: {
      FEATURES: {}
    },

    APP: {}
  };

  if (environment === 'development') {
    /*
    ENV.APP.LOG_RESOLVER = true;
    ENV.APP.LOG_ACTIVE_GENERATION = true;
    ENV.APP.LOG_VIEW_LOOKUPS = true;
    */
    ENV.APP.LOG_TRANSITIONS = true;
    ENV.APP.LOG_TRANSITIONS_INTERNAL = true;
    
    ENV.APP.APIHost = "https://api.nextdeploy.local";
    ENV.APP.NBITEMSBYPAGE = 3;
  }

  if (environment === 'staging') {
    ENV.APP.APIHost = "";
    ENV.APP.NBITEMSBYPAGE = 3;
  }

  if (environment === 'test') {
    // Testem prefers this...
    ENV.baseURL = '/';
    ENV.locationType = 'none';

    // keep test console output quieter
    ENV.APP.LOG_ACTIVE_GENERATION = false;
    ENV.APP.LOG_VIEW_LOOKUPS = false;

    ENV.APP.rootElement = '#ember-testing';
  }

  if (environment === 'production') {
    ENV.APP.APIHost = "";
    ENV.APP.NBITEMSBYPAGE = 8;
  }

  // x-toggle parameters
  ENV['ember-cli-toggle'] = {
    includedThemes: ['light', 'default', 'ios'],
    defaultTheme: 'ios',
    defaultSize: 'small'
  };

  return ENV;
};<commit_msg>Change an env variable for staging<commit_after>/* jshint node: true */

module.exports = function(environment) {
  var ENV = {
    modulePrefix: 'nextdeploy',
    environment: environment,
    baseURL: '/',
    locationType: 'hash',
    contentSecurityPolicy: {
      'connect-src': "*"
    },
    EmberENV: {
      FEATURES: {}
    },

    APP: {}
  };

  if (environment === 'development') {
    /*
    ENV.APP.LOG_RESOLVER = true;
    ENV.APP.LOG_ACTIVE_GENERATION = true;
    ENV.APP.LOG_VIEW_LOOKUPS = true;
    */
    ENV.APP.LOG_TRANSITIONS = true;
    ENV.APP.LOG_TRANSITIONS_INTERNAL = true;

    ENV.APP.APIHost = "https://api.nextdeploy.local";
    ENV.APP.NBITEMSBYPAGE = 3;
  }

  if (environment === 'staging') {
    ENV.APP.APIHost = "";
    ENV.APP.NBITEMSBYPAGE = 6;
  }

  if (environment === 'test') {
    // Testem prefers this...
    ENV.baseURL = '/';
    ENV.locationType = 'none';

    // keep test console output quieter
    ENV.APP.LOG_ACTIVE_GENERATION = false;
    ENV.APP.LOG_VIEW_LOOKUPS = false;

    ENV.APP.rootElement = '#ember-testing';
  }

  if (environment === 'production') {
    ENV.APP.APIHost = "";
    ENV.APP.NBITEMSBYPAGE = 8;
  }

  // x-toggle parameters
  ENV['ember-cli-toggle'] = {
    includedThemes: ['light', 'default', 'ios'],
    defaultTheme: 'ios',
    defaultSize: 'small'
  };

  return ENV;
};
{'fraction_non_alphanumeric': 0.16127833519137866, 'fraction_numerical': 0.002229654403567447, 'mean_word_length': 2.5989304812834226, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '4080562', 'n_tokens_mistral': 1020, 'n_tokens_neox': 957, 'n_words': 169}