ripper-tags 0.3.4 → 0.3.5

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: 633febda9a64996bfe3f7b67c54c8ba25f401103
4
- data.tar.gz: 5ec09660f054651c5f53018c6fc4d0e0b8fec03e
3
+ metadata.gz: b7f252249e97f4fc155fc6fc24a0e1bd15a76b16
4
+ data.tar.gz: 988fad9d5795bffab282f8725698c4399b79b324
5
5
  SHA512:
6
- metadata.gz: 9f7a0f16ccd10afe23df8b7955894a40a329403e66fa7b8b19d92e0aec99063b1df6de7128c5d020888e9dd39f97ee0f8e904793a2a13fe8bcc3b43f3f6914a5
7
- data.tar.gz: d001643167fe786a6bb9b6525dcc2c26ae1c279953b21ab3b9f0cabb343cdf78aa72020f877b76d9bd404cb252fb2fdf4f763e5c5d0e4a50da65ae972d298e45
6
+ metadata.gz: feacc50ba4dee2e08023a4a2a0c1fa7bdb66b71952999ea3f11118fd0d97e5efb8004200e1939b03d71ea039d86a0763b4ad7fdebb85254130b3156ce0e4cdfe
7
+ data.tar.gz: 43eda4fcf9d254eaf133ea2ee3db1475925ae37c016db3c5cd4c7ff1a145be7fbd06d2ce6061ac84028e7ce0508214d6c48b72a8da60db3ff7bf5d8ce5fdfeb4
data/lib/ripper-tags.rb CHANGED
@@ -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.3.4" end
12
+ def self.version() "0.3.5" end
13
13
 
14
14
  FatalError = Class.new(RuntimeError)
15
15
 
@@ -18,7 +18,7 @@ class Parser < Ripper
18
18
 
19
19
  def on_stmts_add(first, *rest)
20
20
  return if first == :~
21
- (first || []) + rest.compact
21
+ Array(first) + rest.compact
22
22
  end
23
23
 
24
24
  def on_module(name, body)
@@ -388,5 +388,6 @@ end
388
388
  alias on_field on_call
389
389
  alias on_fcall on_call
390
390
  alias on_args on_call
391
+ alias on_! on_call
391
392
  end
392
393
  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.3.4
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aman Gupta
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-14 00:00:00.000000000 Z
11
+ date: 2017-07-24 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: fast, accurate ctags generator for ruby source code using Ripper
14
14
  email: