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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 237cf5d636b5f61623d98f0de080baf9eee6ec1a
4
- data.tar.gz: ef2cff5a52e8a897e2bcc12579c5eb5fcd7217c8
3
+ metadata.gz: 42a8cc2408820a2a4101af0d3c59c058562e83ed
4
+ data.tar.gz: c956180e13fae9e3f0b00896a46d4bf60c160869
5
5
  SHA512:
6
- metadata.gz: f737cf78ee76ee24f33e365c2d21948253785d34708aeca2bdfb0e66658dab5d4939c9a55e4cf0a1455562c65a56acd013814b4b525f934921350e5fca7f6f67
7
- data.tar.gz: 7c1fcda522637511851f0d6a582171bfa30e78b0f57485a1ecebc492ec4b36145f19519dfb2724dfb2a883a548b9c432fad86ef3c00367d9a0af7f2016928459
6
+ metadata.gz: 35e3b6994c4ab69cdc529a20caa30638fc7e004073ebb6b0d879addba16e3abc3ad1ee13d8bab395dd79c6eddaacd0b32cc006767df6059190794397c1050c37
7
+ data.tar.gz: 2902a622ed22d2b0131ead991e46ab1f65a677f0fee21a4189b9fa1e8ae06f8783e50545591ed97b1ddbea8300d600ced7bd1b8a150ce21c6cfcfbd8849083cc
@@ -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 like:
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
- load_funcs(node.compact[2])
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
- # puts "got #{__method__} with #{node.first} and don't know how to handle it"
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
@@ -1,3 +1,3 @@
1
1
  module DRG
2
- VERSION = '0.15.0'.freeze
2
+ VERSION = '0.15.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: drg
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.0
4
+ version: 0.15.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Buckley