guard-ctags-bundler 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -29,11 +29,11 @@ module Guard
29
29
  private
30
30
 
31
31
  def generate_project_tags(paths)
32
- system("ctags -f tags #{paths.join(' ')}")
32
+ system("find #{paths.join(' ')} -type f -name \\*.rb | ctags -f tags -L -")
33
33
  end
34
34
 
35
35
  def generate_bundler_tags
36
- runtime = Bundler::Runtime.new Dir.pwd, Bundler.definition(true)
36
+ runtime = Bundler::Runtime.new Dir.pwd, Bundler.definition
37
37
  paths = runtime.specs.map(&:full_gem_path).join(' ')
38
38
  system("find #{paths.strip} -type f -name \\*.rb | ctags -f gems.tags -L -")
39
39
  end
@@ -1,4 +1,4 @@
1
1
  guard 'ctags-bundler' do
2
- watch(%r{^(app|lib|spec/support)/.*\.rb$})
2
+ watch(%r{^(app|lib|spec/support)/.*\.rb$}) { ["app", "lib", "spec/support"] }
3
3
  watch('Gemfile.lock')
4
4
  end
@@ -1,7 +1,7 @@
1
1
  module Guard
2
2
  module Ctags
3
3
  module Bundler
4
- VERSION = "0.0.2"
4
+ VERSION = "0.0.3"
5
5
  end
6
6
  end
7
7
  end
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.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-11-22 00:00:00.000000000 Z
12
+ date: 2011-11-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: guard
16
- requirement: &16423180 !ruby/object:Gem::Requirement
16
+ requirement: &20779920 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: 0.4.0
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *16423180
24
+ version_requirements: *20779920
25
25
  description: ! 'Guard::CtagsBundler uses ctags utility and generates 2 files: tags
26
26
  -- with tags generated from project''s source tree and gems.tags -- with tags generated
27
27
  from rubygems from project''s bundle.'