CoffeeTags 0.4.1 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/CoffeeTags/formatter.rb +0 -1
- data/lib/CoffeeTags/version.rb +1 -1
- data/spec/fixtures/append-expected.ctags +25 -25
- data/spec/fixtures/append.ctags +23 -23
- data/spec/fixtures/blockcomment.ctags +6 -6
- data/spec/fixtures/campfire.js.tags +9 -9
- data/spec/fixtures/out.test-relative-append.ctags +28 -28
- data/spec/fixtures/out.test-relative.ctags +27 -27
- data/spec/fixtures/out.test-two.ctags +27 -27
- data/spec/fixtures/out.test.ctags +16 -16
- data/spec/formatter_spec.rb +18 -6
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZTM3NmZjMjdmNGFlNDI5M2VjNjNiYTJiZmYwZDBjYTJjYmM2ZGY1Nw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NGUxOWJkMmRhYzMwMGMyZmUxY2M5YWZmMjBjNjc5YmE5M2M3MzAxOA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
OGJlMGE2YmIzZGUwNWY4ZmMzZGU2NTFjNWUzOGIwMzE0MGZhOTY0ZTZhMTc5
|
10
|
+
NDBkNGFhNmVlODhjYjg2YzVjZWM2N2JmMGIwMmE0MGFhMzJmNDVkZjlmZTZl
|
11
|
+
Y2U2YWFmMzZjMjMyNWM5MDk2ZDdkNTQyYjM3MDkyNWNhZTljZjc=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MDFiODhiNTEyNDlmNjRmMjcxYWY4MzcwZGNhOGZlZWNmMDc3Zjg2YmNkMTU0
|
14
|
+
Mjg0OWYwODJmOWQ0MDA5ZmZiZTA2OGZmZDgwYTI0YmYyMzc2MmRmY2UyZjA1
|
15
|
+
YzBiMTRhZmQ0OTk2MTFiYTg5MjE5ZjgzZGUwMjcwYjAwY2Y1ZGU=
|
data/lib/CoffeeTags/formatter.rb
CHANGED
data/lib/CoffeeTags/version.rb
CHANGED
@@ -3,28 +3,28 @@
|
|
3
3
|
!_TAG_PROGRAM_AUTHOR Łukasz Korecki /lukasz@coffeesounds.com/
|
4
4
|
!_TAG_PROGRAM_NAME CoffeeTags //
|
5
5
|
!_TAG_PROGRAM_URL https://github.com/lukaszkorecki/CoffeeTags /GitHub repository/
|
6
|
-
!_TAG_PROGRAM_VERSION 0.
|
7
|
-
@filter spec/fixtures/test.coffee /^ @filter = ->$/;" f line:14 object:Wat.ho
|
8
|
-
Campfire spec/fixtures/campfire.coffee /^class Campfire$/;" c line:3
|
9
|
-
Test spec/fixtures/campfire.coffee /^class Test$/;" c line:45
|
10
|
-
_loop spec/fixtures/test.coffee /^_loop = (x) ->$/;" f line:19 object:window
|
11
|
-
baz spec/fixtures/blockcomment.coffee /^baz : (x, y) ->$/;" f line:15 object:window
|
12
|
-
beam_magnum spec/fixtures/test.coffee /^beam_magnum : -> deployed(true)$/;" f line:44 object:window
|
13
|
-
bound_func spec/fixtures/test.coffee /^bound_func = (ok) => wat(ok)$/;" f line:41 object:window
|
14
|
-
bump spec/fixtures/campfire.coffee /^ bump : ->$/;" f line:46
|
15
|
-
bump spec/fixtures/test.coffee /^ bump : ->$/;" f line:10 object:Wat.ho.@lolWat
|
16
|
-
bump spec/fixtures/test.coffee /^bump = (wat) ->$/;" f line:1 object:window
|
17
|
-
bump_up spec/fixtures/test.coffee /^ bump_up : ->$/;" f line:12 object:Wat.ho.@lolWat
|
18
|
-
constructor spec/fixtures/campfire.coffee /^ constructor: (api_key, host) ->$/;" f line:8
|
19
|
-
echo2 spec/fixtures/blockcomment.coffee /^echo2 :-> console.log 'echo'$/;" f line:7 object:window
|
20
|
-
echo3 spec/fixtures/blockcomment.coffee /^echo3 :-> console.log 'echo'$/;" f line:23 object:window
|
21
|
-
foo spec/fixtures/blockcomment.coffee /^foo : (x) -> console.log 'bar #{x}'$/;" f line:26 object:window
|
22
|
-
foo2 spec/fixtures/blockcomment.coffee /^foo2 : (x) -> console.log 'bar #{x}'$/;" f line:10 object:window
|
23
|
-
handlers spec/fixtures/campfire.coffee /^ handlers: (callbacks) ->$/;" f line:14
|
24
|
-
ho spec/fixtures/test.coffee /^ ho : (x) ->$/;" f line:5 object:Wat
|
25
|
-
onFailure spec/fixtures/campfire.coffee /^ onFailure: (response) ->$/;" f line:24
|
26
|
-
onSuccess spec/fixtures/campfire.coffee /^ onSuccess : (response) ->$/;" f line:16
|
27
|
-
recent spec/fixtures/campfire.coffee /^ recent: (id, since, callbacks) ->$/;" f line:40
|
28
|
-
resp spec/fixtures/campfire.coffee /^ resp =$/;" v line:15
|
29
|
-
roomInfo spec/fixtures/campfire.coffee /^ roomInfo: (id, callbacks) ->$/;" f line:34
|
30
|
-
rooms spec/fixtures/campfire.coffee /^ rooms: (callbacks) ->$/;" f line:29
|
6
|
+
!_TAG_PROGRAM_VERSION 0.5.0 //
|
7
|
+
@filter spec/fixtures/test.coffee /^ @filter = ->$/;" f line:14 object:Wat.ho language:coffee
|
8
|
+
Campfire spec/fixtures/campfire.coffee /^class Campfire$/;" c line:3 language:coffee
|
9
|
+
Test spec/fixtures/campfire.coffee /^class Test$/;" c line:45 language:coffee
|
10
|
+
_loop spec/fixtures/test.coffee /^_loop = (x) ->$/;" f line:19 object:window language:coffee
|
11
|
+
baz spec/fixtures/blockcomment.coffee /^baz : (x, y) ->$/;" f line:15 object:window language:coffee
|
12
|
+
beam_magnum spec/fixtures/test.coffee /^beam_magnum : -> deployed(true)$/;" f line:44 object:window language:coffee
|
13
|
+
bound_func spec/fixtures/test.coffee /^bound_func = (ok) => wat(ok)$/;" f line:41 object:window language:coffee
|
14
|
+
bump spec/fixtures/campfire.coffee /^ bump : ->$/;" f line:46 language:coffee object:Test
|
15
|
+
bump spec/fixtures/test.coffee /^ bump : ->$/;" f line:10 object:Wat.ho.@lolWat language:coffee
|
16
|
+
bump spec/fixtures/test.coffee /^bump = (wat) ->$/;" f line:1 object:window language:coffee
|
17
|
+
bump_up spec/fixtures/test.coffee /^ bump_up : ->$/;" f line:12 object:Wat.ho.@lolWat language:coffee
|
18
|
+
constructor spec/fixtures/campfire.coffee /^ constructor: (api_key, host) ->$/;" f line:8 language:coffee object:Campfire
|
19
|
+
echo2 spec/fixtures/blockcomment.coffee /^echo2 :-> console.log 'echo'$/;" f line:7 object:window language:coffee
|
20
|
+
echo3 spec/fixtures/blockcomment.coffee /^echo3 :-> console.log 'echo'$/;" f line:23 object:window language:coffee
|
21
|
+
foo spec/fixtures/blockcomment.coffee /^foo : (x) -> console.log 'bar #{x}'$/;" f line:26 object:window language:coffee
|
22
|
+
foo2 spec/fixtures/blockcomment.coffee /^foo2 : (x) -> console.log 'bar #{x}'$/;" f line:10 object:window language:coffee
|
23
|
+
handlers spec/fixtures/campfire.coffee /^ handlers: (callbacks) ->$/;" f line:14 language:coffee object:Campfire
|
24
|
+
ho spec/fixtures/test.coffee /^ ho : (x) ->$/;" f line:5 object:Wat language:coffee
|
25
|
+
onFailure spec/fixtures/campfire.coffee /^ onFailure: (response) ->$/;" f line:24 language:coffee object:Campfire.handlers.resp
|
26
|
+
onSuccess spec/fixtures/campfire.coffee /^ onSuccess : (response) ->$/;" f line:16 language:coffee object:Campfire.handlers.resp
|
27
|
+
recent spec/fixtures/campfire.coffee /^ recent: (id, since, callbacks) ->$/;" f line:40 language:coffee object:Campfire
|
28
|
+
resp spec/fixtures/campfire.coffee /^ resp =$/;" v line:15 language:coffee
|
29
|
+
roomInfo spec/fixtures/campfire.coffee /^ roomInfo: (id, callbacks) ->$/;" f line:34 language:coffee object:Campfire
|
30
|
+
rooms spec/fixtures/campfire.coffee /^ rooms: (callbacks) ->$/;" f line:29 language:coffee object:Campfire
|
data/spec/fixtures/append.ctags
CHANGED
@@ -3,27 +3,27 @@
|
|
3
3
|
!_TAG_PROGRAM_AUTHOR Łukasz Korecki /lukasz@coffeesounds.com/
|
4
4
|
!_TAG_PROGRAM_NAME CoffeeTags //
|
5
5
|
!_TAG_PROGRAM_URL https://github.com/lukaszkorecki/CoffeeTags /GitHub repository/
|
6
|
-
!_TAG_PROGRAM_VERSION 0.
|
7
|
-
!_TAG_PROGRAM_VERSION 0.
|
6
|
+
!_TAG_PROGRAM_VERSION 0.5.0 //
|
7
|
+
!_TAG_PROGRAM_VERSION 0.5.0 //
|
8
8
|
!_THIS_LINE_SHOULD_GET_REMOVED Nothing to see here //
|
9
|
-
@filter spec/fixtures/test.coffee /^ @filter = ->$/;" f line:14 object:Wat.ho
|
10
|
-
_loop spec/fixtures/test.coffee /^_loop = (x) ->$/;" f line:19 object:window
|
11
|
-
baz spec/fixtures/blockcomment.coffee /^baz : (x, y) ->$/;" f line:15 object:window
|
12
|
-
beam_magnum spec/fixtures/test.coffee /^beam_magnum : -> deployed(true)$/;" f line:44 object:window
|
13
|
-
bound_func spec/fixtures/test.coffee /^bound_func = (ok) => wat(ok)$/;" f line:41 object:window
|
14
|
-
bump spec/fixtures/test.coffee /^ bump : ->$/;" f line:10 object:Wat.ho.@lolWat
|
15
|
-
bump spec/fixtures/test.coffee /^bump = (wat) ->$/;" f line:1 object:window
|
16
|
-
bump_up spec/fixtures/test.coffee /^ bump_up : ->$/;" f line:12 object:Wat.ho.@lolWat
|
17
|
-
constructor spec/fixtures/campfire.coffee /^ constructor: (api_key, host) ->$/;" f line:8 object:Campfire
|
18
|
-
constructor2 spec/fixtures/campfire.coffee /^ constructor: (api_key, host) ->$/;" f line:8 object:Campfire
|
19
|
-
echo2 spec/fixtures/blockcomment.coffee /^echo2 :-> console.log 'echo'$/;" f line:7 object:window
|
20
|
-
echo3 spec/fixtures/blockcomment.coffee /^echo3 :-> console.log 'echo'$/;" f line:23 object:window
|
21
|
-
foo spec/fixtures/blockcomment.coffee /^foo : (x) -> console.log 'bar #{x}'$/;" f line:26 object:window
|
22
|
-
foo2 spec/fixtures/blockcomment.coffee /^foo2 : (x) -> console.log 'bar #{x}'$/;" f line:10 object:window
|
23
|
-
handlers spec/fixtures/campfire.coffee /^ handlers: (callbacks) ->$/;" f line:14 object:Campfire
|
24
|
-
ho spec/fixtures/test.coffee /^ ho : (x) ->$/;" f line:5 object:Wat
|
25
|
-
onFailure spec/fixtures/campfire.coffee /^ onFailure: (response) ->$/;" f line:24 object:Campfire.handlers.resp
|
26
|
-
onSuccess spec/fixtures/campfire.coffee /^ onSuccess : (response) ->$/;" f line:16 object:Campfire.handlers.resp
|
27
|
-
recent spec/fixtures/campfire.coffee /^ recent: (id, since, callbacks) ->$/;" f line:40 object:Campfire
|
28
|
-
roomInfo spec/fixtures/campfire.coffee /^ roomInfo: (id, callbacks) ->$/;" f line:34 object:Campfire
|
29
|
-
rooms spec/fixtures/campfire.coffee /^ rooms: (callbacks) ->$/;" f line:29 object:Campfire
|
9
|
+
@filter spec/fixtures/test.coffee /^ @filter = ->$/;" f line:14 object:Wat.ho language:coffee
|
10
|
+
_loop spec/fixtures/test.coffee /^_loop = (x) ->$/;" f line:19 object:window language:coffee
|
11
|
+
baz spec/fixtures/blockcomment.coffee /^baz : (x, y) ->$/;" f line:15 object:window language:coffee
|
12
|
+
beam_magnum spec/fixtures/test.coffee /^beam_magnum : -> deployed(true)$/;" f line:44 object:window language:coffee
|
13
|
+
bound_func spec/fixtures/test.coffee /^bound_func = (ok) => wat(ok)$/;" f line:41 object:window language:coffee
|
14
|
+
bump spec/fixtures/test.coffee /^ bump : ->$/;" f line:10 object:Wat.ho.@lolWat language:coffee
|
15
|
+
bump spec/fixtures/test.coffee /^bump = (wat) ->$/;" f line:1 object:window language:coffee
|
16
|
+
bump_up spec/fixtures/test.coffee /^ bump_up : ->$/;" f line:12 object:Wat.ho.@lolWat language:coffee
|
17
|
+
constructor spec/fixtures/campfire.coffee /^ constructor: (api_key, host) ->$/;" f line:8 object:Campfire language:coffee
|
18
|
+
constructor2 spec/fixtures/campfire.coffee /^ constructor: (api_key, host) ->$/;" f line:8 object:Campfire language:coffee
|
19
|
+
echo2 spec/fixtures/blockcomment.coffee /^echo2 :-> console.log 'echo'$/;" f line:7 object:window language:coffee
|
20
|
+
echo3 spec/fixtures/blockcomment.coffee /^echo3 :-> console.log 'echo'$/;" f line:23 object:window language:coffee
|
21
|
+
foo spec/fixtures/blockcomment.coffee /^foo : (x) -> console.log 'bar #{x}'$/;" f line:26 object:window language:coffee
|
22
|
+
foo2 spec/fixtures/blockcomment.coffee /^foo2 : (x) -> console.log 'bar #{x}'$/;" f line:10 object:window language:coffee
|
23
|
+
handlers spec/fixtures/campfire.coffee /^ handlers: (callbacks) ->$/;" f line:14 object:Campfire language:coffee
|
24
|
+
ho spec/fixtures/test.coffee /^ ho : (x) ->$/;" f line:5 object:Wat language:coffee
|
25
|
+
onFailure spec/fixtures/campfire.coffee /^ onFailure: (response) ->$/;" f line:24 object:Campfire.handlers.resp language:coffee
|
26
|
+
onSuccess spec/fixtures/campfire.coffee /^ onSuccess : (response) ->$/;" f line:16 object:Campfire.handlers.resp language:coffee
|
27
|
+
recent spec/fixtures/campfire.coffee /^ recent: (id, since, callbacks) ->$/;" f line:40 object:Campfire language:coffee
|
28
|
+
roomInfo spec/fixtures/campfire.coffee /^ roomInfo: (id, callbacks) ->$/;" f line:34 object:Campfire language:coffee
|
29
|
+
rooms spec/fixtures/campfire.coffee /^ rooms: (callbacks) ->$/;" f line:29 object:Campfire language:coffee
|
@@ -3,9 +3,9 @@
|
|
3
3
|
!_TAG_PROGRAM_AUTHOR Łukasz Korecki /lukasz@coffeesounds.com/
|
4
4
|
!_TAG_PROGRAM_NAME CoffeeTags //
|
5
5
|
!_TAG_PROGRAM_URL https://github.com/lukaszkorecki/CoffeeTags /GitHub repository/
|
6
|
-
!_TAG_PROGRAM_VERSION 0.
|
7
|
-
baz spec/fixtures/blockcomment.coffee /^baz : (x, y) ->$/;" f line:15
|
8
|
-
echo2 spec/fixtures/blockcomment.coffee /^echo2 :-> console.log 'echo'$/;" f line:7
|
9
|
-
echo3 spec/fixtures/blockcomment.coffee /^echo3 :-> console.log 'echo'$/;" f line:23
|
10
|
-
foo spec/fixtures/blockcomment.coffee /^foo : (x) -> console.log 'bar #{x}'$/;" f line:26
|
11
|
-
foo2 spec/fixtures/blockcomment.coffee /^foo2 : (x) -> console.log 'bar #{x}'$/;" f line:10
|
6
|
+
!_TAG_PROGRAM_VERSION 0.5.0 //
|
7
|
+
baz spec/fixtures/blockcomment.coffee /^baz : (x, y) ->$/;" f line:15 language:coffee object:window
|
8
|
+
echo2 spec/fixtures/blockcomment.coffee /^echo2 :-> console.log 'echo'$/;" f line:7 language:coffee object:window
|
9
|
+
echo3 spec/fixtures/blockcomment.coffee /^echo3 :-> console.log 'echo'$/;" f line:23 language:coffee object:window
|
10
|
+
foo spec/fixtures/blockcomment.coffee /^foo : (x) -> console.log 'bar #{x}'$/;" f line:26 language:coffee object:window
|
11
|
+
foo2 spec/fixtures/blockcomment.coffee /^foo2 : (x) -> console.log 'bar #{x}'$/;" f line:10 language:coffee object:window
|
@@ -3,12 +3,12 @@
|
|
3
3
|
!_TAG_PROGRAM_AUTHOR Łukasz Korecki /lukasz@coffeesounds.com/
|
4
4
|
!_TAG_PROGRAM_NAME CoffeeTags //
|
5
5
|
!_TAG_PROGRAM_URL https://github.com/lukaszkorecki/CoffeeTags /GitHub repository/
|
6
|
-
!_TAG_PROGRAM_VERSION 0.
|
7
|
-
bump spec/fixtures/campfire.coffee /^ bump : ->$/;" f lineno:46 object:Test
|
8
|
-
constructor spec/fixtures/campfire.coffee /^ constructor: (api_key, host) ->$/;" f lineno:8 object:Campfire
|
9
|
-
handlers spec/fixtures/campfire.coffee /^ handlers: (callbacks) ->$/;" f lineno:14 object:Campfire
|
10
|
-
onFailure spec/fixtures/campfire.coffee /^ onFailure: (response) ->$/;" f lineno:24 object:Campfire.handlers.resp
|
11
|
-
onSuccess spec/fixtures/campfire.coffee /^ onSuccess : (response) ->$/;" f lineno:16 object:Campfire.handlers.resp
|
12
|
-
recent spec/fixtures/campfire.coffee /^ recent: (id, since, callbacks) ->$/;" f lineno:40 object:Campfire
|
13
|
-
roomInfo spec/fixtures/campfire.coffee /^ roomInfo: (id, callbacks) ->$/;" f lineno:34 object:Campfire
|
14
|
-
rooms spec/fixtures/campfire.coffee /^ rooms: (callbacks) ->$/;" f lineno:29 object:Campfire
|
6
|
+
!_TAG_PROGRAM_VERSION 0.5.0 //
|
7
|
+
bump spec/fixtures/campfire.coffee /^ bump : ->$/;" f lineno:46 object:Test
|
8
|
+
constructor spec/fixtures/campfire.coffee /^ constructor: (api_key, host) ->$/;" f lineno:8 object:Campfire
|
9
|
+
handlers spec/fixtures/campfire.coffee /^ handlers: (callbacks) ->$/;" f lineno:14 object:Campfire
|
10
|
+
onFailure spec/fixtures/campfire.coffee /^ onFailure: (response) ->$/;" f lineno:24 object:Campfire.handlers.resp
|
11
|
+
onSuccess spec/fixtures/campfire.coffee /^ onSuccess : (response) ->$/;" f lineno:16 object:Campfire.handlers.resp
|
12
|
+
recent spec/fixtures/campfire.coffee /^ recent: (id, since, callbacks) ->$/;" f lineno:40 object:Campfire
|
13
|
+
roomInfo spec/fixtures/campfire.coffee /^ roomInfo: (id, callbacks) ->$/;" f lineno:34 object:Campfire
|
14
|
+
rooms spec/fixtures/campfire.coffee /^ rooms: (callbacks) ->$/;" f lineno:29 object:Campfire
|
@@ -3,32 +3,32 @@
|
|
3
3
|
!_TAG_PROGRAM_AUTHOR Łukasz Korecki /lukasz@coffeesounds.com/
|
4
4
|
!_TAG_PROGRAM_NAME CoffeeTags //
|
5
5
|
!_TAG_PROGRAM_URL https://github.com/lukaszkorecki/CoffeeTags /GitHub repository/
|
6
|
-
!_TAG_PROGRAM_VERSION 0.
|
7
|
-
!_TAG_PROGRAM_VERSION 0.
|
6
|
+
!_TAG_PROGRAM_VERSION 0.5.0 //
|
7
|
+
!_TAG_PROGRAM_VERSION 0.5.0 //
|
8
8
|
!_THIS_LINE_SHOULD_GET_REMOVED Nothing to see here //
|
9
|
-
@filter ../spec/fixtures/test.coffee /^ @filter = ->$/;" f line:14
|
10
|
-
@lolWat ../spec/fixtures/test.coffee /^ @lolWat =$/;" v line:9
|
11
|
-
Campfire ../spec/fixtures/campfire.coffee /^class Campfire$/;" c line:3
|
12
|
-
Test ../spec/fixtures/campfire.coffee /^class Test$/;" c line:45
|
13
|
-
Wat ../spec/fixtures/test.coffee /^Wat =$/;" v line:4
|
14
|
-
_loop ../spec/fixtures/test.coffee /^_loop = (x) ->$/;" f line:19
|
15
|
-
beam_magnum ../spec/fixtures/test.coffee /^beam_magnum : -> deployed(true)$/;" f line:44
|
16
|
-
bound_func ../spec/fixtures/test.coffee /^bound_func = (ok) => wat(ok)$/;" f line:41
|
17
|
-
bump ../spec/fixtures/test.coffee /^ bump : ->$/;" f line:10
|
18
|
-
bump ../spec/fixtures/test.coffee /^bump = (wat) ->$/;" f line:1
|
19
|
-
bump_up ../spec/fixtures/test.coffee /^ bump_up : ->$/;" f line:12
|
20
|
-
constructor ../spec/fixtures/campfire.coffee /^ constructor: (api_key, host) ->$/;" f line:8
|
21
|
-
constructor2 ../spec/fixtures/campfire.coffee /^ constructor: (api_key, host) ->$/;" f lineno:8 object:Campfire
|
22
|
-
do ../spec/fixtures/test.coffee /^ do (element)$/;" b line:29
|
23
|
-
do ../spec/fixtures/test.coffee /^ do (f) ->$/;" b line:36
|
24
|
-
handlers ../spec/fixtures/campfire.coffee /^ handlers: (callbacks) ->$/;" f line:14
|
25
|
-
ho ../spec/fixtures/test.coffee /^ ho : (x) ->$/;" f line:5
|
26
|
-
if ../spec/fixtures/test.coffee /^ if wat$/;" b line:24
|
27
|
-
if ../spec/fixtures/test.coffee /^ if z.isSomethingRidic$/;" b line:21
|
28
|
-
loop ../spec/fixtures/test.coffee /^Array::loop = (x) ->$/;" p line:46
|
29
|
-
onFailure ../spec/fixtures/campfire.coffee /^ onFailure: (response) ->$/;" f line:24
|
30
|
-
onSuccess ../spec/fixtures/campfire.coffee /^ onSuccess : (response) ->$/;" f line:16
|
31
|
-
recent ../spec/fixtures/campfire.coffee /^ recent: (id, since, callbacks) ->$/;" f line:40
|
32
|
-
resp ../spec/fixtures/campfire.coffee /^ resp =$/;" v line:15
|
33
|
-
roomInfo ../spec/fixtures/campfire.coffee /^ roomInfo: (id, callbacks) ->$/;" f line:34
|
34
|
-
rooms ../spec/fixtures/campfire.coffee /^ rooms: (callbacks) ->$/;" f line:29
|
9
|
+
@filter ../spec/fixtures/test.coffee /^ @filter = ->$/;" f line:14 language:coffee object:Wat.ho
|
10
|
+
@lolWat ../spec/fixtures/test.coffee /^ @lolWat =$/;" v line:9 language:coffee
|
11
|
+
Campfire ../spec/fixtures/campfire.coffee /^class Campfire$/;" c line:3 language:coffee
|
12
|
+
Test ../spec/fixtures/campfire.coffee /^class Test$/;" c line:45 language:coffee
|
13
|
+
Wat ../spec/fixtures/test.coffee /^Wat =$/;" v line:4 language:coffee
|
14
|
+
_loop ../spec/fixtures/test.coffee /^_loop = (x) ->$/;" f line:19 language:coffee object:window
|
15
|
+
beam_magnum ../spec/fixtures/test.coffee /^beam_magnum : -> deployed(true)$/;" f line:44 language:coffee object:window
|
16
|
+
bound_func ../spec/fixtures/test.coffee /^bound_func = (ok) => wat(ok)$/;" f line:41 language:coffee object:window
|
17
|
+
bump ../spec/fixtures/test.coffee /^ bump : ->$/;" f line:10 language:coffee object:Wat.ho.@lolWat
|
18
|
+
bump ../spec/fixtures/test.coffee /^bump = (wat) ->$/;" f line:1 language:coffee object:window
|
19
|
+
bump_up ../spec/fixtures/test.coffee /^ bump_up : ->$/;" f line:12 language:coffee object:Wat.ho.@lolWat
|
20
|
+
constructor ../spec/fixtures/campfire.coffee /^ constructor: (api_key, host) ->$/;" f line:8 language:coffee object:Campfire
|
21
|
+
constructor2 ../spec/fixtures/campfire.coffee /^ constructor: (api_key, host) ->$/;" f lineno:8 object:Campfire
|
22
|
+
do ../spec/fixtures/test.coffee /^ do (element)$/;" b line:29 language:coffee
|
23
|
+
do ../spec/fixtures/test.coffee /^ do (f) ->$/;" b line:36 language:coffee
|
24
|
+
handlers ../spec/fixtures/campfire.coffee /^ handlers: (callbacks) ->$/;" f line:14 language:coffee object:Campfire
|
25
|
+
ho ../spec/fixtures/test.coffee /^ ho : (x) ->$/;" f line:5 language:coffee object:Wat
|
26
|
+
if ../spec/fixtures/test.coffee /^ if wat$/;" b line:24 language:coffee
|
27
|
+
if ../spec/fixtures/test.coffee /^ if z.isSomethingRidic$/;" b line:21 language:coffee
|
28
|
+
loop ../spec/fixtures/test.coffee /^Array::loop = (x) ->$/;" p line:46 language:coffee object:Array
|
29
|
+
onFailure ../spec/fixtures/campfire.coffee /^ onFailure: (response) ->$/;" f line:24 language:coffee object:Campfire.handlers.resp
|
30
|
+
onSuccess ../spec/fixtures/campfire.coffee /^ onSuccess : (response) ->$/;" f line:16 language:coffee object:Campfire.handlers.resp
|
31
|
+
recent ../spec/fixtures/campfire.coffee /^ recent: (id, since, callbacks) ->$/;" f line:40 language:coffee object:Campfire
|
32
|
+
resp ../spec/fixtures/campfire.coffee /^ resp =$/;" v line:15 language:coffee
|
33
|
+
roomInfo ../spec/fixtures/campfire.coffee /^ roomInfo: (id, callbacks) ->$/;" f line:34 language:coffee object:Campfire
|
34
|
+
rooms ../spec/fixtures/campfire.coffee /^ rooms: (callbacks) ->$/;" f line:29 language:coffee object:Campfire
|
@@ -3,30 +3,30 @@
|
|
3
3
|
!_TAG_PROGRAM_AUTHOR Łukasz Korecki /lukasz@coffeesounds.com/
|
4
4
|
!_TAG_PROGRAM_NAME CoffeeTags //
|
5
5
|
!_TAG_PROGRAM_URL https://github.com/lukaszkorecki/CoffeeTags /GitHub repository/
|
6
|
-
!_TAG_PROGRAM_VERSION 0.
|
7
|
-
@filter ../spec/fixtures/test.coffee /^ @filter = ->$/;" f line:14
|
8
|
-
@lolWat ../spec/fixtures/test.coffee /^ @lolWat =$/;" v line:9
|
9
|
-
Campfire ../spec/fixtures/campfire.coffee /^class Campfire$/;" c line:3
|
10
|
-
Test ../spec/fixtures/campfire.coffee /^class Test$/;" c line:45
|
11
|
-
Wat ../spec/fixtures/test.coffee /^Wat =$/;" v line:4
|
12
|
-
_loop ../spec/fixtures/test.coffee /^_loop = (x) ->$/;" f line:19
|
13
|
-
beam_magnum ../spec/fixtures/test.coffee /^beam_magnum : -> deployed(true)$/;" f line:44
|
14
|
-
bound_func ../spec/fixtures/test.coffee /^bound_func = (ok) => wat(ok)$/;" f line:41
|
15
|
-
bump ../spec/fixtures/campfire.coffee /^ bump : ->$/;" f line:46
|
16
|
-
bump ../spec/fixtures/test.coffee /^ bump : ->$/;" f line:10
|
17
|
-
bump ../spec/fixtures/test.coffee /^bump = (wat) ->$/;" f line:1
|
18
|
-
bump_up ../spec/fixtures/test.coffee /^ bump_up : ->$/;" f line:12
|
19
|
-
constructor ../spec/fixtures/campfire.coffee /^ constructor: (api_key, host) ->$/;" f line:8
|
20
|
-
do ../spec/fixtures/test.coffee /^ do (element)$/;" b line:29
|
21
|
-
do ../spec/fixtures/test.coffee /^ do (f) ->$/;" b line:36
|
22
|
-
handlers ../spec/fixtures/campfire.coffee /^ handlers: (callbacks) ->$/;" f line:14
|
23
|
-
ho ../spec/fixtures/test.coffee /^ ho : (x) ->$/;" f line:5
|
24
|
-
if ../spec/fixtures/test.coffee /^ if wat$/;" b line:24
|
25
|
-
if ../spec/fixtures/test.coffee /^ if z.isSomethingRidic$/;" b line:21
|
26
|
-
loop ../spec/fixtures/test.coffee /^Array::loop = (x) ->$/;" p line:46
|
27
|
-
onFailure ../spec/fixtures/campfire.coffee /^ onFailure: (response) ->$/;" f line:24
|
28
|
-
onSuccess ../spec/fixtures/campfire.coffee /^ onSuccess : (response) ->$/;" f line:16
|
29
|
-
recent ../spec/fixtures/campfire.coffee /^ recent: (id, since, callbacks) ->$/;" f line:40
|
30
|
-
resp ../spec/fixtures/campfire.coffee /^ resp =$/;" v line:15
|
31
|
-
roomInfo ../spec/fixtures/campfire.coffee /^ roomInfo: (id, callbacks) ->$/;" f line:34
|
32
|
-
rooms ../spec/fixtures/campfire.coffee /^ rooms: (callbacks) ->$/;" f line:29
|
6
|
+
!_TAG_PROGRAM_VERSION 0.5.0 //
|
7
|
+
@filter ../spec/fixtures/test.coffee /^ @filter = ->$/;" f line:14 language:coffee object:Wat.ho
|
8
|
+
@lolWat ../spec/fixtures/test.coffee /^ @lolWat =$/;" v line:9 language:coffee
|
9
|
+
Campfire ../spec/fixtures/campfire.coffee /^class Campfire$/;" c line:3 language:coffee
|
10
|
+
Test ../spec/fixtures/campfire.coffee /^class Test$/;" c line:45 language:coffee
|
11
|
+
Wat ../spec/fixtures/test.coffee /^Wat =$/;" v line:4 language:coffee
|
12
|
+
_loop ../spec/fixtures/test.coffee /^_loop = (x) ->$/;" f line:19 language:coffee object:window
|
13
|
+
beam_magnum ../spec/fixtures/test.coffee /^beam_magnum : -> deployed(true)$/;" f line:44 language:coffee object:window
|
14
|
+
bound_func ../spec/fixtures/test.coffee /^bound_func = (ok) => wat(ok)$/;" f line:41 language:coffee object:window
|
15
|
+
bump ../spec/fixtures/campfire.coffee /^ bump : ->$/;" f line:46 language:coffee object:Test
|
16
|
+
bump ../spec/fixtures/test.coffee /^ bump : ->$/;" f line:10 language:coffee object:Wat.ho.@lolWat
|
17
|
+
bump ../spec/fixtures/test.coffee /^bump = (wat) ->$/;" f line:1 language:coffee object:window
|
18
|
+
bump_up ../spec/fixtures/test.coffee /^ bump_up : ->$/;" f line:12 language:coffee object:Wat.ho.@lolWat
|
19
|
+
constructor ../spec/fixtures/campfire.coffee /^ constructor: (api_key, host) ->$/;" f line:8 language:coffee object:Campfire
|
20
|
+
do ../spec/fixtures/test.coffee /^ do (element)$/;" b line:29 language:coffee
|
21
|
+
do ../spec/fixtures/test.coffee /^ do (f) ->$/;" b line:36 language:coffee
|
22
|
+
handlers ../spec/fixtures/campfire.coffee /^ handlers: (callbacks) ->$/;" f line:14 language:coffee object:Campfire
|
23
|
+
ho ../spec/fixtures/test.coffee /^ ho : (x) ->$/;" f line:5 language:coffee object:Wat
|
24
|
+
if ../spec/fixtures/test.coffee /^ if wat$/;" b line:24 language:coffee
|
25
|
+
if ../spec/fixtures/test.coffee /^ if z.isSomethingRidic$/;" b line:21 language:coffee
|
26
|
+
loop ../spec/fixtures/test.coffee /^Array::loop = (x) ->$/;" p line:46 language:coffee object:Array
|
27
|
+
onFailure ../spec/fixtures/campfire.coffee /^ onFailure: (response) ->$/;" f line:24 language:coffee object:Campfire.handlers.resp
|
28
|
+
onSuccess ../spec/fixtures/campfire.coffee /^ onSuccess : (response) ->$/;" f line:16 language:coffee object:Campfire.handlers.resp
|
29
|
+
recent ../spec/fixtures/campfire.coffee /^ recent: (id, since, callbacks) ->$/;" f line:40 language:coffee object:Campfire
|
30
|
+
resp ../spec/fixtures/campfire.coffee /^ resp =$/;" v line:15 language:coffee
|
31
|
+
roomInfo ../spec/fixtures/campfire.coffee /^ roomInfo: (id, callbacks) ->$/;" f line:34 language:coffee object:Campfire
|
32
|
+
rooms ../spec/fixtures/campfire.coffee /^ rooms: (callbacks) ->$/;" f line:29 language:coffee object:Campfire
|
@@ -3,30 +3,30 @@
|
|
3
3
|
!_TAG_PROGRAM_AUTHOR Łukasz Korecki /lukasz@coffeesounds.com/
|
4
4
|
!_TAG_PROGRAM_NAME CoffeeTags //
|
5
5
|
!_TAG_PROGRAM_URL https://github.com/lukaszkorecki/CoffeeTags /GitHub repository/
|
6
|
-
!_TAG_PROGRAM_VERSION 0.
|
7
|
-
@filter spec/fixtures/test.coffee /^ @filter = ->$/;" f line:14
|
8
|
-
@lolWat spec/fixtures/test.coffee /^ @lolWat =$/;" v line:9
|
9
|
-
Campfire spec/fixtures/campfire.coffee /^class Campfire$/;" c line:3
|
10
|
-
Test spec/fixtures/campfire.coffee /^class Test$/;" c line:45
|
11
|
-
Wat spec/fixtures/test.coffee /^Wat =$/;" v line:4
|
12
|
-
_loop spec/fixtures/test.coffee /^_loop = (x) ->$/;" f line:19
|
13
|
-
beam_magnum spec/fixtures/test.coffee /^beam_magnum : -> deployed(true)$/;" f line:44
|
14
|
-
bound_func spec/fixtures/test.coffee /^bound_func = (ok) => wat(ok)$/;" f line:41
|
15
|
-
bump spec/fixtures/campfire.coffee /^ bump : ->$/;" f line:46
|
16
|
-
bump spec/fixtures/test.coffee /^ bump : ->$/;" f line:10
|
17
|
-
bump spec/fixtures/test.coffee /^bump = (wat) ->$/;" f line:1
|
18
|
-
bump_up spec/fixtures/test.coffee /^ bump_up : ->$/;" f line:12
|
19
|
-
constructor spec/fixtures/campfire.coffee /^ constructor: (api_key, host) ->$/;" f line:8
|
20
|
-
do spec/fixtures/test.coffee /^ do (element)$/;" b line:29
|
21
|
-
do spec/fixtures/test.coffee /^ do (f) ->$/;" b line:36
|
22
|
-
handlers spec/fixtures/campfire.coffee /^ handlers: (callbacks) ->$/;" f line:14
|
23
|
-
ho spec/fixtures/test.coffee /^ ho : (x) ->$/;" f line:5
|
24
|
-
if spec/fixtures/test.coffee /^ if wat$/;" b line:24
|
25
|
-
if spec/fixtures/test.coffee /^ if z.isSomethingRidic$/;" b line:21
|
26
|
-
loop spec/fixtures/test.coffee /^Array::loop = (x) ->$/;" p line:46
|
27
|
-
onFailure spec/fixtures/campfire.coffee /^ onFailure: (response) ->$/;" f line:24
|
28
|
-
onSuccess spec/fixtures/campfire.coffee /^ onSuccess : (response) ->$/;" f line:16
|
29
|
-
recent spec/fixtures/campfire.coffee /^ recent: (id, since, callbacks) ->$/;" f line:40
|
30
|
-
resp spec/fixtures/campfire.coffee /^ resp =$/;" v line:15
|
31
|
-
roomInfo spec/fixtures/campfire.coffee /^ roomInfo: (id, callbacks) ->$/;" f line:34
|
32
|
-
rooms spec/fixtures/campfire.coffee /^ rooms: (callbacks) ->$/;" f line:29
|
6
|
+
!_TAG_PROGRAM_VERSION 0.5.0 //
|
7
|
+
@filter spec/fixtures/test.coffee /^ @filter = ->$/;" f line:14 language:coffee object:Wat.ho
|
8
|
+
@lolWat spec/fixtures/test.coffee /^ @lolWat =$/;" v line:9 language:coffee
|
9
|
+
Campfire spec/fixtures/campfire.coffee /^class Campfire$/;" c line:3 language:coffee
|
10
|
+
Test spec/fixtures/campfire.coffee /^class Test$/;" c line:45 language:coffee
|
11
|
+
Wat spec/fixtures/test.coffee /^Wat =$/;" v line:4 language:coffee
|
12
|
+
_loop spec/fixtures/test.coffee /^_loop = (x) ->$/;" f line:19 language:coffee object:window
|
13
|
+
beam_magnum spec/fixtures/test.coffee /^beam_magnum : -> deployed(true)$/;" f line:44 language:coffee object:window
|
14
|
+
bound_func spec/fixtures/test.coffee /^bound_func = (ok) => wat(ok)$/;" f line:41 language:coffee object:window
|
15
|
+
bump spec/fixtures/campfire.coffee /^ bump : ->$/;" f line:46 language:coffee object:Test
|
16
|
+
bump spec/fixtures/test.coffee /^ bump : ->$/;" f line:10 language:coffee object:Wat.ho.@lolWat
|
17
|
+
bump spec/fixtures/test.coffee /^bump = (wat) ->$/;" f line:1 language:coffee object:window
|
18
|
+
bump_up spec/fixtures/test.coffee /^ bump_up : ->$/;" f line:12 language:coffee object:Wat.ho.@lolWat
|
19
|
+
constructor spec/fixtures/campfire.coffee /^ constructor: (api_key, host) ->$/;" f line:8 language:coffee object:Campfire
|
20
|
+
do spec/fixtures/test.coffee /^ do (element)$/;" b line:29 language:coffee
|
21
|
+
do spec/fixtures/test.coffee /^ do (f) ->$/;" b line:36 language:coffee
|
22
|
+
handlers spec/fixtures/campfire.coffee /^ handlers: (callbacks) ->$/;" f line:14 language:coffee object:Campfire
|
23
|
+
ho spec/fixtures/test.coffee /^ ho : (x) ->$/;" f line:5 language:coffee object:Wat
|
24
|
+
if spec/fixtures/test.coffee /^ if wat$/;" b line:24 language:coffee
|
25
|
+
if spec/fixtures/test.coffee /^ if z.isSomethingRidic$/;" b line:21 language:coffee
|
26
|
+
loop spec/fixtures/test.coffee /^Array::loop = (x) ->$/;" p line:46 language:coffee object:Array
|
27
|
+
onFailure spec/fixtures/campfire.coffee /^ onFailure: (response) ->$/;" f line:24 language:coffee object:Campfire.handlers.resp
|
28
|
+
onSuccess spec/fixtures/campfire.coffee /^ onSuccess : (response) ->$/;" f line:16 language:coffee object:Campfire.handlers.resp
|
29
|
+
recent spec/fixtures/campfire.coffee /^ recent: (id, since, callbacks) ->$/;" f line:40 language:coffee object:Campfire
|
30
|
+
resp spec/fixtures/campfire.coffee /^ resp =$/;" v line:15 language:coffee
|
31
|
+
roomInfo spec/fixtures/campfire.coffee /^ roomInfo: (id, callbacks) ->$/;" f line:34 language:coffee object:Campfire
|
32
|
+
rooms spec/fixtures/campfire.coffee /^ rooms: (callbacks) ->$/;" f line:29 language:coffee object:Campfire
|
@@ -3,19 +3,19 @@
|
|
3
3
|
!_TAG_PROGRAM_AUTHOR Łukasz Korecki /lukasz@coffeesounds.com/
|
4
4
|
!_TAG_PROGRAM_NAME CoffeeTags //
|
5
5
|
!_TAG_PROGRAM_URL https://github.com/lukaszkorecki/CoffeeTags /GitHub repository/
|
6
|
-
!_TAG_PROGRAM_VERSION 0.
|
7
|
-
@filter spec/fixtures/test.coffee /^ @filter = ->$/;" f line:14
|
8
|
-
@lolWat spec/fixtures/test.coffee /^ @lolWat =$/;" v line:9
|
9
|
-
Wat spec/fixtures/test.coffee /^Wat =$/;" v line:4
|
10
|
-
_loop spec/fixtures/test.coffee /^_loop = (x) ->$/;" f line:19
|
11
|
-
beam_magnum spec/fixtures/test.coffee /^beam_magnum : -> deployed(true)$/;" f line:44
|
12
|
-
bound_func spec/fixtures/test.coffee /^bound_func = (ok) => wat(ok)$/;" f line:41
|
13
|
-
bump spec/fixtures/test.coffee /^ bump : ->$/;" f line:10
|
14
|
-
bump spec/fixtures/test.coffee /^bump = (wat) ->$/;" f line:1
|
15
|
-
bump_up spec/fixtures/test.coffee /^ bump_up : ->$/;" f line:12
|
16
|
-
do spec/fixtures/test.coffee /^ do (element)$/;" b line:29
|
17
|
-
do spec/fixtures/test.coffee /^ do (f) ->$/;" b line:36
|
18
|
-
ho spec/fixtures/test.coffee /^ ho : (x) ->$/;" f line:5
|
19
|
-
if spec/fixtures/test.coffee /^ if wat$/;" b line:24
|
20
|
-
if spec/fixtures/test.coffee /^ if z.isSomethingRidic$/;" b line:21
|
21
|
-
loop spec/fixtures/test.coffee /^Array::loop = (x) ->$/;" p line:46
|
6
|
+
!_TAG_PROGRAM_VERSION 0.5.0 //
|
7
|
+
@filter spec/fixtures/test.coffee /^ @filter = ->$/;" f line:14 language:coffee object:Wat.ho
|
8
|
+
@lolWat spec/fixtures/test.coffee /^ @lolWat =$/;" v line:9 language:coffee
|
9
|
+
Wat spec/fixtures/test.coffee /^Wat =$/;" v line:4 language:coffee
|
10
|
+
_loop spec/fixtures/test.coffee /^_loop = (x) ->$/;" f line:19 language:coffee object:window
|
11
|
+
beam_magnum spec/fixtures/test.coffee /^beam_magnum : -> deployed(true)$/;" f line:44 language:coffee object:window
|
12
|
+
bound_func spec/fixtures/test.coffee /^bound_func = (ok) => wat(ok)$/;" f line:41 language:coffee object:window
|
13
|
+
bump spec/fixtures/test.coffee /^ bump : ->$/;" f line:10 language:coffee object:Wat.ho.@lolWat
|
14
|
+
bump spec/fixtures/test.coffee /^bump = (wat) ->$/;" f line:1 language:coffee object:window
|
15
|
+
bump_up spec/fixtures/test.coffee /^ bump_up : ->$/;" f line:12 language:coffee object:Wat.ho.@lolWat
|
16
|
+
do spec/fixtures/test.coffee /^ do (element)$/;" b line:29 language:coffee
|
17
|
+
do spec/fixtures/test.coffee /^ do (f) ->$/;" b line:36 language:coffee
|
18
|
+
ho spec/fixtures/test.coffee /^ ho : (x) ->$/;" f line:5 language:coffee object:Wat
|
19
|
+
if spec/fixtures/test.coffee /^ if wat$/;" b line:24 language:coffee
|
20
|
+
if spec/fixtures/test.coffee /^ if z.isSomethingRidic$/;" b line:21 language:coffee
|
21
|
+
loop spec/fixtures/test.coffee /^Array::loop = (x) ->$/;" p line:46 language:coffee object:Array
|
data/spec/formatter_spec.rb
CHANGED
@@ -13,16 +13,28 @@ describe 'CoffeeTags::Formatter' do
|
|
13
13
|
end
|
14
14
|
|
15
15
|
it "generates a line for method definition" do
|
16
|
-
exp = [
|
17
|
-
|
18
|
-
|
16
|
+
exp = [
|
17
|
+
'constructor',
|
18
|
+
'test.coffee',
|
19
|
+
"/^ constructor: (api_key, host) ->$/;\"",
|
20
|
+
'f',
|
21
|
+
'line:8',
|
22
|
+
'language:coffee',
|
23
|
+
'object:Campfire'
|
24
|
+
].join("\t")
|
19
25
|
@instance.parse_tree.first.should == exp
|
20
26
|
end
|
21
27
|
|
22
28
|
it "generates line for second class" do
|
23
|
-
exp = [
|
24
|
-
|
25
|
-
|
29
|
+
exp = [
|
30
|
+
'bump',
|
31
|
+
'test.coffee',
|
32
|
+
"/^ bump : ->$/;\"",
|
33
|
+
'f',
|
34
|
+
'line:46',
|
35
|
+
'language:coffee',
|
36
|
+
'object:Test'
|
37
|
+
].join "\t"
|
26
38
|
@instance.parse_tree.last.should == exp
|
27
39
|
end
|
28
40
|
|