Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop support for Ember 2.12 #50

Merged
merged 2 commits into from
Sep 7, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ env:
matrix:
# we recommend new addons test the current and previous LTS
# as well as latest stable release (bonus points to beta/canary)
- EMBER_TRY_SCENARIO=ember-lts-2.12
- EMBER_TRY_SCENARIO=ember-lts-2.16
- EMBER_TRY_SCENARIO=ember-lts-2.18
- EMBER_TRY_SCENARIO=ember-release
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</a>
</p>

Ember Custom Actions is a package for defining custom API actions, dedicated for Ember 2.8 (and higher) applications.
Ember Custom Actions is a package for defining custom API actions, dedicated for Ember 2.16 (and higher) applications.

# Getting started

Expand Down
2 changes: 1 addition & 1 deletion addon/actions/action.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import EmberObject, { computed } from '@ember/object';
import PromiseProxyMixin from '@ember/object/promise-proxy-mixin';

import { reject } from 'rsvp';
import deepMerge from 'lodash/merge';
import deepMerge from 'lodash.merge';
import normalizePayload from 'ember-custom-actions/utils/normalize-payload';
import urlBuilder from 'ember-custom-actions/utils/url-builder';

Expand Down
2 changes: 1 addition & 1 deletion addon/actions/custom.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Action from 'ember-custom-actions/actions/action';
import deepMerge from 'lodash/merge';
import deepMerge from 'lodash.merge';

export default function(id, options = {}) {
return function(payload = {}, actionOptions = {}) {
Expand Down
2 changes: 1 addition & 1 deletion addon/actions/model.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Action from 'ember-custom-actions/actions/action';
import deepMerge from 'lodash/merge';
import deepMerge from 'lodash.merge';

export default function(path, options = {}) {
return function(payload = {}, actionOptions = {}) {
Expand Down
2 changes: 1 addition & 1 deletion addon/actions/resource.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Action from 'ember-custom-actions/actions/action';
import deepMerge from 'lodash/merge';
import deepMerge from 'lodash.merge';

export default function(path, options = {}) {
return function(payload = {}, actionOptions = {}) {
Expand Down
14 changes: 13 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
'use strict';

module.exports = {
name: 'ember-custom-actions'
name: 'ember-custom-actions',

importTransforms: require('ember-cli-cjs-transform').importTransforms,

included() {
this._super.included.apply(this, arguments);

this.import('node_modules/lodash.merge/index.js', {
using: [
{ transformation: 'cjs', as: 'lodash.merge' }
]
});
},
};
Loading