milkode 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/HISTORY.rdoc +5 -0
- data/VERSION +1 -1
- data/bin/milk +1 -1
- data/lib/milkode/cdstk/cdstk.rb +2 -2
- data/lib/milkode/cdstk/cli_cdstksub.rb +2 -2
- data/lib/milkode/cdweb/app.rb +1 -1
- data/milkode.gemspec +2 -2
- metadata +3 -3
data/HISTORY.rdoc
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.2
|
data/bin/milk
CHANGED
data/lib/milkode/cdstk/cdstk.rb
CHANGED
@@ -53,8 +53,8 @@ module Milkode
|
|
53
53
|
def update(args = nil)
|
54
54
|
print_result do
|
55
55
|
yaml = yaml_load
|
56
|
-
|
57
|
-
update_list = yaml_load.list(
|
56
|
+
|
57
|
+
update_list = (!args || args.empty?) ? yaml_load.list : yaml_load.list(CdstkYaml::Query.new(args))
|
58
58
|
|
59
59
|
db_open(db_file)
|
60
60
|
|
@@ -74,7 +74,7 @@ EOF
|
|
74
74
|
:environment => ENV['RACK_ENV'] || "development",
|
75
75
|
:pid => nil,
|
76
76
|
:Port => 9292,
|
77
|
-
:Host => "
|
77
|
+
:Host => "127.0.0.1",
|
78
78
|
:AccessLog => [],
|
79
79
|
:config => "config.ru",
|
80
80
|
# ----------------------------
|
@@ -85,7 +85,7 @@ EOF
|
|
85
85
|
|
86
86
|
opts = OptionParser.new("#{File.basename($0)} web")
|
87
87
|
opts.on('--db DB_DIR', 'Database dir (default : current_dir)') {|v| options[:DbDir] = v }
|
88
|
-
opts.on("-o", "--host HOST", "listen on HOST (default:
|
88
|
+
opts.on("-o", "--host HOST", "listen on HOST (default: 127.0.0.1)") {|host| options[:Host] = host }
|
89
89
|
opts.on('-p', '--port PORT', 'use PORT (default: 9292)') {|v| options[:Port] = v }
|
90
90
|
opts.on("-s", "--server SERVER", "serve using SERVER (default : thin)") {|s| options[:server] = s }
|
91
91
|
opts.on('-n', '--no-browser', 'No launch browser.') {|v| options[:LaunchBrowser] = false }
|
data/lib/milkode/cdweb/app.rb
CHANGED
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.
|
8
|
+
s.version = "0.1.2"
|
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-
|
12
|
+
s.date = %q{2011-07-27}
|
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"]
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 1
|
8
|
-
-
|
9
|
-
version: 0.1.
|
8
|
+
- 2
|
9
|
+
version: 0.1.2
|
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-
|
17
|
+
date: 2011-07-27 00:00:00 +09:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|