ripper-tags 0.5.0 → 0.5.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
  SHA1:
3
- metadata.gz: c08d7efdfd064f08e9ddfe9f04764ef7ff8c416b
4
- data.tar.gz: 81a55c49ef2731f5df43c5d6b19293af677a82f3
3
+ metadata.gz: 640b1a068e2264a9ff34622fe1a2403f2301b267
4
+ data.tar.gz: 3d03ce7a71b934a3131e599d66dfab5186fc4751
5
5
  SHA512:
6
- metadata.gz: ec1d0a697a94f42071a7b1046ea5e979b21b927dd85821ff8a66047fb8fc77b8cfbb32c7e3ca4c337b421d4f13e4732d83847e47e0261c3d81a32a0fec09ff34
7
- data.tar.gz: 5e3b0c4915d6761a30c3d146fd18a74c149621931b67c15920ca74875f67c4f1ceee5e1a2f5a8da887eebe441f661abd65a19dc78a6abbced149472896b28cb1
6
+ metadata.gz: 0c33f81e059a2ceaf2191e80aaf0b664b11e6165aefdca146344326afd1cd9aabe5f97e6f00ef23ef12e17a4c8e5e0c72648763150a6222366982e8a564f2adc
7
+ data.tar.gz: cd26c13d7d50ed7ef413eac6fbd96d310339d88f96418122123c117c2a08d3c1638d0789131a87c8070b43dacbe984a7d3be0757bbffdd5c93f2fbfb18ee01dc
@@ -9,7 +9,7 @@ require 'ripper-tags/vim_formatter'
9
9
  require 'ripper-tags/json_formatter'
10
10
 
11
11
  module RipperTags
12
- def self.version() "0.5.0" end
12
+ def self.version() "0.5.1" end
13
13
 
14
14
  FatalError = Class.new(RuntimeError)
15
15
 
@@ -297,13 +297,13 @@ class Parser < Ripper
297
297
 
298
298
  def on_def_delegator(*args)
299
299
  name, lineno = args.last
300
- [:def, name, lineno]
300
+ [:def, name, lineno] if lineno
301
301
  end
302
302
 
303
303
  def on_def_delegators(*args)
304
304
  _target, *names = args
305
305
  names.map do |name, lineno|
306
- [:def, name, lineno]
306
+ [:def, name, lineno] if lineno
307
307
  end
308
308
  end
309
309
  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.5.0
4
+ version: 0.5.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: 2018-01-04 00:00:00.000000000 Z
11
+ date: 2018-02-23 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: fast, accurate ctags generator for ruby source code using Ripper
14
14
  email: