stepdown 0.7.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +1 -0
- data/.travis.yml +1 -2
- data/Gemfile +2 -11
- data/Gemfile.lock +28 -24
- data/LICENSE +20 -0
- data/lib/stepdown/graph.rb +1 -0
- data/lib/stepdown/version.rb +1 -1
- data/spec/lib/stepdown/analyzer_spec.rb +15 -15
- data/spec/lib/stepdown/bluff_graph_spec.rb +2 -2
- data/spec/lib/stepdown/feature_parser_spec.rb +9 -9
- data/spec/lib/stepdown/graph_spec.rb +1 -1
- data/spec/lib/stepdown/options_spec.rb +1 -1
- data/spec/lib/stepdown/statistics_spec.rb +13 -13
- data/spec/lib/stepdown/step_collection_spec.rb +3 -3
- data/stepdown.gemspec +5 -4
- metadata +94 -118
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 908f92505dfc477c59ea4cce4b4cb8027056ed4e
|
4
|
+
data.tar.gz: 7d4e504364c58b0ae45e4fde46701c07b14d04b9
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: c5d0e3d81d3a2c9fa2d32e14d30c18564f88fb32a368eef0e5245bcc5480f318694a0d1013415435638a14f5a1c36004642b566e64625029d53c775b526ef440
|
7
|
+
data.tar.gz: e10fdd0ac6a1b69282f98cced4339ca7a4a9992e8c6cdd7259625f6f9523a5404e349b07af4781a2cde286cfdec569855d59c23fbc5ff8aa48253ad14bb6f33e
|
data/Gemfile
CHANGED
@@ -1,12 +1,3 @@
|
|
1
|
-
source '
|
1
|
+
source 'https://rubygems.org'
|
2
2
|
|
3
|
-
|
4
|
-
gem 'bundler', '> 1.0'
|
5
|
-
|
6
|
-
group :development,:test do
|
7
|
-
gem 'pry'
|
8
|
-
gem 'rake'
|
9
|
-
gem 'rspec', '> 2.5'
|
10
|
-
gem 'rcov', '~> 0.9.9'
|
11
|
-
gem 'sass', '> 3.1'
|
12
|
-
end
|
3
|
+
gemspec
|
data/Gemfile.lock
CHANGED
@@ -1,37 +1,41 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
stepdown (1.0.0)
|
5
|
+
bundler (> 1.0)
|
6
|
+
gherkin (~> 2.3)
|
7
|
+
|
1
8
|
GEM
|
2
|
-
remote:
|
9
|
+
remote: https://rubygems.org/
|
3
10
|
specs:
|
4
|
-
coderay (1.0.
|
5
|
-
diff-lcs (1.
|
6
|
-
gherkin (2.
|
7
|
-
|
8
|
-
|
9
|
-
|
11
|
+
coderay (1.0.8)
|
12
|
+
diff-lcs (1.2.4)
|
13
|
+
gherkin (2.12.1)
|
14
|
+
multi_json (~> 1.3)
|
15
|
+
method_source (0.8.1)
|
16
|
+
multi_json (1.7.9)
|
10
17
|
pry (0.9.10)
|
11
18
|
coderay (~> 1.0.5)
|
12
19
|
method_source (~> 0.8)
|
13
20
|
slop (~> 3.3.1)
|
14
|
-
rake (0.
|
15
|
-
|
16
|
-
|
17
|
-
rspec-
|
18
|
-
rspec-
|
19
|
-
|
20
|
-
rspec-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
slop (3.3.2)
|
21
|
+
rake (10.0.3)
|
22
|
+
rspec (2.14.1)
|
23
|
+
rspec-core (~> 2.14.0)
|
24
|
+
rspec-expectations (~> 2.14.0)
|
25
|
+
rspec-mocks (~> 2.14.0)
|
26
|
+
rspec-core (2.14.5)
|
27
|
+
rspec-expectations (2.14.1)
|
28
|
+
diff-lcs (>= 1.1.3, < 2.0)
|
29
|
+
rspec-mocks (2.14.3)
|
30
|
+
sass (3.2.5)
|
31
|
+
slop (3.3.3)
|
26
32
|
|
27
33
|
PLATFORMS
|
28
34
|
ruby
|
29
35
|
|
30
36
|
DEPENDENCIES
|
31
|
-
bundler (> 1.0)
|
32
|
-
gherkin (> 2.3)
|
33
37
|
pry
|
34
38
|
rake
|
35
|
-
|
36
|
-
|
37
|
-
|
39
|
+
rspec (~> 2.5)
|
40
|
+
sass (~> 3.1)
|
41
|
+
stepdown!
|
data/LICENSE
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2013 Sean Caffery
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
6
|
+
this software and associated documentation files (the "Software"), to deal in
|
7
|
+
the Software without restriction, including without limitation the rights to
|
8
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
9
|
+
the Software, and to permit persons to whom the Software is furnished to do so,
|
10
|
+
subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
17
|
+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
18
|
+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
19
|
+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
20
|
+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/lib/stepdown/graph.rb
CHANGED
data/lib/stepdown/version.rb
CHANGED
@@ -15,17 +15,17 @@ describe Stepdown::Analyzer do
|
|
15
15
|
describe "selecting a reporter" do
|
16
16
|
|
17
17
|
it "should return an HTML reporter" do
|
18
|
-
reporter = @analyzer.reporter('html',
|
18
|
+
reporter = @analyzer.reporter('html', double('stats'))
|
19
19
|
reporter.should be_instance_of(Stepdown::HTMLReporter)
|
20
20
|
end
|
21
21
|
|
22
22
|
it "should return a text reporter" do
|
23
|
-
reporter = @analyzer.reporter('text',
|
23
|
+
reporter = @analyzer.reporter('text', double('stats'))
|
24
24
|
reporter.should be_instance_of(Stepdown::TextReporter)
|
25
25
|
end
|
26
26
|
|
27
27
|
it "should return a quiet reporter" do
|
28
|
-
reporter = @analyzer.reporter('quiet',
|
28
|
+
reporter = @analyzer.reporter('quiet', double('stats'))
|
29
29
|
reporter.should be_instance_of(Stepdown::Reporter)
|
30
30
|
end
|
31
31
|
|
@@ -34,9 +34,9 @@ describe Stepdown::Analyzer do
|
|
34
34
|
describe "#analyse" do
|
35
35
|
it "should call the YamlWriter and Graph" do
|
36
36
|
features = ["awesome.txt."]
|
37
|
-
instance =
|
38
|
-
reporter =
|
39
|
-
stats =
|
37
|
+
instance = double('instance', :step_collection => [])
|
38
|
+
reporter = double('reporter')
|
39
|
+
stats = double('stats')
|
40
40
|
reporter.should_receive(:output_overview)
|
41
41
|
|
42
42
|
@analyzer.should_receive(:instance).and_return(instance)
|
@@ -45,7 +45,7 @@ describe Stepdown::Analyzer do
|
|
45
45
|
@analyzer.should_receive(:reporter).and_return(reporter)
|
46
46
|
stats.should_receive(:generate)
|
47
47
|
|
48
|
-
Stepdown::Statistics.stub
|
48
|
+
Stepdown::Statistics.stub(:new).with([], instance.step_collection).and_return(stats)
|
49
49
|
Stepdown::YamlWriter.should_receive(:write).with(anything)
|
50
50
|
Stepdown::FlotGraph.should_receive(:create_graph)
|
51
51
|
|
@@ -55,14 +55,14 @@ describe Stepdown::Analyzer do
|
|
55
55
|
|
56
56
|
describe "#process_feature_files" do
|
57
57
|
it "should instantiate a bunch of stuff" do
|
58
|
-
|
59
|
-
@analyzer.stub
|
60
|
-
Stepdown::FeatureParser.should_receive(:new).with(anything).and_return(
|
61
|
-
|
62
|
-
Gherkin::Parser::Parser.should_receive(:new).and_return(
|
63
|
-
File.stub
|
64
|
-
|
65
|
-
|
58
|
+
double_listener = double(:listener)
|
59
|
+
@analyzer.stub(:instance)
|
60
|
+
Stepdown::FeatureParser.should_receive(:new).with(anything).and_return(double_listener)
|
61
|
+
double_parser = double(:gherkin_parser)
|
62
|
+
Gherkin::Parser::Parser.should_receive(:new).and_return(double_parser)
|
63
|
+
File.stub(:read)
|
64
|
+
double_parser.should_receive(:parse)
|
65
|
+
double_listener.should_receive(:scenarios)
|
66
66
|
@analyzer.process_feature_files(["blah.txt"])
|
67
67
|
end
|
68
68
|
end
|
@@ -17,10 +17,10 @@ describe Stepdown::BluffGraph do
|
|
17
17
|
|
18
18
|
require 'stringio'
|
19
19
|
io = StringIO.new
|
20
|
-
File.stub
|
20
|
+
File.stub(:open).with(anything, anything).and_yield(io)
|
21
21
|
|
22
22
|
Stepdown::BluffGraph.should_receive(:collect_stats).and_return([stats, labels])
|
23
|
-
Stepdown::BluffGraph
|
23
|
+
stub_const("Stepdown::BluffGraph::BLUFF_DEFAULT_OPTIONS", "DEFAULT")
|
24
24
|
expected_graph = <<-GRAPH
|
25
25
|
DEFAULT
|
26
26
|
g.title = 'Stepdown';
|
@@ -4,18 +4,18 @@ require 'feature_parser'
|
|
4
4
|
|
5
5
|
describe Stepdown::FeatureParser do
|
6
6
|
def stub_line_match_with(instance, line, value)
|
7
|
-
instance.stub
|
7
|
+
instance.stub(:line_matches).with(line).and_return(value)
|
8
8
|
end
|
9
9
|
|
10
10
|
describe "creating scenarios" do
|
11
11
|
before :each do
|
12
|
-
instance =
|
12
|
+
instance = double("instance")
|
13
13
|
@parser = Stepdown::FeatureParser.new(instance)
|
14
14
|
end
|
15
15
|
|
16
16
|
it "should create a scenario for a scenario line" do
|
17
17
|
|
18
|
-
scenario =
|
18
|
+
scenario = double("scenario", :name => 'scenario')
|
19
19
|
Stepdown::Scenario.should_receive(:new).and_return(scenario)
|
20
20
|
@parser.scenario(scenario)
|
21
21
|
|
@@ -24,7 +24,7 @@ describe Stepdown::FeatureParser do
|
|
24
24
|
|
25
25
|
it "should create a scenario for a background line" do
|
26
26
|
|
27
|
-
background =
|
27
|
+
background = double("background", :name => '')
|
28
28
|
Stepdown::Scenario.should_receive(:new).and_return(background)
|
29
29
|
@parser.background(background)
|
30
30
|
|
@@ -33,7 +33,7 @@ describe Stepdown::FeatureParser do
|
|
33
33
|
|
34
34
|
it "should create a scenario for a scenario outline" do
|
35
35
|
|
36
|
-
outline =
|
36
|
+
outline = double("outline", :name => 'outline')
|
37
37
|
Stepdown::Scenario.should_receive(:new).and_return(outline)
|
38
38
|
@parser.scenario_outline(outline)
|
39
39
|
|
@@ -44,9 +44,9 @@ describe Stepdown::FeatureParser do
|
|
44
44
|
|
45
45
|
describe "parsing step lines" do
|
46
46
|
before :each do
|
47
|
-
@step_instance =
|
47
|
+
@step_instance = double("step_instance")
|
48
48
|
@parser = Stepdown::FeatureParser.new(@step_instance)
|
49
|
-
@parser.scenario(
|
49
|
+
@parser.scenario(double('scenario', :name => 'scenario'))
|
50
50
|
|
51
51
|
end
|
52
52
|
|
@@ -67,7 +67,7 @@ describe Stepdown::FeatureParser do
|
|
67
67
|
all_lines = [lines, unmatched_lines].flatten
|
68
68
|
|
69
69
|
all_lines.each do |line|
|
70
|
-
@parser.step(
|
70
|
+
@parser.step(double('step', :name => line))
|
71
71
|
end
|
72
72
|
|
73
73
|
scenarios = @parser.scenarios
|
@@ -80,7 +80,7 @@ describe Stepdown::FeatureParser do
|
|
80
80
|
lines.each_with_index do |line, i|
|
81
81
|
step = Stepdown::Step.new(i, line)
|
82
82
|
stub_line_match_with(@step_instance, line, step)
|
83
|
-
@parser.step(
|
83
|
+
@parser.step(double('step', :name => line))
|
84
84
|
steps << step
|
85
85
|
end
|
86
86
|
|
@@ -16,7 +16,7 @@ describe Stepdown::Graph do
|
|
16
16
|
before :each do
|
17
17
|
stats = [{:no_scen => 10, :unused => 2, :label => "label 1"},
|
18
18
|
{:no_scen => 20, :unused => 3, :label => "label 2"}]
|
19
|
-
@fixture.stub
|
19
|
+
@fixture.stub(:load_stats).and_return(stats)
|
20
20
|
end
|
21
21
|
|
22
22
|
it "should return the labels associated with a stat set" do
|
@@ -8,30 +8,30 @@ describe Stepdown::Statistics do
|
|
8
8
|
|
9
9
|
describe "returning overall statistics" do
|
10
10
|
it "should return the total number of steps" do
|
11
|
-
steps = [
|
11
|
+
steps = [double('step_1'), double('step_2')]
|
12
12
|
reporter = Stepdown::Statistics.new([], steps)
|
13
13
|
reporter.total_steps.should == 2
|
14
14
|
end
|
15
15
|
|
16
16
|
it "should return the total number of scenarios" do
|
17
|
-
scenarios = [
|
17
|
+
scenarios = [double('scenario_1'), double('scenario_2')]
|
18
18
|
reporter = Stepdown::Statistics.new(scenarios, [])
|
19
19
|
reporter.total_scenarios.should == 2
|
20
20
|
end
|
21
21
|
|
22
22
|
it "should return the number of steps per scenario" do
|
23
|
-
steps = [
|
24
|
-
scenario1 =
|
25
|
-
scenario2 =
|
23
|
+
steps = [double('step_1'), double('step_2'), double('step_3')]
|
24
|
+
scenario1 = double("scenario1", :steps => steps, :step_count => steps.length)
|
25
|
+
scenario2 = double("scenario2", :steps => [], :step_count => 0)
|
26
26
|
|
27
27
|
reporter = Stepdown::Statistics.new([scenario1, scenario2], [])
|
28
28
|
reporter.steps_per_scenario.should == "1.50"
|
29
29
|
end
|
30
30
|
|
31
31
|
it "should return the number of unique steps per scenario" do
|
32
|
-
steps = [
|
33
|
-
scenario1 =
|
34
|
-
scenario2 =
|
32
|
+
steps = [double('step_1'), double('step_2'), double('step_3')]
|
33
|
+
scenario1 = double("scenario1", :steps => steps, :unique_step_count => 2, :step_count => 3)
|
34
|
+
scenario2 = double("scenario2", :steps => steps[0...1], :unique_step_count => 1, :step_count => 1)
|
35
35
|
|
36
36
|
reporter = Stepdown::Statistics.new([scenario1, scenario2], [])
|
37
37
|
reporter.unique_steps.should == "1.33"
|
@@ -161,7 +161,7 @@ describe Stepdown::Statistics do
|
|
161
161
|
|
162
162
|
describe "returing step usage" do
|
163
163
|
before :each do
|
164
|
-
@reporter = Stepdown::Statistics.new([],
|
164
|
+
@reporter = Stepdown::Statistics.new([], double('step_colllection'))
|
165
165
|
|
166
166
|
@use_1 = Stepdown::StepUsage.new(Stepdown::Step.new(1,/regex/))
|
167
167
|
@use_2 = Stepdown::StepUsage.new(Stepdown::Step.new(2,/regex/))
|
@@ -170,7 +170,7 @@ describe Stepdown::Statistics do
|
|
170
170
|
@use_1.total_usage += 1
|
171
171
|
@use_2.total_usage += 1
|
172
172
|
|
173
|
-
@reporter.stub
|
173
|
+
@reporter.stub(:step_usages).and_return([@use_1, @use_2, @use_3])
|
174
174
|
end
|
175
175
|
|
176
176
|
it "should return used steps" do
|
@@ -215,7 +215,7 @@ describe Stepdown::Statistics do
|
|
215
215
|
@top_10 = [1,2,3,4,5,6,7,8,9,10]
|
216
216
|
@rest = [11,12]
|
217
217
|
@all = @top_10 + @rest
|
218
|
-
@stats = Stepdown::Statistics.new([],
|
218
|
+
@stats = Stepdown::Statistics.new([], double('step_collection'))
|
219
219
|
end
|
220
220
|
|
221
221
|
methods = ["groupings", "usages", "empty", "unused"]
|
@@ -229,14 +229,14 @@ describe Stepdown::Statistics do
|
|
229
229
|
|
230
230
|
methods.each do |method|
|
231
231
|
it "should return the rest of #{method}" do
|
232
|
-
@stats.stub
|
232
|
+
@stats.stub(method.to_sym).and_return(@all)
|
233
233
|
@stats.send("#{method}_rest".to_sym).should eql @rest
|
234
234
|
end
|
235
235
|
end
|
236
236
|
|
237
237
|
methods.each do |method|
|
238
238
|
it "should not break if there are not enough elements for a requested collection" do
|
239
|
-
@stats.stub
|
239
|
+
@stats.stub(method.to_sym).and_return([])
|
240
240
|
@stats.send("#{method}_rest".to_sym).should be_empty
|
241
241
|
end
|
242
242
|
end
|
@@ -26,8 +26,8 @@ describe Stepdown::StepCollection do
|
|
26
26
|
end
|
27
27
|
|
28
28
|
it "should add new steps" do
|
29
|
-
step =
|
30
|
-
Stepdown::Step.stub
|
29
|
+
step = double("step")
|
30
|
+
Stepdown::Step.stub(:new).and_return(step)
|
31
31
|
step.should_receive(:count=).with(1)
|
32
32
|
@collection.add_step(1, /regex/)
|
33
33
|
@collection.steps.should == [step]
|
@@ -90,4 +90,4 @@ describe Stepdown::StepCollection do
|
|
90
90
|
end
|
91
91
|
|
92
92
|
|
93
|
-
end
|
93
|
+
end
|
data/stepdown.gemspec
CHANGED
@@ -5,20 +5,21 @@ Gem::Specification.new do |s|
|
|
5
5
|
s.name = "stepdown"
|
6
6
|
s.version = Stepdown::VERSION
|
7
7
|
s.platform = Gem::Platform::RUBY
|
8
|
-
s.required_ruby_version = '>= 1.
|
8
|
+
s.required_ruby_version = '>= 1.9.3'
|
9
9
|
s.authors = ["Sean Caffery"]
|
10
10
|
s.email = ["sean@lineonpoint.com"]
|
11
11
|
s.summary = "Static analysis tool for Cucumber features"
|
12
12
|
s.homepage = "http://stepdown.lineonpoint.com"
|
13
13
|
s.description = "Stepdown allows you to see where your most used Cucumber steps are, your unused steps and how they are clustered"
|
14
|
+
s.license = "MIT"
|
14
15
|
|
15
16
|
s.required_rubygems_version = ">= 1.3.6"
|
16
17
|
s.rubyforge_project = "stepdown"
|
17
18
|
|
18
|
-
s.add_dependency('gherkin', '
|
19
|
+
s.add_dependency('gherkin', '~> 2.3')
|
19
20
|
s.add_dependency('bundler', '> 1.0')
|
20
|
-
s.add_development_dependency('rspec', "
|
21
|
-
s.add_development_dependency('sass', "
|
21
|
+
s.add_development_dependency('rspec', "~> 2.5")
|
22
|
+
s.add_development_dependency('sass', "~> 3.1")
|
22
23
|
s.add_development_dependency('rake')
|
23
24
|
s.add_development_dependency('pry')
|
24
25
|
|
metadata
CHANGED
@@ -1,126 +1,115 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: stepdown
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 7
|
9
|
-
- 0
|
10
|
-
version: 0.7.0
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
11
5
|
platform: ruby
|
12
|
-
authors:
|
6
|
+
authors:
|
13
7
|
- Sean Caffery
|
14
8
|
autorequire:
|
15
9
|
bindir: bin
|
16
10
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
- !ruby/object:Gem::Dependency
|
11
|
+
date: 2013-08-15 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
21
14
|
name: gherkin
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
hash: 5
|
28
|
-
segments:
|
29
|
-
- 2
|
30
|
-
- 3
|
31
|
-
version: "2.3"
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ~>
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '2.3'
|
32
20
|
type: :runtime
|
33
|
-
requirement: *id001
|
34
21
|
prerelease: false
|
35
|
-
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ~>
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '2.3'
|
27
|
+
- !ruby/object:Gem::Dependency
|
36
28
|
name: bundler
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
hash: 15
|
43
|
-
segments:
|
44
|
-
- 1
|
45
|
-
- 0
|
46
|
-
version: "1.0"
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - '>'
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.0'
|
47
34
|
type: :runtime
|
48
|
-
requirement: *id002
|
49
35
|
prerelease: false
|
50
|
-
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '>'
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
51
42
|
name: rspec
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
hash: 9
|
58
|
-
segments:
|
59
|
-
- 2
|
60
|
-
- 5
|
61
|
-
version: "2.5"
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ~>
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '2.5'
|
62
48
|
type: :development
|
63
|
-
requirement: *id003
|
64
49
|
prerelease: false
|
65
|
-
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ~>
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '2.5'
|
55
|
+
- !ruby/object:Gem::Dependency
|
66
56
|
name: sass
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
hash: 5
|
73
|
-
segments:
|
74
|
-
- 3
|
75
|
-
- 1
|
76
|
-
version: "3.1"
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '3.1'
|
77
62
|
type: :development
|
78
|
-
requirement: *id004
|
79
63
|
prerelease: false
|
80
|
-
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ~>
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '3.1'
|
69
|
+
- !ruby/object:Gem::Dependency
|
81
70
|
name: rake
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
hash: 3
|
88
|
-
segments:
|
89
|
-
- 0
|
90
|
-
version: "0"
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - '>='
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
91
76
|
type: :development
|
92
|
-
requirement: *id005
|
93
77
|
prerelease: false
|
94
|
-
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - '>='
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
95
84
|
name: pry
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
hash: 3
|
102
|
-
segments:
|
103
|
-
- 0
|
104
|
-
version: "0"
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - '>='
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
105
90
|
type: :development
|
106
|
-
requirement: *id006
|
107
91
|
prerelease: false
|
108
|
-
|
109
|
-
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - '>='
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
description: Stepdown allows you to see where your most used Cucumber steps are, your
|
98
|
+
unused steps and how they are clustered
|
99
|
+
email:
|
110
100
|
- sean@lineonpoint.com
|
111
|
-
executables:
|
101
|
+
executables:
|
112
102
|
- stepdown
|
113
103
|
extensions: []
|
114
|
-
|
115
104
|
extra_rdoc_files: []
|
116
|
-
|
117
|
-
files:
|
105
|
+
files:
|
118
106
|
- .gitignore
|
119
107
|
- .rspec
|
120
108
|
- .travis.yml
|
121
109
|
- Gemfile
|
122
110
|
- Gemfile.lock
|
123
111
|
- History.txt
|
112
|
+
- LICENSE
|
124
113
|
- README.rdoc
|
125
114
|
- Rakefile
|
126
115
|
- bin/stepdown
|
@@ -172,43 +161,30 @@ files:
|
|
172
161
|
- templates/index.html.erb
|
173
162
|
- templates/style.sass
|
174
163
|
homepage: http://stepdown.lineonpoint.com
|
175
|
-
licenses:
|
176
|
-
|
164
|
+
licenses:
|
165
|
+
- MIT
|
166
|
+
metadata: {}
|
177
167
|
post_install_message:
|
178
168
|
rdoc_options: []
|
179
|
-
|
180
|
-
require_paths:
|
169
|
+
require_paths:
|
181
170
|
- lib
|
182
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
- 7
|
192
|
-
version: 1.8.7
|
193
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
194
|
-
none: false
|
195
|
-
requirements:
|
196
|
-
- - ">="
|
197
|
-
- !ruby/object:Gem::Version
|
198
|
-
hash: 23
|
199
|
-
segments:
|
200
|
-
- 1
|
201
|
-
- 3
|
202
|
-
- 6
|
171
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
172
|
+
requirements:
|
173
|
+
- - '>='
|
174
|
+
- !ruby/object:Gem::Version
|
175
|
+
version: 1.9.3
|
176
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - '>='
|
179
|
+
- !ruby/object:Gem::Version
|
203
180
|
version: 1.3.6
|
204
181
|
requirements: []
|
205
|
-
|
206
182
|
rubyforge_project: stepdown
|
207
|
-
rubygems_version:
|
183
|
+
rubygems_version: 2.0.2
|
208
184
|
signing_key:
|
209
|
-
specification_version:
|
185
|
+
specification_version: 4
|
210
186
|
summary: Static analysis tool for Cucumber features
|
211
|
-
test_files:
|
187
|
+
test_files:
|
212
188
|
- spec/fixtures/20110611.yml
|
213
189
|
- spec/fixtures/20110612.yml
|
214
190
|
- spec/lib/stepdown/analyzer_spec.rb
|