ember-rails 0.14.0 → 0.18.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +141 -102
- data/lib/ember/rails/engine.rb +8 -5
- data/lib/ember/rails/version.rb +1 -1
- data/lib/ember_rails.rb +36 -16
- data/lib/generators/ember/adapter_generator.rb +21 -0
- data/lib/generators/ember/bootstrap_generator.rb +6 -3
- data/lib/generators/ember/component_generator.rb +2 -2
- data/lib/generators/ember/generator_helpers.rb +7 -5
- data/lib/generators/ember/install_generator.rb +64 -32
- data/lib/generators/ember/resource_override.rb +8 -2
- data/lib/generators/ember/template_generator.rb +2 -2
- data/lib/generators/templates/adapter.js +5 -0
- data/lib/generators/templates/adapter.js.coffee +5 -0
- data/lib/generators/templates/adapter.js.em +3 -0
- data/lib/generators/templates/app.js +2 -2
- data/lib/generators/templates/app.js.coffee +2 -1
- data/lib/generators/templates/app.js.em +3 -1
- data/lib/generators/templates/{application.handlebars → application.hbs} +0 -0
- data/lib/generators/templates/application.js +3 -2
- data/lib/generators/templates/application.js.coffee +3 -1
- data/lib/generators/templates/application.js.em +3 -1
- data/lib/generators/templates/application_adapter.js +5 -0
- data/lib/generators/templates/application_adapter.js.coffee +5 -0
- data/lib/generators/templates/application_adapter.js.em +3 -0
- data/lib/generators/templates/array_controller.js +1 -1
- data/lib/generators/templates/{component.template.handlebars → component.template.hbs} +0 -0
- data/lib/generators/templates/model.js +1 -1
- data/lib/generators/templates/model.js.coffee +1 -1
- data/lib/generators/templates/model.js.em +1 -1
- data/lib/generators/templates/{template.handlebars → template.hbs} +0 -0
- metadata +77 -103
- data/lib/ember/handlebars/template.rb +0 -113
- data/lib/generators/templates/store.js +0 -7
- data/lib/generators/templates/store.js.coffee +0 -6
- data/lib/generators/templates/store.js.em +0 -7
@@ -1,7 +0,0 @@
|
|
1
|
-
// http://emberjs.com/guides/models/using-the-store/
|
2
|
-
|
3
|
-
<%= application_name.camelize %>.Store = DS.Store.extend({
|
4
|
-
// Override the default adapter with the `DS.ActiveModelAdapter` which
|
5
|
-
// is built to work nicely with the ActiveModel::Serializers gem.
|
6
|
-
adapter: '_ams'
|
7
|
-
});
|
@@ -1,7 +0,0 @@
|
|
1
|
-
# http://emberjs.com/guides/models/using-the-store/
|
2
|
-
|
3
|
-
class <%= application_name.camelize %>.Store extends DS.Store
|
4
|
-
# Override the default adapter with the `DS.ActiveModelAdapter` which
|
5
|
-
# is built to work nicely with the ActiveModel::Serializers gem.
|
6
|
-
adapter: '_ams'
|
7
|
-
|