dissociated_introspection 0.8.3 → 0.8.4

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: 1347c997f6859c2f72aa56dacd8f8b1224af775e
4
- data.tar.gz: 2d4b307d2331aac56f84dfbffc1aeb97a8e12cc6
3
+ metadata.gz: 7d7a7d6a47b8a88dbfc78c0b1348c7c67c7e2020
4
+ data.tar.gz: edce31e5e61d5f21ebd4df75320842216e039fb4
5
5
  SHA512:
6
- metadata.gz: 6af117399720c5372560be8db9d35510e7c0fa445b34828cc234d270ac4cb1dd9cead23f9f4a94c74a445915eab6b7f72fa5ec759d76405a4319a6e0a04014fd
7
- data.tar.gz: f001e0be1a84a1e24ccc46e162c8a34b46836105e12355f116ae04fb132f4aef710ea3625589b727d8905f51c6ca4d28497c0932e04d9e61681734a756c16545
6
+ metadata.gz: add0a4bab5920ff3252a2b9ac819e4b8d76589e56e2c37ebfc67217d625c45800390ddf6b1db5ea7f0fe3309f489cb1a04f382619791274351675eda90c6ca73
7
+ data.tar.gz: eef257c6c4b3f11cb759730d149378e8600c6f5b7de659663f6ff3e1b0bf2b1f42e29839049d6a9ddb256273b015c8b8a8f1dec3d889abea2903b0e4355b76cd
@@ -1,6 +1,10 @@
1
1
  # Changelog
2
2
  All notable changes to this project will be documented in this file.
3
3
 
4
+ ## 0.8.4 - 2017-09-30
5
+ ### Fix
6
+ - DissociatedIntrospection::RubyClass#class_defs failed to parse a single class methods with `class >> self; end;`
7
+
4
8
  ## 0.8.3 - 2017-09-30
5
9
  ### Fix
6
10
  - DissociatedIntrospection::RubyClass#class_defs failed to parse class methods with `class >> self; end;`
@@ -69,6 +69,7 @@ module DissociatedIntrospection
69
69
  create_def(n.updated(:def, n.children[1..-1]))
70
70
  end
71
71
  ns2 = class_begin.children.select { |n| :sclass == n.try(:type) }.flat_map do |n|
72
+ next create_def(n.children[1]) if n.children[1].type == :def
72
73
  n.children[1].children.select { |n| n.try(:type) == :def }.map(&method(:create_def))
73
74
  end
74
75
  [*ns, *ns2]
@@ -1,3 +1,3 @@
1
1
  module DissociatedIntrospection
2
- VERSION = "0.8.3"
2
+ VERSION = "0.8.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dissociated_introspection
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.3
4
+ version: 0.8.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dustin Zeisler