diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 6659c55..fc461b6 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -5,7 +5,7 @@ Follow simple rules: - Not violate [DRY](http://programmer.97things.oreilly.com/wiki/index.php/Don%27t_Repeat_Yourself). - [Boy Scout Rule](http://programmer.97things.oreilly.com/wiki/index.php/The_Boy_Scout_Rule) needs to have been applied. -1. Your code should look like all the other code - this project should look like it was written by one man, always. +1. Your code should look like all the other code - this project should look like it was written by one person, always. 2. If you want to propose something - just create an issue and describe your question with as much description as you can. 3. Please never send issues or pull requests about code style, jshint violations etc - I do not accept it (and you will spend your time for free). 4. If you think you have some general improvement, consider creating a pull request with it. diff --git a/LICENSE b/LICENSE index e3fcf59..61c0d40 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,5 @@ -Copyright (c) 2010-2014 TJ Holowaychuk +Copyright(c) 2010-2013 TJ Holowaychuk +Copyright(c) 2013-2016 Denis Bardadym Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -16,4 +17,4 @@ 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. \ No newline at end of file +THE SOFTWARE. diff --git a/Readme.md b/Readme.md index 23d6c72..c00feb4 100644 --- a/Readme.md +++ b/Readme.md @@ -212,4 +212,4 @@ Also it is possible use it without extension. Just use `require('should/as-funct ## License -MIT © 2010-2014 TJ Holowaychuk +MIT. See LICENSE for details. diff --git a/lib/ext/chain.js b/lib/ext/chain.js index 58f5eeb..7b553d8 100644 --- a/lib/ext/chain.js +++ b/lib/ext/chain.js @@ -16,6 +16,7 @@ export default function(should, Assertion) { * @alias Assertion#of * @alias Assertion#a * @alias Assertion#and + * @alias Assertion#been * @alias Assertion#have * @alias Assertion#has * @alias Assertion#with @@ -25,7 +26,7 @@ export default function(should, Assertion) { * @alias Assertion#it * @category assertion chaining */ - ['an', 'of', 'a', 'and', 'be', 'has', 'have', 'with', 'is', 'which', 'the', 'it'].forEach(function(name) { + ['an', 'of', 'a', 'and', 'be', 'been', 'has', 'have', 'with', 'is', 'which', 'the', 'it'].forEach(function(name) { Assertion.addChain(name); }); }