Improved badges for travis, and included badge for latest published gem version
Change "finish" to "return" in the CoffeeTagAuto function

Finish is used to stop "sourcing" file in functions we use return.
Change "CoffeeAutoDisable" to "CoffeeAutoTagDisable" in the README.md

To make it consistent with the source code.
Merge pull request #42 from derenio/fix/CoffeeAutoTagDisabled

Fix/coffee auto tag disabled
Don't add namespace if it is empty
Add kind so that class, proto and var regex matches are actually printed
Fix printing proto methods, blocks
Update tests
Chomp line just once
Make regexes slightly simpler
Initial coveralls setup
Added simplecov to filter covered files
Added coveralls badge to readme
Use old hash syntax in Gemfile for Ruby 1.8 compat

We can't drop 1.8 compatibility because it's a default on older systems and I want to keep CoffeeTags as easy to install as possible
Remove 1.8.7 and 1.9.2 support in test matrix
Merge pull request #44 from lukaszkorecki/coveralls

Coveralls code coverage integration with travis ci
Fix a typo in help message

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Follow the output format of exuberant-ctags

I'm trying to merge the output from ctags and that from
coffeetags. Here ctags is used for .c and .h files; and coffeetags for
.coffee files.

I found gaps between two tags files.

ctags uses "line" where "lineno" used in coffeetags.
ctags uses "kind" where "type" used in coffeetags.

In addition language field is missing in the output of coffeetags.
From the view of coffeetags, language field is non-sense. However, when
mixing the output, the field is helpful to know the origin of each tag line.

I hope the output of coffeetags follows that of ctags.

Here is an example of ctags output:

    % ctags -o - --fields=+lntzkK ../yacc.c
    YaccParser	../yacc.c	/^extern parserDefinition* YaccParser ()$/;"	kind:function	line:30	language:C
    installYaccRegex	../yacc.c	/^static void installYaccRegex (const langType language)$/;"	kind:function	line:24	language:C	...

Here is an example of coffeetags output without this patch:

    %  coffeetags --include-vars foo.coffee
    ...
    BTree	foo.coffee	/^BTree   = ->$/;"	f	lineno:191	object:window	type:function
    BTree	foo.coffee	/^BTree = ->$/;"	f	lineno:203	object:window	type:function
    add	foo.coffee	/^add = (x, y) -> x + y$/;"	f	lineno:11	object:window	type:function
    b	foo.coffee	/^b       = new BTree$/;"	o	lineno:192	object:window	type:object
    b	foo.coffee	/^b = new BTree$/;"	o	lineno:204	object:window	type:object

Here is an example of coffeetags output with this patch:

    % bash ./run.sh foo.coffee
    ...
    BTree	foo.coffee	/^BTree   = ->$/;"	f	line:191	object:window	kind:function	language:coffee
    BTree	foo.coffee	/^BTree = ->$/;"	f	line:203	object:window	kind:function	language:coffee
    add	foo.coffee	/^add = (x, y) -> x + y$/;"	f	line:11	object:window	kind:function	language:coffee
    b	foo.coffee	/^b       = new BTree$/;"	o	line:192	object:window	kind:object	language:coffee
    b	foo.coffee	/^b = new BTree$/;"	o	line:204	object:window	kind:object	language:coffee

If this patch breaks interchangeability with other tools, I will wirte a patch
adding --follow-ctags-output.

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Add --list-kinds option

ctags has an option --list-kinds to lists the tag kinds.  I guess
users of those commands generating tags file may want to know the list
of kinds which the command deals.

Here is the example output:

    $ RUBYLIB=lib bin/coffeetags --list-kinds
    f  function
    c  class
    o  object
    v  var

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Fix TagBar