milkode 0.8.1 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +1 -0
- data/HISTORY.ja.rdoc +36 -0
- data/HISTORY.rdoc +20 -0
- data/VERSION +1 -1
- data/bin/gmilk +1 -1
- data/bin/milk +1 -1
- data/lib/milkode/cdweb/app.rb +69 -8
- data/lib/milkode/cdweb/lib/coderay_html2.rb +24 -16
- data/lib/milkode/cdweb/lib/coderay_wrapper.rb +3 -1
- data/lib/milkode/cdweb/lib/command.rb +21 -4
- data/lib/milkode/cdweb/lib/database.rb +12 -6
- data/lib/milkode/cdweb/lib/grep.rb +8 -6
- data/lib/milkode/cdweb/lib/mkurl.rb +7 -2
- data/lib/milkode/cdweb/lib/query.rb +36 -1
- data/lib/milkode/cdweb/lib/search_contents.rb +54 -13
- data/lib/milkode/cdweb/lib/search_files.rb +4 -4
- data/lib/milkode/cdweb/lib/search_gotoline.rb +151 -0
- data/lib/milkode/cdweb/public/css/coderay-patch.css +24 -0
- data/lib/milkode/cdweb/public/css/milkode.css +39 -5
- data/lib/milkode/cdweb/public/js/milkode.js +19 -1
- data/lib/milkode/cdweb/views/help.haml +13 -0
- data/lib/milkode/cdweb/views/layout.haml +4 -4
- data/lib/milkode/cdweb/views/search_form.haml +19 -23
- data/lib/milkode/cdweb/views/view.haml +2 -2
- data/lib/milkode/common/util.rb +10 -2
- data/lib/milkode/database/document_table.rb +12 -0
- data/lib/milkode/grep/cli_grep.rb +25 -6
- data/milkode.gemspec +8 -2
- data/test/data/a_project/empty.txt +0 -0
- data/test/test_cdweb_app.rb +73 -0
- data/test/test_query.rb +25 -0
- data/test/test_util.rb +18 -0
- metadata +22 -5
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: milkode
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 59
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
-
|
10
|
-
version: 0.
|
8
|
+
- 9
|
9
|
+
- 0
|
10
|
+
version: 0.9.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- ongaeshi
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2012-
|
18
|
+
date: 2012-07-09 00:00:00 +09:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -222,6 +222,20 @@ dependencies:
|
|
222
222
|
- 0
|
223
223
|
version: "0"
|
224
224
|
requirement: *id013
|
225
|
+
- !ruby/object:Gem::Dependency
|
226
|
+
type: :development
|
227
|
+
prerelease: false
|
228
|
+
name: rack-test
|
229
|
+
version_requirements: &id014 !ruby/object:Gem::Requirement
|
230
|
+
none: false
|
231
|
+
requirements:
|
232
|
+
- - ">="
|
233
|
+
- !ruby/object:Gem::Version
|
234
|
+
hash: 3
|
235
|
+
segments:
|
236
|
+
- 0
|
237
|
+
version: "0"
|
238
|
+
requirement: *id014
|
225
239
|
description: Line based local source code search engine & grep-command & web-app.
|
226
240
|
email: ongaeshi0621@gmail.com
|
227
241
|
executables:
|
@@ -261,6 +275,7 @@ files:
|
|
261
275
|
- lib/milkode/cdweb/lib/query.rb
|
262
276
|
- lib/milkode/cdweb/lib/search_contents.rb
|
263
277
|
- lib/milkode/cdweb/lib/search_files.rb
|
278
|
+
- lib/milkode/cdweb/lib/search_gotoline.rb
|
264
279
|
- lib/milkode/cdweb/lib/web_setting.rb
|
265
280
|
- lib/milkode/cdweb/public/css/bootstrap-responsive.min.css
|
266
281
|
- lib/milkode/cdweb/public/css/bootstrap.min.css
|
@@ -310,6 +325,7 @@ files:
|
|
310
325
|
- test/data/.gitignore
|
311
326
|
- test/data/a_project/cdstk.rb
|
312
327
|
- test/data/a_project/cdstk_yaml.rb
|
328
|
+
- test/data/a_project/empty.txt
|
313
329
|
- test/data/abc.zip
|
314
330
|
- test/data/b_project/runner.rb
|
315
331
|
- test/data/b_project/test_dir.rb
|
@@ -331,6 +347,7 @@ files:
|
|
331
347
|
- test/runner.rb
|
332
348
|
- test/test_cdstk.rb
|
333
349
|
- test/test_cdstk_command.rb
|
350
|
+
- test/test_cdweb_app.rb
|
334
351
|
- test/test_cli.rb
|
335
352
|
- test/test_cli_grep.rb
|
336
353
|
- test/test_coderay_wrapper.rb
|