ripper-tags 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/ripper-tags +1 -1
- data/lib/ripper-tags.rb +1 -1
- data/lib/ripper-tags/parser.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 32b60c708933420c257f3643835ce2e5e3361541
|
4
|
+
data.tar.gz: 73695a4fd2848affbe1bba47cec6e661f44519ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 06208c4d29d56808d0e21fc0a97bde64d82d9a2e375d59b364165bf03cfb49e1884f50a7b4cdf92e5fc1e57dedd586396f670a8d9f0c99ff56ec6c78b95a6994
|
7
|
+
data.tar.gz: 526a716837f2a79ef00660f274fb3bd59923a3bedafbc37a40ee538268438ee0c16fd29185b66a70a1efd0814bed05126b8752c84f3149f7110bc380863f295c
|
data/bin/ripper-tags
CHANGED
@@ -13,7 +13,7 @@ program_name = File.basename($0)
|
|
13
13
|
|
14
14
|
begin
|
15
15
|
RipperTags.process_args(ARGV)
|
16
|
-
rescue Errno::ENOENT, OptionParser::InvalidOption => err
|
16
|
+
rescue Errno::ENOENT, OptionParser::InvalidOption, OptionParser::MissingArgument => err
|
17
17
|
abort "#{program_name}: #{err.message}"
|
18
18
|
rescue RipperTags::BrokenPipe
|
19
19
|
abort
|
data/lib/ripper-tags.rb
CHANGED
data/lib/ripper-tags/parser.rb
CHANGED
@@ -274,7 +274,7 @@ class Parser < Ripper
|
|
274
274
|
def on_delegate(*args)
|
275
275
|
method_names = args.select { |arg| arg.first.is_a? String }
|
276
276
|
options = args.select { |arg| arg.first.is_a?(Array) && arg.first.first == :assoc }.flatten(1)
|
277
|
-
options = Hash[options.map { |_assoc, key, val| [key
|
277
|
+
options = Hash[options.map { |_assoc, key, val| [key[0], val[0]] if key }.compact]
|
278
278
|
|
279
279
|
target = options["to:"] || options["to"] # When using hashrocket syntax there is no ':'
|
280
280
|
prefix = options["prefix:"] || options["prefix"]
|
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.4.
|
4
|
+
version: 0.4.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: 2017-
|
11
|
+
date: 2017-12-04 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: fast, accurate ctags generator for ruby source code using Ripper
|
14
14
|
email:
|