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>
update the expected output of test cases

* s/lineno:/line:/
* s/type:/kind:/
* append language:coffee

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Added tests for the --list-kinds option
Merge branch 'pr-45'
Bump version to 0.3.0
Changed kind to type
Bumped version to 0.3.1
Merge commit '4e263e627d67182b408f47faf9e7ef2f299039cc'

Conflicts:
	lib/CoffeeTags/formatter.rb
	spec/fixtures/append-expected.ctags
	spec/fixtures/blockcomment.ctags
	spec/fixtures/out.test-relative-append.ctags
	spec/fixtures/out.test-relative.ctags
	spec/fixtures/out.test-two.ctags
	spec/fixtures/out.test.ctags
	spec/formatter_spec.rb
Update tests