CoffeeTags 0.5.1 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +2 -1
- data/lib/CoffeeTags/formatter.rb +0 -1
- data/lib/CoffeeTags/parser.rb +114 -32
- data/lib/CoffeeTags/version.rb +1 -1
- data/script/bump_version +12 -0
- data/spec/coffeetags_spec.rb +8 -5
- data/spec/fixtures/append-expected.ctags +24 -21
- data/spec/fixtures/append.ctags +18 -24
- data/spec/fixtures/blockcomment.ctags +1 -1
- data/spec/fixtures/campfire.js.tags +1 -1
- data/spec/fixtures/out.test-relative-append.ctags +30 -30
- data/spec/fixtures/out.test-relative.ctags +16 -16
- data/spec/fixtures/out.test-two.ctags +16 -16
- data/spec/fixtures/out.test.ctags +10 -9
- data/spec/fixtures/test_tree.yaml +6 -6
- data/spec/fixtures/tree.yaml +3 -2
- data/spec/parser_spec.rb +0 -6
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b05cb5e87997558764236d0a2d3851cdf5be4c5d
|
4
|
+
data.tar.gz: 02882da57c44fc15c7eb68f58b0f88769b49cf08
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 172dac2405fe4ae029f6b7cac91507a58d0877b63d32fded053a59e1246fe0a7fde038822cf65b022ccd78e045da8ebad7157b978ebb3c161e330a2e15587c3c
|
7
|
+
data.tar.gz: e12b440057b69aec784244d0a451aa054187d375b8e512390013dd1083ca11b5fc090e0ef943095c8c17b643d9034afe02ef3d716c0e688538b9245d98b3ba25
|
data/.travis.yml
CHANGED
data/lib/CoffeeTags/formatter.rb
CHANGED
data/lib/CoffeeTags/parser.rb
CHANGED
@@ -16,12 +16,14 @@ module Coffeetags
|
|
16
16
|
@tree = []
|
17
17
|
|
18
18
|
# regexes
|
19
|
-
@block = /^\s*(if
|
19
|
+
@block = /^\s*(if\s+|unless\s+|switch\s+|loop\s+|do\s+|for\s+)/
|
20
20
|
@class_regex = /\s*class\s+(?:@)?([\w\.]*)/
|
21
|
-
@
|
22
|
-
@
|
23
|
-
@
|
24
|
-
@
|
21
|
+
@func_regex = /^\s*(?<name>[a-zA-Z0-9_]+)\s?[=:]\s?(?<params>\([@a-zA-Z0-9_]*\))?\s?[=-]>/
|
22
|
+
@proto_meths = /^\s*(?<parent>[A-Za-z]+)::(?<name>[@a-zA-Z0-9_]*)/
|
23
|
+
@var_regex = /([@a-zA-Z0-9_]+)\s*[:=]\s*[^-=]*$/
|
24
|
+
@token_regex = /([@a-zA-Z0-9_]+)\s*[:=]/
|
25
|
+
#@iterator_regex = /^\s*for\s+([a-zA-Z0-9_]*)\s*/ # for in/of
|
26
|
+
@iterator_regex = /^\s*for\s+(?<name>[a-zA-Z0-9_]+)\s+(in|of)(?<parent>.)*/ # use named captures too specify parent variable in iterator
|
25
27
|
@comment_regex = /^\s*#/
|
26
28
|
@start_block_comment_regex = /^\s*###/
|
27
29
|
@end_block_comment_regex = /^.*###/
|
@@ -79,12 +81,17 @@ module Coffeetags
|
|
79
81
|
current_level = element[:level]
|
80
82
|
tree[0..idx].reverse.each_with_index do |item, index|
|
81
83
|
# uhmmmmmm
|
82
|
-
if item[:level]
|
83
|
-
|
84
|
+
if item[:level] < current_level
|
85
|
+
if item[:kind] == 'b'
|
86
|
+
true
|
87
|
+
elsif
|
88
|
+
bf << item[:name]
|
89
|
+
end
|
84
90
|
current_level = item[:level]
|
85
91
|
end
|
86
92
|
end
|
87
|
-
bf.uniq.reverse.join('.')
|
93
|
+
sp = bf.uniq.reverse.join('.')
|
94
|
+
sp
|
88
95
|
end
|
89
96
|
|
90
97
|
# Helper function for generating parse tree elements for given
|
@@ -97,14 +104,19 @@ module Coffeetags
|
|
97
104
|
# @returns [Hash,nil] returns a parse tree element consiting of:
|
98
105
|
# :name of the element
|
99
106
|
# indentation :level of the element
|
100
|
-
def item_for_regex line,
|
107
|
+
def item_for_regex line, regex, level, additional_fields={}
|
101
108
|
if item = line.match(regex)
|
102
109
|
entry_for_item = {
|
103
110
|
:level => level
|
104
111
|
}
|
105
|
-
if item.length > 2 # proto method
|
106
|
-
|
107
|
-
|
112
|
+
if item.length > 2 # proto method or func
|
113
|
+
if regex == @proto_meths
|
114
|
+
entry_for_item[:parent] = item[1]
|
115
|
+
entry_for_item[:name] = item[2]
|
116
|
+
elsif regex == @func_regex
|
117
|
+
entry_for_item[:name] = item[1]
|
118
|
+
#entry_for_item[:params] = item[2] # TODO: when formatting, show params in name ?
|
119
|
+
end
|
108
120
|
else
|
109
121
|
entry_for_item[:name] = item[1]
|
110
122
|
end
|
@@ -112,12 +124,39 @@ module Coffeetags
|
|
112
124
|
end
|
113
125
|
end
|
114
126
|
|
127
|
+
# Look through the tree to see if it's possible to change an entry's kind
|
128
|
+
# Differ the objects from simple variables
|
129
|
+
# Should execute after the whole tree has been generated
|
130
|
+
def comb_kinds tree
|
131
|
+
entries_with_parent = tree.reject {|c| c[:parent].nil? }
|
132
|
+
tree.each do |c|
|
133
|
+
next c unless c[:kind] == 'v'
|
134
|
+
maybe_child = entries_with_parent.select {|e| e[:parent] == c[:name]}
|
135
|
+
unless maybe_child.empty?
|
136
|
+
c[:kind] = 'o'
|
137
|
+
end
|
138
|
+
end
|
139
|
+
tree
|
140
|
+
end
|
141
|
+
|
142
|
+
# trim the bloated tree
|
143
|
+
# - when not required to include_vars, reject the variables
|
144
|
+
def trim_tree tree
|
145
|
+
unless @include_vars
|
146
|
+
tree = tree.reject do |c|
|
147
|
+
['v'].include? c[:kind]
|
148
|
+
end
|
149
|
+
end
|
150
|
+
tree
|
151
|
+
end
|
152
|
+
|
115
153
|
# Parse the source and create a tags tree
|
116
154
|
# @note this method mutates @tree instance variable of Coffeetags::Parser instance
|
117
155
|
# @returns self it can be chained
|
118
156
|
def execute!
|
119
157
|
line_n = 0
|
120
158
|
level = 0
|
159
|
+
classes = []
|
121
160
|
@source.each_line do |line|
|
122
161
|
line_n += 1
|
123
162
|
line.chomp!
|
@@ -130,31 +169,59 @@ module Coffeetags
|
|
130
169
|
[
|
131
170
|
[@class_regex, 'c'],
|
132
171
|
[@proto_meths, 'p'],
|
172
|
+
[@func_regex, 'f'],
|
133
173
|
[@var_regex, 'v'],
|
134
174
|
[@block, 'b']
|
135
175
|
].each do |regex, kind|
|
136
176
|
mt = item_for_regex line, regex, level, :source => line, :line => line_n, :kind => kind
|
137
|
-
|
177
|
+
unless mt.nil?
|
178
|
+
# TODO: one token should not fit for multiple regex
|
179
|
+
classes.push mt if kind == 'c'
|
180
|
+
next if kind == 'f' # wait for later to determine whether it is a class method
|
181
|
+
@tree << mt
|
182
|
+
end
|
138
183
|
end
|
139
184
|
|
140
|
-
|
141
185
|
# instance variable or iterator (for/in)?
|
142
186
|
token = line.match(@token_regex )
|
143
187
|
token ||= line.match(@iterator_regex)
|
144
188
|
|
145
189
|
# we have found something!
|
146
190
|
if not token.nil?
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
191
|
+
# should find token through the tree first
|
192
|
+
token_name = token[1]
|
193
|
+
existing_token = @tree.find {|o| o[:name] == token_name}
|
194
|
+
if existing_token
|
195
|
+
o = existing_token
|
196
|
+
else
|
197
|
+
o = {
|
198
|
+
:name => token_name,
|
199
|
+
:level => level,
|
200
|
+
:parent => '',
|
201
|
+
:source => line,
|
202
|
+
:line => line_n
|
203
|
+
}
|
204
|
+
end
|
205
|
+
|
206
|
+
# Remove edge cases for now
|
207
|
+
|
156
208
|
# - if a line containes a line like: element.getElement('type=[checkbox]').lol()
|
157
|
-
|
209
|
+
token_match_in_line = false
|
210
|
+
token_match_in_line = line.match token_name
|
211
|
+
unless token_match_in_line.nil?
|
212
|
+
offset = token_match_in_line.offset 0
|
213
|
+
str_before = line.slice 0, offset[0]
|
214
|
+
str_after = line.slice offset[1], line.size
|
215
|
+
[str_before, str_after].map do |str|
|
216
|
+
# if there are unmatch quotes, our token is in a string
|
217
|
+
token_match_in_line = ['"', '\''].any? { |q| str.scan(q).size % 2 == 1 }
|
218
|
+
end
|
219
|
+
end
|
220
|
+
|
221
|
+
if token_match_in_line
|
222
|
+
@tree = @tree.reject {|c| c[:name] == o[:name]}
|
223
|
+
next
|
224
|
+
end
|
158
225
|
|
159
226
|
# - scope access and comparison in if x == 'lol'
|
160
227
|
is_in_comparison = line =~ /::|==/
|
@@ -163,20 +230,35 @@ module Coffeetags
|
|
163
230
|
has_blank_parent = o[:parent] =~ /\.$/
|
164
231
|
|
165
232
|
# - multiple consecutive assignments
|
166
|
-
is_previous_not_the_same = !(@tree.last and @tree.last[:name] == o[:name] and
|
233
|
+
is_previous_not_the_same = !(@tree.last and @tree.last[:name] == o[:name] and @tree.last[:level] == o[:level])
|
167
234
|
|
168
|
-
if
|
169
|
-
o[:kind]
|
170
|
-
|
235
|
+
if !token_match_in_line and is_in_comparison.nil? and (has_blank_parent.nil? or is_previous_not_the_same)
|
236
|
+
unless o[:kind]
|
237
|
+
o[:kind] = line =~ /[:=]{1}.*[-=]\s?\>/ ? 'f' : 'v'
|
238
|
+
end
|
239
|
+
o[:parent] = scope_path o
|
171
240
|
o[:parent] = @fake_parent if o[:parent].empty?
|
172
241
|
|
173
|
-
|
174
|
-
|
242
|
+
# treat variable and function with a class as parent as property
|
243
|
+
if ['f', 'v', 'o'].include? o[:kind]
|
244
|
+
# TODO: process func params
|
245
|
+
maybe_parent_class = classes.find {|c| c[:name] == o[:parent] }
|
246
|
+
if maybe_parent_class
|
247
|
+
o[:kind] = 'p'
|
248
|
+
end
|
249
|
+
end
|
250
|
+
|
251
|
+
@tree << o unless @tree.include? o
|
175
252
|
end
|
176
253
|
end
|
177
|
-
# get rid of duplicate entries
|
178
|
-
@tree.uniq!
|
179
254
|
end
|
255
|
+
|
256
|
+
@tree = comb_kinds @tree
|
257
|
+
|
258
|
+
@tree = trim_tree @tree
|
259
|
+
|
260
|
+
# P.S when found a token, first lookup in the tree, thus the duplicate won't appear
|
261
|
+
# so there is no need of uniq_tree
|
180
262
|
self # chain!
|
181
263
|
end
|
182
264
|
end
|
data/lib/CoffeeTags/version.rb
CHANGED
data/script/bump_version
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
#!/usr/bin/env bash
|
2
|
+
|
3
|
+
readonly currentVersion=$(ruby -r ./lib/CoffeeTags/version.rb -e 'puts Coffeetags::VERSION')
|
4
|
+
readonly newVersion=$1
|
5
|
+
|
6
|
+
if [[ "$newVersion" == '' ]] ; then
|
7
|
+
echo "$(basename $0) <new_version>"
|
8
|
+
echo "Current version: $currentVersion"
|
9
|
+
exit 1
|
10
|
+
fi
|
11
|
+
|
12
|
+
git grep "$currentVersion" | cut -d: -f1 | tee /dev/stderr | uniq | xargs sed -i "s/$currentVersion/$newVersion/g"
|
data/spec/coffeetags_spec.rb
CHANGED
@@ -148,7 +148,9 @@ FF
|
|
148
148
|
FileUtils.mkdir "testout" unless File.directory? "testout"
|
149
149
|
output = "testout/test.out"
|
150
150
|
|
151
|
-
|
151
|
+
append_tags = 'testout/append_test.out'
|
152
|
+
Coffeetags::Utils.run({ :output => append_tags, :files => ["spec/fixtures/test.coffee"], :tag_relative => true })
|
153
|
+
FileUtils.cp append_tags, output
|
152
154
|
|
153
155
|
lines = Coffeetags::Utils.run({ :output => output, :files => ["spec/fixtures/campfire.coffee"], :append => true, :tag_relative => true })
|
154
156
|
File.read(output).should == File.read("./spec/fixtures/out.test-relative.ctags")
|
@@ -180,7 +182,7 @@ FF
|
|
180
182
|
|
181
183
|
it "returns contents of output file without header and without tags for files that will be indexed" do
|
182
184
|
lines = Coffeetags::Utils.setup_tag_lines("spec/fixtures/out.test-two.ctags", ["spec/fixtures/test.coffee"], true).map {|l| l.split("\t")[0]}
|
183
|
-
lines.should == %w{Campfire Test bump constructor handlers onFailure onSuccess recent
|
185
|
+
lines.should == %w{Campfire Test bump constructor handlers onFailure onSuccess recent roomInfo rooms}
|
184
186
|
end
|
185
187
|
|
186
188
|
it "returns contents of output file with relative file paths without header and without tags for files that will be indexed" do
|
@@ -190,9 +192,10 @@ FF
|
|
190
192
|
FileUtils.cp "spec/fixtures/out.test-relative.ctags", output
|
191
193
|
|
192
194
|
lines = Coffeetags::Utils.setup_tag_lines(output, ["spec/fixtures/test.coffee"], true).map {|l| l.split("\t")[0]}
|
193
|
-
lines.should == %w{Campfire Test bump constructor handlers onFailure onSuccess recent
|
195
|
+
lines.should == %w{Campfire Test bump constructor handlers onFailure onSuccess recent roomInfo rooms}
|
194
196
|
end
|
195
197
|
|
198
|
+
# FIXME: setup_tag_lines will reject some lines ...
|
196
199
|
it "returns contents of output file with relative file paths from absolute file path" do
|
197
200
|
FileUtils.mkdir "testout" unless File.directory? "testout"
|
198
201
|
output = "testout/test.out"
|
@@ -202,7 +205,7 @@ FF
|
|
202
205
|
expanded_path = Pathname.new("spec/fixtures/test.coffee").expand_path.to_s
|
203
206
|
|
204
207
|
lines = Coffeetags::Utils.setup_tag_lines(output, [expanded_path], true).map {|l| l.split("\t")[0]}
|
205
|
-
lines.should == %w{Campfire Test bump constructor handlers onFailure onSuccess recent
|
208
|
+
lines.should == %w{Campfire Test bump constructor handlers onFailure onSuccess recent roomInfo rooms}
|
206
209
|
end
|
207
210
|
|
208
211
|
it "returns contents of output file with relative file paths from absolution output path" do
|
@@ -212,7 +215,7 @@ FF
|
|
212
215
|
FileUtils.cp "spec/fixtures/out.test-relative.ctags", output
|
213
216
|
|
214
217
|
lines = Coffeetags::Utils.setup_tag_lines(Pathname.new(output).expand_path.to_s, ["spec/fixtures/test.coffee"], true).map {|l| l.split("\t")[0]}
|
215
|
-
lines.should == %w{Campfire Test bump constructor handlers onFailure onSuccess recent
|
218
|
+
lines.should == %w{Campfire Test bump constructor handlers onFailure onSuccess recent roomInfo rooms}
|
216
219
|
end
|
217
220
|
end
|
218
221
|
|
@@ -3,28 +3,31 @@
|
|
3
3
|
!_TAG_PROGRAM_AUTHOR Łukasz Korecki /lukasz@korecki.me/
|
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
|
6
|
+
!_TAG_PROGRAM_VERSION 0.6.0 //
|
7
|
+
@filter spec/fixtures/test.coffee /^ @filter = ->$/;" f line:14 language:coffee object:Wat.ho
|
8
8
|
Campfire spec/fixtures/campfire.coffee /^class Campfire$/;" c line:3 language:coffee
|
9
9
|
Test spec/fixtures/campfire.coffee /^class Test$/;" c line:45 language:coffee
|
10
|
-
|
11
|
-
|
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 : ->$/;"
|
15
|
-
bump spec/fixtures/test.coffee /^
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
handlers spec/fixtures/campfire.coffee /^ handlers: (callbacks) ->$/;"
|
24
|
-
ho spec/fixtures/test.coffee /^ ho : (x) ->$/;" f line:5 object:Wat
|
10
|
+
Wat spec/fixtures/test.coffee /^Wat =$/;" o line:4 language:coffee object:window
|
11
|
+
_loop spec/fixtures/test.coffee /^_loop = (x) ->$/;" f line:19 language:coffee object:window
|
12
|
+
beam_magnum spec/fixtures/test.coffee /^beam_magnum : -> deployed(true)$/;" f line:44 language:coffee object:window
|
13
|
+
bound_func spec/fixtures/test.coffee /^bound_func = (ok) => wat(ok)$/;" f line:41 language:coffee object:window
|
14
|
+
bump spec/fixtures/campfire.coffee /^ bump : ->$/;" p line:46 language:coffee object:Test
|
15
|
+
bump spec/fixtures/test.coffee /^bump = (wat) ->$/;" f line:1 language:coffee object:window
|
16
|
+
bump_up spec/fixtures/test.coffee /^ bump_up : ->$/;" f line:12 language:coffee object:Wat.ho.@lolWat
|
17
|
+
constructor spec/fixtures/campfire.coffee /^ constructor: (api_key, host) ->$/;" p line:8 language:coffee object:Campfire
|
18
|
+
do spec/fixtures/test.coffee /^ do (element) ->$/;" b line:29 language:coffee
|
19
|
+
do spec/fixtures/test.coffee /^ do (f) ->$/;" b line:36 language:coffee
|
20
|
+
f spec/fixtures/test.coffee /^for f in dir$/;" o line:35 language:coffee object:window
|
21
|
+
for spec/fixtures/test.coffee /^ for element in lol$/;" b line:28 language:coffee
|
22
|
+
for spec/fixtures/test.coffee /^for f in dir$/;" b line:35 language:coffee
|
23
|
+
handlers spec/fixtures/campfire.coffee /^ handlers: (callbacks) ->$/;" p line:14 language:coffee object:Campfire
|
24
|
+
ho spec/fixtures/test.coffee /^ ho : (x) ->$/;" f line:5 language:coffee object:Wat
|
25
|
+
if spec/fixtures/test.coffee /^ if wat$/;" b line:24 language:coffee
|
26
|
+
if spec/fixtures/test.coffee /^ if z.isSomethingRidic$/;" b line:21 language:coffee
|
27
|
+
loop spec/fixtures/test.coffee /^Array::loop = (x) ->$/;" p line:46 language:coffee object:Array
|
28
|
+
obj spec/fixtures/test.coffee /^obj =$/;" o line:49 language:coffee object:window
|
25
29
|
onFailure spec/fixtures/campfire.coffee /^ onFailure: (response) ->$/;" f line:24 language:coffee object:Campfire.handlers.resp
|
26
30
|
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) ->$/;"
|
28
|
-
|
29
|
-
|
30
|
-
rooms spec/fixtures/campfire.coffee /^ rooms: (callbacks) ->$/;" f line:29 language:coffee object:Campfire
|
31
|
+
recent spec/fixtures/campfire.coffee /^ recent: (id, since, callbacks) ->$/;" p line:40 language:coffee object:Campfire
|
32
|
+
roomInfo spec/fixtures/campfire.coffee /^ roomInfo: (id, callbacks) ->$/;" p line:34 language:coffee object:Campfire
|
33
|
+
rooms spec/fixtures/campfire.coffee /^ rooms: (callbacks) ->$/;" p line:29 language:coffee object:Campfire
|
data/spec/fixtures/append.ctags
CHANGED
@@ -3,27 +3,21 @@
|
|
3
3
|
!_TAG_PROGRAM_AUTHOR Łukasz Korecki /lukasz@korecki.me/
|
4
4
|
!_TAG_PROGRAM_NAME CoffeeTags //
|
5
5
|
!_TAG_PROGRAM_URL https://github.com/lukaszkorecki/CoffeeTags /GitHub repository/
|
6
|
-
!_TAG_PROGRAM_VERSION 0.
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
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
|
6
|
+
!_TAG_PROGRAM_VERSION 0.6.0 //
|
7
|
+
@filter spec/fixtures/test.coffee /^ @filter = ->$/;" f line:14 language:coffee object:Wat.ho
|
8
|
+
Wat spec/fixtures/test.coffee /^Wat =$/;" o line:4 language:coffee object:window
|
9
|
+
_loop spec/fixtures/test.coffee /^_loop = (x) ->$/;" f line:19 language:coffee object:window
|
10
|
+
beam_magnum spec/fixtures/test.coffee /^beam_magnum : -> deployed(true)$/;" f line:44 language:coffee object:window
|
11
|
+
bound_func spec/fixtures/test.coffee /^bound_func = (ok) => wat(ok)$/;" f line:41 language:coffee object:window
|
12
|
+
bump spec/fixtures/test.coffee /^bump = (wat) ->$/;" f line:1 language:coffee object:window
|
13
|
+
bump_up spec/fixtures/test.coffee /^ bump_up : ->$/;" f line:12 language:coffee object:Wat.ho.@lolWat
|
14
|
+
do spec/fixtures/test.coffee /^ do (element) ->$/;" b line:29 language:coffee
|
15
|
+
do spec/fixtures/test.coffee /^ do (f) ->$/;" b line:36 language:coffee
|
16
|
+
f spec/fixtures/test.coffee /^for f in dir$/;" o line:35 language:coffee object:window
|
17
|
+
for spec/fixtures/test.coffee /^ for element in lol$/;" b line:28 language:coffee
|
18
|
+
for spec/fixtures/test.coffee /^for f in dir$/;" b line:35 language:coffee
|
19
|
+
ho spec/fixtures/test.coffee /^ ho : (x) ->$/;" f line:5 language:coffee object:Wat
|
20
|
+
if spec/fixtures/test.coffee /^ if wat$/;" b line:24 language:coffee
|
21
|
+
if spec/fixtures/test.coffee /^ if z.isSomethingRidic$/;" b line:21 language:coffee
|
22
|
+
loop spec/fixtures/test.coffee /^Array::loop = (x) ->$/;" p line:46 language:coffee object:Array
|
23
|
+
obj spec/fixtures/test.coffee /^obj =$/;" o line:49 language:coffee object:window
|
@@ -3,7 +3,7 @@
|
|
3
3
|
!_TAG_PROGRAM_AUTHOR Łukasz Korecki /lukasz@korecki.me/
|
4
4
|
!_TAG_PROGRAM_NAME CoffeeTags //
|
5
5
|
!_TAG_PROGRAM_URL https://github.com/lukaszkorecki/CoffeeTags /GitHub repository/
|
6
|
-
!_TAG_PROGRAM_VERSION 0.
|
6
|
+
!_TAG_PROGRAM_VERSION 0.6.0 //
|
7
7
|
baz spec/fixtures/blockcomment.coffee /^baz : (x, y) ->$/;" f line:15 language:coffee object:window
|
8
8
|
echo2 spec/fixtures/blockcomment.coffee /^echo2 :-> console.log 'echo'$/;" f line:7 language:coffee object:window
|
9
9
|
echo3 spec/fixtures/blockcomment.coffee /^echo3 :-> console.log 'echo'$/;" f line:23 language:coffee object:window
|
@@ -3,7 +3,7 @@
|
|
3
3
|
!_TAG_PROGRAM_AUTHOR Łukasz Korecki /lukasz@korecki.me/
|
4
4
|
!_TAG_PROGRAM_NAME CoffeeTags //
|
5
5
|
!_TAG_PROGRAM_URL https://github.com/lukaszkorecki/CoffeeTags /GitHub repository/
|
6
|
-
!_TAG_PROGRAM_VERSION 0.
|
6
|
+
!_TAG_PROGRAM_VERSION 0.6.0 //
|
7
7
|
bump spec/fixtures/campfire.coffee /^ bump : ->$/;" f lineno:46 object:Test
|
8
8
|
constructor spec/fixtures/campfire.coffee /^ constructor: (api_key, host) ->$/;" f lineno:8 object:Campfire
|
9
9
|
handlers spec/fixtures/campfire.coffee /^ handlers: (callbacks) ->$/;" f lineno:14 object:Campfire
|
@@ -3,33 +3,33 @@
|
|
3
3
|
!_TAG_PROGRAM_AUTHOR Łukasz Korecki /lukasz@korecki.me/
|
4
4
|
!_TAG_PROGRAM_NAME CoffeeTags //
|
5
5
|
!_TAG_PROGRAM_URL https://github.com/lukaszkorecki/CoffeeTags /GitHub repository/
|
6
|
-
!_TAG_PROGRAM_VERSION 0.
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
if
|
27
|
-
|
28
|
-
|
29
|
-
obj
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
6
|
+
!_TAG_PROGRAM_VERSION 0.6.0 //
|
7
|
+
@filter spec/fixtures/test.coffee /^ @filter = ->$/;" f line:14 language:coffee object:bump
|
8
|
+
@lolWat spec/fixtures/test.coffee /^ @lolWat =$/;" v line:9 language:coffee object:Wat.ho
|
9
|
+
Wat spec/fixtures/test.coffee /^Wat =$/;" v line:4 language:coffee object:window
|
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 = (wat) ->$/;" f line:1 language:coffee object:window
|
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:bump
|
16
|
+
className spec/fixtures/test.coffee /^ className: 'notAClass'$/;" v line:50 language:coffee object:obj
|
17
|
+
dir spec/fixtures/test.coffee /^dir = fs.readdirSync __dirname$/;" v line:32 language:coffee object:window
|
18
|
+
do spec/fixtures/test.coffee /^ do (element) ->$/;" b line:29 language:coffee
|
19
|
+
do spec/fixtures/test.coffee /^ do (f) ->$/;" b line:36 language:coffee
|
20
|
+
for spec/fixtures/test.coffee /^ for element in lol$/;" b line:28 language:coffee
|
21
|
+
for spec/fixtures/test.coffee /^for f in dir$/;" b line:35 language:coffee
|
22
|
+
forVariable spec/fixtures/test.coffee /^ forVariable = 2 * element$/;" v line:30 language:coffee object:_loop
|
23
|
+
fu spec/fixtures/test.coffee /^ fu = 1$/;" v line:22 language:coffee object:_loop
|
24
|
+
ho spec/fixtures/test.coffee /^ ho : (x) ->$/;" f line:5 language:coffee object:Wat
|
25
|
+
if spec/fixtures/test.coffee /^ if wat$/;" b line:24 language:coffee
|
26
|
+
if spec/fixtures/test.coffee /^ if z.isSomethingRidic$/;" b line:21 language:coffee
|
27
|
+
loop spec/fixtures/test.coffee /^Array::loop = (x) ->$/;" p line:46 language:coffee object:Array
|
28
|
+
nice spec/fixtures/test.coffee /^ nice = 'ok'$/;" v line:25 language:coffee object:_loop
|
29
|
+
obj spec/fixtures/test.coffee /^obj =$/;" v line:49 language:coffee object:window
|
30
|
+
v spec/fixtures/test.coffee /^ v = 'test'$/;" v line:2 language:coffee object:bump
|
31
|
+
woop spec/fixtures/test.coffee /^ woop = 1$/;" v line:20 language:coffee object:_loop
|
32
|
+
x spec/fixtures/test.coffee /^ x = 'o'$/;" v line:6 language:coffee object:Wat.ho
|
33
|
+
x spec/fixtures/test.coffee /^ x = 'z' if bamp$/;" v line:7 language:coffee
|
34
|
+
x spec/fixtures/test.coffee /^ zorb = get['x=\\\\/f'].getLast('/woot\$')$/;" v line:39 language:coffee
|
35
|
+
x spec/fixtures/test.coffee /^x = dir + '/foo'$/;" v line:33 language:coffee
|
@@ -3,31 +3,31 @@
|
|
3
3
|
!_TAG_PROGRAM_AUTHOR Łukasz Korecki /lukasz@korecki.me/
|
4
4
|
!_TAG_PROGRAM_NAME CoffeeTags //
|
5
5
|
!_TAG_PROGRAM_URL https://github.com/lukaszkorecki/CoffeeTags /GitHub repository/
|
6
|
-
!_TAG_PROGRAM_VERSION 0.
|
6
|
+
!_TAG_PROGRAM_VERSION 0.6.0 //
|
7
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
8
|
Campfire ../spec/fixtures/campfire.coffee /^class Campfire$/;" c line:3 language:coffee
|
10
9
|
Test ../spec/fixtures/campfire.coffee /^class Test$/;" c line:45 language:coffee
|
11
|
-
Wat ../spec/fixtures/test.coffee /^Wat =$/;"
|
10
|
+
Wat ../spec/fixtures/test.coffee /^Wat =$/;" o line:4 language:coffee object:window
|
12
11
|
_loop ../spec/fixtures/test.coffee /^_loop = (x) ->$/;" f line:19 language:coffee object:window
|
13
12
|
beam_magnum ../spec/fixtures/test.coffee /^beam_magnum : -> deployed(true)$/;" f line:44 language:coffee object:window
|
14
13
|
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 : ->$/;"
|
16
|
-
bump ../spec/fixtures/test.coffee /^ bump : ->$/;" f line:10 language:coffee object:Wat.ho.@lolWat
|
14
|
+
bump ../spec/fixtures/campfire.coffee /^ bump : ->$/;" p line:46 language:coffee object:Test
|
17
15
|
bump ../spec/fixtures/test.coffee /^bump = (wat) ->$/;" f line:1 language:coffee object:window
|
18
16
|
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) ->$/;"
|
20
|
-
do
|
21
|
-
do
|
22
|
-
|
17
|
+
constructor ../spec/fixtures/campfire.coffee /^ constructor: (api_key, host) ->$/;" p line:8 language:coffee object:Campfire
|
18
|
+
do ../spec/fixtures/test.coffee /^ do (element) ->$/;" b line:29 language:coffee
|
19
|
+
do ../spec/fixtures/test.coffee /^ do (f) ->$/;" b line:36 language:coffee
|
20
|
+
f ../spec/fixtures/test.coffee /^for f in dir$/;" o line:35 language:coffee object:window
|
21
|
+
for ../spec/fixtures/test.coffee /^ for element in lol$/;" b line:28 language:coffee
|
22
|
+
for ../spec/fixtures/test.coffee /^for f in dir$/;" b line:35 language:coffee
|
23
|
+
handlers ../spec/fixtures/campfire.coffee /^ handlers: (callbacks) ->$/;" p line:14 language:coffee object:Campfire
|
23
24
|
ho ../spec/fixtures/test.coffee /^ ho : (x) ->$/;" f line:5 language:coffee object:Wat
|
24
|
-
if
|
25
|
-
if
|
25
|
+
if ../spec/fixtures/test.coffee /^ if wat$/;" b line:24 language:coffee
|
26
|
+
if ../spec/fixtures/test.coffee /^ if z.isSomethingRidic$/;" b line:21 language:coffee
|
26
27
|
loop ../spec/fixtures/test.coffee /^Array::loop = (x) ->$/;" p line:46 language:coffee object:Array
|
27
|
-
obj ../spec/fixtures/test.coffee /^obj =$/;"
|
28
|
+
obj ../spec/fixtures/test.coffee /^obj =$/;" o line:49 language:coffee object:window
|
28
29
|
onFailure ../spec/fixtures/campfire.coffee /^ onFailure: (response) ->$/;" f line:24 language:coffee object:Campfire.handlers.resp
|
29
30
|
onSuccess ../spec/fixtures/campfire.coffee /^ onSuccess : (response) ->$/;" f line:16 language:coffee object:Campfire.handlers.resp
|
30
|
-
recent ../spec/fixtures/campfire.coffee /^ recent: (id, since, callbacks) ->$/;"
|
31
|
-
|
32
|
-
|
33
|
-
rooms ../spec/fixtures/campfire.coffee /^ rooms: (callbacks) ->$/;" f line:29 language:coffee object:Campfire
|
31
|
+
recent ../spec/fixtures/campfire.coffee /^ recent: (id, since, callbacks) ->$/;" p line:40 language:coffee object:Campfire
|
32
|
+
roomInfo ../spec/fixtures/campfire.coffee /^ roomInfo: (id, callbacks) ->$/;" p line:34 language:coffee object:Campfire
|
33
|
+
rooms ../spec/fixtures/campfire.coffee /^ rooms: (callbacks) ->$/;" p line:29 language:coffee object:Campfire
|
@@ -3,31 +3,31 @@
|
|
3
3
|
!_TAG_PROGRAM_AUTHOR Łukasz Korecki /lukasz@korecki.me/
|
4
4
|
!_TAG_PROGRAM_NAME CoffeeTags //
|
5
5
|
!_TAG_PROGRAM_URL https://github.com/lukaszkorecki/CoffeeTags /GitHub repository/
|
6
|
-
!_TAG_PROGRAM_VERSION 0.
|
6
|
+
!_TAG_PROGRAM_VERSION 0.6.0 //
|
7
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
8
|
Campfire spec/fixtures/campfire.coffee /^class Campfire$/;" c line:3 language:coffee
|
10
9
|
Test spec/fixtures/campfire.coffee /^class Test$/;" c line:45 language:coffee
|
11
|
-
Wat spec/fixtures/test.coffee /^Wat =$/;"
|
10
|
+
Wat spec/fixtures/test.coffee /^Wat =$/;" o line:4 language:coffee object:window
|
12
11
|
_loop spec/fixtures/test.coffee /^_loop = (x) ->$/;" f line:19 language:coffee object:window
|
13
12
|
beam_magnum spec/fixtures/test.coffee /^beam_magnum : -> deployed(true)$/;" f line:44 language:coffee object:window
|
14
13
|
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 : ->$/;"
|
16
|
-
bump spec/fixtures/test.coffee /^ bump : ->$/;" f line:10 language:coffee object:Wat.ho.@lolWat
|
14
|
+
bump spec/fixtures/campfire.coffee /^ bump : ->$/;" p line:46 language:coffee object:Test
|
17
15
|
bump spec/fixtures/test.coffee /^bump = (wat) ->$/;" f line:1 language:coffee object:window
|
18
16
|
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) ->$/;"
|
20
|
-
do
|
21
|
-
do
|
22
|
-
|
17
|
+
constructor spec/fixtures/campfire.coffee /^ constructor: (api_key, host) ->$/;" p line:8 language:coffee object:Campfire
|
18
|
+
do spec/fixtures/test.coffee /^ do (element) ->$/;" b line:29 language:coffee
|
19
|
+
do spec/fixtures/test.coffee /^ do (f) ->$/;" b line:36 language:coffee
|
20
|
+
f spec/fixtures/test.coffee /^for f in dir$/;" o line:35 language:coffee object:window
|
21
|
+
for spec/fixtures/test.coffee /^ for element in lol$/;" b line:28 language:coffee
|
22
|
+
for spec/fixtures/test.coffee /^for f in dir$/;" b line:35 language:coffee
|
23
|
+
handlers spec/fixtures/campfire.coffee /^ handlers: (callbacks) ->$/;" p line:14 language:coffee object:Campfire
|
23
24
|
ho spec/fixtures/test.coffee /^ ho : (x) ->$/;" f line:5 language:coffee object:Wat
|
24
|
-
if
|
25
|
-
if
|
25
|
+
if spec/fixtures/test.coffee /^ if wat$/;" b line:24 language:coffee
|
26
|
+
if spec/fixtures/test.coffee /^ if z.isSomethingRidic$/;" b line:21 language:coffee
|
26
27
|
loop spec/fixtures/test.coffee /^Array::loop = (x) ->$/;" p line:46 language:coffee object:Array
|
27
|
-
obj spec/fixtures/test.coffee /^obj =$/;"
|
28
|
+
obj spec/fixtures/test.coffee /^obj =$/;" o line:49 language:coffee object:window
|
28
29
|
onFailure spec/fixtures/campfire.coffee /^ onFailure: (response) ->$/;" f line:24 language:coffee object:Campfire.handlers.resp
|
29
30
|
onSuccess spec/fixtures/campfire.coffee /^ onSuccess : (response) ->$/;" f line:16 language:coffee object:Campfire.handlers.resp
|
30
|
-
recent spec/fixtures/campfire.coffee /^ recent: (id, since, callbacks) ->$/;"
|
31
|
-
|
32
|
-
|
33
|
-
rooms spec/fixtures/campfire.coffee /^ rooms: (callbacks) ->$/;" f line:29 language:coffee object:Campfire
|
31
|
+
recent spec/fixtures/campfire.coffee /^ recent: (id, since, callbacks) ->$/;" p line:40 language:coffee object:Campfire
|
32
|
+
roomInfo spec/fixtures/campfire.coffee /^ roomInfo: (id, callbacks) ->$/;" p line:34 language:coffee object:Campfire
|
33
|
+
rooms spec/fixtures/campfire.coffee /^ rooms: (callbacks) ->$/;" p line:29 language:coffee object:Campfire
|
@@ -3,20 +3,21 @@
|
|
3
3
|
!_TAG_PROGRAM_AUTHOR Łukasz Korecki /lukasz@korecki.me/
|
4
4
|
!_TAG_PROGRAM_NAME CoffeeTags //
|
5
5
|
!_TAG_PROGRAM_URL https://github.com/lukaszkorecki/CoffeeTags /GitHub repository/
|
6
|
-
!_TAG_PROGRAM_VERSION 0.
|
6
|
+
!_TAG_PROGRAM_VERSION 0.6.0 //
|
7
7
|
@filter spec/fixtures/test.coffee /^ @filter = ->$/;" f line:14 language:coffee object:Wat.ho
|
8
|
-
|
9
|
-
Wat spec/fixtures/test.coffee /^Wat =$/;" v line:4 language:coffee
|
8
|
+
Wat spec/fixtures/test.coffee /^Wat =$/;" o line:4 language:coffee object:window
|
10
9
|
_loop spec/fixtures/test.coffee /^_loop = (x) ->$/;" f line:19 language:coffee object:window
|
11
10
|
beam_magnum spec/fixtures/test.coffee /^beam_magnum : -> deployed(true)$/;" f line:44 language:coffee object:window
|
12
11
|
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
12
|
bump spec/fixtures/test.coffee /^bump = (wat) ->$/;" f line:1 language:coffee object:window
|
15
13
|
bump_up spec/fixtures/test.coffee /^ bump_up : ->$/;" f line:12 language:coffee object:Wat.ho.@lolWat
|
16
|
-
do
|
17
|
-
do
|
14
|
+
do spec/fixtures/test.coffee /^ do (element) ->$/;" b line:29 language:coffee
|
15
|
+
do spec/fixtures/test.coffee /^ do (f) ->$/;" b line:36 language:coffee
|
16
|
+
f spec/fixtures/test.coffee /^for f in dir$/;" o line:35 language:coffee object:window
|
17
|
+
for spec/fixtures/test.coffee /^ for element in lol$/;" b line:28 language:coffee
|
18
|
+
for spec/fixtures/test.coffee /^for f in dir$/;" b line:35 language:coffee
|
18
19
|
ho spec/fixtures/test.coffee /^ ho : (x) ->$/;" f line:5 language:coffee object:Wat
|
19
|
-
if
|
20
|
-
if
|
20
|
+
if spec/fixtures/test.coffee /^ if wat$/;" b line:24 language:coffee
|
21
|
+
if spec/fixtures/test.coffee /^ if z.isSomethingRidic$/;" b line:21 language:coffee
|
21
22
|
loop spec/fixtures/test.coffee /^Array::loop = (x) ->$/;" p line:46 language:coffee object:Array
|
22
|
-
obj spec/fixtures/test.coffee /^obj =$/;"
|
23
|
+
obj spec/fixtures/test.coffee /^obj =$/;" o line:49 language:coffee object:window
|
@@ -7,14 +7,14 @@
|
|
7
7
|
:level: 0
|
8
8
|
- :source: " v = 'test'"
|
9
9
|
:parent: 'bump'
|
10
|
-
:kind:
|
10
|
+
:kind: v
|
11
11
|
:name: v
|
12
12
|
:line: 2
|
13
13
|
:level: 2
|
14
14
|
- :name: Wat
|
15
15
|
:source: 'Wat ='
|
16
16
|
:parent: window
|
17
|
-
:kind:
|
17
|
+
:kind: v
|
18
18
|
:level: 0
|
19
19
|
:line: 4
|
20
20
|
- :source: " ho : (x) ->"
|
@@ -25,14 +25,14 @@
|
|
25
25
|
:level: 2
|
26
26
|
- :source: " x = 'o'"
|
27
27
|
:level: 4
|
28
|
-
:kind:
|
28
|
+
:kind: v
|
29
29
|
:line: 6
|
30
30
|
:name: x
|
31
31
|
- :name: '@lolWat'
|
32
32
|
:level: 4
|
33
33
|
:line: 8
|
34
34
|
:source: ' @lolWat ='
|
35
|
-
:kind:
|
35
|
+
:kind: v
|
36
36
|
- :source: " bump : ->"
|
37
37
|
:parent: 'Wat.ho.@lolWat'
|
38
38
|
:kind: f
|
@@ -72,12 +72,12 @@
|
|
72
72
|
- :source: ' forVariable = 2 * element'
|
73
73
|
:parent: '_loop.element'
|
74
74
|
:line: 30
|
75
|
-
:kind:
|
75
|
+
:kind: v
|
76
76
|
:name: forVariable
|
77
77
|
:level: 6
|
78
78
|
- :source: " className: 'notAClass'"
|
79
79
|
:parent: obj
|
80
|
-
:kind:
|
80
|
+
:kind: v
|
81
81
|
:name: 'className'
|
82
82
|
:line: 50
|
83
83
|
:level: 2
|
data/spec/fixtures/tree.yaml
CHANGED
@@ -11,7 +11,7 @@
|
|
11
11
|
- :source: ' @url = "https://#{host}.campfirenow.com/"'
|
12
12
|
:name: '@url'
|
13
13
|
:parent: 'Campfire.constructor'
|
14
|
-
:kind:
|
14
|
+
:kind: v
|
15
15
|
:level: 4
|
16
16
|
:line: 9
|
17
17
|
- :source: " handlers: (callbacks) ->"
|
@@ -23,6 +23,7 @@
|
|
23
23
|
- :name: resp
|
24
24
|
:level: 4
|
25
25
|
:source: " resp ="
|
26
|
+
:parent: "Campfire.handlers"
|
26
27
|
:line: 15
|
27
28
|
:kind: v
|
28
29
|
- :source: " onSuccess : (response) ->"
|
@@ -57,7 +58,7 @@
|
|
57
58
|
:level: 2
|
58
59
|
- :source: ' url = "room/#{id}/recent.json"'
|
59
60
|
:parent: Campfire.recent
|
60
|
-
:kind:
|
61
|
+
:kind: v
|
61
62
|
:name: url
|
62
63
|
:line: 41
|
63
64
|
:level: 4
|
data/spec/parser_spec.rb
CHANGED
@@ -217,12 +217,6 @@ describe 'CoffeeTags::Parser' do
|
|
217
217
|
:line=>15,
|
218
218
|
:kind=>"f",
|
219
219
|
:name=>"baz"},
|
220
|
-
{:level=>2,
|
221
|
-
:parent=>"baz",
|
222
|
-
:source=>" console.log 'baz \#{x} : \#{y}'",
|
223
|
-
:line=>16,
|
224
|
-
:kind=>"o",
|
225
|
-
:name=>""},
|
226
220
|
{:level=>0,
|
227
221
|
:parent=>"window",
|
228
222
|
:source=>"echo3 :-> console.log 'echo'",
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: CoffeeTags
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- "Łukasz Korecki"
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-
|
12
|
+
date: 2015-04-24 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: CoffeeTags generates ctags compatibile tags for CoffeeScript.
|
15
15
|
email:
|
@@ -36,6 +36,7 @@ files:
|
|
36
36
|
- lib/CoffeeTags/parser.rb
|
37
37
|
- lib/CoffeeTags/version.rb
|
38
38
|
- plugin/coffee-autotag.vim
|
39
|
+
- script/bump_version
|
39
40
|
- spec/coffeetags_spec.rb
|
40
41
|
- spec/coveralls-setup.rb
|
41
42
|
- spec/fixtures/append-expected.ctags
|
@@ -80,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
80
81
|
version: '0'
|
81
82
|
requirements: []
|
82
83
|
rubyforge_project: CoffeeTags
|
83
|
-
rubygems_version: 2.
|
84
|
+
rubygems_version: 2.4.5
|
84
85
|
signing_key:
|
85
86
|
specification_version: 4
|
86
87
|
summary: tags generator for CoffeeScript
|