Skip to content
This repository has been archived by the owner on May 4, 2019. It is now read-only.

Commit

Permalink
0.9.6
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinBressan committed Feb 27, 2016
1 parent a5ea03c commit f2e098c
Show file tree
Hide file tree
Showing 8 changed files with 29 additions and 23 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
CHANGELOG
=========

v0.9.6 - 27 Feb. 2016
---------------------

* Define all used HTTP methods as uppercase according to spec [#83](https://github.com/marmelab/restful.js/pull/83) ([opengeek](https://github.com/opengeek))


v0.9.5 - 11 Feb. 2016
---------------------

Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "restful.js",
"version": "0.9.5",
"version": "0.9.6",
"homepage": "https://github.com/marmelab/restful.js",
"authors": [
"Robin Bressan <robin@buddey.net>"
Expand Down
12 changes: 6 additions & 6 deletions dist/es5/model/endpoint.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ exports['default'] = function (request) {
addErrorInterceptor: addInterceptor('error'),
addRequestInterceptor: addInterceptor('request'),
addResponseInterceptor: addInterceptor('response'),
'delete': _httpMethodFactory('delete'),
'delete': _httpMethodFactory('DELETE'),
identifier: function identifier(newIdentifier) {
if (newIdentifier === undefined) {
return scope.get('config').get('entityIdentifier');
Expand All @@ -118,8 +118,8 @@ exports['default'] = function (request) {

return endpoint;
},
get: _httpMethodFactory('get', false),
head: _httpMethodFactory('head', false),
get: _httpMethodFactory('GET', false),
head: _httpMethodFactory('HEAD', false),
header: function header(key, value) {
return scope.assign('headers', key, value);
},
Expand All @@ -134,9 +134,9 @@ exports['default'] = function (request) {
},
on: scope.on,
once: scope.once,
patch: _httpMethodFactory('patch'),
post: _httpMethodFactory('post'),
put: _httpMethodFactory('put'),
patch: _httpMethodFactory('PATCH'),
post: _httpMethodFactory('POST'),
put: _httpMethodFactory('PUT'),
url: function url() {
return scope.get('url');
}
Expand Down
12 changes: 6 additions & 6 deletions dist/restful.js
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ return /******/ (function(modules) { // webpackBootstrap
addErrorInterceptor: addInterceptor('error'),
addRequestInterceptor: addInterceptor('request'),
addResponseInterceptor: addInterceptor('response'),
'delete': _httpMethodFactory('delete'),
'delete': _httpMethodFactory('DELETE'),
identifier: function identifier(newIdentifier) {
if (newIdentifier === undefined) {
return scope.get('config').get('entityIdentifier');
Expand All @@ -256,8 +256,8 @@ return /******/ (function(modules) { // webpackBootstrap

return endpoint;
},
get: _httpMethodFactory('get', false),
head: _httpMethodFactory('head', false),
get: _httpMethodFactory('GET', false),
head: _httpMethodFactory('HEAD', false),
header: function header(key, value) {
return scope.assign('headers', key, value);
},
Expand All @@ -272,9 +272,9 @@ return /******/ (function(modules) { // webpackBootstrap
},
on: scope.on,
once: scope.once,
patch: _httpMethodFactory('patch'),
post: _httpMethodFactory('post'),
put: _httpMethodFactory('put'),
patch: _httpMethodFactory('PATCH'),
post: _httpMethodFactory('POST'),
put: _httpMethodFactory('PUT'),
url: function url() {
return scope.get('url');
}
Expand Down
4 changes: 2 additions & 2 deletions dist/restful.min.js

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions dist/restful.standalone.js
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ return /******/ (function(modules) { // webpackBootstrap
addErrorInterceptor: addInterceptor('error'),
addRequestInterceptor: addInterceptor('request'),
addResponseInterceptor: addInterceptor('response'),
'delete': _httpMethodFactory('delete'),
'delete': _httpMethodFactory('DELETE'),
identifier: function identifier(newIdentifier) {
if (newIdentifier === undefined) {
return scope.get('config').get('entityIdentifier');
Expand All @@ -267,8 +267,8 @@ return /******/ (function(modules) { // webpackBootstrap

return endpoint;
},
get: _httpMethodFactory('get', false),
head: _httpMethodFactory('head', false),
get: _httpMethodFactory('GET', false),
head: _httpMethodFactory('HEAD', false),
header: function header(key, value) {
return scope.assign('headers', key, value);
},
Expand All @@ -283,9 +283,9 @@ return /******/ (function(modules) { // webpackBootstrap
},
on: scope.on,
once: scope.once,
patch: _httpMethodFactory('patch'),
post: _httpMethodFactory('post'),
put: _httpMethodFactory('put'),
patch: _httpMethodFactory('PATCH'),
post: _httpMethodFactory('POST'),
put: _httpMethodFactory('PUT'),
url: function url() {
return scope.get('url');
}
Expand Down
2 changes: 1 addition & 1 deletion dist/restful.standalone.min.js

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": "restful.js",
"version": "0.9.5",
"version": "0.9.6",
"repository": {
"type": "git",
"url": "https://github.com/marmelab/restful.js"
Expand Down

0 comments on commit f2e098c

Please sign in to comment.