milkode 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
data/HISTORY.rdoc CHANGED
@@ -1,3 +1,9 @@
1
+ === 0.1.3 2011/07/30
2
+
3
+ * Change Icon.
4
+ * Change web-app design.
5
+ * Change text, lib/milkode/cdweb/views/help.haml.
6
+
1
7
  === 0.1.2 2011/07/26
2
8
 
3
9
  * milk web --host, default value "127.0.0.1" (for Windows).
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.2
1
+ 0.1.3
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.2"
9
+ Version = "0.1.3"
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.2"
21
+ @version = "0.1.3"
22
22
  @package_num = Database.instance.fileList('').size
23
23
  @file_num = Database.instance.fileNum
24
24
  haml :index
@@ -17,8 +17,8 @@ div.footer_home {
17
17
  }
18
18
 
19
19
  div.search-summary {
20
- border-color:#F4CA3F;
21
- background-color:#FEFFF0;
20
+ border-color: #e92926;
21
+ background-color:#FFF0F0;
22
22
  border-top-style:solid;
23
23
  border-top-width:1px;
24
24
  border-bottom-style:solid;
@@ -39,7 +39,10 @@ dt.result-file {
39
39
  }
40
40
 
41
41
  div.pagination {
42
- background-color:#FEFFF0;
42
+ border-color: #e92926;
43
+ background-color:#FFF0F0;
44
+ border-top-style:solid;
45
+ border-top-width:1px;
43
46
  text-align: center;
44
47
  margin-bottom: 20px;
45
48
  }
@@ -64,8 +67,8 @@ font.version {
64
67
  }
65
68
 
66
69
  span.highlight-line {
67
- background-color: #d0ff9c;
68
- /* background-color: #FFFF55; */
70
+ background-color: #d0ff9c;
71
+ /*background-color: #FFFF55;*/
69
72
  }
70
73
 
71
74
  a.headmenu {
@@ -1,6 +1,6 @@
1
1
  .header
2
2
  %h1
3
- <a href="/"><img src="/images/gren-icon-mini.png" alt="gren-icon" border="0"/></a>
3
+ <a href="/"><img src="/images/MilkodeIcon135.png" alt="milkode-icon-mini" border="0" height="75px"/></a>
4
4
  Milkode
5
5
  = create_headmenu(@path, params)
6
6
 
@@ -2,15 +2,15 @@
2
2
 
3
3
  .header
4
4
  %h1
5
- <a href="/"><img src="/images/gren-icon-mini.png" alt="gren-icon" border="0"/></a>
5
+ <a href="/"><img src="/images/MilkodeIcon135.png" alt="milkode-icon-mini" border="0" height="75px"/></a>
6
6
  #{@title} - Milkode
7
7
 
8
8
  .content
9
9
  .sample-code
10
10
  %ol
11
- %li キーワードで検索<br>#{link('def open')}
12
- %li1フレーズとして検索<br>#{link('"def open"')}
13
- %li パッケージ名で絞り込み<br>#{link('def open p:gren')}
14
- %li ファイル名や拡張子で絞り込み<br>#{link('def open f:test s:rb')}
15
- %li 組み合わせ<br>#{link('p:gren p:tidtools s:rb f:test assert f:cli')}
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
16
 
@@ -1,6 +1,6 @@
1
1
  %div(align="center")
2
2
  .header_home
3
- %h1 <a href="/"><img src="/images/gren-icon.png" alt="gren-icon" border="0" height="100px"/></a> Milkode <font class="version">#{@version}</font>
3
+ %h1 <a href="/"><img src="/images/MilkodeIcon135.png" alt="milkode-icon" border="0" height="135px"/></a> Milkode <font class="version">#{@version}</font>
4
4
 
5
5
  .content
6
6
  %form(method="post" action="home")
@@ -1,6 +1,6 @@
1
1
  .header
2
2
  %h1
3
- <a href="/"><img src="/images/gren-icon-mini.png" alt="gren-icon" border="0"/></a>
3
+ <a href="/"><img src="/images/MilkodeIcon135.png" alt="milkode-icon-mini" border="0" height="75px"/></a>
4
4
  Milkode
5
5
  = create_headmenu(@path, params)
6
6
 
@@ -1,6 +1,6 @@
1
1
  .header
2
2
  %h1
3
- <a href="/"><img src="/images/gren-icon-mini.png" alt="gren-icon" border="0"/></a>
3
+ <a href="/"><img src="/images/MilkodeIcon135.png" alt="milkode-icon-mini" border="0" height="75px"/></a>
4
4
  Milkode
5
5
  = create_headmenu(@path, params)
6
6
 
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.1.2"
8
+ s.version = "0.1.3"
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{2011-07-27}
12
+ s.date = %q{2011-07-30}
13
13
  s.description = %q{Line based local source code search engine & web-app.}
14
14
  s.email = %q{ongaeshi0621@gmail.com}
15
15
  s.executables = ["cdv", "milk", "cdview"]
@@ -47,10 +47,9 @@ Gem::Specification.new do |s|
47
47
  "lib/milkode/cdweb/lib/search_files.rb",
48
48
  "lib/milkode/cdweb/public/css/coderay.css",
49
49
  "lib/milkode/cdweb/public/css/gren.css",
50
+ "lib/milkode/cdweb/public/images/MilkodeIcon135.png",
50
51
  "lib/milkode/cdweb/public/images/directory.png",
51
52
  "lib/milkode/cdweb/public/images/file.png",
52
- "lib/milkode/cdweb/public/images/gren-icon-mini.png",
53
- "lib/milkode/cdweb/public/images/gren-icon.png",
54
53
  "lib/milkode/cdweb/views/filelist.haml",
55
54
  "lib/milkode/cdweb/views/help.haml",
56
55
  "lib/milkode/cdweb/views/index.haml",
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 2
9
- version: 0.1.2
8
+ - 3
9
+ version: 0.1.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - ongaeshi
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2011-07-27 00:00:00 +09:00
17
+ date: 2011-07-30 00:00:00 +09:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -210,10 +210,9 @@ files:
210
210
  - lib/milkode/cdweb/lib/search_files.rb
211
211
  - lib/milkode/cdweb/public/css/coderay.css
212
212
  - lib/milkode/cdweb/public/css/gren.css
213
+ - lib/milkode/cdweb/public/images/MilkodeIcon135.png
213
214
  - lib/milkode/cdweb/public/images/directory.png
214
215
  - lib/milkode/cdweb/public/images/file.png
215
- - lib/milkode/cdweb/public/images/gren-icon-mini.png
216
- - lib/milkode/cdweb/public/images/gren-icon.png
217
216
  - lib/milkode/cdweb/views/filelist.haml
218
217
  - lib/milkode/cdweb/views/help.haml
219
218
  - lib/milkode/cdweb/views/index.haml