Skip to content
This repository has been archived by the owner on Jul 25, 2018. It is now read-only.

Commit

Permalink
Rename library
Browse files Browse the repository at this point in the history
fantasia -> fantasy-frees
  • Loading branch information
SimonRichardson committed Aug 19, 2015
1 parent 8501ea5 commit c455313
Show file tree
Hide file tree
Showing 11 changed files with 42 additions and 20 deletions.
31 changes: 27 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,32 @@
# Fantasia
# Fantasy Frees

Free yourself in the land of fantasies.
![](https://raw.github.com/puffnfresh/fantasy-land/master/logo.png)

## General

![](http://3.bp.blogspot.com/-jvZKYuaAR0Y/UziH2UehOyI/AAAAAAAADAQ/K98vi-MnSxM/s1600/Mickey+Sorcerer's+Apprentice+.gif)
Free yourself in the land of fantasies.

### Interpreters

See [examples](examples) for now.
See [examples](examples) for now.

## Testing

### Library

Fantasy Options uses [nodeunit](https://github.com/caolan/nodeunit) for
all the tests and because of this there is currently an existing
[adapter](test/lib/test.js) in the library to help with integration
between nodeunit and Fantasy Check.

### Coverage

Currently Fantasy Check is using [Istanbul](https://github.com/gotwarlost/istanbul)
for code coverage analysis; you can run the coverage via the following
command:

_This assumes that you have istanbul installed correctly._

```
istanbul cover nodeunit -- test/*.js
```
3 changes: 1 addition & 2 deletions examples/coyoneda-fusion.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
var fantasia = require('./../fantasia'),

var fantasia = require('./../fantasy-frees'),
Coyoneda = fantasia.Coyoneda;

function add(x) {
Expand Down
2 changes: 1 addition & 1 deletion examples/interpreter-forth.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
var combinators = require('fantasy-combinators'),
daggy = require('daggy'),
fantasia = require('./../fantasia'),
fantasia = require('./../fantasy-frees'),
tuples = require('fantasy-tuples'),

Lens = require('fantasy-lenses').Lens,
Expand Down
2 changes: 1 addition & 1 deletion examples/interpreter-http.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
var combinators = require('fantasy-combinators'),
daggy = require('daggy'),
fantasia = require('./../fantasia'),
fantasia = require('./../fantasy-frees'),

Lens = require('fantasy-lenses').Lens,

Expand Down
2 changes: 1 addition & 1 deletion examples/interpreter-kvs.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
var combinators = require('fantasy-combinators'),
daggy = require('daggy'),
fantasia = require('./../fantasia'),
fantasia = require('./../fantasy-frees'),
tuples = require('fantasy-tuples'),

Lens = require('fantasy-lenses').Lens,
Expand Down
2 changes: 1 addition & 1 deletion examples/interpreter-terminal.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
var combinators = require('fantasy-combinators'),
daggy = require('daggy'),
fantasia = require('./../fantasia'),
fantasia = require('./../fantasy-frees'),
tuples = require('fantasy-tuples'),
readin = require('readline-sync'),

Expand Down
2 changes: 1 addition & 1 deletion examples/interpreter-turtle.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
var combinators = require('fantasy-combinators'),
daggy = require('daggy'),
fantasia = require('./../fantasia'),
fantasia = require('./../fantasy-frees'),
tuples = require('fantasy-tuples'),

Lens = require('fantasy-lenses').Lens,
Expand Down
2 changes: 1 addition & 1 deletion examples/interpreter-tweet.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
var combinators = require('fantasy-combinators'),
daggy = require('daggy'),
fantasia = require('./../fantasia'),
fantasia = require('./../fantasy-frees'),
tuples = require('fantasy-tuples'),
helpers = require('fantasy-helpers'),

Expand Down
2 changes: 1 addition & 1 deletion examples/trampoline.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
var fantasia = require('./../fantasia'),
var fantasia = require('./../fantasy-frees'),
combinators = require('fantasy-combinators'),

identity = combinators.identity,
Expand Down
File renamed without changes.
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "fantasia",
"name": "fantasy-frees",
"description": "Free yourself in the land of fantasies.",
"author": "Simon Richardson <[email protected]> (https://github.com/SimonRichardson)",
"homepage": "https://github.com/SimonRichardson/fantasia",
"homepage": "https://github.com/SimonRichardson/fantasy-frees",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/SimonRichardson/fantasia.git"
"url": "git+https://github.com/SimonRichardson/fantasy-frees.git"
},
"dependencies": {
"fantasy-combinators": "^0.x.x",
Expand Down Expand Up @@ -34,13 +34,13 @@
"test": "grunt"
},
"files": [
"fantasia.js",
"fantasy-frees.js",
"src/*.js"
],
"main": "src/server.js",
"version": "0.0.1",
"main": "fantasy-frees.js",
"version": "0.1.0",
"bugs": {
"url": "https://github.com/SimonRichardson/fantasia/issues"
"url": "https://github.com/SimonRichardson/fantasy-frees/issues"
},
"directories": {
"example": "examples",
Expand Down

0 comments on commit c455313

Please sign in to comment.