ripper-tags 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ripper-tags.rb +1 -1
- data/lib/ripper-tags/default_formatter.rb +2 -2
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: af64b5310db2c8944c8a3af1bbbf3514b71f003e
|
4
|
+
data.tar.gz: 249c8b6dc4dc5d53cbe6d1c3505d5cc6110912c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bc5ba6f2d1789d1bf02f849e7c0536cf1b3c99c8a3b58fcd3395994ac25223f4134908e1203ae91e2c99694d2cdd0921343b44a094893b8865baa09c941ce939
|
7
|
+
data.tar.gz: 74c81007636f8cdb8ed8c3243cc090a8a538a0319d157699e40e8d93490cdf814f73ab1c234118e14d3c7189f60643accd99d0c581448b1bc2604101f8f4c782
|
data/lib/ripper-tags.rb
CHANGED
@@ -40,13 +40,13 @@ module RipperTags
|
|
40
40
|
end
|
41
41
|
|
42
42
|
def tag_file_dir
|
43
|
-
@tag_file_dir ||= Pathname.new(options.tag_file_name).dirname
|
43
|
+
@tag_file_dir ||= Pathname.new(options.tag_file_name).dirname.expand_path
|
44
44
|
end
|
45
45
|
|
46
46
|
def relative_path(tag)
|
47
47
|
path = tag.fetch(:path)
|
48
48
|
if options.tag_relative && !stdout? && path.index('/') != 0
|
49
|
-
Pathname.new(path).relative_path_from(tag_file_dir).to_s
|
49
|
+
Pathname.new(path).expand_path.relative_path_from(tag_file_dir).to_s
|
50
50
|
else
|
51
51
|
path
|
52
52
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ripper-tags
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aman Gupta
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-10-26 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: fast, accurate ctags generator for ruby source code using Ripper
|
14
14
|
email:
|
@@ -38,17 +38,17 @@ require_paths:
|
|
38
38
|
- lib
|
39
39
|
required_ruby_version: !ruby/object:Gem::Requirement
|
40
40
|
requirements:
|
41
|
-
- -
|
41
|
+
- - '>='
|
42
42
|
- !ruby/object:Gem::Version
|
43
43
|
version: '0'
|
44
44
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
45
45
|
requirements:
|
46
|
-
- -
|
46
|
+
- - '>='
|
47
47
|
- !ruby/object:Gem::Version
|
48
48
|
version: '0'
|
49
49
|
requirements: []
|
50
50
|
rubyforge_project:
|
51
|
-
rubygems_version: 2.
|
51
|
+
rubygems_version: 2.0.14
|
52
52
|
signing_key:
|
53
53
|
specification_version: 4
|
54
54
|
summary: ctags generator for ruby code
|