ripper-tags 1.0.1 → 1.0.2

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: f897dfcbd85281509bec2d98a653acc636a38395ebf8feeb0079022a0d4cb1ae
4
- data.tar.gz: 48ce48dd1d220cefcba8208300103ea538e58e2f3274fc41c09b33a145722b7e
3
+ metadata.gz: 7e25bff54d3ffe31948e40613d2e01cd94bacfdff6c73049589b7f6f60388734
4
+ data.tar.gz: fd8e730c4119cd42d4df37d82b6e898258221faa5783d50d98d546bf1cea4386
5
5
  SHA512:
6
- metadata.gz: 969bce1d587fe1aad5ea0f3136e7381081adaabdf0537db7e0a60bc7f50b991f2354e7581ae7d0d48791c05d7ab827962790befb181af3beb046adc6601dce32
7
- data.tar.gz: 3d3a64d07ac5dcfb1b3cf83524fd6534a661a84217dcfe23e8f9dd90f27a8f92f48d146341b6a64e6f6d24f6bd715e7fe37051ea4e258d939530b590ff2a5410
6
+ metadata.gz: c2f232b0795dd9bbd55fa7ed636ad49272542330391cce5262eb392cf2802494f1d25bbae44e9cfccddf2b74d1e3ed593b904e826471a6aaf67b7a7692a07208
7
+ data.tar.gz: d5d70e3b0da811fd01de5a3fc1968d830ed2e0b0a66d478b1e34495cf03c31d356175b8e8ee3d6abe93badcbd7187424c89426a5f8a9dc054c61b497d0ee67be
@@ -220,7 +220,7 @@ class Parser < Ripper
220
220
  method_name = args[1][1]
221
221
  end
222
222
 
223
- [procedure, klass, method_name, access, line]
223
+ [procedure, klass, method_name, access, line] if method_name
224
224
  when "scope", "named_scope"
225
225
  scope_name = args[1][0]
226
226
  [:rails_def, :scope, scope_name, line] if scope_name
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.1" end
14
+ def self.version() "1.0.2" 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.1
4
+ version: 1.0.2
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-30 00:00:00.000000000 Z
12
+ date: 2024-02-13 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: fast, accurate ctags generator for ruby source code using Ripper
15
15
  email:
@@ -51,7 +51,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
51
51
  - !ruby/object:Gem::Version
52
52
  version: '0'
53
53
  requirements: []
54
- rubygems_version: 3.4.6
54
+ rubygems_version: 3.5.4
55
55
  signing_key:
56
56
  specification_version: 4
57
57
  summary: ctags generator for ruby code