minitest-ruby_golf_metrics 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
@@ -8,8 +8,8 @@ module Minitest
|
|
8
8
|
class CharacterCounter
|
9
9
|
|
10
10
|
def initialize(method_name, previous_method_stack = [])
|
11
|
-
|
12
|
-
|
11
|
+
@method_name = method_name.to_sym
|
12
|
+
method_stack = previous_method_stack + [@method_name]
|
13
13
|
source = RubyGolf.method(method_name).to_raw_source(strip_enclosure: true)
|
14
14
|
@size = source.strip.gsub(/\s+/, "").size
|
15
15
|
parser = MethodParser.new(source)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minitest-ruby_golf_metrics
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -110,7 +110,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
110
110
|
version: '0'
|
111
111
|
segments:
|
112
112
|
- 0
|
113
|
-
hash: -
|
113
|
+
hash: -4075154969680677506
|
114
114
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
115
115
|
none: false
|
116
116
|
requirements:
|
@@ -119,7 +119,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
119
119
|
version: '0'
|
120
120
|
segments:
|
121
121
|
- 0
|
122
|
-
hash: -
|
122
|
+
hash: -4075154969680677506
|
123
123
|
requirements: []
|
124
124
|
rubyforge_project:
|
125
125
|
rubygems_version: 1.8.23
|