Skip to content

Commit

Permalink
Bumping to v0.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim-Intellipharm committed May 20, 2015
1 parent f7905ad commit 8404cbb
Show file tree
Hide file tree
Showing 19 changed files with 39 additions and 26 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "angular-cakephp",
"description": "An AngularJS data modelling framework that ties in with a CakePHP REST API",
"version": "0.4.1",
"version": "0.4.2",
"homepage": "https://github.com/intellipharm/angular-cakephp",
"repository": {
"type": "git",
Expand Down
25 changes: 19 additions & 6 deletions dist/angular-cakephp.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/*!
* angular-cakephp v0.4.1
* angular-cakephp v0.4.2
* http://intellipharm.com/
*
* Copyright 2015 Intellipharm
*
* 2015-05-08 15:05:48
* 2015-05-20 10:55:16
*
*/
(function() {
Expand Down Expand Up @@ -109,6 +109,20 @@
return instance;
};

//-----------------------------------------------
// clone
//-----------------------------------------------

/**
* clone
* Extends BaseActiveRecord
*
* @returns cloned active record instance
*/
BaseActiveRecord.prototype.clone = function() {
return this.new(this);
};

//-----------------------------------------------
// C.R.U.D
//-----------------------------------------------
Expand Down Expand Up @@ -675,9 +689,6 @@
throw new Error(self.ERROR_MISSING_PARAMS);
}

// format url params
url_params = '';// TODO: url param conversion

// format url
var url = TransformerService.transformRequestUrl(self.config.api, self.config.api_endpoint + '/' + end_point, url_params);

Expand Down Expand Up @@ -960,8 +971,10 @@

// create url params string
var params_str = '';
if (params_array.length > 0) {
if (_.isArray(params_array) && params_array.length > 0) {
params_str = '?' + params_array.join('&');
} else if (params_array.length > 0) {
params_str = '?' + params_array;
}

// create request url
Expand Down
6 changes: 3 additions & 3 deletions dist/angular-cakephp.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/angular-cakephp.min.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-cakephp",
"version": "0.4.1",
"version": "0.4.2",
"dependencies": {},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion tests/coverage/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ <h2>
</div>
</div>
<div class="footer">
<div class="meta">Generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Wed May 20 2015 10:54:29 GMT+1000 (AEST)</div>
<div class="meta">Generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Wed May 20 2015 10:55:16 GMT+1000 (AEST)</div>
</div>
<script src="prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion tests/coverage/lib/angular-cakephp-settings.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ <h2>

</div>
<div class="footer">
<div class="meta">Generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Wed May 20 2015 10:54:29 GMT+1000 (AEST)</div>
<div class="meta">Generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Wed May 20 2015 10:55:16 GMT+1000 (AEST)</div>
</div>
<script src="../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion tests/coverage/lib/angular-cakephp.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ <h2>

</div>
<div class="footer">
<div class="meta">Generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Wed May 20 2015 10:54:29 GMT+1000 (AEST)</div>
<div class="meta">Generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Wed May 20 2015 10:55:16 GMT+1000 (AEST)</div>
</div>
<script src="../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion tests/coverage/lib/base/base-active-record.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -780,7 +780,7 @@ <h2>

</div>
<div class="footer">
<div class="meta">Generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Wed May 20 2015 10:54:29 GMT+1000 (AEST)</div>
<div class="meta">Generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Wed May 20 2015 10:55:16 GMT+1000 (AEST)</div>
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion tests/coverage/lib/base/base-model.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -1290,7 +1290,7 @@ <h2>

</div>
<div class="footer">
<div class="meta">Generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Wed May 20 2015 10:54:29 GMT+1000 (AEST)</div>
<div class="meta">Generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Wed May 20 2015 10:55:16 GMT+1000 (AEST)</div>
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion tests/coverage/lib/base/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ <h2>
</div>
</div>
<div class="footer">
<div class="meta">Generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Wed May 20 2015 10:54:29 GMT+1000 (AEST)</div>
<div class="meta">Generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Wed May 20 2015 10:55:16 GMT+1000 (AEST)</div>
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion tests/coverage/lib/http/http-request-service.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ <h2>

</div>
<div class="footer">
<div class="meta">Generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Wed May 20 2015 10:54:29 GMT+1000 (AEST)</div>
<div class="meta">Generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Wed May 20 2015 10:55:16 GMT+1000 (AEST)</div>
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion tests/coverage/lib/http/http-response-service.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@ <h2>

</div>
<div class="footer">
<div class="meta">Generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Wed May 20 2015 10:54:29 GMT+1000 (AEST)</div>
<div class="meta">Generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Wed May 20 2015 10:55:16 GMT+1000 (AEST)</div>
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion tests/coverage/lib/http/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ <h2>
</div>
</div>
<div class="footer">
<div class="meta">Generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Wed May 20 2015 10:54:29 GMT+1000 (AEST)</div>
<div class="meta">Generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Wed May 20 2015 10:55:16 GMT+1000 (AEST)</div>
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion tests/coverage/lib/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ <h2>
</div>
</div>
<div class="footer">
<div class="meta">Generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Wed May 20 2015 10:54:29 GMT+1000 (AEST)</div>
<div class="meta">Generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Wed May 20 2015 10:55:16 GMT+1000 (AEST)</div>
</div>
<script src="../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion tests/coverage/lib/transformers/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ <h2>
</div>
</div>
<div class="footer">
<div class="meta">Generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Wed May 20 2015 10:54:29 GMT+1000 (AEST)</div>
<div class="meta">Generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Wed May 20 2015 10:55:16 GMT+1000 (AEST)</div>
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ <h2>

</div>
<div class="footer">
<div class="meta">Generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Wed May 20 2015 10:54:29 GMT+1000 (AEST)</div>
<div class="meta">Generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Wed May 20 2015 10:55:16 GMT+1000 (AEST)</div>
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion tests/coverage/lib/util/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ <h2>
</div>
</div>
<div class="footer">
<div class="meta">Generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Wed May 20 2015 10:54:29 GMT+1000 (AEST)</div>
<div class="meta">Generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Wed May 20 2015 10:55:16 GMT+1000 (AEST)</div>
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion tests/coverage/lib/util/util-service.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ <h2>

</div>
<div class="footer">
<div class="meta">Generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Wed May 20 2015 10:54:29 GMT+1000 (AEST)</div>
<div class="meta">Generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Wed May 20 2015 10:55:16 GMT+1000 (AEST)</div>
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down

0 comments on commit 8404cbb

Please sign in to comment.