milkode 1.7.0 → 1.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/HISTORY.ja.rdoc +6 -0
- data/HISTORY.rdoc +6 -0
- data/README.md +3 -1
- data/lib/milkode/cdweb/app.rb +5 -2
- data/lib/milkode/cdweb/cli_cdweb.rb +3 -0
- data/lib/milkode/cdweb/lib/web_setting.rb +4 -1
- data/lib/milkode/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c43bd763ab7bdc781d2595fc9df76149db756f20
|
4
|
+
data.tar.gz: f2b515cd14b815fa9af6f4c720d3b120463b57c3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a8611e756835e2c49917d48d5466a4add6139e112f1609d07728953626d929f4be91d2a0d8ab9cbf128bc8985b116f5a2db7a4ce92c95395301ca6e4360cb75
|
7
|
+
data.tar.gz: 86a7f32926e796b0866f8a45dee61bc4f403d5331109dfa369cbca8854486bc8d6243bbcd43bda8d401074b5d0ac284cb9fc6e58b25bb983a4610158ae39cb6f
|
data/HISTORY.ja.rdoc
CHANGED
data/HISTORY.rdoc
CHANGED
data/README.md
CHANGED
@@ -2,7 +2,9 @@
|
|
2
2
|
|
3
3
|
[![Version](https://img.shields.io/gem/v/milkode.svg)](https://rubygems.org/gems/milkode) [![Build Status](https://travis-ci.org/ongaeshi/milkode.svg?branch=develop)](https://travis-ci.org/ongaeshi/milkode)
|
4
4
|
|
5
|
-
Milkode is
|
5
|
+
Milkode is source code search engine of "line-oriented" written by Ruby.It have command line interface and web application. It will accelerate the code reading of your life.
|
6
|
+
|
7
|
+
It is possible from the file tens of thousands of the order, to search instantly a line that contains the keyword of interest.
|
6
8
|
|
7
9
|
Milkode is "見るコード". "See a code" is meaning.
|
8
10
|
|
data/lib/milkode/cdweb/app.rb
CHANGED
@@ -259,10 +259,13 @@ EOF
|
|
259
259
|
info_path = "#{suburl}/info"
|
260
260
|
info_path = File.join(info_path, package_name) if package_name != ""
|
261
261
|
|
262
|
+
update_menu = "#{headicon('view-refresh-4.png', suburl)}<a href='#updateModal' class='headmenu' data-toggle='modal'>#{t(:update_packages)}</a> "
|
263
|
+
update_menu = "" if @setting.hide_update_button
|
264
|
+
|
262
265
|
<<EOF
|
263
266
|
#{headicon('go-home-5.png', suburl)}<a href="#{suburl}/home" class="headmenu">#{t(:home)}</a>
|
264
|
-
#{headicon('directory.png', suburl)}<a href="#{flist}" class="headmenu">#{t(:directory)}</a
|
265
|
-
#{
|
267
|
+
#{headicon('directory.png', suburl)}<a href="#{flist}" class="headmenu">#{t(:directory)}</a>
|
268
|
+
#{update_menu}
|
266
269
|
#{headicon('info.png', suburl)}<a href="#{info_path}" class="headmenu">#{t(:stats)}</a>
|
267
270
|
#{headicon('help.png', suburl)}<a href="#{suburl}/help" class="headmenu">#{t(:help)}</a>
|
268
271
|
|
@@ -20,7 +20,8 @@ module Milkode
|
|
20
20
|
|
21
21
|
:favicon => "/images/favicon.ico",
|
22
22
|
|
23
|
-
:display_about_milkode => true
|
23
|
+
:display_about_milkode => true,
|
24
|
+
:hide_update_button => false,
|
24
25
|
}
|
25
26
|
|
26
27
|
def self.hash_method(name)
|
@@ -59,6 +60,8 @@ module Milkode
|
|
59
60
|
''
|
60
61
|
end
|
61
62
|
end
|
63
|
+
|
64
|
+
hash_method :hide_update_button
|
62
65
|
end
|
63
66
|
end
|
64
67
|
|
data/lib/milkode/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: milkode
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.7.
|
4
|
+
version: 1.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ongaeshi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-06-
|
11
|
+
date: 2014-06-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|