Skip to content

Commit ef63d66

Browse files
committed
Merge pull request #49 from garyb/affable
Add `Affable` class
2 parents 77cdfb5 + 9c4039f commit ef63d66

17 files changed

+230
-673
lines changed

.gitignore

-3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,3 @@
44
/output/
55
/node_modules/
66
/bower_components/
7-
/tmp/
8-
/node_modules/
9-
/examples/output/examples.js

.travis.yml

+13-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,17 @@
11
language: node_js
22
sudo: false
3-
node_js:
4-
- 0.12
3+
node_js: 5
54
install:
6-
- npm install bower gulp -g
7-
- npm install && bower install
5+
- npm install
6+
- npm install bower -g
7+
- bower install
88
script:
9-
- gulp
9+
- npm test
10+
after_success:
11+
- >-
12+
test $TRAVIS_TAG &&
13+
node_modules/.bin/psc-publish > .pursuit.json &&
14+
curl -X POST http://pursuit.purescript.org/packages \
15+
-d @.pursuit.json \
16+
-H 'Accept: application/json' \
17+
-H "Authorization: token ${GITHUB_TOKEN}"

README.md

+4-8
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# purescript-aff
22

3-
[![Build Status](https://travis-ci.org/slamdata/purescript-aff.svg?branch=master)](https://travis-ci.org/slamdata/purescript-aff)
43
[![Latest release](http://img.shields.io/bower/v/purescript-aff.svg)](https://github.com/slamdata/purescript-aff/releases)
4+
[![Build Status](https://travis-ci.org/slamdata/purescript-aff.svg?branch=master)](https://travis-ci.org/slamdata/purescript-aff)
5+
[![Dependency Status](https://www.versioneye.com/user/projects/56e00cb7df573d0048dafe47/badge.svg?style=flat)](https://www.versioneye.com/user/projects/56e00cb7df573d0048dafe47)
56

67
An asynchronous effect monad for PureScript.
78

@@ -17,7 +18,7 @@ main = launchAff $
1718
liftEff $ log response.body
1819
```
1920

20-
See the [examples directory](https://github.com/slamdata/purescript-aff/blob/master/examples/src/Examples.purs) for more examples.
21+
See the [tests](https://github.com/slamdata/purescript-aff/blob/master/test/Test/Main.purs) for more examples.
2122

2223
# Getting Started
2324

@@ -217,9 +218,4 @@ A parallel computation can be canceled if both of its individual components can
217218

218219
# API Docs
219220

220-
* [Control.Monad.Aff](docs/Control.Monad.Aff.md)
221-
* [Control.Monad.Aff.AVar](docs/Control.Monad.Aff.AVar.md)
222-
* [Control.Monad.Aff.Console](docs/Control.Monad.Aff.Console.md)
223-
* [Control.Monad.Aff.Class](docs/Control.Monad.Aff.Class.md)
224-
* [Control.Monad.Aff.Par](docs/Control.Monad.Aff.Par.md)
225-
* [Control.Monad.Aff.Unsafe](docs/Control.Monad.Aff.Unsafe.md)
221+
API documentation is [published on Pursuit](http://pursuit.purescript.org/packages/purescript-aff).

bower.json

+6-10
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,21 @@
66
"type": "git",
77
"url": "git://github.com/slamdata/purescript-aff.git"
88
},
9-
"keywords": [
10-
"purescript"
11-
],
12-
"license": "MIT",
9+
"license": "Apache-2.0",
1310
"ignore": [
1411
"**/.*",
1512
"bower_components",
1613
"node_modules",
1714
"output",
18-
"tests",
19-
"tmp",
15+
"test",
2016
"bower.json",
21-
"Gruntfile.js",
2217
"package.json"
2318
],
2419
"dependencies": {
25-
"purescript-console": "^0.1.0",
26-
"purescript-exceptions": "^0.3.0",
27-
"purescript-functions": "^0.1.0",
20+
"purescript-console": "^0.1.0",
21+
"purescript-exceptions": "^0.3.0",
22+
"purescript-free": "^0.9.1",
23+
"purescript-functions": "^0.1.0",
2824
"purescript-transformers": "^0.8.1"
2925
}
3026
}

docs/Control.Monad.Aff.AVar.md

-72
This file was deleted.

docs/Control.Monad.Aff.Class.md

-23
This file was deleted.

docs/Control.Monad.Aff.Console.md

-21
This file was deleted.

docs/Control.Monad.Aff.Par.md

-34
This file was deleted.

docs/Control.Monad.Aff.Unsafe.md

-15
This file was deleted.

0 commit comments

Comments
 (0)