vimdb 0.3.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
data/.gemspec CHANGED
@@ -12,10 +12,12 @@ Gem::Specification.new do |s|
12
12
  s.description = "Search your vim keybindings precisely by keystroke, mode, description or where they came from. Search vim options by name, alias and description."
13
13
  s.required_rubygems_version = ">= 1.3.6"
14
14
  s.executables = %w(vimdb)
15
- s.add_dependency 'thor', '~> 0.14.6'
16
- s.add_dependency 'hirb', '~> 0.5.0'
15
+ s.add_dependency 'boson', '~> 1.0.0'
16
+ s.add_dependency 'hirb', '~> 0.6.0'
17
17
  s.add_development_dependency 'minitest', '~> 2.5.1'
18
- s.files = Dir.glob(%w[{lib,spec}/**/*.rb bin/* [A-Z]*.{txt,rdoc,md} ext/**/*.{rb,c} **/deps.rip]) + %w{Rakefile .gemspec}
18
+ s.add_development_dependency 'bahia', '~> 0.3.0'
19
+ s.add_development_dependency 'rake', '~> 0.9.2'
20
+ s.files = Dir.glob(%w[{lib,spec}/**/*.rb bin/* [A-Z]*.{txt,rdoc,md} ext/**/*.{rb,c} **/deps.rip]) + %w{Rakefile .gemspec .travis.yml}
19
21
  s.files += Dir.glob(['spec/fixtures/*', 'spec/.vimdbrc'])
20
22
  s.extra_rdoc_files = ["README.md", "LICENSE.txt"]
21
23
  s.license = 'MIT'
@@ -0,0 +1,4 @@
1
+ before_install: bundle init --gemspec=.gemspec
2
+ rvm:
3
+ - 1.9.2
4
+ - 1.9.3
@@ -1,3 +1,6 @@
1
+ = 0.4.0
2
+ * Switch to boson
3
+
1
4
  = 0.3.0
2
5
  * Several fixes to key parsing
3
6
  * Add all + not search options
data/Rakefile CHANGED
@@ -29,7 +29,7 @@ end
29
29
 
30
30
  desc 'Run tests'
31
31
  task :test do |t|
32
- ENV['RUBYLIB'] = 'lib:' + ENV['RUBYLIB']
32
+ ENV['RUBYLIB'] = ['lib', ENV['RUBYLIB']].compact.join(':')
33
33
  sh 'testrb spec/*_spec.rb'
34
34
  end
35
35
 
data/deps.rip CHANGED
@@ -1,2 +1,2 @@
1
- thor ~>0.14.6
2
- hirb ~>0.5.0
1
+ boson ~>1.0.0
2
+ hirb ~>0.6.0
@@ -80,10 +80,13 @@ class Vimdb::Keys < Vimdb::Item
80
80
  # add desc from following lines
81
81
  if cols[0] == ''
82
82
  if cols[1] !~ /^(Meta characters|not used)/
83
- keys[-1][:desc] += ' ' + cols[1].strip
83
+ keys[-1][:desc] << ' ' if !keys[-1][:desc].empty?
84
+ keys[-1][:desc] << cols[1].gsub(/^\s*\d?|\s*$/, '')
84
85
  end
85
86
  else
86
- keys << create_index_key(mode, cols[1])
87
+ key, desc = cols[1].include?('use register') ?
88
+ cols[1].split(/\s+/, 2) : [cols[1], nil]
89
+ keys << create_index_key(mode, key, desc)
87
90
  end
88
91
  elsif cols.size == 1
89
92
  tag, key = line.split(/\s+/, 2)
@@ -103,7 +106,7 @@ class Vimdb::Keys < Vimdb::Item
103
106
  end
104
107
 
105
108
  def create_index_key(mode, key, desc = nil)
106
- desc = desc ? desc.strip : ''
109
+ desc = desc ? desc.gsub(/^\s*\d?\s*|\s*$/, '') : ''
107
110
  { mode: mode, key: translate_index_key(key), desc: desc, from: 'default' }
108
111
  end
109
112
 
@@ -131,7 +134,7 @@ class Vimdb::Keys < Vimdb::Item
131
134
  next if key[:key][/^(<Plug>|<SNR>)/]
132
135
  key[:key] = translate_map_key(key[:key])
133
136
 
134
- key[:desc] = arr[0][/^\S*\s+\S+\s+(.*)$/, 1]
137
+ key[:desc] = arr[0][/^\S*\s+\S+\s+\*?\s*(.*)$/, 1]
135
138
  key[:mode] = (mode = arr[0][/^[nvsxo!ilc]+/]) ?
136
139
  @mode_map[mode] || mode : 'nvso'
137
140
  key
@@ -1,60 +1,53 @@
1
- require 'thor'
1
+ require 'boson/runner'
2
2
  require 'hirb'
3
+ ENV['BOSONRC'] = ENV['VIMDB_RC'] || '~/.vimdbrc'
3
4
 
4
- class Vimdb::Runner < Thor
5
- def self.start(*args)
6
- rc = ENV['VIMDB_RC'] || '~/.vimdbrc'
7
- begin
8
- load(rc) if File.exists?(File.expand_path(rc))
9
- rescue StandardError, SyntaxError, LoadError => err
10
- warn "Error while loading #{rc}:\n"+
11
- "#{err.class}: #{err.message}\n #{err.backtrace.join("\n ")}"
12
- end
13
- super
14
- end
5
+ class Vimdb::Runner < Boson::Runner
15
6
 
16
7
  def self.common_search_options
17
- method_option :reload, :type => :boolean, :desc => 'reloads items'
18
- method_option :sort, :type => :string, :desc => 'sort by field', :aliases => '-s'
19
- method_option :reverse_sort, :type => :boolean, :aliases => '-R'
20
- method_option :ignore_case, :type => :boolean, :aliases => '-i'
21
- method_option :regexp, :type => :boolean, :aliases => '-r', :desc => 'query is a regexp'
22
- method_option :not, :type => :boolean, :aliases => '-n', :desc => 'return non-matching results'
23
- method_option :all, :type => :boolean, :aliases => '-a', :desc => 'search all fields'
24
- method_option :field, :type => :string, :desc => 'field to query', :aliases => '-f'
8
+ option :reload, :type => :boolean, :desc => 'reloads items'
9
+ option :sort, :type => :string, :desc => 'sort by field'
10
+ option :reverse_sort, :type => :boolean
11
+ option :ignore_case, :type => :boolean
12
+ option :regexp, :type => :boolean, :desc => 'query is a regexp'
13
+ option :not, :type => :boolean, :desc => 'return non-matching results'
14
+ option :all, :type => :boolean, :desc => 'search all fields'
15
+ option :field, :type => :string, :desc => 'field to query'
16
+ option :tab, :type => :boolean, :desc => 'print tab-delimited table'
25
17
  end
26
18
 
27
19
  common_search_options
28
- method_option :mode, :type => :string, :desc => 'search by mode, multiple modes are ORed', :aliases => '-m'
29
- desc 'keys [QUERY]', 'List vim keys'
30
- def keys(query = nil)
20
+ option :mode, :type => :string, :desc => 'search by mode, multiple modes are ORed'
21
+ desc 'List vim keys'
22
+ def keys(query = nil, options={})
31
23
  Vimdb.item('keys')
32
- search_item(query)
24
+ search_item(query, options)
33
25
  end
34
26
 
35
27
  common_search_options
36
- desc 'opts [QUERY]', 'List vim options'
37
- def opts(query = nil)
28
+ desc 'List vim options'
29
+ def opts(query = nil, options={})
38
30
  Vimdb.item('options')
39
- search_item(query)
31
+ search_item(query, options)
40
32
  end
41
33
 
42
34
  common_search_options
43
- desc 'commands [QUERY]', 'List vim commands'
44
- def commands(query = nil)
35
+ desc 'List vim commands'
36
+ def commands(query = nil, options={})
45
37
  Vimdb.item('commands')
46
- search_item(query)
38
+ search_item(query, options)
47
39
  end
48
40
 
49
- desc 'info [ITEM]', 'Prints info about an item'
41
+ desc 'Prints info about an item'
50
42
  def info(item = nil)
51
43
  puts Vimdb.item(item).info
52
44
  end
53
45
 
54
46
  private
55
- def search_item(query = nil)
47
+ def search_item(query = nil, options)
56
48
  Vimdb.user.reload if options[:reload]
57
49
  keys = Vimdb.user.search(query, options)
58
- puts Hirb::Helpers::Table.render(keys, fields: Vimdb.item.fields)
50
+ puts Hirb::Helpers::Table.render(keys, fields: Vimdb.item.fields, tab: options[:tab])
59
51
  end
52
+
60
53
  end
@@ -1,3 +1,3 @@
1
1
  module Vimdb
2
- VERSION = '0.3.0'
2
+ VERSION = '0.4.0'
3
3
  end
@@ -7,47 +7,47 @@ describe "vimdb commands" do
7
7
  end
8
8
 
9
9
  it "searches :name field by default" do
10
- vimdb 'commands', 'bufd'
10
+ vimdb "commands bufd"
11
11
  stdout.must_match /1 row/
12
12
  end
13
13
 
14
14
  it 'lists command names without symbol' do
15
- vimdb 'commands', 'bad'
15
+ vimdb 'commands bad'
16
16
  stdout.must_include <<-STR
17
17
  | badd | bad | default | add buffer to the buffer list |
18
18
  STR
19
19
  end
20
20
 
21
21
  it "lists command name without alias" do
22
- vimdb 'commands', 'bufd'
22
+ vimdb 'commands bufd'
23
23
  stdout.must_include <<-STR
24
24
  | bufdo | | default | execute command in each listed buffer |
25
25
  STR
26
26
  end
27
27
 
28
28
  it 'lists multi-line index commands correctly' do
29
- vimdb 'commands', 'wp'
29
+ vimdb 'commands wp'
30
30
  stdout.must_include <<-STR
31
31
  | wprevious | wp | default | write to a file and go to previous file in argument list |
32
32
  STR
33
33
  end
34
34
 
35
35
  it "lists user-defined commands correctly" do
36
- vimdb 'commands', 'GitGrep'
36
+ vimdb 'commands GitGrep'
37
37
  stdout.must_include <<-STR
38
38
  | GitGrep | | user | call GitGrep(<q-args>) |
39
39
  STR
40
40
  end
41
41
 
42
42
  it "lists plugin commands correctly" do
43
- vimdb 'commands', 'Gist'
43
+ vimdb 'commands Gist'
44
44
  stdout.must_include <<-STR
45
45
  | Gist | | gist-vim plugin | :call Gist(<line1>, <line2>, <f-args>) |
46
46
  STR
47
47
  end
48
48
 
49
49
  it "lists plugin commands using plugin_dir regexp correctly" do
50
- vimdb 'commands', 'Vopen'
50
+ vimdb 'commands Vopen'
51
51
  stdout.must_include <<-STR
52
52
  | Vopen | | pathogen.vim plugin | :execute s:find(<count>,'edit<bang>',<q-args>,1) |
53
53
  STR
@@ -2,33 +2,33 @@ require File.expand_path(File.dirname(__FILE__) + '/helper')
2
2
 
3
3
  describe "common search options" do
4
4
  it "with --field option searches another field" do
5
- vimdb 'keys', 'L-z' ,'-f=desc'
5
+ vimdb 'keys L-z -f=desc'
6
6
  stdout.must_match /^0 rows/
7
7
  end
8
8
 
9
9
  it "with --reverse_sort option reverse sorts field" do
10
- vimdb 'keys', '-R'
10
+ vimdb 'keys -R'
11
11
  stdout.must_match /gq.*'\]/m
12
12
  end
13
13
 
14
14
  it "with --regexp option converts search to regexp" do
15
- vimdb 'keys', '^C-', '-r'
15
+ vimdb 'keys ^C- -r'
16
16
  stdout.wont_match /^0 rows/
17
17
  stdout.must_match /C-a.*C-z/m
18
18
  end
19
19
 
20
20
  it "with --ignore-case option ignores case" do
21
- vimdb 'keys', 'Q:', '-i'
21
+ vimdb "keys Q: -i"
22
22
  stdout.must_match /q:.*1 row/m
23
23
  end
24
24
 
25
25
  it "with --not option returns all non-matching results" do
26
- vimdb 'keys', 'blarg', '-n'
26
+ vimdb "keys blarg -n"
27
27
  stdout.must_match /928 rows/
28
28
  end
29
29
 
30
30
  it "with --all option searches all fields" do
31
- vimdb 'keys', 'C', '-a'
31
+ vimdb "keys C -a"
32
32
  stdout.must_match /365 rows/
33
33
  # from desc field
34
34
  stdout.must_include ' :TComment<CR>'
@@ -1 +1,3 @@
1
- minitest ~>2.5.1
1
+ minitest ~>2.5.1
2
+ bahia ~>0.3.0
3
+ rake ~>0.9.2
@@ -1,26 +1,15 @@
1
1
  gem 'minitest' unless ENV['NO_RUBYGEMS']
2
2
  require 'minitest/autorun'
3
3
  require 'vimdb'
4
- require 'open3'
5
4
  require 'fileutils'
5
+ require 'bahia'
6
6
 
7
7
  ENV['VIMDB_RC'] = File.dirname(__FILE__) + '/.vimdbrc'
8
8
  ENV['VIMDB_DB'] = File.dirname(__FILE__) + '/vimdb.pstore'
9
9
  ENV['VIMDB_FIXTURE_DIR'] = File.dirname(__FILE__) + '/fixtures'
10
10
 
11
- module TestHelpers
12
- attr_reader :stdout, :stderr, :process
13
-
14
- def vimdb(*args)
15
- args.unshift File.dirname(__FILE__) + '/../bin/vimdb'
16
- args.unshift({'RUBYLIB' => "#{File.dirname(__FILE__)}/../lib:" +
17
- ENV['RUBYLIB']})
18
- @stdout, @stderr, @process = Open3.capture3(*args)
19
- end
20
- end
21
-
22
11
  class MiniTest::Unit::TestCase
23
- include TestHelpers
12
+ include Bahia
24
13
  end
25
14
 
26
15
  MiniTest::Unit.after_tests { FileUtils.rm_f(ENV['VIMDB_DB']) }
@@ -7,35 +7,35 @@ describe "vimdb keys" do
7
7
  end
8
8
 
9
9
  it 'searches :key field by default' do
10
- vimdb 'keys', 'g#'
10
+ vimdb "keys g#"
11
11
  stdout.must_match /1 row/
12
12
  end
13
13
 
14
14
  it 'with --mode option ANDs mode to search' do
15
- vimdb 'keys', 'gm', '-m=n'
15
+ vimdb "keys gm -m=n"
16
16
  stdout.must_match /1 row/
17
17
  end
18
18
 
19
19
  describe "edge cases" do
20
20
  it "converts control key to C-" do
21
- vimdb 'keys', 'C-z'
21
+ vimdb "keys C-z"
22
22
  stdout.wont_match /^0 rows/
23
23
  stdout.must_match /C-z/
24
24
  end
25
25
 
26
26
  it "converts escape key to E-" do
27
- vimdb 'keys', 'E-x'
27
+ vimdb "keys E-x"
28
28
  stdout.wont_match /^0 rows/
29
29
  stdout.must_match /E-x/
30
30
  end
31
31
 
32
32
  it 'converts leader key to L-' do
33
- vimdb 'keys', 'L-z'
33
+ vimdb "keys L-z"
34
34
  stdout.must_match /1 row/
35
35
  end
36
36
 
37
37
  it 'searches non-alphabetic characters' do
38
- vimdb 'keys', '!'
38
+ vimdb "keys !"
39
39
  stdout.must_match /!\{filter\}/
40
40
  end
41
41
 
@@ -45,59 +45,83 @@ describe "vimdb keys" do
45
45
  end
46
46
 
47
47
  it 'lists user-generated keys' do
48
- vimdb 'keys', 'L-w'
48
+ vimdb "keys L-w"
49
49
  stdout.must_include <<-STR.sub(/^\s+/, '')
50
50
  | L-w | nvso | user | :call OpenURL()<CR> |
51
51
  STR
52
52
  end
53
53
 
54
+ it "lists user keys with starred descriptions" do
55
+ vimdb "keys L-l"
56
+ stdout.must_include <<-STR
57
+ | L-l | n | user | <C-W>l |
58
+ STR
59
+ end
60
+
54
61
  it "doesn't list Plug keys" do
55
- vimdb 'keys', 'Plug'
62
+ vimdb "keys Plug"
56
63
  stdout.must_match /^0 rows/
57
64
  end
58
65
 
59
66
  it "doesn't list not used keys" do
60
- vimdb 'keys', '^not used$', '-f=desc', '-r'
67
+ skip 'fix multi-word'
68
+ vimdb "keys '^not used$' -f=desc -r"
61
69
  stdout.must_match /^0 rows/
62
70
  end
63
71
 
64
72
  it "lists keys with description on following line" do
65
- vimdb 'keys', 'digraph', '-a'
73
+ vimdb "keys digraph -a"
66
74
  stdout.must_include <<-STR
67
- | {char1}<BS>{char2} | i | default | enter digraph (only when 'digraph' option set) |
75
+ | {char1}<BS>{char2} | i | default | enter digraph (only when 'digraph' option set) |
68
76
  STR
69
77
  end
70
78
 
71
79
  it "lists keys with no tabs and no description" do
72
- vimdb 'keys', 'C-r C-r'
80
+ skip 'fix multi-word'
81
+ vimdb "keys 'C-r C-r'"
73
82
  stdout.must_include <<-STR
74
- | C-r C-r {0-9a-z"%#*:=} | i | default | insert the contents of a register literally |
83
+ | C-r C-r {0-9a-z"%#*:=} | i | default | insert the contents of a register literally |
75
84
  STR
76
85
  end
77
86
 
78
87
  it "lists keys with no tabs but a description" do
79
- vimdb 'keys', 'C-v {number}'
88
+ skip 'fix multi-word'
89
+ vimdb "keys 'C-v {number}'"
80
90
  stdout.must_include <<-STR
81
91
  | C-v {number} | i | default | insert three digit decimal number as a single byte. |
82
92
  STR
83
93
 
84
- vimdb 'keys', 'C-w g C-]'
94
+ vimdb "keys 'C-w g C-]'"
85
95
  stdout.must_include <<-STR
86
96
  | C-w g C-] | n | default | split window and do |:tjump| to tag under cursor |
87
97
  STR
88
98
  end
89
99
 
90
100
  it "lists key without unrelated sentences after it" do
91
- vimdb 'keys', 'delete character under', '-a'
101
+ vimdb "keys 'delete character under' -a"
92
102
  stdout.must_include <<-STR
93
103
  | <Del> | i | default | delete character under the cursor |
94
104
  STR
95
105
  end
96
106
 
97
107
  it "lists keys correctly that have desc from previous key" do
98
- vimdb 'keys', '2$', '-r'
108
+ vimdb "keys 2$ -r"
99
109
  stdout.must_include <<-STR
100
110
  | 2 | n | default | prepend to command to give a count |
111
+ STR
112
+ end
113
+
114
+ it "lists keys with numbered descriptions correctly" do
115
+ vimdb "keys C-b"
116
+ stdout.must_include <<-STR
117
+ | C-b | n | default | scroll N screens Backwards |
118
+ STR
119
+ end
120
+
121
+ it "lists key with incorrect separator between key and description" do
122
+ vimdb "keys 'use register' -a"
123
+ stdout.must_include <<-STR
124
+ | "{a-zA-Z0-9.%#:-"} | n | default | use register {a-zA-Z0-9.%#:-"} for next delete, yank or put (uppercase to a... |
101
125
  STR
102
126
  end
103
127
  end
@@ -7,7 +7,7 @@ describe "vimdb opts" do
7
7
  end
8
8
 
9
9
  it 'searches :name field by default' do
10
- vimdb 'opts' ,'wildignorec'
10
+ vimdb "opts wildignorec"
11
11
  stdout.must_match /1 row/
12
12
  end
13
13
  end
@@ -3,19 +3,19 @@ require 'tempfile'
3
3
 
4
4
  describe Vimdb::Runner do
5
5
  describe "commands" do
6
- it "help prints help" do
7
- vimdb 'help'
8
- stdout.must_match /vimdb commands.*vimdb keys.*vimdb opts/m
6
+ it "--help prints help" do
7
+ vimdb '--help'
8
+ stdout.must_match /^Usage: vimdb COMMAND.*commands.*keys.*opts/m
9
9
  end
10
10
 
11
11
  it "no arguments prints help" do
12
12
  vimdb
13
- stdout.must_match /vimdb commands.*vimdb keys.*vimdb opts/m
13
+ stdout.must_match /^Usage: vimdb COMMAND.*commands.*keys.*opts/m
14
14
  end
15
15
 
16
16
  Vimdb::Item.all.each do |item|
17
17
  it "info for #{item} prints info" do
18
- vimdb 'info', item
18
+ vimdb "info #{item}"
19
19
  stdout.must_match /^Created/
20
20
  end
21
21
  end
@@ -34,14 +34,14 @@ describe Vimdb::Runner do
34
34
 
35
35
  it "loads user-defined commands" do
36
36
  rc_contains <<-RC
37
- class Vimdb::Runner < Thor
38
- desc 'new_task', ''
39
- def new_task; end
37
+ class Vimdb::Runner
38
+ desc 'some task'
39
+ def new_task(arg); end
40
40
  end
41
41
  RC
42
42
 
43
- vimdb 'help', 'new_task'
44
- stdout.must_match /vimdb new_task/
43
+ vimdb "new_task -h"
44
+ stdout.must_match /^Usage: vimdb new_task ARG/
45
45
  end
46
46
 
47
47
  it "can be nonexistent" do
metadata CHANGED
@@ -1,61 +1,81 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: vimdb
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.4.0
4
5
  prerelease:
5
- version: 0.3.0
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - Gabriel Horner
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
-
13
- date: 2011-11-07 00:00:00 -05:00
14
- default_executable:
15
- dependencies:
16
- - !ruby/object:Gem::Dependency
17
- name: thor
18
- prerelease: false
19
- requirement: &id001 !ruby/object:Gem::Requirement
12
+ date: 2012-03-05 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: boson
16
+ requirement: &70144496636600 !ruby/object:Gem::Requirement
20
17
  none: false
21
- requirements:
18
+ requirements:
22
19
  - - ~>
23
- - !ruby/object:Gem::Version
24
- version: 0.14.6
20
+ - !ruby/object:Gem::Version
21
+ version: 1.0.0
25
22
  type: :runtime
26
- version_requirements: *id001
27
- - !ruby/object:Gem::Dependency
28
- name: hirb
29
23
  prerelease: false
30
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: *70144496636600
25
+ - !ruby/object:Gem::Dependency
26
+ name: hirb
27
+ requirement: &70144496635640 !ruby/object:Gem::Requirement
31
28
  none: false
32
- requirements:
29
+ requirements:
33
30
  - - ~>
34
- - !ruby/object:Gem::Version
35
- version: 0.5.0
31
+ - !ruby/object:Gem::Version
32
+ version: 0.6.0
36
33
  type: :runtime
37
- version_requirements: *id002
38
- - !ruby/object:Gem::Dependency
39
- name: minitest
40
34
  prerelease: false
41
- requirement: &id003 !ruby/object:Gem::Requirement
35
+ version_requirements: *70144496635640
36
+ - !ruby/object:Gem::Dependency
37
+ name: minitest
38
+ requirement: &70144496634600 !ruby/object:Gem::Requirement
42
39
  none: false
43
- requirements:
40
+ requirements:
44
41
  - - ~>
45
- - !ruby/object:Gem::Version
42
+ - !ruby/object:Gem::Version
46
43
  version: 2.5.1
47
44
  type: :development
48
- version_requirements: *id003
49
- description: Search your vim keybindings precisely by keystroke, mode, description or where they came from. Search vim options by name, alias and description.
45
+ prerelease: false
46
+ version_requirements: *70144496634600
47
+ - !ruby/object:Gem::Dependency
48
+ name: bahia
49
+ requirement: &70144496633600 !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - ~>
53
+ - !ruby/object:Gem::Version
54
+ version: 0.3.0
55
+ type: :development
56
+ prerelease: false
57
+ version_requirements: *70144496633600
58
+ - !ruby/object:Gem::Dependency
59
+ name: rake
60
+ requirement: &70144496632560 !ruby/object:Gem::Requirement
61
+ none: false
62
+ requirements:
63
+ - - ~>
64
+ - !ruby/object:Gem::Version
65
+ version: 0.9.2
66
+ type: :development
67
+ prerelease: false
68
+ version_requirements: *70144496632560
69
+ description: Search your vim keybindings precisely by keystroke, mode, description
70
+ or where they came from. Search vim options by name, alias and description.
50
71
  email: gabriel.horner@gmail.com
51
- executables:
72
+ executables:
52
73
  - vimdb
53
74
  extensions: []
54
-
55
- extra_rdoc_files:
75
+ extra_rdoc_files:
56
76
  - README.md
57
77
  - LICENSE.txt
58
- files:
78
+ files:
59
79
  - lib/vimdb/commands.rb
60
80
  - lib/vimdb/db.rb
61
81
  - lib/vimdb/item.rb
@@ -79,6 +99,7 @@ files:
79
99
  - spec/deps.rip
80
100
  - Rakefile
81
101
  - .gemspec
102
+ - .travis.yml
82
103
  - spec/fixtures/commands_command
83
104
  - spec/fixtures/commands_index
84
105
  - spec/fixtures/keys_index
@@ -86,33 +107,30 @@ files:
86
107
  - spec/fixtures/keys_map
87
108
  - spec/fixtures/options_help
88
109
  - spec/.vimdbrc
89
- has_rdoc: true
90
110
  homepage: http://github.com/cldwalker/vimdb
91
- licenses:
111
+ licenses:
92
112
  - MIT
93
113
  post_install_message:
94
114
  rdoc_options: []
95
-
96
- require_paths:
115
+ require_paths:
97
116
  - lib
98
- required_ruby_version: !ruby/object:Gem::Requirement
117
+ required_ruby_version: !ruby/object:Gem::Requirement
99
118
  none: false
100
- requirements:
101
- - - ">="
102
- - !ruby/object:Gem::Version
103
- version: "0"
104
- required_rubygems_version: !ruby/object:Gem::Requirement
119
+ requirements:
120
+ - - ! '>='
121
+ - !ruby/object:Gem::Version
122
+ version: '0'
123
+ required_rubygems_version: !ruby/object:Gem::Requirement
105
124
  none: false
106
- requirements:
107
- - - ">="
108
- - !ruby/object:Gem::Version
125
+ requirements:
126
+ - - ! '>='
127
+ - !ruby/object:Gem::Version
109
128
  version: 1.3.6
110
129
  requirements: []
111
-
112
130
  rubyforge_project:
113
- rubygems_version: 1.6.2
131
+ rubygems_version: 1.8.11
114
132
  signing_key:
115
133
  specification_version: 3
116
- summary: vim knowledge tabularized - search vim keys, options and more with great precision.
134
+ summary: vim knowledge tabularized - search vim keys, options and more with great
135
+ precision.
117
136
  test_files: []
118
-