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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ef388fc3823334de6936be6caf2202fc5739c279
4
- data.tar.gz: 8664bf3c752e15ad46a77924f7bc8a5cbb7bfbf0
3
+ metadata.gz: c43bd763ab7bdc781d2595fc9df76149db756f20
4
+ data.tar.gz: f2b515cd14b815fa9af6f4c720d3b120463b57c3
5
5
  SHA512:
6
- metadata.gz: 7266759f8427dfea3e3e1e2fa0707d49aa74e4c0fdb14787b56de55e7ba98a8eaf1d8961a922086de6af0bfd5357b9b9b03c9a3914e3def56a6a70c95fa6a98e
7
- data.tar.gz: d797d5c1ceae24946def6d121ebdedc425d6e9597cfdf14840a0db92094c9d41049f9805bd83f9186563b6bec4c32241811a3168ae8b3c121dc9701c250c4368
6
+ metadata.gz: 0a8611e756835e2c49917d48d5466a4add6139e112f1609d07728953626d929f4be91d2a0d8ab9cbf128bc8985b116f5a2db7a4ce92c95395301ca6e4360cb75
7
+ data.tar.gz: 86a7f32926e796b0866f8a45dee61bc4f403d5331109dfa369cbca8854486bc8d6243bbcd43bda8d401074b5d0ac284cb9fc6e58b25bb983a4610158ae39cb6f
@@ -1,3 +1,9 @@
1
+ === 1.7.1 2014/06/17
2
+
3
+ * milk web
4
+ * Add the :hide_update_button option to the milkweb.yaml file
5
+ * Improve the help text
6
+
1
7
  === 1.7.0 2014/06/02
2
8
 
3
9
  * milk web
@@ -1,3 +1,9 @@
1
+ === 1.7.1 2014/06/17
2
+
3
+ * milk web
4
+ * Add the :hide_update_button option to the milkweb.yaml file
5
+ * Improve the help text
6
+
1
7
  === 1.7.0 2014/06/02
2
8
 
3
9
  * milk web
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 "Line Based" local source code search engine written by Ruby. It have command line interface and web application. It will accelerate the code reading of your life.
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
 
@@ -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>&nbsp;"
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>&nbsp;
264
- #{headicon('directory.png', suburl)}<a href="#{flist}" class="headmenu">#{t(:directory)}</a>
265
- #{headicon('view-refresh-4.png', suburl)}<a href="#updateModal" class="headmenu" data-toggle="modal">#{t(:update_packages)}</a>&nbsp;
267
+ #{headicon('directory.png', suburl)}<a href="#{flist}" class="headmenu">#{t(:directory)}</a>&nbsp;
268
+ #{update_menu}
266
269
  #{headicon('info.png', suburl)}<a href="#{info_path}" class="headmenu">#{t(:stats)}</a>&nbsp;
267
270
  #{headicon('help.png', suburl)}<a href="#{suburl}/help" class="headmenu">#{t(:help)}</a>
268
271
 
@@ -84,7 +84,10 @@ EOF
84
84
  :header_title: "Milkode"
85
85
  :header_icon : "/images/MilkodeIcon135.png"
86
86
 
87
+ :favicon: "/images/favicon.ico"
88
+
87
89
  :display_about_milkode: true
90
+ :hide_update_button: false
88
91
  EOF
89
92
  end
90
93
  end
@@ -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
 
@@ -1,3 +1,3 @@
1
1
  module Milkode
2
- VERSION = "1.7.0"
2
+ VERSION = "1.7.1"
3
3
  end
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.0
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-02 00:00:00.000000000 Z
11
+ date: 2014-06-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler