milkode 0.3.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,10 @@
1
+ === 0.4.0 2012/02/02
2
+
3
+ * gmilk
4
+ * -iオプションの復活
5
+ * -gオプションの追加(Goto line mode)
6
+ * -cオプションを追加(マッチ数のみを表示)
7
+
1
8
  === 0.3.0 2012/01/20
2
9
 
3
10
  * gmilk
@@ -1,3 +1,10 @@
1
+ === 0.4.0 2012/02/02
2
+
3
+ * gmilk
4
+ * Revert -i option
5
+ * Add -g option (Goto line mode)
6
+ * Add -c option (Disp count num)
7
+
1
8
  === 0.3.0 2012/01/20
2
9
 
3
10
  * gmilk
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.0
1
+ 0.4.0
data/bin/gmilk CHANGED
@@ -6,5 +6,5 @@
6
6
  require 'rubygems'
7
7
  require 'milkode/grep/cli_grep'
8
8
 
9
- Version = "0.3.0"
9
+ Version = "0.4.0"
10
10
  Milkode::CLI_Grep.execute(STDOUT, ARGV)
data/bin/milk CHANGED
@@ -6,5 +6,5 @@
6
6
  require 'rubygems'
7
7
  require 'milkode/cdstk/cli_cdstk'
8
8
 
9
- Version = "0.3.0"
9
+ Version = "0.4.0"
10
10
  Milkode::CLI_Cdstk.execute(STDOUT, ARGV)
@@ -18,7 +18,7 @@ require 'milkode/cdweb/lib/mkurl'
18
18
  set :haml, :format => :html5
19
19
 
20
20
  get '/' do
21
- @version = "0.3.0"
21
+ @version = "0.4.0"
22
22
  @package_num = Database.instance.fileList('').size
23
23
  @file_num = Database.instance.fileNum
24
24
  haml :index
@@ -103,7 +103,34 @@ module Milkode
103
103
  def downcase?(str)
104
104
  str == str.downcase
105
105
  end
106
-
106
+
107
+ # parse_gotoline(['a', '123', 'b']) #=> [['a', 'b'], 123]]
108
+ # parse_gotoline(['a', '123', 'b', 55]) #=> [['a', 'b', '123'], 55]]
109
+ # parse_gotoline(['a:5']) #=> [['a'], 55]]
110
+ def parse_gotoline(words)
111
+ lineno = -1
112
+ index = -1
113
+
114
+ words = words.map{|v|
115
+ v.split(':')
116
+ }.flatten
117
+
118
+ words.each_with_index do |v, idx|
119
+ n = v.to_i
120
+ if (n != 0)
121
+ lineno = n
122
+ index = idx
123
+ end
124
+ end
125
+
126
+ if (lineno == -1)
127
+ [words, 1] # 行番号らしきものは見つからなかった
128
+ else
129
+ words.delete_at(index)
130
+ [words, lineno]
131
+ end
132
+ end
133
+
107
134
  end
108
135
  end
109
136
 
@@ -35,7 +35,8 @@ module FindGrep
35
35
  :isMatchFile,
36
36
  :dispHtml,
37
37
  :matchCountLimit,
38
- :keywords)
38
+ :keywords,
39
+ :gotoline)
39
40
 
40
41
  DEFAULT_OPTION = Option.new([],
41
42
  [],
@@ -57,7 +58,8 @@ module FindGrep
57
58
  false,
58
59
  false,
59
60
  -1,
60
- [])
61
+ [],
62
+ -1)
61
63
 
62
64
  class MatchCountOverError < RuntimeError ; end
63
65
 
@@ -139,7 +141,13 @@ module FindGrep
139
141
 
140
142
  def pickupRecords
141
143
  raise unless @option.dbFile
142
- searchDatabase
144
+ records = searchDatabase
145
+ @result.time_stop
146
+ records
147
+ end
148
+
149
+ def time_s
150
+ Gren::Util::time_s(@result.time)
143
151
  end
144
152
 
145
153
  def searchFromDB(stdout, dir)
@@ -151,7 +159,17 @@ module FindGrep
151
159
 
152
160
  # 検索にヒットしたファイルを実際に検索
153
161
  begin
154
- if (@patterns.size > 0)
162
+ if (@option.gotoline > 0)
163
+ records.each do |record|
164
+ if FileTest.exist?(record.path)
165
+ relative_path = Milkode::Util::relative_path(record.path, Dir.pwd).to_s
166
+ line = getTextLineno(relative_path, @option.gotoline)
167
+ stdout.puts "#{relative_path}:#{@option.gotoline}:#{line}" if (line)
168
+ @result.match_file_count += 1
169
+ raise MatchCountOverError if (0 < @option.matchCountLimit && @option.matchCountLimit <= @result.match_file_count)
170
+ end
171
+ end
172
+ elsif (@patterns.size > 0)
155
173
  records.each do |record|
156
174
  if (@option.groongaOnly)
157
175
  searchGroongaOnly(stdout, record)
@@ -172,6 +190,20 @@ module FindGrep
172
190
  end
173
191
  end
174
192
 
193
+ def getTextLineno(path, no)
194
+ index = no - 1
195
+
196
+ open(path, "r") do |file|
197
+ lines = file2data(file)
198
+
199
+ if (index < lines.size)
200
+ lines[index]
201
+ else
202
+ nil
203
+ end
204
+ end
205
+ end
206
+
175
207
  def searchDatabase
176
208
  # 全てのパターンを検索
177
209
  table = @documents.select do |record|
@@ -34,16 +34,27 @@ Stateful:
34
34
  -l, Change state 'line'. (Match line words.)
35
35
  -k, Change state 'keyword'. (Match file-content or file-path.)
36
36
  First state is 'line'.
37
- Example: gmilk line1 line2 -k keyword1 keyword2 -l line3 -k keyword3 ...
37
+ Example:
38
+ gmilk line1 line2 -k keyword1 keyword2 -l line3 -k keyword3 ...
39
+
40
+ Gotoline:
41
+ -g, Go to line mode.
42
+ Enter a file name and line number. If you omit the line number jumps to the line:1.
43
+ Example:
44
+ gmilk -g database lib 7
45
+ lib/database.rb:7:xxxxxxxxxxxxxxx
46
+ database_lib.rb:7:yyyyyyyyyyyyyyy
38
47
 
39
48
  Normal:
40
49
  EOF
41
50
  opt.on('-a', '--all', 'Search all package.') {|v| my_option[:all] = true }
51
+ opt.on('-c', '--count', 'Disp count num.') {|v| my_option[:count] = true }
42
52
  opt.on('--cache', 'Search only db.') {|v| option.groongaOnly = true }
43
53
  opt.on('--color', 'Color highlight.') {|v| option.colorHighlight = true}
44
54
  opt.on('--cs', '--case-sensitive', 'Case sensitivity.') {|v| my_option[:case_sensitive] = true }
45
55
  opt.on('-d DIR', '--directory DIR', 'Start directory. (deafult:".")') {|v| current_dir = File.expand_path(v); my_option[:find_mode] = true}
46
56
  opt.on('-f FILE_PATH', '--file-path FILE_PATH', 'File path. (Enable multiple call)') {|v| option.filePatterns << v; my_option[:find_mode] = true }
57
+ opt.on('-i', '--ignore', 'Ignore case.') {|v| option.ignoreCase = true}
47
58
  opt.on('-n NUM', 'Limits the number of match to show.') {|v| option.matchCountLimit = v.to_i }
48
59
  opt.on('--no-snip', 'There being a long line, it does not snip.') {|v| option.noSnip = true }
49
60
  opt.on('-p PACKAGE', '--package PACKAGE', 'Specify search package.') {|v| setup_package(option, my_option, v) }
@@ -60,11 +71,20 @@ EOF
60
71
  ap.after
61
72
 
62
73
  arguments = ap.arguments
74
+
63
75
  option.keywords = ap.keywords
64
76
  my_option[:find_mode] = true unless ap.keywords.empty?
65
77
 
78
+ unless ap.gotowords.empty?
79
+ r = Util::parse_gotoline(ap.gotowords)
80
+ option.filePatterns += r[0]
81
+ option.gotoline = r[1]
82
+ my_option[:find_mode] = true
83
+ end
84
+
66
85
  # p ap.arguments
67
86
  # p ap.keywords
87
+ # p ap.gotowords
68
88
 
69
89
  rescue NotFoundPackage => e
70
90
  stdout.puts "fatal: Not found package '#{e}'."
@@ -102,9 +122,18 @@ EOF
102
122
  stdout.puts
103
123
  end
104
124
 
105
- # findgrep
106
- findGrep = FindGrep::FindGrep.new(arguments, option)
107
- findGrep.searchAndPrint(stdout)
125
+ if (my_option[:count])
126
+ # count mode
127
+ option.isSilent = true
128
+ findGrep = FindGrep::FindGrep.new(arguments, option)
129
+ records = findGrep.pickupRecords
130
+ # stdout.puts "#{records.size} records (#{findGrep.time_s})"
131
+ stdout.puts "#{records.size} records"
132
+ else
133
+ # search mode
134
+ findGrep = FindGrep::FindGrep.new(arguments, option)
135
+ findGrep.searchAndPrint(stdout)
136
+ end
108
137
  else
109
138
  stdout.print opt.help
110
139
  end
@@ -140,17 +169,20 @@ EOF
140
169
  class ArgumentParser
141
170
  attr_reader :arguments
142
171
  attr_reader :keywords
172
+ attr_reader :gotowords
143
173
 
144
174
  def initialize(arguments)
145
175
  @arguments = arguments
146
- @keywords = []
147
176
  @state = :line
177
+ @keywords = []
178
+ @gotowords = []
148
179
  end
149
180
 
150
181
  def prev
151
182
  @arguments.map! do |v|
152
183
  v.gsub("-l", ":l").
153
- gsub("-k", ":k")
184
+ gsub("-k", ":k").
185
+ gsub("-g", ":g")
154
186
  end
155
187
  end
156
188
 
@@ -165,6 +197,11 @@ EOF
165
197
  when ":k"
166
198
  @state = :keyword
167
199
  next
200
+ when ":g"
201
+ @state = :gotoline
202
+ @gotowords += result
203
+ result = []
204
+ next
168
205
  end
169
206
 
170
207
  case @state
@@ -172,6 +209,8 @@ EOF
172
209
  result << v
173
210
  when :keyword
174
211
  @keywords << v
212
+ when :gotoline
213
+ @gotowords << v
175
214
  end
176
215
  end
177
216
 
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{milkode}
8
- s.version = "0.3.0"
8
+ s.version = "0.4.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["ongaeshi"]
12
- s.date = %q{2012-01-20}
12
+ s.date = %q{2012-02-02}
13
13
  s.description = %q{Line based local source code search engine & grep-command & web-app.}
14
14
  s.email = %q{ongaeshi0621@gmail.com}
15
15
  s.executables = ["gmilk", "milk"]
@@ -107,42 +107,14 @@ Gem::Specification.new do |s|
107
107
  s.homepage = %q{http://github.com/ongaeshi/milkode}
108
108
  s.licenses = ["MIT"]
109
109
  s.require_paths = ["lib"]
110
- s.rubygems_version = %q{1.3.6}
110
+ s.rubygems_version = %q{1.3.7}
111
111
  s.summary = %q{Line based local source code search engine & grep-command & web-app.}
112
- s.test_files = [
113
- "test/data/a_project/cdstk.rb",
114
- "test/data/a_project/cdstk_yaml.rb",
115
- "test/data/b_project/runner.rb",
116
- "test/data/b_project/test_dir.rb",
117
- "test/file_assert.rb",
118
- "test/file_test_utils.rb",
119
- "test/milkode_test_work.rb",
120
- "test/rake_test_loader.rb",
121
- "test/runner.rb",
122
- "test/test_bin_exec.rb",
123
- "test/test_cdstk.rb",
124
- "test/test_cdstk_command.rb",
125
- "test/test_cdstk_yaml.rb",
126
- "test/test_cli_cdstk.rb",
127
- "test/test_cli_grep.rb",
128
- "test/test_coderay_wrapper.rb",
129
- "test/test_coderay_wrapper_data.rb",
130
- "test/test_database.rb",
131
- "test/test_dbdir.rb",
132
- "test/test_dir.rb",
133
- "test/test_gren_util.rb",
134
- "test/test_helper.rb",
135
- "test/test_mkurl.rb",
136
- "test/test_query.rb",
137
- "test/test_string_snip.rb",
138
- "test/test_util.rb"
139
- ]
140
112
 
141
113
  if s.respond_to? :specification_version then
142
114
  current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
143
115
  s.specification_version = 3
144
116
 
145
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
117
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
146
118
  s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
147
119
  s.add_development_dependency(%q<jeweler>, ["~> 1.5.2"])
148
120
  s.add_development_dependency(%q<rcov>, [">= 0"])
@@ -70,6 +70,13 @@ class TestUtil < Test::Unit::TestCase
70
70
  assert !Milkode::Util::downcase?("Dummy")
71
71
  assert !Milkode::Util::downcase?("dummyNode")
72
72
  end
73
+
74
+ def test_parse_gotoline
75
+ assert_equal [['a', 'b'], 123], Milkode::Util::parse_gotoline(['a', '123', 'b'])
76
+ assert_equal [['a', '123', 'b'], 55], Milkode::Util::parse_gotoline(['a', '123', 'b', '55'])
77
+ assert_equal [['a', 'b'], 1], Milkode::Util::parse_gotoline(['a', 'b'])
78
+ assert_equal [['a'], 55], Milkode::Util::parse_gotoline(['a:55'])
79
+ end
73
80
 
74
81
  def teardown
75
82
  teardown_custom(true)
metadata CHANGED
@@ -1,12 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: milkode
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 15
4
5
  prerelease: false
5
6
  segments:
6
7
  - 0
7
- - 3
8
+ - 4
8
9
  - 0
9
- version: 0.3.0
10
+ segments_generated: true
11
+ version: 0.4.0
10
12
  platform: ruby
11
13
  authors:
12
14
  - ongaeshi
@@ -14,217 +16,262 @@ autorequire:
14
16
  bindir: bin
15
17
  cert_chain: []
16
18
 
17
- date: 2012-01-20 00:00:00 +09:00
19
+ date: 2012-02-02 00:00:00 +09:00
18
20
  default_executable:
19
21
  dependencies:
20
22
  - !ruby/object:Gem::Dependency
23
+ type: :development
24
+ prerelease: false
25
+ name: bundler
21
26
  version_requirements: &id001 !ruby/object:Gem::Requirement
27
+ none: false
22
28
  requirements:
23
29
  - - ~>
24
30
  - !ruby/object:Gem::Version
31
+ hash: 23
25
32
  segments:
26
33
  - 1
27
34
  - 0
28
35
  - 0
36
+ segments_generated: true
29
37
  version: 1.0.0
30
- name: bundler
31
38
  requirement: *id001
32
- prerelease: false
33
- type: :development
34
39
  - !ruby/object:Gem::Dependency
40
+ type: :development
41
+ prerelease: false
42
+ name: jeweler
35
43
  version_requirements: &id002 !ruby/object:Gem::Requirement
44
+ none: false
36
45
  requirements:
37
46
  - - ~>
38
47
  - !ruby/object:Gem::Version
48
+ hash: 7
39
49
  segments:
40
50
  - 1
41
51
  - 5
42
52
  - 2
53
+ segments_generated: true
43
54
  version: 1.5.2
44
- name: jeweler
45
55
  requirement: *id002
46
- prerelease: false
47
- type: :development
48
56
  - !ruby/object:Gem::Dependency
57
+ type: :development
58
+ prerelease: false
59
+ name: rcov
49
60
  version_requirements: &id003 !ruby/object:Gem::Requirement
61
+ none: false
50
62
  requirements:
51
63
  - - ">="
52
64
  - !ruby/object:Gem::Version
65
+ hash: 3
53
66
  segments:
54
67
  - 0
68
+ segments_generated: true
55
69
  version: "0"
56
- name: rcov
57
70
  requirement: *id003
58
- prerelease: false
59
- type: :development
60
71
  - !ruby/object:Gem::Dependency
72
+ type: :runtime
73
+ prerelease: false
74
+ name: termcolor
61
75
  version_requirements: &id004 !ruby/object:Gem::Requirement
76
+ none: false
62
77
  requirements:
63
78
  - - ">="
64
79
  - !ruby/object:Gem::Version
80
+ hash: 31
65
81
  segments:
66
82
  - 1
67
83
  - 2
68
84
  - 0
85
+ segments_generated: true
69
86
  version: 1.2.0
70
- name: termcolor
71
87
  requirement: *id004
72
- prerelease: false
73
- type: :runtime
74
88
  - !ruby/object:Gem::Dependency
89
+ type: :runtime
90
+ prerelease: false
91
+ name: rroonga
75
92
  version_requirements: &id005 !ruby/object:Gem::Requirement
93
+ none: false
76
94
  requirements:
77
95
  - - ">="
78
96
  - !ruby/object:Gem::Version
97
+ hash: 19
79
98
  segments:
80
99
  - 1
81
100
  - 1
82
101
  - 0
102
+ segments_generated: true
83
103
  version: 1.1.0
84
- name: rroonga
85
104
  requirement: *id005
86
- prerelease: false
87
- type: :runtime
88
105
  - !ruby/object:Gem::Dependency
106
+ type: :runtime
107
+ prerelease: false
108
+ name: rack
89
109
  version_requirements: &id006 !ruby/object:Gem::Requirement
110
+ none: false
90
111
  requirements:
91
112
  - - ">="
92
113
  - !ruby/object:Gem::Version
114
+ hash: 19
93
115
  segments:
94
116
  - 1
95
117
  - 3
96
118
  - 4
119
+ segments_generated: true
97
120
  version: 1.3.4
98
- name: rack
99
121
  requirement: *id006
100
- prerelease: false
101
- type: :runtime
102
122
  - !ruby/object:Gem::Dependency
123
+ type: :runtime
124
+ prerelease: false
125
+ name: sinatra
103
126
  version_requirements: &id007 !ruby/object:Gem::Requirement
127
+ none: false
104
128
  requirements:
105
129
  - - ">="
106
130
  - !ruby/object:Gem::Version
131
+ hash: 19
107
132
  segments:
108
133
  - 1
109
134
  - 2
110
135
  - 6
136
+ segments_generated: true
111
137
  version: 1.2.6
112
- name: sinatra
113
138
  requirement: *id007
114
- prerelease: false
115
- type: :runtime
116
139
  - !ruby/object:Gem::Dependency
140
+ type: :runtime
141
+ prerelease: false
142
+ name: launchy
117
143
  version_requirements: &id008 !ruby/object:Gem::Requirement
144
+ none: false
118
145
  requirements:
119
146
  - - ">="
120
147
  - !ruby/object:Gem::Version
148
+ hash: 29
121
149
  segments:
122
150
  - 0
123
151
  - 3
124
152
  - 7
153
+ segments_generated: true
125
154
  version: 0.3.7
126
- name: launchy
127
155
  requirement: *id008
128
- prerelease: false
129
- type: :runtime
130
156
  - !ruby/object:Gem::Dependency
157
+ type: :runtime
158
+ prerelease: false
159
+ name: coderay
131
160
  version_requirements: &id009 !ruby/object:Gem::Requirement
161
+ none: false
132
162
  requirements:
133
163
  - - "="
134
164
  - !ruby/object:Gem::Version
165
+ hash: 43
135
166
  segments:
136
167
  - 0
137
168
  - 9
138
169
  - 8
170
+ segments_generated: true
139
171
  version: 0.9.8
140
- name: coderay
141
172
  requirement: *id009
142
- prerelease: false
143
- type: :runtime
144
173
  - !ruby/object:Gem::Dependency
174
+ type: :runtime
175
+ prerelease: false
176
+ name: thin
145
177
  version_requirements: &id010 !ruby/object:Gem::Requirement
178
+ none: false
146
179
  requirements:
147
180
  - - ">="
148
181
  - !ruby/object:Gem::Version
182
+ hash: 11
149
183
  segments:
150
184
  - 1
151
185
  - 2
152
186
  - 10
187
+ segments_generated: true
153
188
  version: 1.2.10
154
- name: thin
155
189
  requirement: *id010
156
- prerelease: false
157
- type: :runtime
158
190
  - !ruby/object:Gem::Dependency
191
+ type: :runtime
192
+ prerelease: false
193
+ name: archive-zip
159
194
  version_requirements: &id011 !ruby/object:Gem::Requirement
195
+ none: false
160
196
  requirements:
161
197
  - - ">="
162
198
  - !ruby/object:Gem::Version
199
+ hash: 15
163
200
  segments:
164
201
  - 0
165
202
  - 4
166
203
  - 0
204
+ segments_generated: true
167
205
  version: 0.4.0
168
- name: archive-zip
169
206
  requirement: *id011
170
- prerelease: false
171
- type: :runtime
172
207
  - !ruby/object:Gem::Dependency
208
+ type: :runtime
209
+ prerelease: false
210
+ name: haml
173
211
  version_requirements: &id012 !ruby/object:Gem::Requirement
212
+ none: false
174
213
  requirements:
175
214
  - - ">="
176
215
  - !ruby/object:Gem::Version
216
+ hash: 7
177
217
  segments:
178
218
  - 3
179
219
  - 1
180
220
  - 2
221
+ segments_generated: true
181
222
  version: 3.1.2
182
- name: haml
183
223
  requirement: *id012
184
- prerelease: false
185
- type: :runtime
186
224
  - !ruby/object:Gem::Dependency
225
+ type: :runtime
226
+ prerelease: false
227
+ name: sass
187
228
  version_requirements: &id013 !ruby/object:Gem::Requirement
229
+ none: false
188
230
  requirements:
189
231
  - - ">="
190
232
  - !ruby/object:Gem::Version
233
+ hash: 5
191
234
  segments:
192
235
  - 3
193
236
  - 1
194
237
  - 3
238
+ segments_generated: true
195
239
  version: 3.1.3
196
- name: sass
197
240
  requirement: *id013
198
- prerelease: false
199
- type: :runtime
200
241
  - !ruby/object:Gem::Dependency
242
+ type: :runtime
243
+ prerelease: false
244
+ name: nokogiri
201
245
  version_requirements: &id014 !ruby/object:Gem::Requirement
246
+ none: false
202
247
  requirements:
203
248
  - - ">="
204
249
  - !ruby/object:Gem::Version
250
+ hash: 3
205
251
  segments:
206
252
  - 1
207
253
  - 5
208
254
  - 0
255
+ segments_generated: true
209
256
  version: 1.5.0
210
- name: nokogiri
211
257
  requirement: *id014
212
- prerelease: false
213
- type: :runtime
214
258
  - !ruby/object:Gem::Dependency
259
+ type: :runtime
260
+ prerelease: false
261
+ name: hpricot
215
262
  version_requirements: &id015 !ruby/object:Gem::Requirement
263
+ none: false
216
264
  requirements:
217
265
  - - ">="
218
266
  - !ruby/object:Gem::Version
267
+ hash: 59
219
268
  segments:
220
269
  - 0
221
270
  - 8
222
271
  - 2
272
+ segments_generated: true
223
273
  version: 0.8.2
224
- name: hpricot
225
274
  requirement: *id015
226
- prerelease: false
227
- type: :runtime
228
275
  description: Line based local source code search engine & grep-command & web-app.
229
276
  email: ongaeshi0621@gmail.com
230
277
  executables:
@@ -331,50 +378,31 @@ rdoc_options: []
331
378
  require_paths:
332
379
  - lib
333
380
  required_ruby_version: !ruby/object:Gem::Requirement
381
+ none: false
334
382
  requirements:
335
383
  - - ">="
336
384
  - !ruby/object:Gem::Version
385
+ hash: 3
337
386
  segments:
338
387
  - 0
388
+ segments_generated: true
339
389
  version: "0"
340
390
  required_rubygems_version: !ruby/object:Gem::Requirement
391
+ none: false
341
392
  requirements:
342
393
  - - ">="
343
394
  - !ruby/object:Gem::Version
395
+ hash: 3
344
396
  segments:
345
397
  - 0
398
+ segments_generated: true
346
399
  version: "0"
347
400
  requirements: []
348
401
 
349
402
  rubyforge_project:
350
- rubygems_version: 1.3.6
403
+ rubygems_version: 1.3.7
351
404
  signing_key:
352
405
  specification_version: 3
353
406
  summary: Line based local source code search engine & grep-command & web-app.
354
- test_files:
355
- - test/data/a_project/cdstk.rb
356
- - test/data/a_project/cdstk_yaml.rb
357
- - test/data/b_project/runner.rb
358
- - test/data/b_project/test_dir.rb
359
- - test/file_assert.rb
360
- - test/file_test_utils.rb
361
- - test/milkode_test_work.rb
362
- - test/rake_test_loader.rb
363
- - test/runner.rb
364
- - test/test_bin_exec.rb
365
- - test/test_cdstk.rb
366
- - test/test_cdstk_command.rb
367
- - test/test_cdstk_yaml.rb
368
- - test/test_cli_cdstk.rb
369
- - test/test_cli_grep.rb
370
- - test/test_coderay_wrapper.rb
371
- - test/test_coderay_wrapper_data.rb
372
- - test/test_database.rb
373
- - test/test_dbdir.rb
374
- - test/test_dir.rb
375
- - test/test_gren_util.rb
376
- - test/test_helper.rb
377
- - test/test_mkurl.rb
378
- - test/test_query.rb
379
- - test/test_string_snip.rb
380
- - test/test_util.rb
407
+ test_files: []
408
+