active-model-adapter-source 2.0.2 → 2.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NWRlOTU5OGQ5ODI4NGViZmY2YTVjMDZkMjc2MGEyZGQ2ODRiMTdjNA==
4
+ OWM1NTBmYjFkZjliMmQxMjM4MjMyNjM5OWM1NWRlZjU0MzRiNzNkMQ==
5
5
  data.tar.gz: !binary |-
6
- M2UwNmE3MDM4ZmIyZjI3YTU3Y2RkZjg1NmJjYmE5NjJlMDIwMGZlZg==
6
+ NDQ1MzhkNmNmMjk4M2U2NmViN2ZkNjk1NWU2YWRkYTNjMWVmYzhiYQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NjlhZDQyNzE3MzQ4OTcxMGExYjc5NTYzZTJmYjdkMTkzMWE0YzE0ZjI4MTAw
10
- OWFkZTQ4N2YzMWYzMGMxMzVmM2JiMjdkNjI5MTk3MzVkODIxZTUwOTYxZTNh
11
- YWM5Yjg5Mzc0MjUyOThkNWZmNWJkOWEzNzAyZDMyNTQxYmVjZDQ=
9
+ NTkwOTUxYmI5ZThiMGI4ZmNkNjc2NGUwNWQ4M2RhNzAyYmM0ZTAwMTEwZDk3
10
+ MGVjZDQxMzk5YjhiNDQ4OTgzMjRlNTZiMzgxOTNmMmM2OGU4MjM2YjMyNDJk
11
+ ODI4NGI4NmY3Y2I5ZDcwYmI1YzU1NDdkMzEzZjE0YzQyZGMzNzU=
12
12
  data.tar.gz: !binary |-
13
- ZDY0ZGViN2Y4Yzg3Njg4ZjAzMzIwNTllZjgwOTA2ZDYxNjZjMTI0OGE0OTdk
14
- YWFhYzQ0MmE5ZjRiOGUyM2IyMzI3MTA5MTkxOGFlM2JlZTg2NjcxMjhmNzll
15
- NzE1Nzc2ZjgxNTExZWFjYjlhOTdkNDc1ZTAwNmM3NjJhMzY4NmM=
13
+ NDlhN2JkNzY2MmFkZWY5OWI3MWQ5MjBjMzE4Zjg1ZWE4YmJhMjNkOGE3NzBi
14
+ Zjk0YmQ3OWQ2MmM1YTZhYTFiODQxNTdiMjQ2MDFhNWYzMjM3MzBlZmZhNjg4
15
+ Mzg5MzY2YTg1ZGU1YzI2MWMzYTJmOTE3YmY2ZGMyNjQxMjA0MmU=
@@ -5,7 +5,7 @@
5
5
  * Portions Copyright 2008-2011 Apple Inc. All rights reserved.
6
6
  * @license Licensed under MIT license
7
7
  * See https://raw.github.com/emberjs/ember.js/master/LICENSE
8
- * @version 2.0.2
8
+ * @version 2.0.3
9
9
  */
10
10
 
11
11
  (function() {
@@ -647,38 +647,12 @@ define("initializers/active-model-adapter", ["exports", "active-model-adapter",
647
647
  }
648
648
  };
649
649
  });
650
- define('instance-initializers/active-model-adapter', ['exports', 'active-model-adapter', 'active-model-serializer'], function (exports, _activeModelAdapter, _activeModelAdapterActiveModelSerializer) {
651
- exports["default"] = {
652
- name: 'active-model-adapter',
653
- initialize: function (applicationOrRegistry) {
654
- var register;
655
- if (applicationOrRegistry.register) {
656
- // initializeStoreService was called by an initializer instead of
657
- // an instanceInitializer. The first argument is a registry for
658
- // Ember pre 1.12, or an application instance for Ember >2.1.
659
- register = applicationOrRegistry.register;
660
- } else {
661
- // initializeStoreService was registered with an
662
- // instanceInitializer. The first argument is the application
663
- // instance.
664
- register = applicationOrRegistry.registry.register;
665
- }
666
-
667
- register.call(applicationOrRegistry, 'adapter:-active-model', _activeModelAdapter["default"]);
668
- register.call(applicationOrRegistry, 'serializer:-active-model', _activeModelAdapterActiveModelSerializer["default"]);
669
- }
670
- };
671
- });
672
- define('globals', ['exports', './index', 'instance-initializers/active-model-adapter', 'initializers/active-model-adapter', 'ember', 'ember-data'], function (exports, _index, _instanceInitializersActiveModelAdapter, _initializersActiveModelAdapter, _ember, _emberData) {
650
+ define('globals', ['exports', './index', 'initializers/active-model-adapter', 'ember', 'ember-data'], function (exports, _index, _initializersActiveModelAdapter, _ember, _emberData) {
673
651
 
674
652
  _emberData["default"].ActiveModelAdapter = _index.ActiveModelAdapter;
675
653
  _emberData["default"].ActiveModelSerializer = _index.ActiveModelSerializer;
676
654
 
677
- if (_ember["default"].Application.instanceInitializer) {
678
- _ember["default"].Application.instanceInitializer(_instanceInitializersActiveModelAdapter["default"]);
679
- } else {
680
- _ember["default"].Application.initializer(_initializersActiveModelAdapter["default"]);
681
- }
655
+ _ember["default"].Application.initializer(_initializersActiveModelAdapter["default"]);
682
656
  });
683
657
  // this file is used to generate the globals build.
684
658
  // DO NOT try to use this in your app.
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "active-model-adapter",
3
- "version": "2.0.2",
3
+ "version": "2.0.3",
4
4
  "repository": "https://github.com/ember-data/active-model-adapter",
5
5
  "description": "The default blueprint for ember-cli addons.",
6
6
  "directories": {
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active-model-adapter-source
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Igor Terzic
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2015-10-22 00:00:00.000000000 Z
13
+ date: 2015-10-30 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: ember-data-source