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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 49763a523894bbbefd2b30cb86634ee63576c2109e9954a0f0b2e9b57f799585
4
- data.tar.gz: 9ceda5050f002211a6c61f2dea6f65eb1e1978e2e689d73e2d6740045ae62c8d
3
+ metadata.gz: f897dfcbd85281509bec2d98a653acc636a38395ebf8feeb0079022a0d4cb1ae
4
+ data.tar.gz: 48ce48dd1d220cefcba8208300103ea538e58e2f3274fc41c09b33a145722b7e
5
5
  SHA512:
6
- metadata.gz: 37450f44bd80a4e79aeb3a025e703ef4c186ab1fcd92b44dfb064d9168808322a369ff90ee97b7289170252b4ff749fd4c8d0a7377d7a81e46c1f5e255e693a4
7
- data.tar.gz: e29983e918577f41e485ee4576355db5d683d5c01ba80a99a9e9c85d653573b5d9bab8c65d91b891e0978ae9310319abfb5da9ef1e3902f188a319c45187718f
6
+ metadata.gz: 969bce1d587fe1aad5ea0f3136e7381081adaabdf0537db7e0a60bc7f50b991f2354e7581ae7d0d48791c05d7ab827962790befb181af3beb046adc6601dce32
7
+ data.tar.gz: 3d3a64d07ac5dcfb1b3cf83524fd6534a661a84217dcfe23e8f9dd90f27a8f92f48d146341b6a64e6f6d24f6bd715e7fe37051ea4e258d939530b590ff2a5410
@@ -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? String }
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
@@ -11,7 +11,7 @@ require 'ripper-tags/vim_append_formatter'
11
11
  require 'ripper-tags/json_formatter'
12
12
 
13
13
  module RipperTags
14
- def self.version() "1.0.0" end
14
+ def self.version() "1.0.1" end
15
15
 
16
16
  FatalError = Class.new(RuntimeError)
17
17
 
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.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-18 00:00:00.000000000 Z
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: