Skip to content

Commit 8bc1dbf

Browse files
committed
Merge pull request #68 from garyb/updates
Update dependencies and build
2 parents ae83d93 + 86e8568 commit 8bc1dbf

24 files changed

+102
-761
lines changed

.jscsrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
{
22
"preset": "grunt",
3+
"disallowSpacesInFunctionExpression": null,
4+
"requireSpacesInFunctionExpression": {
5+
"beforeOpeningRoundBrace": true,
6+
"beforeOpeningCurlyBrace": true
7+
},
38
"disallowSpacesInAnonymousFunctionExpression": null,
49
"requireSpacesInAnonymousFunctionExpression": {
510
"beforeOpeningRoundBrace": true,

.jshintrc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"freeze": true,
66
"funcscope": true,
77
"futurehostile": true,
8-
"globalstrict": true,
8+
"strict": "global",
99
"latedef": true,
1010
"maxparams": 1,
1111
"noarg": true,
@@ -15,5 +15,6 @@
1515
"singleGroups": true,
1616
"undef": true,
1717
"unused": true,
18-
"eqnull": true
18+
"eqnull": true,
19+
"predef": ["exports"]
1920
}

.travis.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
language: node_js
2-
sudo: false
3-
node_js:
4-
- 4
2+
dist: trusty
3+
sudo: required
4+
node_js: 5
55
install:
6-
- npm install bower gulp -g
7-
- npm install && bower install
6+
- npm install bower -g
7+
- npm install
8+
- bower install
89
script:
9-
- gulp
1010
- node ./test-server.js &
11-
- sleep 2 && node tmp/test.js
11+
- sleep 2 && pulp test
1212
after_success:
1313
- >-
1414
test $TRAVIS_TAG &&

README.md

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -41,23 +41,10 @@ main = launchAff $ do
4141
liftEff $ log $ "POST /api response: " ++ res2.response
4242
```
4343

44-
See the module documentation for a [full list of these helpers](docs/Network.HTTP.Affjax.md#get).
44+
See the module documentation for a full list of these helpers.
4545

46-
When sending data in a request the [`Requestable`](docs/Network.HTTP.Affjax.Request.md#requestable) class enables automatic conversion into a format that is acceptable for an XHR request. Correspondingly there is a [`Respondable`](docs/Network.HTTP.Affjax.Response.md#respondable) class for reading data that comes back from the server.
46+
When sending data in a request the Requestable class enables automatic conversion into a format that is acceptable for an XHR request. Correspondingly there is a Respondable class for reading data that comes back from the server.
4747

4848
## Module documentation
4949

50-
- [Network.HTTP.Affjax](docs/Network.HTTP.Affjax.md)
51-
- [Network.HTTP.Affjax.Request](docs/Network.HTTP.Affjax.Request.md)
52-
- [Network.HTTP.Affjax.Response](docs/Network.HTTP.Affjax.Response.md)
53-
54-
### General HTTP
55-
56-
Note: these values and types will most likely be moved into separate libraries at a later date.
57-
58-
- [Network.HTTP.Method](docs/Network.HTTP.Method.md)
59-
- [Network.HTTP.RequestHeader](docs/Network.HTTP.RequestHeader.md)
60-
- [Network.HTTP.ResponseHeader](docs/Network.HTTP.ResponseHeader.md)
61-
- [Network.HTTP.MimeType](docs/Network.HTTP.MimeType.md)
62-
- [Network.HTTP.MimeType.Common](docs/Network.HTTP.MimeType.Common.md)
63-
- [Network.HTTP.StatusCode](docs/Network.HTTP.StatusCode.md)
50+
Module documentation is [published on Pursuit](http://pursuit.purescript.org/packages/purescript-affjax).

bower.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,19 @@
2323
"package.json"
2424
],
2525
"dependencies": {
26-
"purescript-aff": "^0.14.1",
26+
"purescript-aff": "^0.16.0",
2727
"purescript-argonaut-core": "^0.2.0",
2828
"purescript-arraybuffer-types": "^0.2.0",
2929
"purescript-dom": "^0.2.0",
3030
"purescript-foreign": "^0.7.0",
31+
"purescript-form-urlencoded": "^0.3.0",
32+
"purescript-http-methods": "^0.1.1",
3133
"purescript-integers": "^0.2.0",
3234
"purescript-math": "^0.2.0",
35+
"purescript-media-types": "^0.1.1",
3336
"purescript-nullable": "^0.2.0",
3437
"purescript-refs": "^0.2.0",
35-
"purescript-unsafe-coerce": "^0.1.0",
36-
"purescript-form-urlencoded": "^0.3.0"
38+
"purescript-unsafe-coerce": "^0.1.0"
3739
},
3840
"devDependencies": {
3941
"purescript-console": "^0.1.0"

docs/Network.HTTP.Affjax.Request.md

Lines changed: 0 additions & 48 deletions
This file was deleted.

docs/Network.HTTP.Affjax.Response.md

Lines changed: 0 additions & 60 deletions
This file was deleted.

docs/Network.HTTP.Affjax.md

Lines changed: 0 additions & 187 deletions
This file was deleted.

0 commit comments

Comments
 (0)