socketstream/socketstream — pull request #410 by RomanMinkin (2013-10-21 00:40:56+00:00)
Title: - should bump to 2.0.1, was 0.6.3!

Hi everyone!

Here are some updates:

- ```should``` module bump to 2.0.1, was 0.6.3!
- Linted all the file from ```lib/client/``` directory
- Linted ```lib/utils/file.js```
- Linted ```lib/utils/misc.js```
- ```test/unit/utils/utils.test.js``` renamed to ```test/unit/utils/file.test.js``` to be in tact with original file name
- Added tests for ```lib/utils/misc.js``` .parseWsMessage()
- Updated tests for all the files from lib/utils/ directory, now t's easy to read ```grunt test``` output:

```bash
lib/utils/file
.isDir()
✓ should return true for directories
✓ should return false for non-directories
.findExtForBasePath()
✓ should return a matching file with an extension
✓ should return the alpha-first matching file if there are multiple
✓ should return null for no matching files
✓ should return null for files that do not exist

lib/utils/misc
.parseWsMessage()
✓ should parse incomming message
✓ should trow an error if message is invalid
.extend()
✓ should do nothing with a single argument
✓ should merge two objects
✓ should merge three objects
✓ should give priority to the last argument
.defaults()
✓ should only be used for undeclared parameters

lib/utils/unique_set
✓ should add elements
✓ should remove an element
✓ should list keys in a set
✓ should remove a value across all keys

24 passing (212ms)
69 pending
```

p.s. This PR doesn't cover all the files from #408, it's just a beginning =)