Skip to content

Commit

Permalink
Merge pull request #2880 from jakesjews/master
Browse files Browse the repository at this point in the history
Rename the local files to use dashes instead of underscores. Relates to issue #2877
  • Loading branch information
fivetanley committed Mar 14, 2015
2 parents 4689e94 + 13d6441 commit 87dec3e
Show file tree
Hide file tree
Showing 114 changed files with 60 additions and 60 deletions.
2 changes: 1 addition & 1 deletion Brocfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ var bower = pickFiles('bower_components', {
destDir: '/bower_components'
});

var configurationFiles = pickFiles('config/package_manager_files', {
var configurationFiles = pickFiles('config/package-manager-files', {
srcDir: '/',
destDir: '/',
files: [ '**/*.json' ]
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"prepublish": "bower install && npm run-script build:production",
"start": "ember serve",
"test": "jscs packages && testem -R dot ci",
"publish-build": "npm run build:production && ./bin/publish_to_s3.js",
"publish-build": "npm run build:production && ./bin/publish-to-s3.js",
"test:local": "testem -R dot ci",
"test:beta": "testem -f config/testem-beta.json -R dot ci",
"test:canary": "testem -f config/testem-canary.json -R dot ci",
Expand Down
6 changes: 3 additions & 3 deletions packages/activemodel-adapter/lib/setup-container.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import ContainerProxy from "ember-data/system/container_proxy";
import ActiveModelSerializer from "activemodel-adapter/system/active_model_serializer";
import ActiveModelAdapter from "activemodel-adapter/system/active_model_adapter";
import ContainerProxy from "ember-data/system/container-proxy";
import ActiveModelSerializer from "activemodel-adapter/system/active-model-serializer";
import ActiveModelAdapter from "activemodel-adapter/system/active-model-adapter";

export default function setupActiveModelAdapter(container, application) {
var proxy = new ContainerProxy(container);
Expand Down
4 changes: 2 additions & 2 deletions packages/activemodel-adapter/lib/system.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import ActiveModelAdapter from "activemodel-adapter/system/active_model_adapter";
import ActiveModelSerializer from "activemodel-adapter/system/active_model_serializer";
import ActiveModelAdapter from "activemodel-adapter/system/active-model-adapter";
import ActiveModelSerializer from "activemodel-adapter/system/active-model-serializer";

export {
ActiveModelAdapter,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { singularize } from "ember-inflector";
import RESTSerializer from "ember-data/serializers/rest_serializer";
import RESTSerializer from "ember-data/serializers/rest-serializer";
/**
@module ember-data
*/
Expand Down
4 changes: 2 additions & 2 deletions packages/ember-data/lib/adapters.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
@module ember-data
*/

import FixtureAdapter from "ember-data/adapters/fixture_adapter";
import RESTAdapter from "ember-data/adapters/rest_adapter";
import FixtureAdapter from "ember-data/adapters/fixture-adapter";
import RESTAdapter from "ember-data/adapters/rest-adapter";

export {
RESTAdapter,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
var get = Ember.get;
var forEach = Ember.ArrayPolyfills.forEach;

import BuildURLMixin from "ember-data/adapters/build_url_mixin";
import BuildURLMixin from "ember-data/adapters/build-url-mixin";

/**
The REST adapter allows your store to communicate with an HTTP server by
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import DebugAdapter from "ember-data/system/debug/debug_adapter";
import DebugAdapter from "ember-data/system/debug/debug-adapter";

/**
Configures a container with injections on Ember applications
Expand Down
2 changes: 1 addition & 1 deletion packages/ember-data/lib/initializers/store.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {JSONSerializer, RESTSerializer} from "ember-data/serializers";
import {RESTAdapter} from "ember-data/adapters";
import ContainerProxy from "ember-data/system/container_proxy";
import ContainerProxy from "ember-data/system/container-proxy";
import Store from "ember-data/system/store";

/**
Expand Down
18 changes: 9 additions & 9 deletions packages/ember-data/lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import {
PromiseArray,
PromiseObject,
PromiseManyArray
} from "ember-data/system/promise_proxies";
} from "ember-data/system/promise-proxies";
import {
Store
} from "ember-data/system/store";
Expand All @@ -43,18 +43,18 @@ import {
RecordArray,
FilteredRecordArray,
AdapterPopulatedRecordArray
} from "ember-data/system/record_arrays";
import ManyArray from "ember-data/system/many_array";
import RecordArrayManager from "ember-data/system/record_array_manager";
} from "ember-data/system/record-arrays";
import ManyArray from "ember-data/system/many-array";
import RecordArrayManager from "ember-data/system/record-array-manager";
import {
RESTAdapter,
FixtureAdapter
} from "ember-data/adapters";
import BuildURLMixin from "ember-data/adapters/build_url_mixin";
import JSONSerializer from "ember-data/serializers/json_serializer";
import RESTSerializer from "ember-data/serializers/rest_serializer";
import BuildURLMixin from "ember-data/adapters/build-url-mixin";
import JSONSerializer from "ember-data/serializers/json-serializer";
import RESTSerializer from "ember-data/serializers/rest-serializer";
import "ember-inflector";
import EmbeddedRecordsMixin from "ember-data/serializers/embedded_records_mixin";
import EmbeddedRecordsMixin from "ember-data/serializers/embedded-records-mixin";
import {
ActiveModelAdapter,
ActiveModelSerializer
Expand All @@ -72,7 +72,7 @@ import {hasMany, belongsTo} from "ember-data/system/relationships";
import "ember-data/ember-initializer";
import setupContainer from "ember-data/setup-container";

import ContainerProxy from "ember-data/system/container_proxy";
import ContainerProxy from "ember-data/system/container-proxy";
import Relationship from "ember-data/system/relationships/state/relationship";

DS.Store = Store;
Expand Down
4 changes: 2 additions & 2 deletions packages/ember-data/lib/serializers.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import JSONSerializer from "ember-data/serializers/json_serializer";
import RESTSerializer from "ember-data/serializers/rest_serializer";
import JSONSerializer from "ember-data/serializers/json-serializer";
import RESTSerializer from "ember-data/serializers/rest-serializer";

export {
JSONSerializer,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@module ember-data
*/

import JSONSerializer from "ember-data/serializers/json_serializer";
import JSONSerializer from "ember-data/serializers/json-serializer";

var forEach = Ember.ArrayPolyfills.forEach;
var map = Ember.ArrayPolyfills.map;
Expand Down
4 changes: 2 additions & 2 deletions packages/ember-data/lib/setup-container.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import initializeStore from 'ember-data/initializers/store';
import initializeTransforms from 'ember-data/initializers/transforms';
import initializeStoreInjections from 'ember-data/initializers/store_injections';
import initializeDataAdapter from 'ember-data/initializers/data_adapter';
import initializeStoreInjections from 'ember-data/initializers/store-injections';
import initializeDataAdapter from 'ember-data/initializers/data-adapter';
import setupActiveModelContainer from 'activemodel-adapter/setup-container';

export default function setupContainer(container, application) {
Expand Down
4 changes: 2 additions & 2 deletions packages/ember-data/lib/system/debug.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@module ember-data
*/

import "ember-data/system/debug/debug_info";
import DebugAdapter from "ember-data/system/debug/debug_adapter";
import "ember-data/system/debug/debug-info";
import DebugAdapter from "ember-data/system/debug/debug-adapter";

export default DebugAdapter;
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
@module ember-data
*/
import { PromiseArray } from "ember-data/system/promise_proxies";
import { PromiseArray } from "ember-data/system/promise-proxies";

var get = Ember.get;
var set = Ember.set;
Expand Down
4 changes: 2 additions & 2 deletions packages/ember-data/lib/system/model/model.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import RootState from "ember-data/system/model/states";
import Errors from "ember-data/system/model/errors";
import { PromiseObject } from "ember-data/system/promise_proxies";
import { PromiseObject } from "ember-data/system/promise-proxies";
import merge from "ember-data/system/merge";
import JSONSerializer from "ember-data/serializers/json_serializer";
import JSONSerializer from "ember-data/serializers/json-serializer";
import createRelationshipFor from "ember-data/system/relationships/state/create";
import Snapshot from "ember-data/system/snapshot";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
RecordArray,
FilteredRecordArray,
AdapterPopulatedRecordArray
} from "ember-data/system/record_arrays";
} from "ember-data/system/record-arrays";
import {
MapWithDefault
} from "ember-data/system/map";
Expand Down
13 changes: 13 additions & 0 deletions packages/ember-data/lib/system/record-arrays.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/**
@module ember-data
*/

import RecordArray from "ember-data/system/record-arrays/record-array";
import FilteredRecordArray from "ember-data/system/record-arrays/filtered-record-array";
import AdapterPopulatedRecordArray from "ember-data/system/record-arrays/adapter-populated-record-array";

export {
RecordArray,
FilteredRecordArray,
AdapterPopulatedRecordArray
};
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import RecordArray from "ember-data/system/record_arrays/record_array";
import RecordArray from "ember-data/system/record-arrays/record-array";
/**
@module ember-data
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import RecordArray from "ember-data/system/record_arrays/record_array";
import RecordArray from "ember-data/system/record-arrays/record-array";

/**
@module ember-data
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@module ember-data
*/

import { PromiseArray } from "ember-data/system/promise_proxies";
import { PromiseArray } from "ember-data/system/promise-proxies";
var get = Ember.get;
var set = Ember.set;

Expand Down
13 changes: 0 additions & 13 deletions packages/ember-data/lib/system/record_arrays.js

This file was deleted.

4 changes: 2 additions & 2 deletions packages/ember-data/lib/system/relationships.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
@module ember-data
*/

import belongsTo from "./relationships/belongs_to";
import hasMany from "./relationships/has_many";
import belongsTo from "./relationships/belongs-to";
import hasMany from "./relationships/has-many";

import "ember-data/system/relationships/ext";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {
PromiseObject
} from "ember-data/system/promise_proxies";
} from "ember-data/system/promise-proxies";

import Relationship from "ember-data/system/relationships/state/relationship";

Expand Down
4 changes: 2 additions & 2 deletions packages/ember-data/lib/system/relationships/state/create.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import ManyRelationship from "ember-data/system/relationships/state/has_many";
import BelongsToRelationship from "ember-data/system/relationships/state/belongs_to";
import ManyRelationship from "ember-data/system/relationships/state/has-many";
import BelongsToRelationship from "ember-data/system/relationships/state/belongs-to";

var createRelationshipFor = function(record, relationshipMeta, store) {
var inverseKey;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { PromiseManyArray } from "ember-data/system/promise_proxies";
import { PromiseManyArray } from "ember-data/system/promise-proxies";
import Relationship from "ember-data/system/relationships/state/relationship";
import OrderedSet from "ember-data/system/ordered-set";
import ManyArray from "ember-data/system/many_array";
import ManyArray from "ember-data/system/many-array";

var ManyRelationship = function(store, record, inverseKey, relationshipMeta) {
this._super$constructor(store, record, inverseKey, relationshipMeta);
Expand Down
4 changes: 2 additions & 2 deletions packages/ember-data/lib/system/store.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {
import {
promiseArray,
promiseObject
} from "ember-data/system/promise_proxies";
} from "ember-data/system/promise-proxies";

import {
_bind,
Expand All @@ -39,7 +39,7 @@ import {
_findQuery
} from "ember-data/system/store/finders";

import RecordArrayManager from "ember-data/system/record_array_manager";
import RecordArrayManager from "ember-data/system/record-array-manager";

import Model from "ember-data/system/model";
//Stanley told me to do this
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions tests/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<title>Ember Data</title>
<link rel="stylesheet" href="/bower_components/qunit/qunit/qunit.css">
<script src="/bower_components/qunit/qunit/qunit.js"></script>
<script src="qunit_configuration.js"></script>
<script src="qunit-configuration.js"></script>
<script src="/bower_components/handlebars/handlebars.js" ></script>

<script type="text/javascript">
Expand Down Expand Up @@ -39,7 +39,7 @@
}
</script>

<script src="ember_configuration.js"></script>
<script src="ember-configuration.js"></script>

<script type="text/javascript">
var emberChannel = QUnit.urlParams.emberchannel || "release", emberPath;
Expand Down
File renamed without changes.

0 comments on commit 87dec3e

Please sign in to comment.