milkode 0.1.8 → 0.1.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,5 @@
1
+ lib/**/*.rb
2
+ bin/*
3
+ -
4
+ features/**/*.feature
5
+ LICENSE.txt
@@ -1,4 +1,8 @@
1
- === 0.1.7 2011/08/04
1
+ === 0.1.9 2011/08/05
2
+
3
+ * Bug fix, can't move 'milk web'.
4
+
5
+ === 0.1.8, 0.1.7 2011/08/04
2
6
 
3
7
  * archive-zip patch for Ruby1.9.2.
4
8
 
data/Rakefile CHANGED
@@ -20,7 +20,6 @@ Jeweler::Tasks.new do |gem|
20
20
  gem.description = %Q{Line based local source code search engine & web-app.}
21
21
  gem.email = "ongaeshi0621@gmail.com"
22
22
  gem.authors = ["ongaeshi"]
23
- gem.files = FileList['lib/**/*.rb', 'bin/*', '[A-Z]*', 'test/**/*', 'vendor/**/*.rb'].to_a
24
23
 
25
24
  # Include your dependencies below. Runtime dependencies are required when using your gem,
26
25
  gem.add_runtime_dependency 'termcolor','>= 1.2.0'
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.8
1
+ 0.1.9
data/bin/milk CHANGED
@@ -6,5 +6,5 @@
6
6
  require 'rubygems'
7
7
  require 'milkode/cdstk/cli_cdstk'
8
8
 
9
- Version = "0.1.8"
9
+ Version = "0.1.9"
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.1.8"
21
+ @version = "0.1.9"
22
22
  @package_num = Database.instance.fileList('').size
23
23
  @file_num = Database.instance.fileNum
24
24
  haml :index
@@ -0,0 +1,3 @@
1
+ require './app'
2
+ run Sinatra::Application
3
+
@@ -0,0 +1,131 @@
1
+ .CodeRay {
2
+ background-color: #f8f8f8;
3
+ border: 1px solid silver;
4
+ font-family: 'Courier New', 'Terminal', monospace;
5
+ color: #000;
6
+ }
7
+ .CodeRay pre { margin: 0px }
8
+
9
+ div.CodeRay { }
10
+
11
+ span.CodeRay { white-space: pre; border: 0px; padding: 2px }
12
+
13
+ table.CodeRay { border-collapse: collapse; width: 100%; padding: 2px }
14
+ table.CodeRay td { padding: 2px 4px; vertical-align: top }
15
+
16
+ .CodeRay .line_numbers, .CodeRay .no {
17
+ background-color: #def;
18
+ color: gray;
19
+ text-align: right;
20
+ }
21
+ .CodeRay .line_numbers tt { font-weight: bold }
22
+ .CodeRay .line_numbers .highlighted { color: red }
23
+ .CodeRay .line { display: block; float: left; width: 100%; }
24
+ .CodeRay .no { padding: 0px 4px }
25
+ .CodeRay .code { width: 100% }
26
+
27
+ ol.CodeRay { font-size: 10pt }
28
+ ol.CodeRay li { white-space: pre }
29
+
30
+ .CodeRay .code pre { overflow: auto }
31
+
32
+ .CodeRay .debug { color:white ! important; background:blue ! important; }
33
+
34
+ .CodeRay .af { color:#00C }
35
+ .CodeRay .an { color:#007 }
36
+ .CodeRay .at { color:#f08 }
37
+ .CodeRay .av { color:#700 }
38
+ .CodeRay .aw { color:#C00 }
39
+ .CodeRay .bi { color:#509; font-weight:bold }
40
+ .CodeRay .c { color:#888; }
41
+
42
+ .CodeRay .ch { color:#04D }
43
+ .CodeRay .ch .k { color:#04D }
44
+ .CodeRay .ch .dl { color:#039 }
45
+
46
+ .CodeRay .cl { color:#B06; font-weight:bold }
47
+ .CodeRay .cm { color:#A08; font-weight:bold }
48
+ .CodeRay .co { color:#036; font-weight:bold }
49
+ .CodeRay .cr { color:#0A0 }
50
+ .CodeRay .cv { color:#369 }
51
+ .CodeRay .de { color:#B0B; }
52
+ .CodeRay .df { color:#099; font-weight:bold }
53
+ .CodeRay .di { color:#088; font-weight:bold }
54
+ .CodeRay .dl { color:black }
55
+ .CodeRay .do { color:#970 }
56
+ .CodeRay .dt { color:#34b }
57
+ .CodeRay .ds { color:#D42; font-weight:bold }
58
+ .CodeRay .e { color:#666; font-weight:bold }
59
+ .CodeRay .en { color:#800; font-weight:bold }
60
+ .CodeRay .er { color:#F00; background-color:#FAA }
61
+ .CodeRay .ex { color:#C00; font-weight:bold }
62
+ .CodeRay .fl { color:#60E; font-weight:bold }
63
+ .CodeRay .fu { color:#06B; font-weight:bold }
64
+ .CodeRay .gv { color:#d70; font-weight:bold }
65
+ .CodeRay .hx { color:#058; font-weight:bold }
66
+ .CodeRay .i { color:#00D; font-weight:bold }
67
+ .CodeRay .ic { color:#B44; font-weight:bold }
68
+
69
+ .CodeRay .il { background: #ddd; color: black }
70
+ .CodeRay .il .il { background: #ccc }
71
+ .CodeRay .il .il .il { background: #bbb }
72
+ .CodeRay .il .idl { background: #ddd; font-weight: bold; color: #666 }
73
+ .CodeRay .idl { background-color: #bbb; font-weight: bold; color: #666; }
74
+
75
+ .CodeRay .im { color:#f00; }
76
+ .CodeRay .in { color:#B2B; font-weight:bold }
77
+ .CodeRay .iv { color:#33B }
78
+ .CodeRay .la { color:#970; font-weight:bold }
79
+ .CodeRay .lv { color:#963 }
80
+ .CodeRay .oc { color:#40E; font-weight:bold }
81
+ .CodeRay .of { color:#000; font-weight:bold }
82
+ .CodeRay .op { }
83
+ .CodeRay .pc { color:#038; font-weight:bold }
84
+ .CodeRay .pd { color:#369; font-weight:bold }
85
+ .CodeRay .pp { color:#579; }
86
+ .CodeRay .ps { color:#00C; font-weight:bold }
87
+ .CodeRay .pt { color:#074; font-weight:bold }
88
+ .CodeRay .r, .kw { color:#080; font-weight:bold }
89
+
90
+ .CodeRay .ke { color: #808; }
91
+ .CodeRay .ke .dl { color: #606; }
92
+ .CodeRay .ke .ch { color: #80f; }
93
+ .CodeRay .vl { color: #088; }
94
+
95
+ .CodeRay .rx { background-color:#fff0ff }
96
+ .CodeRay .rx .k { color:#808 }
97
+ .CodeRay .rx .dl { color:#404 }
98
+ .CodeRay .rx .mod { color:#C2C }
99
+ .CodeRay .rx .fu { color:#404; font-weight: bold }
100
+
101
+ .CodeRay .s { background-color:#fff0f0; color: #D20; }
102
+ .CodeRay .s .s { background-color:#ffe0e0 }
103
+ .CodeRay .s .s .s { background-color:#ffd0d0 }
104
+ .CodeRay .s .k { }
105
+ .CodeRay .s .ch { color: #b0b; }
106
+ .CodeRay .s .dl { color: #710; }
107
+
108
+ .CodeRay .sh { background-color:#f0fff0; color:#2B2 }
109
+ .CodeRay .sh .k { }
110
+ .CodeRay .sh .dl { color:#161 }
111
+
112
+ .CodeRay .sy { color:#A60 }
113
+ .CodeRay .sy .k { color:#A60 }
114
+ .CodeRay .sy .dl { color:#630 }
115
+
116
+ .CodeRay .ta { color:#070 }
117
+ .CodeRay .tf { color:#070; font-weight:bold }
118
+ .CodeRay .ts { color:#D70; font-weight:bold }
119
+ .CodeRay .ty { color:#339; font-weight:bold }
120
+ .CodeRay .v { color:#036 }
121
+ .CodeRay .xt { color:#444 }
122
+
123
+ .CodeRay .ins { background: #afa; }
124
+ .CodeRay .del { background: #faa; }
125
+ .CodeRay .chg { color: #aaf; background: #007; }
126
+ .CodeRay .head { color: #f8f; background: #505 }
127
+
128
+ .CodeRay .ins .ins { color: #080; font-weight:bold }
129
+ .CodeRay .del .del { color: #800; font-weight:bold }
130
+ .CodeRay .chg .chg { color: #66f; }
131
+ .CodeRay .head .head { color: #f4f; }
@@ -0,0 +1,78 @@
1
+ body {
2
+ }
3
+
4
+ div.header {
5
+ }
6
+
7
+ div.footer {
8
+ }
9
+
10
+ div.header_home {
11
+ font-size: 170%;
12
+ }
13
+
14
+ div.footer_home {
15
+ font-size: 85%;
16
+ margin-top: 3em;
17
+ }
18
+
19
+ div.search-summary {
20
+ border-color: #e92926;
21
+ background-color:#FFF0F0;
22
+ border-top-style:solid;
23
+ border-top-width:1px;
24
+ border-bottom-style:solid;
25
+ border-bottom-width:1px;
26
+ margin-bottom:1em;
27
+ margin-top:1em;
28
+ padding-bottom:5px;
29
+ padding-top:5px;
30
+ padding-left:5px;
31
+ }
32
+
33
+ dt.result-record {
34
+ font-size: 105%;
35
+ }
36
+
37
+ dt.result-file {
38
+ font-size: 95%;
39
+ }
40
+
41
+ div.pagination {
42
+ border-color: #e92926;
43
+ background-color:#FFF0F0;
44
+ border-top-style:solid;
45
+ border-top-width:1px;
46
+ text-align: center;
47
+ margin-bottom: 20px;
48
+ }
49
+
50
+ pre.lines {
51
+ border: 1px solid #dedede;
52
+ margin-bottom: 5px;
53
+ padding-left: 5px;
54
+ background-color: #fdfdfd;
55
+ font-weight: inherit;
56
+ margin-top: 5px;
57
+ padding-top: 5px;
58
+ padding-bottom: 5px;
59
+ }
60
+
61
+ span.keyword {
62
+ font-weight: bold;
63
+ }
64
+
65
+ font.version {
66
+ font-size: 35%;
67
+ }
68
+
69
+ span.highlight-line {
70
+ background-color: #d0ff9c;
71
+ /*background-color: #FFFF55;*/
72
+ }
73
+
74
+ a.headmenu {
75
+ font-size: 40%;
76
+ font-weight: normal;
77
+ }
78
+
@@ -0,0 +1,14 @@
1
+ .header
2
+ %h1
3
+ <a href="/"><img src="/images/MilkodeIcon135.png" alt="milkode-icon-mini" border="0" height="75px"/></a>
4
+ Milkode
5
+ = create_headmenu(@path, params)
6
+
7
+ .content
8
+ = create_form(@path, params[:query], params[:shead])
9
+
10
+ .search-summary
11
+ <span class="keyword">#{topic_path(@path, params)}</span> <span class="total-entries">#{@total_records}</span>件(#{@elapsed}秒)
12
+ ~ @record_content
13
+
14
+
@@ -0,0 +1,16 @@
1
+ - @title = 'help'
2
+
3
+ .header
4
+ %h1
5
+ <a href="/"><img src="/images/MilkodeIcon135.png" alt="milkode-icon-mini" border="0" height="75px"/></a>
6
+ #{@title} - Milkode
7
+
8
+ .content
9
+ .sample-code
10
+ %ol
11
+ %li キーワードを並べてAND検索<br>#{link('def open')}
12
+ %li 1フレーズとして検索<br>#{link('"def open"')}
13
+ %li パッケージ名で絞り込み<br>#{link('def open p:milkode')}
14
+ %li ファイル名で絞り込み<br>#{link('def open f:test')}
15
+ %li 拡張子で絞り込み<br>#{link('s:rb')}
16
+
@@ -0,0 +1,17 @@
1
+ %div(align="center")
2
+ .header_home
3
+ %h1 <a href="/"><img src="/images/MilkodeIcon135.png" alt="milkode-icon" border="0" height="135px"/></a> Milkode <font class="version">#{@version}</font>
4
+
5
+ .content
6
+ %form(method="post" action="home")
7
+ %p
8
+ %input(name="query" type="text" size="60")
9
+ %input(type="submit" value="検索")
10
+
11
+ .footer_home
12
+ <a href="/home">#{@package_num}</a>のパッケージ<br>
13
+ <a href="/home?query=f:*">#{@file_num}</a>のファイル<br>
14
+ <a href="/help">ヘルプ</a> ,
15
+ <a href="http://milkode.ongaeshi.me">milkodeについて</a>
16
+
17
+
@@ -0,0 +1,33 @@
1
+ !!!
2
+
3
+ %html(lang='ja')
4
+ %head
5
+ %meta(charset='utf-8')
6
+ %title= [@title, 'Milkode'].compact.join(' - ')
7
+ %link(rel="stylesheet" href="/css/gren.css" type="text/css" media="all")
8
+ %link(rel="stylesheet" href="/css/coderay.css" type="text/css" media="all")
9
+
10
+ %body
11
+ -# %header
12
+ -# %h1 <a href=".">Milkode</a>
13
+
14
+ != yield
15
+
16
+ %script{:type=>"text/javascript"}
17
+ var _gaq = _gaq || [];
18
+ _gaq.push(['_setAccount', 'UA-13136329-8']);
19
+ _gaq.push(['_trackPageview']);
20
+
21
+ (function() {
22
+ var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
23
+ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
24
+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
25
+ })();
26
+
27
+ -# %hr
28
+
29
+ -# %footer
30
+ -# %p
31
+ -# ! Develop by <a href="./contact.html">ongaeshi</a>
32
+ -# ! Powered by <a href="http://www.ruby-lang.org/">Ruby</a> #{::RUBY_VERSION},
33
+ -# ! <a href="http://www.sinatrarb.com/">Sinatra</a> #{Sinatra::VERSION}
@@ -0,0 +1,12 @@
1
+ .header
2
+ %h1
3
+ <a href="/"><img src="/images/MilkodeIcon135.png" alt="milkode-icon-mini" border="0" height="75px"/></a>
4
+ Milkode
5
+ = create_headmenu(@path, params)
6
+
7
+ .content
8
+ = create_form(@path, params[:query], params[:shead])
9
+
10
+ .search-summary
11
+ <span class="keyword">#{topic_path(@path, params)}</span> <span class="total-entries">#{@total_records}</span>件中 <span class="display-range">#{@range.first} - #{@range.last}</span>件(#{@elapsed}秒)
12
+ ~ @record_content
@@ -0,0 +1,16 @@
1
+ .header
2
+ %h1
3
+ <a href="/"><img src="/images/MilkodeIcon135.png" alt="milkode-icon-mini" border="0" height="75px"/></a>
4
+ Milkode
5
+ = create_headmenu(@path, params)
6
+
7
+ .content
8
+ = create_form(@path, params[:query], params[:shead])
9
+
10
+ .search-summary
11
+ <span class="keyword">#{topic_path(@path, params)}</span>(#{@elapsed}秒)
12
+ ~ @record_content
13
+
14
+
15
+
16
+
metadata CHANGED
@@ -1,214 +1,171 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: milkode
3
- version: !ruby/object:Gem::Version
4
- prerelease: false
5
- segments:
6
- - 0
7
- - 1
8
- - 8
9
- version: 0.1.8
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.9
5
+ prerelease:
10
6
  platform: ruby
11
- authors:
7
+ authors:
12
8
  - ongaeshi
13
9
  autorequire:
14
10
  bindir: bin
15
11
  cert_chain: []
16
-
17
- date: 2011-08-04 00:00:00 +09:00
18
- default_executable:
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
21
- version_requirements: &id001 !ruby/object:Gem::Requirement
22
- requirements:
12
+ date: 2011-08-04 00:00:00.000000000Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: bundler
16
+ requirement: &2152283560 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
23
19
  - - ~>
24
- - !ruby/object:Gem::Version
25
- segments:
26
- - 1
27
- - 0
28
- - 0
20
+ - !ruby/object:Gem::Version
29
21
  version: 1.0.0
30
- name: bundler
31
- requirement: *id001
32
- prerelease: false
33
22
  type: :development
34
- - !ruby/object:Gem::Dependency
35
- version_requirements: &id002 !ruby/object:Gem::Requirement
36
- requirements:
23
+ prerelease: false
24
+ version_requirements: *2152283560
25
+ - !ruby/object:Gem::Dependency
26
+ name: jeweler
27
+ requirement: &2152274740 !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
37
30
  - - ~>
38
- - !ruby/object:Gem::Version
39
- segments:
40
- - 1
41
- - 5
42
- - 2
31
+ - !ruby/object:Gem::Version
43
32
  version: 1.5.2
44
- name: jeweler
45
- requirement: *id002
46
- prerelease: false
47
33
  type: :development
48
- - !ruby/object:Gem::Dependency
49
- version_requirements: &id003 !ruby/object:Gem::Requirement
50
- requirements:
51
- - - ">="
52
- - !ruby/object:Gem::Version
53
- segments:
54
- - 0
55
- version: "0"
56
- name: rcov
57
- requirement: *id003
58
34
  prerelease: false
35
+ version_requirements: *2152274740
36
+ - !ruby/object:Gem::Dependency
37
+ name: rcov
38
+ requirement: &2152273480 !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirements:
41
+ - - ! '>='
42
+ - !ruby/object:Gem::Version
43
+ version: '0'
59
44
  type: :development
60
- - !ruby/object:Gem::Dependency
61
- version_requirements: &id004 !ruby/object:Gem::Requirement
62
- requirements:
63
- - - ">="
64
- - !ruby/object:Gem::Version
65
- segments:
66
- - 1
67
- - 2
68
- - 0
69
- version: 1.2.0
70
- name: termcolor
71
- requirement: *id004
72
45
  prerelease: false
46
+ version_requirements: *2152273480
47
+ - !ruby/object:Gem::Dependency
48
+ name: termcolor
49
+ requirement: &2152272360 !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: 1.2.0
73
55
  type: :runtime
74
- - !ruby/object:Gem::Dependency
75
- version_requirements: &id005 !ruby/object:Gem::Requirement
76
- requirements:
77
- - - ">="
78
- - !ruby/object:Gem::Version
79
- segments:
80
- - 1
81
- - 0
82
- - 0
83
- version: 1.0.0
84
- name: rroonga
85
- requirement: *id005
86
56
  prerelease: false
57
+ version_requirements: *2152272360
58
+ - !ruby/object:Gem::Dependency
59
+ name: rroonga
60
+ requirement: &2152271480 !ruby/object:Gem::Requirement
61
+ none: false
62
+ requirements:
63
+ - - ! '>='
64
+ - !ruby/object:Gem::Version
65
+ version: 1.0.0
87
66
  type: :runtime
88
- - !ruby/object:Gem::Dependency
89
- version_requirements: &id006 !ruby/object:Gem::Requirement
90
- requirements:
91
- - - ">="
92
- - !ruby/object:Gem::Version
93
- segments:
94
- - 1
95
- - 2
96
- - 1
97
- version: 1.2.1
98
- name: rack
99
- requirement: *id006
100
67
  prerelease: false
68
+ version_requirements: *2152271480
69
+ - !ruby/object:Gem::Dependency
70
+ name: rack
71
+ requirement: &2152270580 !ruby/object:Gem::Requirement
72
+ none: false
73
+ requirements:
74
+ - - ! '>='
75
+ - !ruby/object:Gem::Version
76
+ version: 1.2.1
101
77
  type: :runtime
102
- - !ruby/object:Gem::Dependency
103
- version_requirements: &id007 !ruby/object:Gem::Requirement
104
- requirements:
105
- - - ">="
106
- - !ruby/object:Gem::Version
107
- segments:
108
- - 1
109
- - 2
110
- - 6
111
- version: 1.2.6
112
- name: sinatra
113
- requirement: *id007
114
78
  prerelease: false
79
+ version_requirements: *2152270580
80
+ - !ruby/object:Gem::Dependency
81
+ name: sinatra
82
+ requirement: &2152269340 !ruby/object:Gem::Requirement
83
+ none: false
84
+ requirements:
85
+ - - ! '>='
86
+ - !ruby/object:Gem::Version
87
+ version: 1.2.6
115
88
  type: :runtime
116
- - !ruby/object:Gem::Dependency
117
- version_requirements: &id008 !ruby/object:Gem::Requirement
118
- requirements:
119
- - - ">="
120
- - !ruby/object:Gem::Version
121
- segments:
122
- - 0
123
- - 3
124
- - 7
125
- version: 0.3.7
126
- name: launchy
127
- requirement: *id008
128
89
  prerelease: false
90
+ version_requirements: *2152269340
91
+ - !ruby/object:Gem::Dependency
92
+ name: launchy
93
+ requirement: &2152268260 !ruby/object:Gem::Requirement
94
+ none: false
95
+ requirements:
96
+ - - ! '>='
97
+ - !ruby/object:Gem::Version
98
+ version: 0.3.7
129
99
  type: :runtime
130
- - !ruby/object:Gem::Dependency
131
- version_requirements: &id009 !ruby/object:Gem::Requirement
132
- requirements:
133
- - - ">="
134
- - !ruby/object:Gem::Version
135
- segments:
136
- - 0
137
- - 9
138
- - 8
139
- version: 0.9.8
140
- name: coderay
141
- requirement: *id009
142
100
  prerelease: false
101
+ version_requirements: *2152268260
102
+ - !ruby/object:Gem::Dependency
103
+ name: coderay
104
+ requirement: &2152267220 !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ! '>='
108
+ - !ruby/object:Gem::Version
109
+ version: 0.9.8
143
110
  type: :runtime
144
- - !ruby/object:Gem::Dependency
145
- version_requirements: &id010 !ruby/object:Gem::Requirement
146
- requirements:
147
- - - ">="
148
- - !ruby/object:Gem::Version
149
- segments:
150
- - 1
151
- - 2
152
- - 10
153
- version: 1.2.10
154
- name: thin
155
- requirement: *id010
156
111
  prerelease: false
112
+ version_requirements: *2152267220
113
+ - !ruby/object:Gem::Dependency
114
+ name: thin
115
+ requirement: &2152266100 !ruby/object:Gem::Requirement
116
+ none: false
117
+ requirements:
118
+ - - ! '>='
119
+ - !ruby/object:Gem::Version
120
+ version: 1.2.10
157
121
  type: :runtime
158
- - !ruby/object:Gem::Dependency
159
- version_requirements: &id011 !ruby/object:Gem::Requirement
160
- requirements:
161
- - - ">="
162
- - !ruby/object:Gem::Version
163
- segments:
164
- - 0
165
- - 3
166
- - 0
167
- version: 0.3.0
168
- name: archive-zip
169
- requirement: *id011
170
122
  prerelease: false
123
+ version_requirements: *2152266100
124
+ - !ruby/object:Gem::Dependency
125
+ name: archive-zip
126
+ requirement: &2152265120 !ruby/object:Gem::Requirement
127
+ none: false
128
+ requirements:
129
+ - - ! '>='
130
+ - !ruby/object:Gem::Version
131
+ version: 0.3.0
171
132
  type: :runtime
172
- - !ruby/object:Gem::Dependency
173
- version_requirements: &id012 !ruby/object:Gem::Requirement
174
- requirements:
175
- - - ">="
176
- - !ruby/object:Gem::Version
177
- segments:
178
- - 3
179
- - 1
180
- - 2
181
- version: 3.1.2
182
- name: haml
183
- requirement: *id012
184
133
  prerelease: false
134
+ version_requirements: *2152265120
135
+ - !ruby/object:Gem::Dependency
136
+ name: haml
137
+ requirement: &2152264220 !ruby/object:Gem::Requirement
138
+ none: false
139
+ requirements:
140
+ - - ! '>='
141
+ - !ruby/object:Gem::Version
142
+ version: 3.1.2
185
143
  type: :runtime
186
- - !ruby/object:Gem::Dependency
187
- version_requirements: &id013 !ruby/object:Gem::Requirement
188
- requirements:
189
- - - ">="
190
- - !ruby/object:Gem::Version
191
- segments:
192
- - 3
193
- - 1
194
- - 3
195
- version: 3.1.3
196
- name: sass
197
- requirement: *id013
198
144
  prerelease: false
145
+ version_requirements: *2152264220
146
+ - !ruby/object:Gem::Dependency
147
+ name: sass
148
+ requirement: &2152263200 !ruby/object:Gem::Requirement
149
+ none: false
150
+ requirements:
151
+ - - ! '>='
152
+ - !ruby/object:Gem::Version
153
+ version: 3.1.3
199
154
  type: :runtime
155
+ prerelease: false
156
+ version_requirements: *2152263200
200
157
  description: Line based local source code search engine & web-app.
201
158
  email: ongaeshi0621@gmail.com
202
- executables:
159
+ executables:
203
160
  - cdv
204
- - milk
205
161
  - cdview
162
+ - milk
206
163
  extensions: []
207
-
208
- extra_rdoc_files:
164
+ extra_rdoc_files:
209
165
  - LICENSE.txt
210
166
  - README.rdoc
211
- files:
167
+ files:
168
+ - .document
212
169
  - Gemfile
213
170
  - Gemfile.lock
214
171
  - HISTORY.rdoc
@@ -226,6 +183,7 @@ files:
226
183
  - lib/milkode/cdview/cli_cdview.rb
227
184
  - lib/milkode/cdweb/app.rb
228
185
  - lib/milkode/cdweb/cli_cdweb.rb
186
+ - lib/milkode/cdweb/config.ru
229
187
  - lib/milkode/cdweb/lib/coderay_wrapper.rb
230
188
  - lib/milkode/cdweb/lib/command.rb
231
189
  - lib/milkode/cdweb/lib/database.rb
@@ -234,6 +192,17 @@ files:
234
192
  - lib/milkode/cdweb/lib/query.rb
235
193
  - lib/milkode/cdweb/lib/search_contents.rb
236
194
  - lib/milkode/cdweb/lib/search_files.rb
195
+ - lib/milkode/cdweb/public/css/coderay.css
196
+ - lib/milkode/cdweb/public/css/gren.css
197
+ - lib/milkode/cdweb/public/images/MilkodeIcon135.png
198
+ - lib/milkode/cdweb/public/images/directory.png
199
+ - lib/milkode/cdweb/public/images/file.png
200
+ - lib/milkode/cdweb/views/filelist.haml
201
+ - lib/milkode/cdweb/views/help.haml
202
+ - lib/milkode/cdweb/views/index.haml
203
+ - lib/milkode/cdweb/views/layout.haml
204
+ - lib/milkode/cdweb/views/search.haml
205
+ - lib/milkode/cdweb/views/view.haml
237
206
  - lib/milkode/common/archive-zip.rb
238
207
  - lib/milkode/common/dbdir.rb
239
208
  - lib/milkode/common/dir.rb
@@ -267,52 +236,29 @@ files:
267
236
  - test/test_string_snip.rb
268
237
  - test/test_util.rb
269
238
  - vendor/archive/support/io.rb
270
- has_rdoc: true
271
239
  homepage: http://github.com/ongaeshi/milkode
272
- licenses:
240
+ licenses:
273
241
  - MIT
274
242
  post_install_message:
275
243
  rdoc_options: []
276
-
277
- require_paths:
244
+ require_paths:
278
245
  - lib
279
- required_ruby_version: !ruby/object:Gem::Requirement
280
- requirements:
281
- - - ">="
282
- - !ruby/object:Gem::Version
283
- segments:
284
- - 0
285
- version: "0"
286
- required_rubygems_version: !ruby/object:Gem::Requirement
287
- requirements:
288
- - - ">="
289
- - !ruby/object:Gem::Version
290
- segments:
291
- - 0
292
- version: "0"
246
+ required_ruby_version: !ruby/object:Gem::Requirement
247
+ none: false
248
+ requirements:
249
+ - - ! '>='
250
+ - !ruby/object:Gem::Version
251
+ version: '0'
252
+ required_rubygems_version: !ruby/object:Gem::Requirement
253
+ none: false
254
+ requirements:
255
+ - - ! '>='
256
+ - !ruby/object:Gem::Version
257
+ version: '0'
293
258
  requirements: []
294
-
295
259
  rubyforge_project:
296
- rubygems_version: 1.3.6
260
+ rubygems_version: 1.8.6
297
261
  signing_key:
298
262
  specification_version: 3
299
263
  summary: Line based local source code search engine & web-app.
300
- test_files:
301
- - test/file_assert.rb
302
- - test/file_test_utils.rb
303
- - test/rake_test_loader.rb
304
- - test/runner.rb
305
- - test/test_bin_exec.rb
306
- - test/test_cdstk.rb
307
- - test/test_cdstk_yaml.rb
308
- - test/test_coderay_wrapper.rb
309
- - test/test_coderay_wrapper_data.rb
310
- - test/test_database.rb
311
- - test/test_dbdir.rb
312
- - test/test_dir.rb
313
- - test/test_gren_util.rb
314
- - test/test_helper.rb
315
- - test/test_mkurl.rb
316
- - test/test_query.rb
317
- - test/test_string_snip.rb
318
- - test/test_util.rb
264
+ test_files: []