milkode 0.9.7 → 0.9.8
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +1 -1
- data/HISTORY.ja.rdoc +5 -0
- data/HISTORY.rdoc +5 -0
- data/VERSION +1 -1
- data/bin/gmilk +1 -1
- data/bin/milk +1 -1
- data/lib/milkode/cdweb/app.rb +11 -6
- data/lib/milkode/cdweb/app_error.rb +15 -0
- data/lib/milkode/cdweb/cli_cdweb.rb +6 -1
- data/lib/milkode/cdweb/public/css/auth-buttons.css +376 -0
- data/lib/milkode/cdweb/public/css/auth-icons.png +0 -0
- data/lib/milkode/cdweb/views/filelist.haml +1 -1
- data/lib/milkode/cdweb/views/search.haml +1 -0
- data/lib/milkode/cdweb/views/view.haml +1 -1
- data/lib/milkode/database/package_table.rb +7 -4
- data/milkode.gemspec +8 -5
- metadata +15 -4
data/Gemfile
CHANGED
data/HISTORY.ja.rdoc
CHANGED
data/HISTORY.rdoc
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.9.
|
1
|
+
0.9.8
|
data/bin/gmilk
CHANGED
data/bin/milk
CHANGED
data/lib/milkode/cdweb/app.rb
CHANGED
@@ -7,8 +7,8 @@
|
|
7
7
|
|
8
8
|
require 'rubygems'
|
9
9
|
require 'sinatra'
|
10
|
-
require 'haml'
|
11
10
|
require 'sass'
|
11
|
+
require 'haml'
|
12
12
|
|
13
13
|
$LOAD_PATH.unshift '../..'
|
14
14
|
require 'milkode/cdweb/lib/database'
|
@@ -22,7 +22,7 @@ set :haml, :format => :html5
|
|
22
22
|
|
23
23
|
get '/' do
|
24
24
|
@setting = WebSetting.new
|
25
|
-
@version = "0.9.
|
25
|
+
@version = "0.9.8"
|
26
26
|
@package_num = Database.instance.yaml_package_num
|
27
27
|
@file_num = Database.instance.totalRecords
|
28
28
|
@package_list = PackageList.new(Database.instance.grndb)
|
@@ -103,10 +103,10 @@ get %r{/help} do
|
|
103
103
|
haml :help
|
104
104
|
end
|
105
105
|
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
106
|
+
begin
|
107
|
+
NO_REQUIRE_APP_ERROR
|
108
|
+
rescue NameError
|
109
|
+
require 'milkode/cdweb/app_error'
|
110
110
|
end
|
111
111
|
|
112
112
|
# -- helper function --
|
@@ -288,6 +288,11 @@ EOF
|
|
288
288
|
r << "#{result.update_count} update"
|
289
289
|
"#{r.join(', ')} (#{Time.now - before} sec)"
|
290
290
|
end
|
291
|
+
|
292
|
+
# .search-summary に追加情報を表示したい時はこの関数をオーバーライド
|
293
|
+
def search_summary_hook(path)
|
294
|
+
""
|
295
|
+
end
|
291
296
|
end
|
292
297
|
|
293
298
|
class Array
|
@@ -46,7 +46,12 @@ module Rack
|
|
46
46
|
server.run wrapped_app, options do
|
47
47
|
if (options[:LaunchBrowser])
|
48
48
|
host = options[:Host] || options[:BindAddress] # options[:BindAddress] for WEBrick
|
49
|
-
|
49
|
+
|
50
|
+
if (options[:LaunchURL])
|
51
|
+
Launchy.open("http://#{host}:#{options[:Port]}#{options[:LaunchURL]}")
|
52
|
+
else
|
53
|
+
Launchy.open("http://#{host}:#{options[:Port]}")
|
54
|
+
end
|
50
55
|
end
|
51
56
|
end
|
52
57
|
end
|
@@ -0,0 +1,376 @@
|
|
1
|
+
/*
|
2
|
+
* Button Object
|
3
|
+
*/
|
4
|
+
|
5
|
+
/*
|
6
|
+
* 1. Corrects inability to style clickable 'input' types in iOS
|
7
|
+
* 2. Remove excess padding in IE6/7
|
8
|
+
* 3. IE6/7 inline-block hack for native block-level elements
|
9
|
+
*/
|
10
|
+
|
11
|
+
.btn-auth {
|
12
|
+
position: relative;
|
13
|
+
display: inline-block;
|
14
|
+
height: 22px;
|
15
|
+
padding: 0 1em;
|
16
|
+
border: 1px solid #999;
|
17
|
+
border-radius: 2px;
|
18
|
+
margin: 0;
|
19
|
+
text-align: center;
|
20
|
+
text-decoration: none;
|
21
|
+
font-size: 14px;
|
22
|
+
line-height: 22px;
|
23
|
+
white-space: nowrap;
|
24
|
+
cursor: pointer;
|
25
|
+
color: #222;
|
26
|
+
background: #fff;
|
27
|
+
-webkit-box-sizing: content-box;
|
28
|
+
-moz-box-sizing: content-box;
|
29
|
+
box-sizing: content-box;
|
30
|
+
/* iOS */
|
31
|
+
-webkit-appearance: none; /* 1 */
|
32
|
+
/* IE6/7 hacks */
|
33
|
+
*overflow: visible; /* 2 */
|
34
|
+
*display: inline; /* 3 */
|
35
|
+
*zoom: 1; /* 3 */
|
36
|
+
}
|
37
|
+
|
38
|
+
.btn-auth:hover,
|
39
|
+
.btn-auth:focus,
|
40
|
+
.btn-auth:active {
|
41
|
+
color: #222;
|
42
|
+
text-decoration: none;
|
43
|
+
}
|
44
|
+
|
45
|
+
.btn-auth:before {
|
46
|
+
content: "";
|
47
|
+
float: left;
|
48
|
+
width: 22px;
|
49
|
+
height: 22px;
|
50
|
+
background: url(auth-icons.png) no-repeat 99px 99px;
|
51
|
+
}
|
52
|
+
|
53
|
+
/*
|
54
|
+
* 36px
|
55
|
+
*/
|
56
|
+
|
57
|
+
.btn-auth.large {
|
58
|
+
height: 36px;
|
59
|
+
line-height: 36px;
|
60
|
+
font-size: 20px;
|
61
|
+
}
|
62
|
+
|
63
|
+
.btn-auth.large:before {
|
64
|
+
width: 36px;
|
65
|
+
height: 36px;
|
66
|
+
}
|
67
|
+
|
68
|
+
/*
|
69
|
+
* Remove excess padding and border in FF3+
|
70
|
+
*/
|
71
|
+
|
72
|
+
.btn-auth::-moz-focus-inner {
|
73
|
+
border: 0;
|
74
|
+
padding: 0;
|
75
|
+
}
|
76
|
+
|
77
|
+
|
78
|
+
/* Facebook (extends .btn-auth)
|
79
|
+
========================================================================== */
|
80
|
+
|
81
|
+
.btn-facebook {
|
82
|
+
border-color: #29447e;
|
83
|
+
border-bottom-color: #1a356e;
|
84
|
+
color: #fff;
|
85
|
+
background-color: #5872a7;
|
86
|
+
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#637bad), to(#5872a7));
|
87
|
+
background-image: -webkit-linear-gradient(#637bad, #5872a7);
|
88
|
+
background-image: -moz-linear-gradient(#637bad, #5872a7);
|
89
|
+
background-image: -ms-linear-gradient(#637bad, #5872a7);
|
90
|
+
background-image: -o-linear-gradient(#637bad, #5872a7);
|
91
|
+
background-image: linear-gradient(#637bad, #5872a7);
|
92
|
+
-webkit-box-shadow: inset 0 1px 0 #879ac0;
|
93
|
+
box-shadow: inset 0 1px 0 #879ac0;
|
94
|
+
}
|
95
|
+
|
96
|
+
.btn-facebook:hover,
|
97
|
+
.btn-facebook:focus {
|
98
|
+
color: #fff;
|
99
|
+
background-color: #3b5998;
|
100
|
+
}
|
101
|
+
|
102
|
+
.btn-facebook:active {
|
103
|
+
color: #fff;
|
104
|
+
background: #4f6aa3;
|
105
|
+
-webkit-box-shadow: inset 0 1px 0 #45619d;
|
106
|
+
box-shadow: inset 0 1px 0 #45619d;
|
107
|
+
}
|
108
|
+
|
109
|
+
/*
|
110
|
+
* Icon
|
111
|
+
*/
|
112
|
+
|
113
|
+
.btn-facebook:before {
|
114
|
+
border-right: 1px solid #465f94;
|
115
|
+
margin: 0 1em 0 -1em;
|
116
|
+
background-position: 0 0;
|
117
|
+
}
|
118
|
+
|
119
|
+
.btn-facebook.large:before {
|
120
|
+
background-position: 0 -22px;
|
121
|
+
}
|
122
|
+
|
123
|
+
|
124
|
+
/* GitHub
|
125
|
+
========================================================================== */
|
126
|
+
|
127
|
+
.btn-github {
|
128
|
+
border-color: #d4d4d4;
|
129
|
+
background: #ececec;
|
130
|
+
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f4f4f4), to(#ececec));
|
131
|
+
background-image: -webkit-linear-gradient(#f4f4f4, #ececec);
|
132
|
+
background-image: -moz-linear-gradient(#f4f4f4, #ececec);
|
133
|
+
background-image: -ms-linear-gradient(#f4f4f4, #ececec);
|
134
|
+
background-image: -o-linear-gradient(#f4f4f4, #ececec);
|
135
|
+
background-image: linear-gradient(#f4f4f4, #ececec);
|
136
|
+
}
|
137
|
+
|
138
|
+
.btn-github:hover,
|
139
|
+
.btn-github:focus {
|
140
|
+
border-color: #518cc6;
|
141
|
+
border-bottom-color: #2a65a0;
|
142
|
+
color: #fff;
|
143
|
+
background-color: #599bdc;
|
144
|
+
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#599bdc), to(#3072b3));
|
145
|
+
background-image: -webkit-linear-gradient(#599bdc, #3072b3);
|
146
|
+
background-image: -moz-linear-gradient(#599bdc, #3072b3);
|
147
|
+
background-image: -ms-linear-gradient(#599bdc, #3072b3);
|
148
|
+
background-image: -o-linear-gradient(#599bdc, #3072b3);
|
149
|
+
background-image: linear-gradient(#599bdc, #3072b3);
|
150
|
+
}
|
151
|
+
|
152
|
+
.btn-github:active {
|
153
|
+
border-color: #2A65A0;
|
154
|
+
border-bottom-color: #518CC6;
|
155
|
+
color: #fff;
|
156
|
+
background: #3072B3;
|
157
|
+
background: -webkit-gradient(linear, 0 0, 0 100%, from(#3072b3), to(#599bdc));
|
158
|
+
background: -webkit-linear-gradient(#3072b3, #599bdc);
|
159
|
+
background: -moz-linear-gradient(#3072b3, #599bdc);
|
160
|
+
background: -ms-linear-gradient(#3072b3, #599bdc);
|
161
|
+
background: -o-linear-gradient(#3072b3, #599bdc);
|
162
|
+
background: linear-gradient(#3072b3, #599bdc);
|
163
|
+
}
|
164
|
+
|
165
|
+
/*
|
166
|
+
* Icon
|
167
|
+
*/
|
168
|
+
|
169
|
+
.btn-github:before {
|
170
|
+
margin: 0 0.6em 0 -0.6em;
|
171
|
+
background-position: -44px 0;
|
172
|
+
}
|
173
|
+
|
174
|
+
.btn-github:hover:before,
|
175
|
+
.btn-github:focus:before,
|
176
|
+
.btn-github:active:before {
|
177
|
+
background-position: -66px 0;
|
178
|
+
}
|
179
|
+
|
180
|
+
.btn-github.large:before {
|
181
|
+
background-position: -72px -22px;
|
182
|
+
}
|
183
|
+
|
184
|
+
.btn-github.large:hover:before,
|
185
|
+
.btn-github.large:focus:before,
|
186
|
+
.btn-github.large:active:before {
|
187
|
+
background-position: -108px -22px;
|
188
|
+
}
|
189
|
+
|
190
|
+
|
191
|
+
/* Google
|
192
|
+
========================================================================== */
|
193
|
+
|
194
|
+
.btn-google {
|
195
|
+
border-color: #3079ed;
|
196
|
+
color: #fff;
|
197
|
+
background: #4787ed;
|
198
|
+
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#4d90fe), to(#4787ed));
|
199
|
+
background-image: -webkit-linear-gradient(#4d90fe, #4787ed);
|
200
|
+
background-image: -moz-linear-gradient(#4d90fe, #4787ed);
|
201
|
+
background-image: -ms-linear-gradient(#4d90fe, #4787ed);
|
202
|
+
background-image: -o-linear-gradient(#4d90fe, #4787ed);
|
203
|
+
background-image: linear-gradient(#4d90fe, #4787ed);
|
204
|
+
}
|
205
|
+
|
206
|
+
.btn-google:hover,
|
207
|
+
.btn-google:focus,
|
208
|
+
.btn-google:active {
|
209
|
+
color: #fff;
|
210
|
+
background-color: #357ae8;
|
211
|
+
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#4d90fe), to(#357ae8));
|
212
|
+
background-image: -webkit-linear-gradient(#4d90fe, #357ae8);
|
213
|
+
background-image: -moz-linear-gradient(#4d90fe, #357ae8);
|
214
|
+
background-image: -ms-linear-gradient(#4d90fe, #357ae8);
|
215
|
+
background-image: -o-linear-gradient(#4d90fe, #357ae8);
|
216
|
+
background-image: linear-gradient(#4d90fe, #357ae8);
|
217
|
+
}
|
218
|
+
|
219
|
+
.btn-google:active {
|
220
|
+
-webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,0.3);
|
221
|
+
box-shadow: inset 0 1px 2px rgba(0,0,0,0.3);
|
222
|
+
}
|
223
|
+
|
224
|
+
/*
|
225
|
+
* Icon
|
226
|
+
*/
|
227
|
+
|
228
|
+
.btn-google:before {
|
229
|
+
margin: 0 1em 0 -1em;
|
230
|
+
background-position: -88px 0;
|
231
|
+
background-color: #e6e6e6;
|
232
|
+
}
|
233
|
+
|
234
|
+
.btn-google.large:before {
|
235
|
+
background-position: -144px -22px;
|
236
|
+
}
|
237
|
+
|
238
|
+
|
239
|
+
/* Open ID
|
240
|
+
========================================================================== */
|
241
|
+
|
242
|
+
.btn-openid:hover,
|
243
|
+
.btn-openid:focus {
|
244
|
+
border-color: #777;
|
245
|
+
background: #fcfcfc;
|
246
|
+
}
|
247
|
+
|
248
|
+
.btn-openid:active {
|
249
|
+
background: #f5f5f5;
|
250
|
+
}
|
251
|
+
|
252
|
+
/*
|
253
|
+
* Icon
|
254
|
+
*/
|
255
|
+
|
256
|
+
.btn-openid:before {
|
257
|
+
margin: 0 0.6em 0 -0.6em;
|
258
|
+
background-position: -154px 0;
|
259
|
+
}
|
260
|
+
|
261
|
+
.btn-openid.large:before {
|
262
|
+
background-position: -252px -22px;
|
263
|
+
}
|
264
|
+
|
265
|
+
|
266
|
+
/* Twitter
|
267
|
+
========================================================================== */
|
268
|
+
|
269
|
+
.btn-twitter {
|
270
|
+
border-color: #a6cde6;
|
271
|
+
color: #327695;
|
272
|
+
background: #cfe4f0;
|
273
|
+
/* css3 */
|
274
|
+
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f1f5f7), to(rgba(255,255,255,0)));
|
275
|
+
background-image: -webkit-linear-gradient(#f1f5f7, rgba(255,255,255,0));
|
276
|
+
background-image: -moz-linear-gradient(#f1f5f7, rgba(255,255,255,0));
|
277
|
+
background-image: -ms-linear-gradient(#f1f5f7, rgba(255,255,255,0));
|
278
|
+
background-image: -o-linear-gradient(#f1f5f7, rgba(255,255,255,0));
|
279
|
+
background-image: linear-gradient(#f1f5f7, rgba(255,255,255,0));
|
280
|
+
-webkit-box-shadow: inset 0 1px 0 #fff;
|
281
|
+
box-shadow: inset 0 1px 0 #fff;
|
282
|
+
}
|
283
|
+
|
284
|
+
.btn-twitter:hover,
|
285
|
+
.btn-twitter:focus,
|
286
|
+
.btn-twitter:active {
|
287
|
+
color: #327695;
|
288
|
+
border-color: #8dc2e4;
|
289
|
+
background-color: #cadde9;
|
290
|
+
}
|
291
|
+
|
292
|
+
.btn-twitter:active {
|
293
|
+
background: #cadde9;
|
294
|
+
-webkit-box-shadow: inset 0 1px 0 #bbd6e7;
|
295
|
+
box-shadow: inset 0 1px 0 #bbd6e7;
|
296
|
+
}
|
297
|
+
|
298
|
+
/*
|
299
|
+
* Icon
|
300
|
+
*/
|
301
|
+
|
302
|
+
.btn-twitter:before {
|
303
|
+
margin: 0 0.6em 0 -0.6em;
|
304
|
+
background-position: -22px 0;
|
305
|
+
}
|
306
|
+
|
307
|
+
.btn-twitter.large:before {
|
308
|
+
background-position: -36px -22px;
|
309
|
+
}
|
310
|
+
|
311
|
+
|
312
|
+
/* Windows Live ID
|
313
|
+
========================================================================== */
|
314
|
+
|
315
|
+
.btn-windows:hover,
|
316
|
+
.btn-windows:focus {
|
317
|
+
border-color: #777;
|
318
|
+
background: #fcfcfc;
|
319
|
+
}
|
320
|
+
|
321
|
+
.btn-windows:active {
|
322
|
+
background: #f5f5f5;
|
323
|
+
}
|
324
|
+
|
325
|
+
/*
|
326
|
+
* Icon
|
327
|
+
*/
|
328
|
+
|
329
|
+
.btn-windows:before {
|
330
|
+
margin: 0 0.6em 0 -0.6em;
|
331
|
+
background-position: -110px 0;
|
332
|
+
}
|
333
|
+
|
334
|
+
.btn-windows.large:before {
|
335
|
+
background-position: -180px -22px;
|
336
|
+
}
|
337
|
+
|
338
|
+
|
339
|
+
/* Yahoo!
|
340
|
+
========================================================================== */
|
341
|
+
|
342
|
+
.btn-yahoo {
|
343
|
+
border-color: #ffb305;
|
344
|
+
background: #ffc426;
|
345
|
+
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(rgba(255,255,255,0.5)), to(rgba(255,255,255,0)));
|
346
|
+
background-image: -webkit-linear-gradient(rgba(255,255,255,0.5), rgba(255,255,255,0));
|
347
|
+
background-image: -moz-linear-gradient(rgba(255,255,255,0.5), rgba(255,255,255,0));
|
348
|
+
background-image: -ms-linear-gradient(rgba(255,255,255,0.5), rgba(255,255,255,0));
|
349
|
+
background-image: -o-linear-gradient(rgba(255,255,255,0.5), rgba(255,255,255,0));
|
350
|
+
background-image: linear-gradient(rgba(255,255,255,0.5), rgba(255,255,255,0));
|
351
|
+
}
|
352
|
+
|
353
|
+
.btn-yahoo:hover,
|
354
|
+
.btn-yahoo:focus {
|
355
|
+
background-color: #fabf20;
|
356
|
+
}
|
357
|
+
|
358
|
+
.btn-yahoo:active {
|
359
|
+
border-color: #f09700;
|
360
|
+
background-image: none;
|
361
|
+
-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.3);
|
362
|
+
box-shadow: inset 0 1px 1px rgba(0,0,0,0.3);
|
363
|
+
}
|
364
|
+
|
365
|
+
/*
|
366
|
+
* Icon
|
367
|
+
*/
|
368
|
+
|
369
|
+
.btn-yahoo:before {
|
370
|
+
margin: 0 0.6em 0 -0.6em;
|
371
|
+
background-position: -132px 0;
|
372
|
+
}
|
373
|
+
|
374
|
+
.btn-yahoo.large:before {
|
375
|
+
background-position: -216px -22px;
|
376
|
+
}
|
Binary file
|
@@ -4,7 +4,7 @@
|
|
4
4
|
= haml :search_form
|
5
5
|
|
6
6
|
.search-summary
|
7
|
-
<span class="keyword">#{topic_path(@path, params)}</span> <span class="total-entries">#{@total_records}</span>件(#{@elapsed}秒)
|
7
|
+
<span class="keyword">#{topic_path(@path, params)}</span> <span class="total-entries">#{@total_records}</span>件(#{@elapsed}秒) #{search_summary_hook(@path)}
|
8
8
|
~ @record_content
|
9
9
|
|
10
10
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
= haml :search_form
|
5
5
|
|
6
6
|
.search-summary
|
7
|
-
<span class="keyword">#{topic_path(@path, params)}</span>#{additional_info(@path, params)}(#{@elapsed}秒)
|
7
|
+
<span class="keyword">#{topic_path(@path, params)}</span>#{additional_info(@path, params)}(#{@elapsed}秒) #{search_summary_hook(@path)}
|
8
8
|
~ @record_content
|
9
9
|
|
10
10
|
|
@@ -33,11 +33,14 @@ module Milkode
|
|
33
33
|
end
|
34
34
|
|
35
35
|
def add(name, directory, options)
|
36
|
+
now = Time.now
|
36
37
|
@table.add(name,
|
37
|
-
:name
|
38
|
-
:directory
|
39
|
-
:addtime
|
40
|
-
:
|
38
|
+
:name => name,
|
39
|
+
:directory => directory,
|
40
|
+
:addtime => now,
|
41
|
+
:updatetime => options[:same_add] ? now : Time.at(0),
|
42
|
+
:viewtime => options[:same_add] ? now : Time.at(0),
|
43
|
+
:favtime => options[:fav] ? now : Time.at(0))
|
41
44
|
end
|
42
45
|
|
43
46
|
def remove(name)
|
data/milkode.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{milkode}
|
8
|
-
s.version = "0.9.
|
8
|
+
s.version = "0.9.8"
|
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{2013-
|
12
|
+
s.date = %q{2013-02-27}
|
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"]
|
@@ -35,6 +35,7 @@ Gem::Specification.new do |s|
|
|
35
35
|
"lib/milkode/cdstk/package.rb",
|
36
36
|
"lib/milkode/cdstk/yaml_file_wrapper.rb",
|
37
37
|
"lib/milkode/cdweb/app.rb",
|
38
|
+
"lib/milkode/cdweb/app_error.rb",
|
38
39
|
"lib/milkode/cdweb/cli_cdweb.rb",
|
39
40
|
"lib/milkode/cdweb/config.ru",
|
40
41
|
"lib/milkode/cdweb/lib/coderay_html2.rb",
|
@@ -51,6 +52,8 @@ Gem::Specification.new do |s|
|
|
51
52
|
"lib/milkode/cdweb/lib/search_fuzzy_gotoline.rb",
|
52
53
|
"lib/milkode/cdweb/lib/search_gotoline.rb",
|
53
54
|
"lib/milkode/cdweb/lib/web_setting.rb",
|
55
|
+
"lib/milkode/cdweb/public/css/auth-buttons.css",
|
56
|
+
"lib/milkode/cdweb/public/css/auth-icons.png",
|
54
57
|
"lib/milkode/cdweb/public/css/bootstrap-responsive.min.css",
|
55
58
|
"lib/milkode/cdweb/public/css/bootstrap.min.css",
|
56
59
|
"lib/milkode/cdweb/public/css/coderay-patch.css",
|
@@ -196,7 +199,7 @@ Gem::Specification.new do |s|
|
|
196
199
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
197
200
|
s.add_runtime_dependency(%q<termcolor>, [">= 1.2.0", "< 1.2.2"])
|
198
201
|
s.add_runtime_dependency(%q<rroonga>, [">= 1.1.0"])
|
199
|
-
s.add_runtime_dependency(%q<rack>, [">= 1.3.4"])
|
202
|
+
s.add_runtime_dependency(%q<rack>, [">= 1.3.4", "~> 1.4.0"])
|
200
203
|
s.add_runtime_dependency(%q<sinatra>, [">= 1.2.6"])
|
201
204
|
s.add_runtime_dependency(%q<launchy>, [">= 0.3.7"])
|
202
205
|
s.add_runtime_dependency(%q<coderay>, [">= 1.0.5"])
|
@@ -211,7 +214,7 @@ Gem::Specification.new do |s|
|
|
211
214
|
else
|
212
215
|
s.add_dependency(%q<termcolor>, [">= 1.2.0", "< 1.2.2"])
|
213
216
|
s.add_dependency(%q<rroonga>, [">= 1.1.0"])
|
214
|
-
s.add_dependency(%q<rack>, [">= 1.3.4"])
|
217
|
+
s.add_dependency(%q<rack>, [">= 1.3.4", "~> 1.4.0"])
|
215
218
|
s.add_dependency(%q<sinatra>, [">= 1.2.6"])
|
216
219
|
s.add_dependency(%q<launchy>, [">= 0.3.7"])
|
217
220
|
s.add_dependency(%q<coderay>, [">= 1.0.5"])
|
@@ -227,7 +230,7 @@ Gem::Specification.new do |s|
|
|
227
230
|
else
|
228
231
|
s.add_dependency(%q<termcolor>, [">= 1.2.0", "< 1.2.2"])
|
229
232
|
s.add_dependency(%q<rroonga>, [">= 1.1.0"])
|
230
|
-
s.add_dependency(%q<rack>, [">= 1.3.4"])
|
233
|
+
s.add_dependency(%q<rack>, [">= 1.3.4", "~> 1.4.0"])
|
231
234
|
s.add_dependency(%q<sinatra>, [">= 1.2.6"])
|
232
235
|
s.add_dependency(%q<launchy>, [">= 0.3.7"])
|
233
236
|
s.add_dependency(%q<coderay>, [">= 1.0.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: 43
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 9
|
9
|
-
-
|
10
|
-
version: 0.9.
|
9
|
+
- 8
|
10
|
+
version: 0.9.8
|
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: 2013-
|
18
|
+
date: 2013-02-27 00:00:00 +09:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -73,6 +73,14 @@ dependencies:
|
|
73
73
|
- 3
|
74
74
|
- 4
|
75
75
|
version: 1.3.4
|
76
|
+
- - ~>
|
77
|
+
- !ruby/object:Gem::Version
|
78
|
+
hash: 7
|
79
|
+
segments:
|
80
|
+
- 1
|
81
|
+
- 4
|
82
|
+
- 0
|
83
|
+
version: 1.4.0
|
76
84
|
requirement: *id003
|
77
85
|
- !ruby/object:Gem::Dependency
|
78
86
|
type: :runtime
|
@@ -272,6 +280,7 @@ files:
|
|
272
280
|
- lib/milkode/cdstk/package.rb
|
273
281
|
- lib/milkode/cdstk/yaml_file_wrapper.rb
|
274
282
|
- lib/milkode/cdweb/app.rb
|
283
|
+
- lib/milkode/cdweb/app_error.rb
|
275
284
|
- lib/milkode/cdweb/cli_cdweb.rb
|
276
285
|
- lib/milkode/cdweb/config.ru
|
277
286
|
- lib/milkode/cdweb/lib/coderay_html2.rb
|
@@ -288,6 +297,8 @@ files:
|
|
288
297
|
- lib/milkode/cdweb/lib/search_fuzzy_gotoline.rb
|
289
298
|
- lib/milkode/cdweb/lib/search_gotoline.rb
|
290
299
|
- lib/milkode/cdweb/lib/web_setting.rb
|
300
|
+
- lib/milkode/cdweb/public/css/auth-buttons.css
|
301
|
+
- lib/milkode/cdweb/public/css/auth-icons.png
|
291
302
|
- lib/milkode/cdweb/public/css/bootstrap-responsive.min.css
|
292
303
|
- lib/milkode/cdweb/public/css/bootstrap.min.css
|
293
304
|
- lib/milkode/cdweb/public/css/coderay-patch.css
|