Skip to content

Commit

Permalink
1.1.7
Browse files Browse the repository at this point in the history
  • Loading branch information
iobaixas committed Jan 7, 2015
1 parent 61665fa commit 61facad
Show file tree
Hide file tree
Showing 21 changed files with 33 additions and 22 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,12 @@
<a name="1.1.7"></a>
### 1.1.7 (2015-01-06)


#### Bug Fixes

* **record:** Adds support for array properties on patch mask ([61665fa4](http://github.com/angular-platanus/restmod/commit/61665fa42a470651f3b6d006c2987b3e0d303813), closes [#217](http://github.com/angular-platanus/restmod/issues/217))


<a name="1.1.6"></a>
### 1.1.6 (2015-01-06)

Expand Down
2 changes: 1 addition & 1 deletion bower.json
@@ -1,6 +1,6 @@
{
"name": "angular-restmod",
"version": "1.1.6",
"version": "1.1.7",
"authors": [
"Ignacio Baixas <ignacio@platan.us>"
],
Expand Down
3 changes: 2 additions & 1 deletion dist/angular-restmod-bundle.js
@@ -1,6 +1,6 @@
/**
* API Bound Models for AngularJS
* @version v1.1.6 - 2015-01-06
* @version v1.1.7 - 2015-01-06
* @link https://github.com/angular-platanus/restmod
* @author Ignacio Baixas <ignacio@platan.us>
* @license MIT License, http://www.opensource.org/licenses/MIT
Expand Down Expand Up @@ -1562,6 +1562,7 @@ RMModule.factory('RMRecordApi', ['RMUtils', function(Utils) {
url: url,
// Use special mask for patches, mask everything that is not in the patch list.
data: this.$wrap(function(_name) {
_name = _name.replace('[]', '');
for(var i = 0, l = _patch.length; i < l; i++) {
if(_name === _patch[i] ||
_name.indexOf(_patch[i] + '.') === 0 ||
Expand Down
4 changes: 2 additions & 2 deletions dist/angular-restmod-bundle.min.js

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion dist/angular-restmod.js
@@ -1,6 +1,6 @@
/**
* API Bound Models for AngularJS
* @version v1.1.6 - 2015-01-06
* @version v1.1.7 - 2015-01-06
* @link https://github.com/angular-platanus/restmod
* @author Ignacio Baixas <ignacio@platan.us>
* @license MIT License, http://www.opensource.org/licenses/MIT
Expand Down Expand Up @@ -1324,6 +1324,7 @@ RMModule.factory('RMRecordApi', ['RMUtils', function(Utils) {
url: url,
// Use special mask for patches, mask everything that is not in the patch list.
data: this.$wrap(function(_name) {
_name = _name.replace('[]', '');
for(var i = 0, l = _patch.length; i < l; i++) {
if(_name === _patch[i] ||
_name.indexOf(_patch[i] + '.') === 0 ||
Expand Down
4 changes: 2 additions & 2 deletions dist/angular-restmod.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/plugins/debounced.js
@@ -1,6 +1,6 @@
/**
* API Bound Models for AngularJS
* @version v1.1.6 - 2015-01-06
* @version v1.1.7 - 2015-01-06
* @link https://github.com/angular-platanus/restmod
* @author Ignacio Baixas <ignacio@platan.us>
* @license MIT License, http://www.opensource.org/licenses/MIT
Expand Down
2 changes: 1 addition & 1 deletion dist/plugins/debounced.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/plugins/dirty.js
@@ -1,6 +1,6 @@
/**
* API Bound Models for AngularJS
* @version v1.1.6 - 2015-01-06
* @version v1.1.7 - 2015-01-06
* @link https://github.com/angular-platanus/restmod
* @author Ignacio Baixas <ignacio@platan.us>
* @license MIT License, http://www.opensource.org/licenses/MIT
Expand Down
2 changes: 1 addition & 1 deletion dist/plugins/dirty.min.js
@@ -1,6 +1,6 @@
/**
* API Bound Models for AngularJS
* @version v1.1.6 - 2015-01-06
* @version v1.1.7 - 2015-01-06
* @link https://github.com/angular-platanus/restmod
* @author Ignacio Baixas <ignacio@platan.us>
* @license MIT License, http://www.opensource.org/licenses/MIT
Expand Down
2 changes: 1 addition & 1 deletion dist/plugins/find-many.js
@@ -1,6 +1,6 @@
/**
* API Bound Models for AngularJS
* @version v1.1.6 - 2015-01-06
* @version v1.1.7 - 2015-01-06
* @link https://github.com/angular-platanus/restmod
* @author Ignacio Baixas <ignacio@platan.us>
* @license MIT License, http://www.opensource.org/licenses/MIT
Expand Down
2 changes: 1 addition & 1 deletion dist/plugins/find-many.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/plugins/nested-dirty.js
@@ -1,6 +1,6 @@
/**
* API Bound Models for AngularJS
* @version v1.1.6 - 2015-01-06
* @version v1.1.7 - 2015-01-06
* @link https://github.com/angular-platanus/restmod
* @author Ignacio Baixas <ignacio@platan.us>
* @license MIT License, http://www.opensource.org/licenses/MIT
Expand Down
2 changes: 1 addition & 1 deletion dist/plugins/nested-dirty.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/plugins/paged.js
@@ -1,6 +1,6 @@
/**
* API Bound Models for AngularJS
* @version v1.1.6 - 2015-01-06
* @version v1.1.7 - 2015-01-06
* @link https://github.com/angular-platanus/restmod
* @author Ignacio Baixas <ignacio@platan.us>
* @license MIT License, http://www.opensource.org/licenses/MIT
Expand Down
2 changes: 1 addition & 1 deletion dist/plugins/paged.min.js
@@ -1,6 +1,6 @@
/**
* API Bound Models for AngularJS
* @version v1.1.6 - 2015-01-06
* @version v1.1.7 - 2015-01-06
* @link https://github.com/angular-platanus/restmod
* @author Ignacio Baixas <ignacio@platan.us>
* @license MIT License, http://www.opensource.org/licenses/MIT
Expand Down
2 changes: 1 addition & 1 deletion dist/plugins/preload.js
@@ -1,6 +1,6 @@
/**
* API Bound Models for AngularJS
* @version v1.1.6 - 2015-01-06
* @version v1.1.7 - 2015-01-06
* @link https://github.com/angular-platanus/restmod
* @author Ignacio Baixas <ignacio@platan.us>
* @license MIT License, http://www.opensource.org/licenses/MIT
Expand Down
2 changes: 1 addition & 1 deletion dist/plugins/preload.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/styles/ams.js
@@ -1,6 +1,6 @@
/**
* API Bound Models for AngularJS
* @version v1.1.6 - 2015-01-06
* @version v1.1.7 - 2015-01-06
* @link https://github.com/angular-platanus/restmod
* @author Ignacio Baixas <ignacio@platan.us>
* @license MIT License, http://www.opensource.org/licenses/MIT
Expand Down
2 changes: 1 addition & 1 deletion dist/styles/ams.min.js
@@ -1,6 +1,6 @@
/**
* API Bound Models for AngularJS
* @version v1.1.6 - 2015-01-06
* @version v1.1.7 - 2015-01-06
* @link https://github.com/angular-platanus/restmod
* @author Ignacio Baixas <ignacio@platan.us>
* @license MIT License, http://www.opensource.org/licenses/MIT
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "angular-restmod",
"version": "1.1.6",
"version": "1.1.7",
"engines": {
"node": ">= 0.9"
},
Expand Down

0 comments on commit 61facad

Please sign in to comment.