yardstick 0.9.8 → 0.9.9
Sign up to get free protection for your applications and to get access to all the features.
data/config/flay.yml
CHANGED
data/lib/yardstick/parser.rb
CHANGED
@@ -48,8 +48,8 @@ module Yardstick
|
|
48
48
|
#
|
49
49
|
# @api private
|
50
50
|
def self.method_objects
|
51
|
-
YARD::Registry.all(:method).sort_by do |method_object|
|
52
|
-
[method_object.file
|
51
|
+
YARD::Registry.all(:method).select(&:file).select(&:line).sort_by do |method_object|
|
52
|
+
[method_object.file, method_object.line]
|
53
53
|
end
|
54
54
|
ensure
|
55
55
|
YARD::Registry.clear
|
data/lib/yardstick/version.rb
CHANGED