drg 0.15.0 → 0.15.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/drg/ruby/const.rb +6 -3
- data/lib/drg/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 42a8cc2408820a2a4101af0d3c59c058562e83ed
|
4
|
+
data.tar.gz: c956180e13fae9e3f0b00896a46d4bf60c160869
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 35e3b6994c4ab69cdc529a20caa30638fc7e004073ebb6b0d879addba16e3abc3ad1ee13d8bab395dd79c6eddaacd0b32cc006767df6059190794397c1050c37
|
7
|
+
data.tar.gz: 2902a622ed22d2b0131ead991e46ab1f65a677f0fee21a4189b9fa1e8ae06f8783e50545591ed97b1ddbea8300d600ced7bd1b8a150ce21c6cfcfbd8849083cc
|
data/lib/drg/ruby/const.rb
CHANGED
@@ -75,14 +75,17 @@ class DRG::Ruby::Const
|
|
75
75
|
marked_private ||= node[2] == :private
|
76
76
|
nil
|
77
77
|
when ->(name) { CONSTANT_DEFS.key?(name) }
|
78
|
-
# @note handle stuff
|
78
|
+
# @note handle diz kind stuff:
|
79
79
|
# s(:class, :VerificationCode, nil, s(:defs, s(:self), :find, s(:args, :*)))
|
80
80
|
# and
|
81
81
|
# s(:module, :ConditionParsers, s(:class, :ReturnValue, ...))
|
82
|
-
|
82
|
+
# and
|
83
|
+
# s(:class, :NotificationPresenter, nil, s(:call, nil, :extend, s(:const, :Forwardable)), s(:call, nil, :attr_reader, ...))
|
84
|
+
load_funcs(node.compact.drop(2))
|
83
85
|
else
|
84
86
|
# @todo uncomment with logger at debug level
|
85
|
-
#
|
87
|
+
# puts "got #{__method__} with #{node.first} and don't know how to handle it"
|
88
|
+
# @note :const seems to indicate module inclusion/extension
|
86
89
|
nil
|
87
90
|
end
|
88
91
|
}.compact
|
data/lib/drg/version.rb
CHANGED