vimdo 1.0.2 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +3 -16
- data/Gemfile.lock +12 -40
- data/Manifest.txt +4 -0
- data/Rakefile +6 -4
- data/bin/vimdo +11 -6
- data/completion/bash/vimdo +15 -0
- data/completion/zsh/_vimdo +25 -0
- data/lib/vimdo.rb +6 -3
- data/lib/vimdo/autocomplete.rb +30 -0
- data/lib/vimdo/cli.rb +22 -7
- data/lib/vimdo/version.rb +1 -1
- data/vimdo.gemspec +61 -0
- metadata +15 -67
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6bba073beab14c842aceec4434adbca77591fbb7
|
4
|
+
data.tar.gz: a6da018fda191b5b42088051deb802a83e6c01ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c843a33d44a3504625e6540336eeecb20a43699de964c602c3ce90fb1801969588010dbf5a6b5ec735793bbf85ef94ad3514eec189a15a82f38e8d77b8d2f4af
|
7
|
+
data.tar.gz: 9bf0812c75177c7e03a27e6939259728971ac4a2cafe24ff0558c04706be7dfbfe8f7fbce728c10db60dba935bf6c6b30a0931ded4c91cb39558a353d5606411
|
data/Gemfile
CHANGED
@@ -1,23 +1,10 @@
|
|
1
1
|
# -*- ruby -*-
|
2
2
|
|
3
|
-
# DO NOT EDIT THIS FILE. Instead, edit Rakefile, and run `rake bundler:gemfile`.
|
4
|
-
|
5
3
|
source "https://rubygems.org/"
|
6
4
|
|
7
|
-
|
8
|
-
|
5
|
+
gemspec
|
6
|
+
|
7
|
+
|
9
8
|
|
10
|
-
gem "rdoc", "~>3.10", :group => [:development, :test]
|
11
|
-
gem "rspec", ">=2.13", :group => [:development, :test]
|
12
|
-
gem "rake", ">=10.0.0", :group => [:development, :test]
|
13
|
-
gem "hoe", ">=0", :group => [:development, :test]
|
14
|
-
gem "hoe-gemspec", ">=0", :group => [:development, :test]
|
15
|
-
gem "hoe-git", ">=0", :group => [:development, :test]
|
16
|
-
gem "hoe-version", ">=0", :group => [:development, :test]
|
17
|
-
gem "hoe-bundler", ">=0", :group => [:development, :test]
|
18
|
-
gem "guard", ">=0", :group => [:development, :test]
|
19
|
-
gem "guard-rspec", ">=0", :group => [:development, :test]
|
20
|
-
gem "terminal-notifier-guard", ">=0", :group => [:development, :test]
|
21
|
-
gem "growl", ">=0", :group => [:development, :test]
|
22
9
|
|
23
10
|
# vim: syntax=ruby
|
data/Gemfile.lock
CHANGED
@@ -1,49 +1,27 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
vimdo (1.0.2.20130407152509)
|
5
|
+
autocompletion (~> 0.0.3)
|
6
|
+
thor (~> 0.18.0)
|
7
|
+
vimrunner (~> 0.2.2)
|
8
|
+
|
1
9
|
GEM
|
2
10
|
remote: https://rubygems.org/
|
3
11
|
specs:
|
4
|
-
|
5
|
-
|
6
|
-
formatador (0.2.4)
|
7
|
-
growl (1.0.3)
|
8
|
-
guard (1.7.0)
|
9
|
-
formatador (>= 0.2.4)
|
10
|
-
listen (>= 0.6.0)
|
11
|
-
lumberjack (>= 1.0.2)
|
12
|
-
pry (>= 0.9.10)
|
13
|
-
thor (>= 0.14.6)
|
14
|
-
guard-rspec (2.5.2)
|
15
|
-
guard (>= 1.1)
|
16
|
-
rspec (~> 2.11)
|
12
|
+
autocompletion (0.0.3)
|
13
|
+
awesome_print (1.1.0)
|
17
14
|
hoe (3.5.2)
|
18
15
|
rake (>= 0.8, < 11.0)
|
19
|
-
hoe-bundler (1.2.0)
|
20
|
-
hoe (>= 2.2.0)
|
21
16
|
hoe-gemspec (1.0.0)
|
22
17
|
hoe (>= 2.2.0)
|
23
18
|
hoe-git (1.5.0)
|
24
19
|
hoe (>= 2.2.0)
|
25
20
|
hoe-version (1.2.0)
|
26
21
|
json (1.7.7)
|
27
|
-
listen (0.7.3)
|
28
|
-
lumberjack (1.0.3)
|
29
|
-
method_source (0.8.1)
|
30
|
-
pry (0.9.12)
|
31
|
-
coderay (~> 1.0.5)
|
32
|
-
method_source (~> 0.8)
|
33
|
-
slop (~> 3.4)
|
34
22
|
rake (10.0.4)
|
35
23
|
rdoc (3.12.2)
|
36
24
|
json (~> 1.4)
|
37
|
-
rspec (2.13.0)
|
38
|
-
rspec-core (~> 2.13.0)
|
39
|
-
rspec-expectations (~> 2.13.0)
|
40
|
-
rspec-mocks (~> 2.13.0)
|
41
|
-
rspec-core (2.13.1)
|
42
|
-
rspec-expectations (2.13.0)
|
43
|
-
diff-lcs (>= 1.1.3, < 2.0)
|
44
|
-
rspec-mocks (2.13.1)
|
45
|
-
slop (3.4.4)
|
46
|
-
terminal-notifier-guard (1.5.3)
|
47
25
|
thor (0.18.1)
|
48
26
|
vimrunner (0.2.2)
|
49
27
|
|
@@ -51,17 +29,11 @@ PLATFORMS
|
|
51
29
|
ruby
|
52
30
|
|
53
31
|
DEPENDENCIES
|
54
|
-
|
55
|
-
guard
|
56
|
-
guard-rspec
|
32
|
+
awesome_print
|
57
33
|
hoe
|
58
|
-
hoe-bundler
|
59
34
|
hoe-gemspec
|
60
35
|
hoe-git
|
61
36
|
hoe-version
|
62
37
|
rake (>= 10.0.0)
|
63
38
|
rdoc (~> 3.10)
|
64
|
-
|
65
|
-
terminal-notifier-guard
|
66
|
-
thor (~> 0.18.0)
|
67
|
-
vimrunner (~> 0.2.2)
|
39
|
+
vimdo!
|
data/Manifest.txt
CHANGED
data/Rakefile
CHANGED
@@ -3,8 +3,8 @@
|
|
3
3
|
require 'rubygems'
|
4
4
|
require 'hoe'
|
5
5
|
|
6
|
-
Hoe.plugin :gemspec
|
7
6
|
Hoe.plugin :bundler
|
7
|
+
Hoe.plugin :gemspec
|
8
8
|
Hoe.plugin :git
|
9
9
|
Hoe.plugin :test
|
10
10
|
Hoe.plugin :version
|
@@ -16,11 +16,13 @@ Hoe.spec 'vimdo' do
|
|
16
16
|
|
17
17
|
extra_deps << ['vimrunner', '~> 0.2.2']
|
18
18
|
extra_deps << ['thor', '~> 0.18.0']
|
19
|
+
extra_deps << ['autocompletion', '~> 0.0.3']
|
19
20
|
|
20
|
-
extra_dev_deps << ['rspec', '>= 2.13']
|
21
21
|
extra_dev_deps << ['rake', '>= 10.0.0']
|
22
|
-
extra_dev_deps << ['hoe'] << ['hoe-gemspec'] << ['hoe-git'] << ['hoe-version']
|
23
|
-
extra_dev_deps << ['
|
22
|
+
extra_dev_deps << ['hoe'] << ['hoe-gemspec'] << ['hoe-git'] << ['hoe-version']
|
23
|
+
extra_dev_deps << ['awesome_print']
|
24
|
+
# extra_dev_deps << ['rspec', '>= 2.13']
|
25
|
+
# extra_dev_deps << ['guard'] << ['guard-rspec'] << ['terminal-notifier-guard'] << ['growl']
|
24
26
|
end
|
25
27
|
|
26
28
|
%w{major minor patch}.each { |v|
|
data/bin/vimdo
CHANGED
@@ -2,21 +2,26 @@
|
|
2
2
|
|
3
3
|
# Trap interrupts to quit cleanly. See
|
4
4
|
# https://twitter.com/mitchellh/status/283014103189053442
|
5
|
-
|
5
|
+
Signal.trap("INT") { exit 1 }
|
6
6
|
|
7
7
|
($LOAD_PATH << File.expand_path("../../lib", __FILE__)).uniq!
|
8
8
|
require 'rubygems' unless defined? Gem # rubygems is only needed in 1.8
|
9
9
|
|
10
10
|
require 'vimdo'
|
11
11
|
require 'vimdo/cli'
|
12
|
+
require 'vimdo/autocomplete'
|
12
13
|
require 'vimdo/friendly_error'
|
13
14
|
|
14
15
|
|
15
|
-
VimDo.with_friendly_errors {
|
16
|
+
VimDo.with_friendly_errors {
|
17
|
+
VimDo.load_recipes
|
18
|
+
if ARGV[0] == 'autocomplete'
|
19
|
+
ARGV.shift
|
20
|
+
VimDo.autocomplete(ARGV)
|
21
|
+
else
|
22
|
+
VimDo::CLI.start
|
23
|
+
end
|
24
|
+
}
|
16
25
|
|
17
26
|
|
18
27
|
|
19
|
-
# ~~ modeline ~~ [[[1 -------------------------------------------------------
|
20
|
-
# vim: set ft=ruby ts=2 sw=2 tw=78 fdm=syntax fmr=[[[,]]] fdl=1 :
|
21
|
-
|
22
|
-
|
@@ -0,0 +1,15 @@
|
|
1
|
+
_vimdo_command()
|
2
|
+
{
|
3
|
+
COMPREPLY=()
|
4
|
+
cur="${COMP_WORDS[COMP_CWORD]}"
|
5
|
+
|
6
|
+
SAVE_IFS=$IFS
|
7
|
+
IFS=" "
|
8
|
+
args="${COMP_WORDS[*]:1}"
|
9
|
+
IFS=$SAVE_IFS
|
10
|
+
|
11
|
+
COMPREPLY=( $(compgen -W "`vimdo autocomplete ${args}`" -- ${cur}) )
|
12
|
+
|
13
|
+
return 0
|
14
|
+
}
|
15
|
+
complete -F _vimdo_command vimdo
|
@@ -0,0 +1,25 @@
|
|
1
|
+
#compdef vimdo
|
2
|
+
# --------------- ------------------------------------------------------------
|
3
|
+
# Name : _vimdo
|
4
|
+
# Synopsis : zsh completion for vimdo
|
5
|
+
# Author : Zhao Cai <caizhaoff@gmail.com>
|
6
|
+
# HomePage : https://github.com/zhaocai/vimdo
|
7
|
+
# Version : 0.1
|
8
|
+
# Date Created : Sun 07 Apr 2013 03:05:47 PM EDT
|
9
|
+
# Last Modified : Sun 07 Apr 2013 03:05:47 PM EDT
|
10
|
+
# Tag : [ shell, zsh, completion, vim ]
|
11
|
+
# Copyright : © 2013 by Zhao Cai,
|
12
|
+
# Released under current GPL license.
|
13
|
+
# --------------- ------------------------------------------------------------
|
14
|
+
local ret
|
15
|
+
|
16
|
+
ret=1
|
17
|
+
|
18
|
+
vimdo_comp=( ${(z)"$(_call_program vimdo vimdo autocomplete $words[2,-1])"} )
|
19
|
+
_describe 'vimdo' vimdo_comp && ret=0
|
20
|
+
|
21
|
+
return ret
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
+
|
data/lib/vimdo.rb
CHANGED
@@ -12,7 +12,8 @@ module VimDo
|
|
12
12
|
end
|
13
13
|
end
|
14
14
|
|
15
|
-
class PathError
|
15
|
+
class PathError < VimDoError; status_code(14) ; end
|
16
|
+
class UndefinedCommandError < VimDoError; status_code(15) ; end
|
16
17
|
|
17
18
|
class << self
|
18
19
|
attr_writer :ui, :rc
|
@@ -26,8 +27,10 @@ module VimDo
|
|
26
27
|
end
|
27
28
|
|
28
29
|
def connect(options= {})
|
29
|
-
|
30
|
-
|
30
|
+
Vimrunner::Server.new(
|
31
|
+
# symbolize keys
|
32
|
+
options.inject({}){ |h, (n,v)| h[n.to_sym] = v; h }
|
33
|
+
).connect(:spawn => true)
|
31
34
|
end
|
32
35
|
|
33
36
|
def load_recipes
|
@@ -0,0 +1,30 @@
|
|
1
|
+
require "vimdo/cli"
|
2
|
+
require "autocompletion"
|
3
|
+
|
4
|
+
module VimDo
|
5
|
+
|
6
|
+
def self.autocomplete(words)
|
7
|
+
subcommands = VimDo::CLI.tasks.keys
|
8
|
+
global_options = VimDo::CLI.class_options.values.map { |v| v.switch_name }
|
9
|
+
|
10
|
+
if words.empty?
|
11
|
+
puts (subcommands + global_options).flatten
|
12
|
+
elsif words.length == 1 && ! subcommands.include?(words[0])
|
13
|
+
puts AutoCompletion.words(subcommands).complete(words[0])
|
14
|
+
else
|
15
|
+
options = global_options
|
16
|
+
current_task = VimDo::CLI.tasks[words.shift]
|
17
|
+
if current_task && ! current_task.options.empty?
|
18
|
+
options << current_task.options.values.map { |v| v.switch_name }
|
19
|
+
end
|
20
|
+
options = options.flatten.delete_if { |o| words.include? o }
|
21
|
+
|
22
|
+
if words[-1]
|
23
|
+
puts AutoCompletion.words(options.flatten).complete(words[-1])
|
24
|
+
else
|
25
|
+
puts options.flatten
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
data/lib/vimdo/cli.rb
CHANGED
@@ -7,24 +7,34 @@ module VimDo
|
|
7
7
|
include Thor::Actions
|
8
8
|
package_name "VimDo"
|
9
9
|
|
10
|
-
class_option
|
10
|
+
class_option :name,
|
11
11
|
:type => :string,
|
12
12
|
:banner => "servername to connect",
|
13
13
|
:default => 'VIM',
|
14
|
-
:aliases => "-s"
|
15
|
-
class_option
|
14
|
+
:aliases => ["--servername","-s" ]
|
15
|
+
class_option :executable,
|
16
16
|
:type => :string,
|
17
17
|
:banner => "specifiy vim executable",
|
18
18
|
:aliases => "-e"
|
19
|
-
class_option
|
19
|
+
class_option :foreground,
|
20
|
+
:type => :boolean,
|
21
|
+
:banner => "Foreground: Don't fork when starting GUI",
|
22
|
+
:default => false,
|
23
|
+
:aliases => "-f"
|
24
|
+
class_option :vimrc,
|
20
25
|
:type => :string,
|
21
|
-
:default => "~/.
|
22
|
-
:banner => "
|
26
|
+
:default => File.expand_path("~/.vimrc"),
|
27
|
+
:banner => "path to vimrc",
|
23
28
|
:aliases => "-u"
|
29
|
+
class_option :vimdorc,
|
30
|
+
:type => :string,
|
31
|
+
:default => File.expand_path("~/.vimdorc"),
|
32
|
+
:banner => "path to vimdo rc",
|
33
|
+
:aliases => "-c"
|
24
34
|
class_option "no-color",
|
25
35
|
:type => :boolean,
|
26
36
|
:banner => "disable colorization in output"
|
27
|
-
class_option
|
37
|
+
class_option :verbose,
|
28
38
|
:type => :boolean,
|
29
39
|
:banner => "enable verbose output mode",
|
30
40
|
:aliases => "-v"
|
@@ -33,6 +43,7 @@ module VimDo
|
|
33
43
|
super
|
34
44
|
VimDo.ui = UI::Shell.new(options)
|
35
45
|
VimDo.ui.level = "debug" if options["verbose"]
|
46
|
+
|
36
47
|
end
|
37
48
|
|
38
49
|
desc "commands", "execute commands in vim"
|
@@ -95,6 +106,10 @@ module VimDo
|
|
95
106
|
commands(merge_command + base_split_command + switch_command)
|
96
107
|
end
|
97
108
|
|
109
|
+
desc "autocomplete", "print subcommands for shell completion"
|
110
|
+
def autocomplete()
|
111
|
+
raise UndefinedCommandError, "autocomplete should be intercepted."
|
112
|
+
end
|
98
113
|
|
99
114
|
private
|
100
115
|
def vim
|
data/lib/vimdo/version.rb
CHANGED
data/vimdo.gemspec
ADDED
@@ -0,0 +1,61 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
|
3
|
+
Gem::Specification.new do |s|
|
4
|
+
s.name = "vimdo"
|
5
|
+
s.version = "1.0.2.20130407152509"
|
6
|
+
|
7
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
|
+
s.authors = ["Zhao Cai"]
|
9
|
+
s.date = "2013-04-07"
|
10
|
+
s.description = "Vimdo is a ruby gem to automate tasks with vim remote servers.\nPredefined tasks include diff, merge, etc. You can define your own recipes\nto run tasks with Vim. For example, you can define `DirDiff` recipe:\n\n```ruby\nmodule VimDo\n class CLI < Thor\n\n desc \"dirdiff\", \"directory diff in vim\"\n def dirdiff(from, to)\n [from, to].each do |f|\n unless File.directory?(f)\n raise PathError \"\#{f} is not directory!\"\n end\n end\n\n from, to = [from, to].map {|f| File.expand_path(f) }\n commands(%Q{exec 'DirDiff ' fnameescape(\"\#{from}\") fnameescape(\"\#{to}\")})\n end\n\n end\nend\n\n```\n\nThen run `vimdo dirdiff path/to/a path/to/b` from the command line or other tools"
|
11
|
+
s.email = ["caizhaoff@gmail.com"]
|
12
|
+
s.executables = ["vimdo"]
|
13
|
+
s.extra_rdoc_files = ["History.txt", "Manifest.txt"]
|
14
|
+
s.files = ["Gemfile", "Gemfile.lock", "History.txt", "Manifest.txt", "README.md", "Rakefile", "bin/vimdo", "completion/bash/vimdo", "completion/zsh/_vimdo", "lib/vimdo.rb", "lib/vimdo/autocomplete.rb", "lib/vimdo/cli.rb", "lib/vimdo/friendly_error.rb", "lib/vimdo/ui.rb", "lib/vimdo/version.rb", "vimdo.gemspec"]
|
15
|
+
s.homepage = "http://zhaocai.github.com/vimdo"
|
16
|
+
s.licenses = ["GPL-3"]
|
17
|
+
s.rdoc_options = ["--main", "README.md"]
|
18
|
+
s.require_paths = ["lib"]
|
19
|
+
s.rubyforge_project = "vimdo"
|
20
|
+
s.rubygems_version = "2.0.3"
|
21
|
+
s.summary = "Vimdo is a ruby gem to automate tasks with vim remote servers"
|
22
|
+
|
23
|
+
if s.respond_to? :specification_version then
|
24
|
+
s.specification_version = 4
|
25
|
+
|
26
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
27
|
+
s.add_runtime_dependency(%q<vimrunner>, ["~> 0.2.2"])
|
28
|
+
s.add_runtime_dependency(%q<thor>, ["~> 0.18.0"])
|
29
|
+
s.add_runtime_dependency(%q<autocompletion>, ["~> 0.0.3"])
|
30
|
+
s.add_development_dependency(%q<rdoc>, ["~> 3.10"])
|
31
|
+
s.add_development_dependency(%q<rake>, [">= 10.0.0"])
|
32
|
+
s.add_development_dependency(%q<hoe>, [">= 0"])
|
33
|
+
s.add_development_dependency(%q<hoe-gemspec>, [">= 0"])
|
34
|
+
s.add_development_dependency(%q<hoe-git>, [">= 0"])
|
35
|
+
s.add_development_dependency(%q<hoe-version>, [">= 0"])
|
36
|
+
s.add_development_dependency(%q<awesome_print>, [">= 0"])
|
37
|
+
else
|
38
|
+
s.add_dependency(%q<vimrunner>, ["~> 0.2.2"])
|
39
|
+
s.add_dependency(%q<thor>, ["~> 0.18.0"])
|
40
|
+
s.add_dependency(%q<autocompletion>, ["~> 0.0.3"])
|
41
|
+
s.add_dependency(%q<rdoc>, ["~> 3.10"])
|
42
|
+
s.add_dependency(%q<rake>, [">= 10.0.0"])
|
43
|
+
s.add_dependency(%q<hoe>, [">= 0"])
|
44
|
+
s.add_dependency(%q<hoe-gemspec>, [">= 0"])
|
45
|
+
s.add_dependency(%q<hoe-git>, [">= 0"])
|
46
|
+
s.add_dependency(%q<hoe-version>, [">= 0"])
|
47
|
+
s.add_dependency(%q<awesome_print>, [">= 0"])
|
48
|
+
end
|
49
|
+
else
|
50
|
+
s.add_dependency(%q<vimrunner>, ["~> 0.2.2"])
|
51
|
+
s.add_dependency(%q<thor>, ["~> 0.18.0"])
|
52
|
+
s.add_dependency(%q<autocompletion>, ["~> 0.0.3"])
|
53
|
+
s.add_dependency(%q<rdoc>, ["~> 3.10"])
|
54
|
+
s.add_dependency(%q<rake>, [">= 10.0.0"])
|
55
|
+
s.add_dependency(%q<hoe>, [">= 0"])
|
56
|
+
s.add_dependency(%q<hoe-gemspec>, [">= 0"])
|
57
|
+
s.add_dependency(%q<hoe-git>, [">= 0"])
|
58
|
+
s.add_dependency(%q<hoe-version>, [">= 0"])
|
59
|
+
s.add_dependency(%q<awesome_print>, [">= 0"])
|
60
|
+
end
|
61
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vimdo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Zhao Cai
|
@@ -39,33 +39,33 @@ dependencies:
|
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: 0.18.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: autocompletion
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - ~>
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
48
|
-
type: :
|
47
|
+
version: 0.0.3
|
48
|
+
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - ~>
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
54
|
+
version: 0.0.3
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: rdoc
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - ~>
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
61
|
+
version: '3.10'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- -
|
66
|
+
- - ~>
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
68
|
+
version: '3.10'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rake
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -137,63 +137,7 @@ dependencies:
|
|
137
137
|
- !ruby/object:Gem::Version
|
138
138
|
version: '0'
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
|
-
name:
|
141
|
-
requirement: !ruby/object:Gem::Requirement
|
142
|
-
requirements:
|
143
|
-
- - '>='
|
144
|
-
- !ruby/object:Gem::Version
|
145
|
-
version: '0'
|
146
|
-
type: :development
|
147
|
-
prerelease: false
|
148
|
-
version_requirements: !ruby/object:Gem::Requirement
|
149
|
-
requirements:
|
150
|
-
- - '>='
|
151
|
-
- !ruby/object:Gem::Version
|
152
|
-
version: '0'
|
153
|
-
- !ruby/object:Gem::Dependency
|
154
|
-
name: guard
|
155
|
-
requirement: !ruby/object:Gem::Requirement
|
156
|
-
requirements:
|
157
|
-
- - '>='
|
158
|
-
- !ruby/object:Gem::Version
|
159
|
-
version: '0'
|
160
|
-
type: :development
|
161
|
-
prerelease: false
|
162
|
-
version_requirements: !ruby/object:Gem::Requirement
|
163
|
-
requirements:
|
164
|
-
- - '>='
|
165
|
-
- !ruby/object:Gem::Version
|
166
|
-
version: '0'
|
167
|
-
- !ruby/object:Gem::Dependency
|
168
|
-
name: guard-rspec
|
169
|
-
requirement: !ruby/object:Gem::Requirement
|
170
|
-
requirements:
|
171
|
-
- - '>='
|
172
|
-
- !ruby/object:Gem::Version
|
173
|
-
version: '0'
|
174
|
-
type: :development
|
175
|
-
prerelease: false
|
176
|
-
version_requirements: !ruby/object:Gem::Requirement
|
177
|
-
requirements:
|
178
|
-
- - '>='
|
179
|
-
- !ruby/object:Gem::Version
|
180
|
-
version: '0'
|
181
|
-
- !ruby/object:Gem::Dependency
|
182
|
-
name: terminal-notifier-guard
|
183
|
-
requirement: !ruby/object:Gem::Requirement
|
184
|
-
requirements:
|
185
|
-
- - '>='
|
186
|
-
- !ruby/object:Gem::Version
|
187
|
-
version: '0'
|
188
|
-
type: :development
|
189
|
-
prerelease: false
|
190
|
-
version_requirements: !ruby/object:Gem::Requirement
|
191
|
-
requirements:
|
192
|
-
- - '>='
|
193
|
-
- !ruby/object:Gem::Version
|
194
|
-
version: '0'
|
195
|
-
- !ruby/object:Gem::Dependency
|
196
|
-
name: growl
|
140
|
+
name: awesome_print
|
197
141
|
requirement: !ruby/object:Gem::Requirement
|
198
142
|
requirements:
|
199
143
|
- - '>='
|
@@ -249,11 +193,15 @@ files:
|
|
249
193
|
- README.md
|
250
194
|
- Rakefile
|
251
195
|
- bin/vimdo
|
196
|
+
- completion/bash/vimdo
|
197
|
+
- completion/zsh/_vimdo
|
252
198
|
- lib/vimdo.rb
|
199
|
+
- lib/vimdo/autocomplete.rb
|
253
200
|
- lib/vimdo/cli.rb
|
254
201
|
- lib/vimdo/friendly_error.rb
|
255
202
|
- lib/vimdo/ui.rb
|
256
203
|
- lib/vimdo/version.rb
|
204
|
+
- vimdo.gemspec
|
257
205
|
homepage: http://zhaocai.github.com/vimdo
|
258
206
|
licenses:
|
259
207
|
- GPL-3
|