Skip to content

Commit 0e1492b

Browse files
committed
Stable Version 2.1.2
1 parent cf0a08c commit 0e1492b

17 files changed

+244
-259
lines changed

.jshintrc

-34
This file was deleted.

.npmignore

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
lib-cov
2+
*.seed
3+
*.log
4+
*.csv
5+
*.dat
6+
*.out
7+
*.pid
8+
*.gz
9+
10+
pids
11+
logs
12+
results
13+
14+
npm-debug.log
15+
node_modules
16+
17+
coverage/
18+
doc/
19+
bower_components/
20+
21+
*.iml
22+
.idea/
23+
24+
*.png
25+
CONTRIBUTING.md
26+
favicon.ico
27+
circle.yml
28+
bower.json
29+
.bowerrc
30+
Gruntfile.js
31+
*.start.js
32+
karma.conf.js
33+
test/
34+
lib/
35+
src/

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
##### 2.1.2 - 28 October 2015
2+
3+
###### Other
4+
- Dropped Grunt
5+
- Now reporting code coverage properly
6+
17
##### 2.1.1 - 20 September 2015
28

39
###### Backwards compatible bug fixes

CONTRIBUTING.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Contributing Guide
22

3-
First, support is handled via the [Gitter Channel](https://gitter.im/js-data/js-data) and the [Mailing List](https://groups.io/org/groupsio/jsdata). Ask your questions there.
3+
First, support is handled via the [Slack Channel](http://slack.js-data.io) and the [Mailing List](https://groups.io/org/groupsio/jsdata). Ask your questions there.
44

55
When submitting issues on GitHub, please include as much detail as possible to make debugging quick and easy.
66

@@ -15,9 +15,9 @@ When submitting issues on GitHub, please include as much detail as possible to m
1515
1. Contribute to the issue/discussion that is the reason you'll be developing in the first place
1616
1. Fork js-data-http
1717
1. `git clone [email protected]:<you>/js-data-http.git`
18-
1. `cd js-data-http; npm install; bower install;`
18+
1. `cd js-data-http; npm install;`
1919
1. Write your code, including relevant documentation and tests
20-
1. Run `grunt test` (build and test)
20+
1. Run `npm test` (build and test)
2121
1. Your code will be linted and checked for formatting, the tests will be run
2222
1. The `dist/` folder & files will be generated, do NOT commit `dist/*`! They will be committed when a release is cut.
2323
1. Submit your PR and we'll review!

Gruntfile.js

-164
This file was deleted.

README.md

+19-18
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,14 @@
11
<img src="https://raw.githubusercontent.com/js-data/js-data/master/js-data.png" alt="js-data logo" title="js-data" align="right" width="64" height="64" />
22

3-
## js-data-http [![bower version](https://img.shields.io/bower/v/js-data-http.svg?style=flat-square)](https://www.npmjs.org/package/js-data-http) [![npm version](https://img.shields.io/npm/v/js-data-http.svg?style=flat-square)](https://www.npmjs.org/package/js-data-http) [![Circle CI](https://img.shields.io/circleci/project/js-data/js-data-http/master.svg?style=flat-square)](https://circleci.com/gh/js-data/js-data-http/tree/master) [![npm downloads](https://img.shields.io/npm/dm/js-data-http.svg?style=flat-square)](https://www.npmjs.org/package/js-data-http) [![License](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](https://github.com/js-data/js-data-http/blob/master/LICENSE)
3+
## js-data-http [![Slack Status][sl_b]][sl_l] [![npm version][npm_b]][npm_l] [![Circle CI][circle_b]][circle_l] [![npm downloads][dn_b]][dn_l] [![Coverage Status][cov_b]][cov_l] [![Codacy][cod_b]][cod_l]
44

5-
6-
http adapter for [js-data](http://www.js-data.io/).
5+
HTTP adapter for [js-data](http://www.js-data.io/).
76

87
### API Documentation
98
[DSHttpAdapter](http://www.js-data.io/docs/dshttpadapter)
109

11-
__Latest Release:__ [![Latest Release](https://img.shields.io/github/release/js-data/js-data-http.svg?style=flat-square)](https://github.com/js-data/js-data-http/releases)
12-
13-
__Status:__
14-
15-
[![Coverage Status](https://img.shields.io/coveralls/js-data/js-data-http/master.svg?style=flat-square)](https://coveralls.io/r/js-data/js-data-http?branch=master) [![Codacity](https://img.shields.io/codacy/3931bbd8d838463297f70640aa78251b.svg?style=flat-square)](https://www.codacy.com/public/jasondobry/js-data-http/dashboard)
16-
17-
__Supported Platforms:__
18-
19-
[![node version](https://img.shields.io/badge/Node-0.10%2B-green.svg?style=flat-square)](https://github.com/js-data/js-data) [![browsers](https://img.shields.io/badge/Browser-Chrome%2CFirefox%2CSafari%2COpera%2CIE%209%2B%2CiOS%20Safari%207.1%2B%2CAndroid%20Browser%202.3%2B-green.svg?style=flat-square)](https://github.com/js-data/js-data)
20-
2110
### Quick Start
22-
`bower install --save js-data js-data-http` or `npm install --save js-data js-data-http`.
11+
`npm install --save js-data js-data-http` or `bower install --save js-data js-data-http`.
2312

2413
Load `js-data-http.js` after `js-data.js`.
2514

@@ -36,7 +25,7 @@ store.registerAdapter('http', adapter, { default: true });
3625
[CHANGELOG.md](https://github.com/js-data/js-data-http/blob/master/CHANGELOG.md)
3726

3827
### Community
39-
- [Gitter Channel](https://gitter.im/js-data/js-data) - Better than IRC!
28+
- [Slack Channel][sl_l] - Better than IRC!
4029
- [Announcements](http://www.js-data.io/blog)
4130
- [Mailing List](https://groups.io/org/groupsio/jsdata) - Ask your questions!
4231
- [Issues](https://github.com/js-data/js-data-http/issues) - Found a bug? Feature request? Submit an issue!
@@ -45,7 +34,7 @@ store.registerAdapter('http', adapter, { default: true });
4534

4635
### Contributing
4736

48-
First, support is handled via the [Gitter Channel](https://gitter.im/js-data/js-data) and the [Mailing List](https://groups.io/org/groupsio/jsdata). Ask your questions there.
37+
First, support is handled via the [Slack Channel][sl_l] and the [Mailing List](https://groups.io/org/groupsio/jsdata). Ask your questions there.
4938

5039
When submitting issues on GitHub, please include as much detail as possible to make debugging quick and easy.
5140

@@ -60,9 +49,9 @@ When submitting issues on GitHub, please include as much detail as possible to m
6049
1. Contribute to the issue/discussion that is the reason you'll be developing in the first place
6150
1. Fork js-data-http
6251
1. `git clone [email protected]:<you>/js-data-http.git`
63-
1. `cd js-data-http; npm install; bower install;`
52+
1. `cd js-data-http; npm install;`
6453
1. Write your code, including relevant documentation and tests
65-
1. Run `grunt test` (build and test)
54+
1. Run `npm test` (build and test)
6655
1. Your code will be linted and checked for formatting, the tests will be run
6756
1. The `dist/` folder & files will be generated, do NOT commit `dist/*`! They will be committed when a release is cut.
6857
1. Submit your PR and we'll review!
@@ -92,3 +81,15 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
9281
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
9382
SOFTWARE.
9483

84+
[sl_b]: http://slack.js-data.io/badge.svg
85+
[sl_l]: http://slack.js-data.io
86+
[npm_b]: https://img.shields.io/npm/v/js-data-http.svg?style=flat
87+
[npm_l]: https://www.npmjs.org/package/js-data-http
88+
[circle_b]: https://img.shields.io/circleci/project/js-data/js-data-http/master.svg?style=flat
89+
[circle_l]: https://circleci.com/gh/js-data/js-data-http/tree/master
90+
[dn_b]: https://img.shields.io/npm/dm/js-data-http.svg?style=flat
91+
[dn_l]: https://www.npmjs.org/package/js-data-http
92+
[cov_b]: https://img.shields.io/coveralls/js-data/js-data-http/master.svg?style=flat
93+
[cov_l]: https://coveralls.io/github/js-data/js-data-http?branch=master
94+
[cod_b]: https://img.shields.io/codacy/3931bbd8d838463297f70640aa78251b.svg
95+
[cod_l]: https://www.codacy.com/app/jasondobry/js-data-http/dashboard

bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "js-data-http",
3-
"description": "http adapter for js-data.",
3+
"description": "HTTP adapter for js-data.",
44
"homepage": "http://www.js-data.io/docs/dshttpadapter",
55
"repository": {
66
"type": "git",

circle.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ dependencies:
44
cache_directories:
55
- "bower_components"
66
test:
7-
post:
8-
- grunt coveralls || true
7+
override:
8+
- npm run ci

dist/js-data-http.js

+17-8
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
/*!
2-
* js-data-http
3-
* @version 2.1.1 - Homepage <http://www.js-data.io/docs/dshttpadapter>
4-
* @author Jason Dobry <[email protected]>
5-
* @copyright (c) 2014-2015 Jason Dobry
6-
* @license MIT <https://github.com/js-data/js-data-http/blob/master/LICENSE>
7-
*
8-
* @overview Http adapter for js-data.
9-
*/
2+
* js-data-http
3+
* @version 2.1.2 - Homepage <http://www.js-data.io/docs/dshttpadapter>
4+
* @author Jason Dobry <[email protected]>
5+
* @copyright (c) 2014-2015 Jason Dobry
6+
* @license MIT <https://github.com/js-data/js-data-http/blob/master/LICENSE>
7+
*
8+
* @overview HTTP adapter for js-data.
9+
*/
1010
(function webpackUniversalModuleDefinition(root, factory) {
1111
if(typeof exports === 'object' && typeof module === 'object')
1212
module.exports = factory(require("js-data"));
@@ -408,6 +408,15 @@ return /******/ (function(modules) { // webpackBootstrap
408408
return DSHttpAdapter;
409409
})();
410410

411+
DSHttpAdapter.version = {
412+
full: '2.1.2',
413+
major: parseInt('2', 10),
414+
minor: parseInt('1', 10),
415+
patch: parseInt('2', 10),
416+
alpha: true ? 'false' : false,
417+
beta: true ? 'false' : false
418+
};
419+
411420
module.exports = DSHttpAdapter;
412421

413422
/***/ },

0 commit comments

Comments
 (0)