ver-command_t 0.1.2 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/ext/command_t/ext.so +0 -0
- data/ext/command_t/mkmf.log +20 -0
- data/lib/command_t/ex/command_t_yard.rb +3 -8
- metadata +28 -26
|
Binary file
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
have_header: checking for ruby.h... -------------------- yes
|
|
2
|
+
|
|
3
|
+
"gcc -o conftest -I/home/tass/.rvm/rubies/ruby-1.9.2-p0/include/ruby-1.9.1/x86_64-linux -I/home/tass/.rvm/rubies/ruby-1.9.2-p0/include/ruby-1.9.1/ruby/backward -I/home/tass/.rvm/rubies/ruby-1.9.2-p0/include/ruby-1.9.1 -I. -O2 -g -Wall -fPIC conftest.c -L. -L/home/tass/.rvm/rubies/ruby-1.9.2-p0/lib -Wl,-R/home/tass/.rvm/rubies/ruby-1.9.2-p0/lib -L. -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/home/tass/.rvm/rubies/ruby-1.9.2-p0/lib -L/home/tass/.rvm/rubies/ruby-1.9.2-p0/lib -lruby-static -lpthread -lrt -ldl -lcrypt -lm -lc"
|
|
4
|
+
checked program was:
|
|
5
|
+
/* begin */
|
|
6
|
+
1: #include "ruby.h"
|
|
7
|
+
2:
|
|
8
|
+
3: int main() {return 0;}
|
|
9
|
+
/* end */
|
|
10
|
+
|
|
11
|
+
"gcc -E -I/home/tass/.rvm/rubies/ruby-1.9.2-p0/include/ruby-1.9.1/x86_64-linux -I/home/tass/.rvm/rubies/ruby-1.9.2-p0/include/ruby-1.9.1/ruby/backward -I/home/tass/.rvm/rubies/ruby-1.9.2-p0/include/ruby-1.9.1 -I. -O2 -g -Wall -fPIC conftest.c -o conftest.i"
|
|
12
|
+
checked program was:
|
|
13
|
+
/* begin */
|
|
14
|
+
1: #include "ruby.h"
|
|
15
|
+
2:
|
|
16
|
+
3: #include <ruby.h>
|
|
17
|
+
/* end */
|
|
18
|
+
|
|
19
|
+
--------------------
|
|
20
|
+
|
|
@@ -1,13 +1,9 @@
|
|
|
1
1
|
require 'yard'
|
|
2
|
-
unless ::YARD::Registry.class == Module
|
|
3
|
-
warn "To use command_t_yard, you need YARD to be at least 0.6"
|
|
4
|
-
else
|
|
5
|
-
|
|
6
2
|
class VER::Executor::ExCommandTYARD < VER::Executor::Entry
|
|
7
3
|
def choices(text)
|
|
8
4
|
@matcher.sorted_matches_for(text, {})
|
|
9
5
|
end
|
|
10
|
-
|
|
6
|
+
|
|
11
7
|
def setup
|
|
12
8
|
@matcher = CommandT::Matcher.new(Registry, always_show_dot_files: true)
|
|
13
9
|
end
|
|
@@ -38,9 +34,8 @@ class VER::Executor::ExCommandTYARD < VER::Executor::Entry
|
|
|
38
34
|
@path_hash ||= Hash[all.map(&:path).zip(all)]
|
|
39
35
|
end
|
|
40
36
|
end
|
|
41
|
-
|
|
37
|
+
|
|
38
|
+
Registry = ::YARD::Registry
|
|
42
39
|
Registry.load!('.yardoc') # TODO use load_files
|
|
43
40
|
|
|
44
41
|
end
|
|
45
|
-
|
|
46
|
-
end
|
metadata
CHANGED
|
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
|
|
|
4
4
|
prerelease: false
|
|
5
5
|
segments:
|
|
6
6
|
- 0
|
|
7
|
-
- 1
|
|
8
7
|
- 2
|
|
9
|
-
|
|
8
|
+
- 0
|
|
9
|
+
version: 0.2.0
|
|
10
10
|
platform: ruby
|
|
11
11
|
authors:
|
|
12
12
|
- Simon Hafner
|
|
@@ -14,7 +14,7 @@ autorequire:
|
|
|
14
14
|
bindir: bin
|
|
15
15
|
cert_chain: []
|
|
16
16
|
|
|
17
|
-
date: 2010-
|
|
17
|
+
date: 2010-09-01 00:00:00 +02:00
|
|
18
18
|
default_executable:
|
|
19
19
|
dependencies: []
|
|
20
20
|
|
|
@@ -27,34 +27,36 @@ extensions:
|
|
|
27
27
|
extra_rdoc_files: []
|
|
28
28
|
|
|
29
29
|
files:
|
|
30
|
-
- lib/ver-command_t.rb
|
|
31
30
|
- lib/command_t/settings.rb
|
|
32
|
-
- lib/command_t/scanner.rb
|
|
33
31
|
- lib/command_t/finder.rb
|
|
32
|
+
- lib/command_t/scanner.rb
|
|
34
33
|
- lib/command_t/ex/command_t_yard.rb
|
|
35
34
|
- lib/command_t/ex/command_t.rb
|
|
35
|
+
- lib/ver-command_t.rb
|
|
36
36
|
- ext/command_t/ruby_compat.h
|
|
37
|
-
- ext/command_t/
|
|
38
|
-
- ext/command_t/
|
|
39
|
-
- ext/command_t/match.h
|
|
40
|
-
- ext/command_t/match.c
|
|
41
|
-
- ext/command_t/extconf.rb
|
|
37
|
+
- ext/command_t/mkmf.log
|
|
38
|
+
- ext/command_t/ext.so
|
|
42
39
|
- ext/command_t/ext.h
|
|
40
|
+
- ext/command_t/match.h
|
|
43
41
|
- ext/command_t/ext.c
|
|
44
42
|
- ext/command_t/depend
|
|
43
|
+
- ext/command_t/extconf.rb
|
|
44
|
+
- ext/command_t/match.c
|
|
45
|
+
- ext/command_t/matcher.h
|
|
46
|
+
- ext/command_t/matcher.c
|
|
47
|
+
- spec/command_t/scanner_spec.rb
|
|
48
|
+
- spec/command_t/matcher_spec.rb
|
|
49
|
+
- spec/command_t/match_spec.rb
|
|
50
|
+
- spec/command_t/finder_spec.rb
|
|
45
51
|
- spec/vim_formatter.rb
|
|
46
52
|
- spec/spec_helper.rb
|
|
53
|
+
- spec/fixtures/baz
|
|
54
|
+
- spec/fixtures/bing
|
|
55
|
+
- spec/fixtures/bar/abc
|
|
56
|
+
- spec/fixtures/bar/xyz
|
|
47
57
|
- spec/fixtures/foo/beta
|
|
48
58
|
- spec/fixtures/foo/alpha/t2
|
|
49
59
|
- spec/fixtures/foo/alpha/t1
|
|
50
|
-
- spec/fixtures/bing
|
|
51
|
-
- spec/fixtures/baz
|
|
52
|
-
- spec/fixtures/bar/xyz
|
|
53
|
-
- spec/fixtures/bar/abc
|
|
54
|
-
- spec/command_t/scanner_spec.rb
|
|
55
|
-
- spec/command_t/matcher_spec.rb
|
|
56
|
-
- spec/command_t/match_spec.rb
|
|
57
|
-
- spec/command_t/finder_spec.rb
|
|
58
60
|
- LICENSE
|
|
59
61
|
- README.md
|
|
60
62
|
has_rdoc: true
|
|
@@ -91,16 +93,16 @@ signing_key:
|
|
|
91
93
|
specification_version: 3
|
|
92
94
|
summary: ver adaptation of the CommandT plugin for vim
|
|
93
95
|
test_files:
|
|
96
|
+
- spec/command_t/scanner_spec.rb
|
|
97
|
+
- spec/command_t/matcher_spec.rb
|
|
98
|
+
- spec/command_t/match_spec.rb
|
|
99
|
+
- spec/command_t/finder_spec.rb
|
|
94
100
|
- spec/vim_formatter.rb
|
|
95
101
|
- spec/spec_helper.rb
|
|
102
|
+
- spec/fixtures/baz
|
|
103
|
+
- spec/fixtures/bing
|
|
104
|
+
- spec/fixtures/bar/abc
|
|
105
|
+
- spec/fixtures/bar/xyz
|
|
96
106
|
- spec/fixtures/foo/beta
|
|
97
107
|
- spec/fixtures/foo/alpha/t2
|
|
98
108
|
- spec/fixtures/foo/alpha/t1
|
|
99
|
-
- spec/fixtures/bing
|
|
100
|
-
- spec/fixtures/baz
|
|
101
|
-
- spec/fixtures/bar/xyz
|
|
102
|
-
- spec/fixtures/bar/abc
|
|
103
|
-
- spec/command_t/scanner_spec.rb
|
|
104
|
-
- spec/command_t/matcher_spec.rb
|
|
105
|
-
- spec/command_t/match_spec.rb
|
|
106
|
-
- spec/command_t/finder_spec.rb
|