milkode 0.9.3 → 0.9.3.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,8 @@
1
+ === 0.9.3.1 2012/10/14
2
+
3
+ * 'milk plugins' add gem-milkode, bundle-milkode
4
+ * Support removing by path
5
+
1
6
  === 0.9.3 2012/10/06
2
7
 
3
8
  * milk web
@@ -1,3 +1,8 @@
1
+ === 0.9.3.1 2012/10/14
2
+
3
+ * 'milk plugins' add gem-milkode, bundle-milkode
4
+ * Support removing by path
5
+
1
6
  === 0.9.3 2012/10/06
2
7
 
3
8
  * milk web
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.9.3
1
+ 0.9.3.1
data/bin/gmilk CHANGED
@@ -6,5 +6,5 @@
6
6
  require 'rubygems'
7
7
  require 'milkode/grep/cli_grep'
8
8
 
9
- Version = "0.9.3"
9
+ Version = "0.9.3.1"
10
10
  Milkode::CLI_Grep.execute(STDOUT, ARGV)
data/bin/milk CHANGED
@@ -6,5 +6,5 @@
6
6
  require 'rubygems'
7
7
  require 'milkode/cli'
8
8
 
9
- Version = "0.9.3"
9
+ Version = "0.9.3.1"
10
10
  Milkode::CLI.start(ARGV)
@@ -332,7 +332,7 @@ module Milkode
332
332
  print_result do
333
333
  db_open
334
334
  args.each do |name|
335
- package = @yaml.find_name(name)
335
+ package = @yaml.find_name(name) || @yaml.find_dir(name)
336
336
  if (package)
337
337
  remove_dir(package.directory)
338
338
  else
@@ -22,7 +22,7 @@ set :haml, :format => :html5
22
22
 
23
23
  get '/' do
24
24
  @setting = WebSetting.new
25
- @version = "0.9.3"
25
+ @version = "0.9.3.1"
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)
@@ -51,7 +51,7 @@ EOF
51
51
  cdstk.update(args, options)
52
52
  end
53
53
 
54
- desc "remove keyword1 [keyword2 ...]", "Remove package"
54
+ desc "remove keyword_or_path1 [keyword_or_path2 ...]", "Remove package"
55
55
  option :all, :type => :boolean, :desc => 'Remove all.'
56
56
  option :force, :type => :boolean, :aliases => '-f', :desc => 'Force remove.'
57
57
  option :verbose, :type => :boolean, :aliases => '-v', :desc => 'Be verbose.'
@@ -173,10 +173,12 @@ EOF
173
173
  long_desc "Display plugin list."
174
174
  def plugins(*args)
175
175
  $stdout.puts <<EOF
176
+ bundle-milkode https://github.com/kou/bundle-milkode
177
+ emacs-milkode https://github.com/ongaeshi/emacs-milkode
178
+ gem-milkode https://github.com/kou/gem-milkode
176
179
  Gitomb https://github.com/tomykaira/gitomb
177
- redmine_milkode https://github.com/suer/redmine_milkode
178
180
  Milkode_Sublime https://github.com/tsurushuu/Milkode_Sublime
179
- emacs-milkode https://github.com/ongaeshi/emacs-milkode
181
+ redmine_milkode https://github.com/suer/redmine_milkode
180
182
  EOF
181
183
  end
182
184
 
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{milkode}
8
- s.version = "0.9.3"
8
+ s.version = "0.9.3.1"
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{2012-10-06}
12
+ s.date = %q{2012-10-14}
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"]
@@ -95,7 +95,8 @@ module Milkode
95
95
  updater = Updater.new(@grndb, 'ignore_test')
96
96
  updater.enable_no_auto_ignore
97
97
  updater.exec
98
- result_test updater.result, 6, 2, 0
98
+ # result_test updater.result, 6, 2, 0
99
+ result_test updater.result, 5, 1, 0
99
100
  end
100
101
 
101
102
  def t_silent_mode
metadata CHANGED
@@ -1,13 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: milkode
3
3
  version: !ruby/object:Gem::Version
4
- hash: 61
4
+ hash: 9
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 9
9
9
  - 3
10
- version: 0.9.3
10
+ - 1
11
+ version: 0.9.3.1
11
12
  platform: ruby
12
13
  authors:
13
14
  - ongaeshi
@@ -15,7 +16,7 @@ autorequire:
15
16
  bindir: bin
16
17
  cert_chain: []
17
18
 
18
- date: 2012-10-06 00:00:00 +09:00
19
+ date: 2012-10-14 00:00:00 +09:00
19
20
  default_executable:
20
21
  dependencies:
21
22
  - !ruby/object:Gem::Dependency