Skip to content

Commit

Permalink
fix namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
jakesjews committed Mar 11, 2016
1 parent 2c5c29a commit fdb2f8b
Show file tree
Hide file tree
Showing 24 changed files with 26 additions and 31 deletions.
6 changes: 3 additions & 3 deletions app/initializers/model-fragments.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import FragmentTransform from 'ember-data-model-fragments/transforms/fragment';
import FragmentArrayTransform from 'ember-data-model-fragments/transforms/fragment-array';
import ArrayTransform from 'ember-data-model-fragments/transforms/array';
import FragmentTransform from 'model-fragments/transforms/fragment';
import FragmentArrayTransform from 'model-fragments/transforms/fragment-array';
import ArrayTransform from 'model-fragments/transforms/array';

export default {
name: "fragmentTransform",
Expand Down
2 changes: 1 addition & 1 deletion app/transforms/array.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
import ArrayTransform from 'ember-data-model-fragments/transforms/array';
import ArrayTransform from 'model-fragments/transforms/array';
export default ArrayTransform;
2 changes: 1 addition & 1 deletion app/transforms/fragment-array.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
import FragmentArrayTransform from 'ember-data-model-fragments/transforms/fragment-array';
import FragmentArrayTransform from 'model-fragments/transforms/fragment-array';
export default FragmentArrayTransform;
2 changes: 1 addition & 1 deletion app/transforms/fragment.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
import FragmentTransform from 'ember-data-model-fragments/transforms/fragment';
import FragmentTransform from 'model-fragments/transforms/fragment';
export default FragmentTransform;
7 changes: 1 addition & 6 deletions blueprints/ember-data-model-fragments/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,5 @@ module.exports = {
},

afterInstall: function() {
// By installing the package with Bower instead of including the artifact
// straight out of the `node_modules/` directory, the app author can change
// the actual version used in `bower.json`
var json = require('../../../package.json');
return this.addBowerPackageToProject('ember-data-model-fragments', json.version);
}
};
};
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
'use strict';

module.exports = {
name: 'ember-data-model-fragments'
name: 'model-fragments'
};
2 changes: 1 addition & 1 deletion tests/dummy/app/models/address.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import MF from 'ember-data-model-fragments';
import MF from 'model-fragments';
import DS from 'ember-data';

export default MF.Fragment.extend({
Expand Down
2 changes: 1 addition & 1 deletion tests/dummy/app/models/animal.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import DS from 'ember-data';
import MF from 'ember-data-model-fragments';
import MF from 'model-fragments';

export default MF.Fragment.extend({
name: DS.attr('string')
Expand Down
2 changes: 1 addition & 1 deletion tests/dummy/app/models/hobby.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import MF from 'ember-data-model-fragments';
import MF from 'model-fragments';
import DS from 'ember-data';

export default MF.Fragment.extend({
Expand Down
2 changes: 1 addition & 1 deletion tests/dummy/app/models/house.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import MF from 'ember-data-model-fragments';
import MF from 'model-fragments';
import DS from 'ember-data';

export default MF.Fragment.extend({
Expand Down
2 changes: 1 addition & 1 deletion tests/dummy/app/models/info.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import MF from 'ember-data-model-fragments';
import MF from 'model-fragments';
import DS from 'ember-data';

export default MF.Fragment.extend({
Expand Down
2 changes: 1 addition & 1 deletion tests/dummy/app/models/name.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import MF from 'ember-data-model-fragments';
import MF from 'model-fragments';
import DS from 'ember-data';

export default MF.Fragment.extend({
Expand Down
2 changes: 1 addition & 1 deletion tests/dummy/app/models/order.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import MF from 'ember-data-model-fragments';
import MF from 'model-fragments';
import DS from 'ember-data';

export default MF.Fragment.extend({
Expand Down
2 changes: 1 addition & 1 deletion tests/dummy/app/models/person.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import DS from 'ember-data';
import MF from 'ember-data-model-fragments';
import MF from 'model-fragments';

export default DS.Model.extend({
title: DS.attr('string'),
Expand Down
2 changes: 1 addition & 1 deletion tests/dummy/app/models/product.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import MF from 'ember-data-model-fragments';
import MF from 'model-fragments';
import DS from 'ember-data';

export default MF.Fragment.extend({
Expand Down
2 changes: 1 addition & 1 deletion tests/dummy/app/models/user.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import DS from 'ember-data';
import MF from 'ember-data-model-fragments';
import MF from 'model-fragments';

export default DS.Model.extend({
info: MF.fragment('info'),
Expand Down
2 changes: 1 addition & 1 deletion tests/dummy/app/models/zoo.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import DS from 'ember-data';
import MF from 'ember-data-model-fragments';
import MF from 'model-fragments';

export default DS.Model.extend({
name: DS.attr('string'),
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/nested_test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Ember from 'ember';
import MF from 'ember-data-model-fragments';
import MF from 'model-fragments';
import DS from 'ember-data';
import { test } from 'qunit';
import moduleForAcceptance from '../helpers/module-for-acceptance';
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/save_test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Ember from 'ember';
import MF from 'ember-data-model-fragments';
import MF from 'model-fragments';
import DS from 'ember-data';
import { test } from 'qunit';
import moduleForAcceptance from '../helpers/module-for-acceptance';
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/array_property_test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Ember from 'ember';
import MF from 'ember-data-model-fragments';
import MF from 'model-fragments';
import { test } from 'qunit';
import moduleForAcceptance from '../helpers/module-for-acceptance';
import Person from 'dummy/models/person';
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/fragment_array_property_test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Ember from 'ember';
import DS from 'ember-data';
import MF from 'ember-data-model-fragments';
import MF from 'model-fragments';
import { test } from 'qunit';
import moduleForAcceptance from '../helpers/module-for-acceptance';
import Address from 'dummy/models/address';
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/fragment_owner_property_test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Ember from 'ember';
import DS from 'ember-data';
import MF from 'ember-data-model-fragments';
import MF from 'model-fragments';
import { test } from 'qunit';
import moduleForAcceptance from '../helpers/module-for-acceptance';
var store, application;
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/fragment_property_test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Ember from 'ember';
import DS from 'ember-data';
import MF from 'ember-data-model-fragments';
import MF from 'model-fragments';
import { test } from 'qunit';
import moduleForAcceptance from '../helpers/module-for-acceptance';
import Name from 'dummy/models/name';
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/serialize_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { test } from 'qunit';
import moduleForAcceptance from '../helpers/module-for-acceptance';
import JSONSerializer from 'ember-data/serializers/json';
import Person from 'dummy/models/person';
import MF from 'ember-data-model-fragments';
import MF from 'model-fragments';
var store, application;

moduleForAcceptance("unit - Serialization", {
Expand Down

0 comments on commit fdb2f8b

Please sign in to comment.