cucumber_statistics 2.1.0 → 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/cucumber_statistics.gemspec +1 -1
- data/lib/cucumber_statistics/formatter.rb +3 -2
- data/lib/cucumber_statistics/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 907013082e484671f77d0cbf28fa4852d534f0d9
|
4
|
+
data.tar.gz: c3cdaa1c2838e73ecf63a03fd72a965e7168cfe3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f492e8bf780dcf55339e82f242a774afc4e1f907f227f9bd973f18f59ef8803f4b5a1d48b660e62b863a214e73d2b5b2127cb02bf40392515b3ff30bfba819eb
|
7
|
+
data.tar.gz: 618be5d5530b12dcb4786ddfea2099252a76bb7f353886537f91bb01903907d41f7e598570e656b9edfb3b283ec93bb7a9bda8debc4bbf1b6451f5989d5450cb
|
data/.gitignore
CHANGED
data/cucumber_statistics.gemspec
CHANGED
@@ -33,6 +33,6 @@ Gem::Specification.new do |spec|
|
|
33
33
|
# runtime
|
34
34
|
spec.add_runtime_dependency 'haml'
|
35
35
|
spec.add_runtime_dependency 'tilt'
|
36
|
-
spec.add_runtime_dependency 'cucumber'
|
36
|
+
spec.add_runtime_dependency 'cucumber', '>= 2.1.0'
|
37
37
|
spec.add_runtime_dependency 'virtus'
|
38
38
|
end
|
@@ -56,12 +56,13 @@ module CucumberStatistics
|
|
56
56
|
|
57
57
|
# gather unused steps
|
58
58
|
@step_mother.unmatched_step_definitions.each do |step_definition|
|
59
|
-
@unused_steps.record step_definition.regexp_source, step_definition.
|
59
|
+
@unused_steps.record step_definition.regexp_source, step_definition.location.to_s
|
60
60
|
end
|
61
61
|
|
62
62
|
@step_statistics.calculate
|
63
63
|
|
64
|
-
Renderer.render_step_statistics @step_statistics, @overall_statistics
|
64
|
+
file = Renderer.render_step_statistics @step_statistics, @overall_statistics
|
65
|
+
puts "Cucumber statistics generated to #{file.to_s}"
|
65
66
|
end
|
66
67
|
end
|
67
68
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cucumber_statistics
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kevin Ross
|
@@ -86,14 +86,14 @@ dependencies:
|
|
86
86
|
requirements:
|
87
87
|
- - ">="
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
89
|
+
version: 2.1.0
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - ">="
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version:
|
96
|
+
version: 2.1.0
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: virtus
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|