guard-ctags-bundler 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile
CHANGED
data/guard-ctags-bundler.gemspec
CHANGED
@@ -19,10 +19,10 @@ Gem::Specification.new do |s|
|
|
19
19
|
s.require_paths = ["lib"]
|
20
20
|
|
21
21
|
# specify any dependencies here; for example:
|
22
|
-
s.add_dependency 'guard', '>= 1.
|
22
|
+
s.add_dependency 'guard', '>= 1.1'
|
23
23
|
|
24
|
+
s.add_development_dependency "bundler"
|
25
|
+
s.add_development_dependency "rake"
|
24
26
|
s.add_development_dependency "minitest"
|
25
27
|
s.add_development_dependency "purdytest"
|
26
|
-
|
27
|
-
# s.add_runtime_dependency "rest-client"
|
28
28
|
end
|
data/lib/guard/ctags-bundler.rb
CHANGED
@@ -8,15 +8,10 @@ class Guard::Ctags::Bundler::CtagsGenerator
|
|
8
8
|
end
|
9
9
|
|
10
10
|
def generate_bundler_tags
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
#generate_tags(paths, "gems.tags")
|
16
|
-
|
17
|
-
# this is ugly, but should work with every bundler version
|
18
|
-
paths = `ruby -e "require('bundler'); puts(Bundler.load.specs.map(&:full_gem_path).join(' '))"`
|
19
|
-
generate_tags(paths.strip, "gems.tags")
|
11
|
+
definition = Bundler::Definition.build("Gemfile", "Gemfile.lock", nil)
|
12
|
+
runtime = Bundler::Runtime.new(Dir.pwd, definition)
|
13
|
+
paths = runtime.requested_specs.map(&:full_gem_path)
|
14
|
+
generate_tags(paths, "gems.tags")
|
20
15
|
end
|
21
16
|
|
22
17
|
private
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: guard-ctags-bundler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-07-
|
12
|
+
date: 2012-07-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: guard
|
@@ -18,7 +18,7 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 1.
|
21
|
+
version: '1.1'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -26,7 +26,39 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ! '>='
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 1.
|
29
|
+
version: '1.1'
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: bundler
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '0'
|
38
|
+
type: :development
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: rake
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ! '>='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
54
|
+
type: :development
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
30
62
|
- !ruby/object:Gem::Dependency
|
31
63
|
name: minitest
|
32
64
|
requirement: !ruby/object:Gem::Requirement
|
@@ -98,7 +130,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
98
130
|
version: '0'
|
99
131
|
segments:
|
100
132
|
- 0
|
101
|
-
hash:
|
133
|
+
hash: 130018251819742036
|
102
134
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
103
135
|
none: false
|
104
136
|
requirements:
|
@@ -107,10 +139,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
107
139
|
version: '0'
|
108
140
|
segments:
|
109
141
|
- 0
|
110
|
-
hash:
|
142
|
+
hash: 130018251819742036
|
111
143
|
requirements: []
|
112
144
|
rubyforge_project: guard-ctags-bundler
|
113
|
-
rubygems_version: 1.8.
|
145
|
+
rubygems_version: 1.8.24
|
114
146
|
signing_key:
|
115
147
|
specification_version: 3
|
116
148
|
summary: Guard gem for generating ctags for project files and gems from project's
|