ripper-tags 1.0.0 → 1.0.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/parser.rb +2 -2
- data/lib/ripper-tags.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f897dfcbd85281509bec2d98a653acc636a38395ebf8feeb0079022a0d4cb1ae
|
4
|
+
data.tar.gz: 48ce48dd1d220cefcba8208300103ea538e58e2f3274fc41c09b33a145722b7e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 969bce1d587fe1aad5ea0f3136e7381081adaabdf0537db7e0a60bc7f50b991f2354e7581ae7d0d48791c05d7ab827962790befb181af3beb046adc6601dce32
|
7
|
+
data.tar.gz: 3d3a64d07ac5dcfb1b3cf83524fd6534a661a84217dcfe23e8f9dd90f27a8f92f48d146341b6a64e6f6d24f6bd715e7fe37051ea4e258d939530b590ff2a5410
|
data/lib/ripper-tags/parser.rb
CHANGED
@@ -316,8 +316,8 @@ class Parser < Ripper
|
|
316
316
|
end
|
317
317
|
|
318
318
|
def on_delegate(*args)
|
319
|
-
method_names = args.select { |arg| arg.first.is_a?
|
320
|
-
options = args.select { |arg| arg.first.is_a?(Array) && arg.first.first == :assoc }.flatten(1)
|
319
|
+
method_names = args.select { |arg| arg.is_a?(Array) && arg.first.is_a?(String) }
|
320
|
+
options = args.select { |arg| arg.is_a?(Array) && arg.first.is_a?(Array) && arg.first.first == :assoc }.flatten(1)
|
321
321
|
options = Hash[options.map { |_assoc, key, val| [key[0], val[0]] if key }.compact]
|
322
322
|
|
323
323
|
target = options["to:"] || options["to"] # When using hashrocket syntax there is no ':'
|
data/lib/ripper-tags.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ripper-tags
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mislav Marohnić
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2023-05-
|
12
|
+
date: 2023-05-30 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: fast, accurate ctags generator for ruby source code using Ripper
|
15
15
|
email:
|