From 789a4435b3bedcac732f23e75f16d2ff3040e370 Mon Sep 17 00:00:00 2001 From: Ignacio Baixas Date: Tue, 23 Sep 2014 09:31:37 -0300 Subject: [PATCH] 1.1.1 --- CHANGELOG.md | 9 +++++++++ bower.json | 2 +- dist/angular-restmod-bundle.js | 2 +- dist/angular-restmod-bundle.min.js | 2 +- dist/angular-restmod.js | 2 +- dist/angular-restmod.min.js | 2 +- dist/plugins/debounced.js | 2 +- dist/plugins/debounced.min.js | 2 +- dist/plugins/dirty.js | 2 +- dist/plugins/dirty.min.js | 2 +- dist/plugins/find-many.js | 2 +- dist/plugins/find-many.min.js | 2 +- dist/plugins/paged.js | 2 +- dist/plugins/paged.min.js | 2 +- dist/plugins/preload.js | 2 +- dist/plugins/preload.min.js | 2 +- dist/styles/ams.js | 6 +++--- dist/styles/ams.min.js | 4 ++-- 18 files changed, 29 insertions(+), 20 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9dfae43..557a3ea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ + +### 1.1.1 (2014-09-23) + + +#### Bug Fixes + +* **styles:** Fixes AMS style definition, adds a ams-spec. ([92b5cb90](http://github.com/angular-platanus/restmod/commit/92b5cb90c4c7f2bef29f46be0f87e21e401760ce), closes [#151](http://github.com/angular-platanus/restmod/issues/151)) + + ## 1.1.0 (2014-09-23) diff --git a/bower.json b/bower.json index 6ba46a4..19b6a5b 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "angular-restmod", - "version": "1.1.0", + "version": "1.1.1", "authors": [ "Ignacio Baixas " ], diff --git a/dist/angular-restmod-bundle.js b/dist/angular-restmod-bundle.js index 22101d6..1b93239 100644 --- a/dist/angular-restmod-bundle.js +++ b/dist/angular-restmod-bundle.js @@ -1,6 +1,6 @@ /** * API Bound Models for AngularJS - * @version v1.1.0 - 2014-09-23 + * @version v1.1.1 - 2014-09-23 * @link https://github.com/angular-platanus/restmod * @author Ignacio Baixas * @license MIT License, http://www.opensource.org/licenses/MIT diff --git a/dist/angular-restmod-bundle.min.js b/dist/angular-restmod-bundle.min.js index 538f81f..683d530 100644 --- a/dist/angular-restmod-bundle.min.js +++ b/dist/angular-restmod-bundle.min.js @@ -1,6 +1,6 @@ /** * API Bound Models for AngularJS - * @version v1.1.0 - 2014-09-23 + * @version v1.1.1 - 2014-09-23 * @link https://github.com/angular-platanus/restmod * @author Ignacio Baixas * @license MIT License, http://www.opensource.org/licenses/MIT diff --git a/dist/angular-restmod.js b/dist/angular-restmod.js index 3c3f533..53f324f 100644 --- a/dist/angular-restmod.js +++ b/dist/angular-restmod.js @@ -1,6 +1,6 @@ /** * API Bound Models for AngularJS - * @version v1.1.0 - 2014-09-23 + * @version v1.1.1 - 2014-09-23 * @link https://github.com/angular-platanus/restmod * @author Ignacio Baixas * @license MIT License, http://www.opensource.org/licenses/MIT diff --git a/dist/angular-restmod.min.js b/dist/angular-restmod.min.js index 38a2052..dd8560d 100644 --- a/dist/angular-restmod.min.js +++ b/dist/angular-restmod.min.js @@ -1,6 +1,6 @@ /** * API Bound Models for AngularJS - * @version v1.1.0 - 2014-09-23 + * @version v1.1.1 - 2014-09-23 * @link https://github.com/angular-platanus/restmod * @author Ignacio Baixas * @license MIT License, http://www.opensource.org/licenses/MIT diff --git a/dist/plugins/debounced.js b/dist/plugins/debounced.js index 24cb59e..b5c3297 100644 --- a/dist/plugins/debounced.js +++ b/dist/plugins/debounced.js @@ -1,6 +1,6 @@ /** * API Bound Models for AngularJS - * @version v1.1.0 - 2014-09-23 + * @version v1.1.1 - 2014-09-23 * @link https://github.com/angular-platanus/restmod * @author Ignacio Baixas * @license MIT License, http://www.opensource.org/licenses/MIT diff --git a/dist/plugins/debounced.min.js b/dist/plugins/debounced.min.js index 95154ba..5407b5c 100644 --- a/dist/plugins/debounced.min.js +++ b/dist/plugins/debounced.min.js @@ -1,6 +1,6 @@ /** * API Bound Models for AngularJS - * @version v1.1.0 - 2014-09-23 + * @version v1.1.1 - 2014-09-23 * @link https://github.com/angular-platanus/restmod * @author Ignacio Baixas * @license MIT License, http://www.opensource.org/licenses/MIT diff --git a/dist/plugins/dirty.js b/dist/plugins/dirty.js index 6cec394..04d748a 100644 --- a/dist/plugins/dirty.js +++ b/dist/plugins/dirty.js @@ -1,6 +1,6 @@ /** * API Bound Models for AngularJS - * @version v1.1.0 - 2014-09-23 + * @version v1.1.1 - 2014-09-23 * @link https://github.com/angular-platanus/restmod * @author Ignacio Baixas * @license MIT License, http://www.opensource.org/licenses/MIT diff --git a/dist/plugins/dirty.min.js b/dist/plugins/dirty.min.js index 30540d6..07cbdb1 100644 --- a/dist/plugins/dirty.min.js +++ b/dist/plugins/dirty.min.js @@ -1,6 +1,6 @@ /** * API Bound Models for AngularJS - * @version v1.1.0 - 2014-09-23 + * @version v1.1.1 - 2014-09-23 * @link https://github.com/angular-platanus/restmod * @author Ignacio Baixas * @license MIT License, http://www.opensource.org/licenses/MIT diff --git a/dist/plugins/find-many.js b/dist/plugins/find-many.js index eb30200..a0ba39d 100644 --- a/dist/plugins/find-many.js +++ b/dist/plugins/find-many.js @@ -1,6 +1,6 @@ /** * API Bound Models for AngularJS - * @version v1.1.0 - 2014-09-23 + * @version v1.1.1 - 2014-09-23 * @link https://github.com/angular-platanus/restmod * @author Ignacio Baixas * @license MIT License, http://www.opensource.org/licenses/MIT diff --git a/dist/plugins/find-many.min.js b/dist/plugins/find-many.min.js index cad6f5d..82e7764 100644 --- a/dist/plugins/find-many.min.js +++ b/dist/plugins/find-many.min.js @@ -1,6 +1,6 @@ /** * API Bound Models for AngularJS - * @version v1.1.0 - 2014-09-23 + * @version v1.1.1 - 2014-09-23 * @link https://github.com/angular-platanus/restmod * @author Ignacio Baixas * @license MIT License, http://www.opensource.org/licenses/MIT diff --git a/dist/plugins/paged.js b/dist/plugins/paged.js index 3d8019b..a826313 100644 --- a/dist/plugins/paged.js +++ b/dist/plugins/paged.js @@ -1,6 +1,6 @@ /** * API Bound Models for AngularJS - * @version v1.1.0 - 2014-09-23 + * @version v1.1.1 - 2014-09-23 * @link https://github.com/angular-platanus/restmod * @author Ignacio Baixas * @license MIT License, http://www.opensource.org/licenses/MIT diff --git a/dist/plugins/paged.min.js b/dist/plugins/paged.min.js index ac2790e..a2418bf 100644 --- a/dist/plugins/paged.min.js +++ b/dist/plugins/paged.min.js @@ -1,6 +1,6 @@ /** * API Bound Models for AngularJS - * @version v1.1.0 - 2014-09-23 + * @version v1.1.1 - 2014-09-23 * @link https://github.com/angular-platanus/restmod * @author Ignacio Baixas * @license MIT License, http://www.opensource.org/licenses/MIT diff --git a/dist/plugins/preload.js b/dist/plugins/preload.js index a71b15f..14c5ce6 100644 --- a/dist/plugins/preload.js +++ b/dist/plugins/preload.js @@ -1,6 +1,6 @@ /** * API Bound Models for AngularJS - * @version v1.1.0 - 2014-09-23 + * @version v1.1.1 - 2014-09-23 * @link https://github.com/angular-platanus/restmod * @author Ignacio Baixas * @license MIT License, http://www.opensource.org/licenses/MIT diff --git a/dist/plugins/preload.min.js b/dist/plugins/preload.min.js index 72c90df..9732137 100644 --- a/dist/plugins/preload.min.js +++ b/dist/plugins/preload.min.js @@ -1,6 +1,6 @@ /** * API Bound Models for AngularJS - * @version v1.1.0 - 2014-09-23 + * @version v1.1.1 - 2014-09-23 * @link https://github.com/angular-platanus/restmod * @author Ignacio Baixas * @license MIT License, http://www.opensource.org/licenses/MIT diff --git a/dist/styles/ams.js b/dist/styles/ams.js index 67b328f..8acc60e 100644 --- a/dist/styles/ams.js +++ b/dist/styles/ams.js @@ -1,6 +1,6 @@ /** * API Bound Models for AngularJS - * @version v1.1.0 - 2014-09-23 + * @version v1.1.1 - 2014-09-23 * @link https://github.com/angular-platanus/restmod * @author Ignacio Baixas * @license MIT License, http://www.opensource.org/licenses/MIT @@ -19,9 +19,9 @@ angular.module('restmod').factory('AMSApi', ['restmod', 'inflector', function(re jsonLinks: 'links' }, - $methods: { + $extend: { // special snakecase to camelcase renaming - type: { + Model: { decodeName: inflector.camelize, encodeName: function(_v) { return inflector.parameterize(_v, '_'); } } diff --git a/dist/styles/ams.min.js b/dist/styles/ams.min.js index 9bc0dff..9a6d437 100644 --- a/dist/styles/ams.min.js +++ b/dist/styles/ams.min.js @@ -1,8 +1,8 @@ /** * API Bound Models for AngularJS - * @version v1.1.0 - 2014-09-23 + * @version v1.1.1 - 2014-09-23 * @link https://github.com/angular-platanus/restmod * @author Ignacio Baixas * @license MIT License, http://www.opensource.org/licenses/MIT */ -!function(a){"use strict";a.module("restmod").factory("AMSApi",["restmod","inflector",function(a,b){return a.mixin("DefaultPacker",{$config:{style:"AMS",primaryKey:"id",jsonMeta:"meta",jsonLinks:"links"},$methods:{type:{decodeName:b.camelize,encodeName:function(a){return b.parameterize(a,"_")}}}})}])}(angular); \ No newline at end of file +!function(a){"use strict";a.module("restmod").factory("AMSApi",["restmod","inflector",function(a,b){return a.mixin("DefaultPacker",{$config:{style:"AMS",primaryKey:"id",jsonMeta:"meta",jsonLinks:"links"},$extend:{Model:{decodeName:b.camelize,encodeName:function(a){return b.parameterize(a,"_")}}}})}])}(angular); \ No newline at end of file