gem-ctags 1.0.5 → 1.0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 44363c65b7a607941b7bbb4e56b4de1d34a66613
4
+ data.tar.gz: b530dee77edb95ca2200a9aae88b7cd61ea12e48
5
+ SHA512:
6
+ metadata.gz: 20952f1a5a58f4d58daa69ea23e1de5537fd2ad9790171cdc19306fed3ecf514e87a07d8e57e40331a3fb76763788a6a89dc1918dcffe8870c7416794ec1b58c
7
+ data.tar.gz: cab0ef0b969041dd12e59b24ac2f0c830d11dc6a185df98e3076615aa31c86921f1c1d7ff59e5f2aecdd4c84b5e33d9ae9f2b336426d6dd9a144d5c4ac439737
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "gem-ctags"
6
- s.version = "1.0.5"
6
+ s.version = "1.0.6"
7
7
  s.authors = ["Tim Pope"]
8
8
  s.email = ["code@tpop"+'e.net']
9
9
  s.homepage = "https://github.com/tpope/gem-ctags"
@@ -22,7 +22,7 @@ class Gem::Commands::CtagsCommand < Gem::Command
22
22
 
23
23
  Dir.chdir(spec.full_gem_path) do
24
24
 
25
- if !File.exist?('tags') || File.read('tags', 1) != '!'
25
+ if !(File.file?('tags') && File.read('tags', 1) == '!') && !File.directory?('tags')
26
26
  yield "Generating ctags for #{spec.full_name}" if block_given?
27
27
  paths = spec.require_paths.select { |p| File.directory?(p) }
28
28
  system('ctags', '-R', '--languages=ruby', *paths)
@@ -37,5 +37,8 @@ class Gem::Commands::CtagsCommand < Gem::Command
37
37
  end
38
38
 
39
39
  end
40
+ rescue => e
41
+ raise unless block_given?
42
+ yield "Failed processing ctags for #{spec.full_name}:\n (#{e.class}) #{e}"
40
43
  end
41
44
  end
metadata CHANGED
@@ -1,30 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gem-ctags
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
5
- prerelease:
4
+ version: 1.0.6
6
5
  platform: ruby
7
6
  authors:
8
7
  - Tim Pope
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2012-12-21 00:00:00.000000000 Z
11
+ date: 2013-09-24 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rake
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - '>='
20
18
  - !ruby/object:Gem::Version
21
19
  version: '0'
22
20
  type: :development
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - '>='
28
25
  - !ruby/object:Gem::Version
29
26
  version: '0'
30
27
  description:
@@ -44,26 +41,26 @@ files:
44
41
  - lib/rubygems_plugin.rb
45
42
  homepage: https://github.com/tpope/gem-ctags
46
43
  licenses: []
44
+ metadata: {}
47
45
  post_install_message:
48
46
  rdoc_options: []
49
47
  require_paths:
50
48
  - lib
51
49
  required_ruby_version: !ruby/object:Gem::Requirement
52
- none: false
53
50
  requirements:
54
- - - ! '>='
51
+ - - '>='
55
52
  - !ruby/object:Gem::Version
56
53
  version: '0'
57
54
  required_rubygems_version: !ruby/object:Gem::Requirement
58
- none: false
59
55
  requirements:
60
- - - ! '>='
56
+ - - '>='
61
57
  - !ruby/object:Gem::Version
62
58
  version: '0'
63
59
  requirements: []
64
60
  rubyforge_project:
65
- rubygems_version: 1.8.23
61
+ rubygems_version: 2.0.0
66
62
  signing_key:
67
- specification_version: 3
63
+ specification_version: 4
68
64
  summary: Automatic ctags generation on gem install
69
65
  test_files: []
66
+ has_rdoc: