gem-ttags 1.0.4 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/gem-ttags.gemspec +1 -1
- data/lib/rubygems/commands/ttags_command.rb +3 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c9010d7cb2e81cee3e644162e86aceb640245ead58378c6acac2bd5dff32a149
|
4
|
+
data.tar.gz: 494583b0fd166ca16f914e8957cb12cc502a019d90af1e4f088e08dcdb45f65a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ae7bc168f09c89ff76fb5550bfc46681930d404dd6dcebb7b051804fd545529afa383c52468b409ec0a5dcb42194bc9c9c2b991a85d2d302d0375f3a06908d06
|
7
|
+
data.tar.gz: 76effca5546e582392a90260521a5ec9c3adcc4257eedd53afb81d7ee1e79b4c136a16971b1f85ac00f34f673ae55f6e664bffced07cbcb919f9ffea33f7297c
|
data/gem-ttags.gemspec
CHANGED
@@ -31,9 +31,9 @@ class Gem::Commands::TtagsCommand < Gem::Command
|
|
31
31
|
gem_path = Pathname.new(spec.full_gem_path)
|
32
32
|
|
33
33
|
tag_file = gem_path.join("tags")
|
34
|
-
paths =
|
35
|
-
|
36
|
-
|
34
|
+
paths = spec.require_paths.flat_map do |p|
|
35
|
+
Dir.glob(gem_path.join(p, "**/*.rb"))
|
36
|
+
end
|
37
37
|
if paths.any? && can_write?(tag_file)
|
38
38
|
ui&.say "Generating ttags for #{spec.full_name}"
|
39
39
|
invoke(tag_file, *paths)
|