Skip to content

Commit

Permalink
Update requirements. Added license
Browse files Browse the repository at this point in the history
  • Loading branch information
alexindigo committed Oct 4, 2016
1 parent 8fd8322 commit b78c727
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 7 deletions.
21 changes: 18 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,22 @@
language: node_js
node_js:
- "0.4"
- "0.6"
- "0.8"
- "0.10"
- "0.11"
- "0.12"
- "iojs"
- "4"
- "5"
- "6"

os:
- osx
- linux

install:
- travis_retry npm install

script:
- uname -a
- node --version
- npm --version
- npm run test
19 changes: 19 additions & 0 deletions License
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Copyright (c) 2012 Felix Geisendörfer (felix@debuggable.com) and contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
6 changes: 5 additions & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ assert.equals(objectMethodCall.calls.length, 1);
### fake.expect(object, method, [times, withArgs, andReturn | andHandle])

Set up an ordered expectation. Calling any other methods controlled by fake
before this expectation has been satisifed will throw an exception.
before this expectation has been satisfied will throw an exception.

### fake.expectAnytime(object, method, [times, withArgs, andReturn | andHandle])

Expand All @@ -62,3 +62,7 @@ for functions, without caring if the function is ever called.
* Documentation
* Handle fake functions being claimed by multiple fakes
* NodeModuleScene / BrowserScriptScene?

## License

Fake is released under the [MIT](License) license.
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
{
"name": "fake",
"author": "Felix Geisendörfer <felix@debuggable.com> (http://debuggable.com/)",
"description": "Test your JavaScript with focused programmer tests. Fake depedencies.",
"description": "Test your JavaScript with focused programmer tests. Fake dependencies.",
"version": "0.2.2",
"repository": {
"type": "git",
"url": "git://github.com/felixge/node-fake.git"
},
"main": "./lib/fake",
"engines": {
"node": ">=0.4.0"
"node": ">=0.8.0"
},
"scripts": {
"test": "make test"
},
"dependencies": {},
"devDependencies": {
"far": "~0.0.7"
}
},
"license": "MIT"
}

0 comments on commit b78c727

Please sign in to comment.