stepdown 0.6.4 → 0.6.5
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +3 -2
- data/Gemfile.lock +17 -15
- data/bin/stepdown +1 -1
- data/lib/stepdown.rb +2 -1
- data/lib/stepdown/analyzer.rb +2 -2
- data/lib/stepdown/bluff_graph.rb +43 -0
- data/lib/stepdown/google_chart.rb +64 -0
- data/lib/stepdown/graph.rb +6 -39
- data/lib/stepdown/version.rb +1 -1
- data/spec/lib/stepdown/analyzer_spec.rb +2 -2
- data/spec/lib/stepdown/bluff_graph_spec.rb +38 -0
- data/spec/lib/stepdown/graph_spec.rb +31 -54
- data/stepdown.gemspec +3 -2
- metadata +119 -60
data/Gemfile
CHANGED
@@ -2,10 +2,11 @@ source 'http://rubygems.org'
|
|
2
2
|
|
3
3
|
gem 'gherkin', '> 2.3'
|
4
4
|
gem 'bundler', '> 1.0'
|
5
|
+
gem 'googlecharts', '~> 1.6.0'
|
5
6
|
|
6
7
|
group :development,:test do
|
7
8
|
gem 'rake'
|
8
|
-
gem 'rspec', '
|
9
|
+
gem 'rspec', '> 2.5'
|
9
10
|
gem 'rcov', '~> 0.9.9'
|
10
|
-
gem 'sass', '
|
11
|
+
gem 'sass', '> 3.1'
|
11
12
|
end
|
data/Gemfile.lock
CHANGED
@@ -1,21 +1,22 @@
|
|
1
1
|
GEM
|
2
2
|
remote: http://rubygems.org/
|
3
3
|
specs:
|
4
|
-
diff-lcs (1.1.
|
5
|
-
gherkin (2.
|
4
|
+
diff-lcs (1.1.3)
|
5
|
+
gherkin (2.7.6)
|
6
6
|
json (>= 1.4.6)
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
rspec-
|
13
|
-
rspec-
|
14
|
-
|
15
|
-
rspec-
|
7
|
+
googlecharts (1.6.8)
|
8
|
+
json (1.6.5)
|
9
|
+
rake (0.9.2.2)
|
10
|
+
rcov (0.9.11)
|
11
|
+
rspec (2.8.0)
|
12
|
+
rspec-core (~> 2.8.0)
|
13
|
+
rspec-expectations (~> 2.8.0)
|
14
|
+
rspec-mocks (~> 2.8.0)
|
15
|
+
rspec-core (2.8.0)
|
16
|
+
rspec-expectations (2.8.0)
|
16
17
|
diff-lcs (~> 1.1.2)
|
17
|
-
rspec-mocks (2.
|
18
|
-
sass (3.1.
|
18
|
+
rspec-mocks (2.8.0)
|
19
|
+
sass (3.1.13)
|
19
20
|
|
20
21
|
PLATFORMS
|
21
22
|
ruby
|
@@ -23,7 +24,8 @@ PLATFORMS
|
|
23
24
|
DEPENDENCIES
|
24
25
|
bundler (> 1.0)
|
25
26
|
gherkin (> 2.3)
|
27
|
+
googlecharts (~> 1.6.0)
|
26
28
|
rake
|
27
29
|
rcov (~> 0.9.9)
|
28
|
-
rspec (
|
29
|
-
sass (
|
30
|
+
rspec (> 2.5)
|
31
|
+
sass (> 3.1)
|
data/bin/stepdown
CHANGED
@@ -14,7 +14,7 @@ begin
|
|
14
14
|
Stepdown.quiet = options.quiet
|
15
15
|
Stepdown.output_directory = options.output_directory
|
16
16
|
|
17
|
-
Stepdown::Analyzer.new(options.steps_dir, options.features_dir, options.reporter).
|
17
|
+
Stepdown::Analyzer.new(options.steps_dir, options.features_dir, options.reporter).analyze
|
18
18
|
|
19
19
|
rescue Interrupt => e
|
20
20
|
puts "Quiting..."
|
data/lib/stepdown.rb
CHANGED
@@ -4,7 +4,8 @@ require 'stepdown/html_reporter'
|
|
4
4
|
require 'stepdown/text_reporter'
|
5
5
|
require 'stepdown/statistics'
|
6
6
|
require 'stepdown/yaml_writer'
|
7
|
-
require 'stepdown/
|
7
|
+
require 'stepdown/bluff_graph'
|
8
|
+
require 'stepdown/google_chart'
|
8
9
|
require 'stepdown/analyzer'
|
9
10
|
|
10
11
|
require 'rubygems'
|
data/lib/stepdown/analyzer.rb
CHANGED
@@ -8,7 +8,7 @@ module Stepdown
|
|
8
8
|
@reporter = reporter
|
9
9
|
end
|
10
10
|
|
11
|
-
def
|
11
|
+
def analyze
|
12
12
|
scenarios = collect_scenarios
|
13
13
|
|
14
14
|
stats = Statistics.new(scenarios, instance.step_collection)
|
@@ -18,7 +18,7 @@ module Stepdown
|
|
18
18
|
reporter.output_overview
|
19
19
|
|
20
20
|
Stepdown::YamlWriter.write(stats)
|
21
|
-
Stepdown::
|
21
|
+
Stepdown::BluffGraph.create_graph
|
22
22
|
end
|
23
23
|
|
24
24
|
def collect_scenarios
|
@@ -0,0 +1,43 @@
|
|
1
|
+
require 'json'
|
2
|
+
require 'date'
|
3
|
+
require 'stepdown/graph'
|
4
|
+
|
5
|
+
module Stepdown
|
6
|
+
class BluffGraph
|
7
|
+
extend Stepdown::Graph
|
8
|
+
|
9
|
+
BLUFF_GRAPH_SIZE = "890x400"
|
10
|
+
BLUFF_DEFAULT_OPTIONS = <<-EOS
|
11
|
+
var g = new Bluff.Line('graph', "#{BLUFF_GRAPH_SIZE}");
|
12
|
+
g.theme_37signals();
|
13
|
+
g.tooltips = true;
|
14
|
+
g.title_font_size = "24px"
|
15
|
+
g.legend_font_size = "12px"
|
16
|
+
g.marker_font_size = "10px"
|
17
|
+
EOS
|
18
|
+
|
19
|
+
def self.create_graph
|
20
|
+
stats, labels = self.collect_stats
|
21
|
+
label_set = {}
|
22
|
+
labels.each_with_index do |label, i|
|
23
|
+
label_set.update({i => label})
|
24
|
+
end
|
25
|
+
|
26
|
+
content = <<-EOS
|
27
|
+
#{BLUFF_DEFAULT_OPTIONS}
|
28
|
+
g.title = 'Stepdown';
|
29
|
+
g.data('Total scenarios', [#{stats[:number_scenarios].join(',')}]);
|
30
|
+
g.data('Total steps', [#{stats[:total_steps].join(',')}]);
|
31
|
+
g.data('Total steps per scenario', [#{stats[:steps_per_scenario].join(',')}]);
|
32
|
+
g.data('Total unused steps', [#{stats[:unused_steps].join(',')}]);
|
33
|
+
g.labels = #{label_set.to_json};
|
34
|
+
g.draw();
|
35
|
+
EOS
|
36
|
+
|
37
|
+
File.open(File.join(Stepdown.output_directory, 'stepdown.js'), 'w') do
|
38
|
+
|f| f << content
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
end
|
43
|
+
end
|
@@ -0,0 +1,64 @@
|
|
1
|
+
require 'googlecharts'
|
2
|
+
require 'stepdown/graph'
|
3
|
+
|
4
|
+
module Stepdown
|
5
|
+
class GoogleChart
|
6
|
+
extend Stepdown::Graph
|
7
|
+
|
8
|
+
def self.create_graph
|
9
|
+
stats, labels = collect_stats
|
10
|
+
label_set = {}
|
11
|
+
labels.each_with_index do |label, i|
|
12
|
+
label_set.update({i => label})
|
13
|
+
end
|
14
|
+
#Gchart.line( :size => '200x300',
|
15
|
+
# :title => "example title",
|
16
|
+
# :bg => 'efefef',
|
17
|
+
# :legend => ['first data set label', 'second data set label'],
|
18
|
+
# :data => [10, 30, 120, 45, 72])
|
19
|
+
|
20
|
+
all_values = stats[:number_scenarios].flatten + stats[:total_steps].flatten
|
21
|
+
puts all_values.min
|
22
|
+
puts stats[:total_steps].flatten.sort.inspect
|
23
|
+
puts stats[:number_scenarios].flatten.sort.inspect
|
24
|
+
chart = Gchart.line(:type => :line,
|
25
|
+
:size => '600x300',
|
26
|
+
:title => "Stepdown",
|
27
|
+
:theme => :pastel,
|
28
|
+
:axis_with_labels => ['x', 'y'],
|
29
|
+
:axis_labels => [labels],
|
30
|
+
#:axis_range => [nil, [2,17,5]],
|
31
|
+
#:axis_with_label => 'x,y,r,t',
|
32
|
+
#:axis_labels => ["a|b","a|b","a|b","a|b"],
|
33
|
+
:bg => 'ffffff',
|
34
|
+
:legend => ['Total scenarios', 'Total steps'],
|
35
|
+
:data => [stats[:number_scenarios].flatten.map{|a| a * 0.128865979},
|
36
|
+
stats[:total_steps].flatten.map{|a| a * 0.128865979},
|
37
|
+
#stats[:steps_per_scenario].flatten,
|
38
|
+
#stats[:unused_steps].flatten],
|
39
|
+
],
|
40
|
+
#:axis_range => [nil, [(all_values.min).to_i, (all_values.max * 1.1).to_i]],
|
41
|
+
#:data => [[1,2,3], [6,7,8]],
|
42
|
+
:max_value => false, #(all_values.max * 1.1).to_i,
|
43
|
+
:encoding => 'text',
|
44
|
+
:filename => "/tmp/chart.png")
|
45
|
+
|
46
|
+
puts chart.inspect
|
47
|
+
chart.file
|
48
|
+
#content = <<-EOS
|
49
|
+
# #{BLUFF_DEFAULT_OPTIONS}
|
50
|
+
# g.title = 'Stepdown';
|
51
|
+
# g.data('Total scenarios', [#{stats[:number_scenarios].join(',')}]);
|
52
|
+
# g.data('Total steps', [#{stats[:total_steps].join(',')}]);
|
53
|
+
# g.data('Total steps per scenario', [#{stats[:steps_per_scenario].join(',')}]);
|
54
|
+
# g.data('Total unused steps', [#{stats[:unused_steps].join(',')}]);
|
55
|
+
# g.labels = #{label_set.to_json};
|
56
|
+
# g.draw();
|
57
|
+
#EOS
|
58
|
+
#
|
59
|
+
#File.open(File.join(Stepdown.output_directory, 'stepdown.js'), 'w') do
|
60
|
+
# |f| f << content
|
61
|
+
#end
|
62
|
+
end
|
63
|
+
end
|
64
|
+
end
|
data/lib/stepdown/graph.rb
CHANGED
@@ -1,41 +1,8 @@
|
|
1
|
-
require 'json'
|
2
|
-
require 'date'
|
3
|
-
module Stepdown
|
4
|
-
class Graph
|
5
|
-
BLUFF_GRAPH_SIZE = "890x400"
|
6
|
-
BLUFF_DEFAULT_OPTIONS = <<-EOS
|
7
|
-
var g = new Bluff.Line('graph', "#{BLUFF_GRAPH_SIZE}");
|
8
|
-
g.theme_37signals();
|
9
|
-
g.tooltips = true;
|
10
|
-
g.title_font_size = "24px"
|
11
|
-
g.legend_font_size = "12px"
|
12
|
-
g.marker_font_size = "10px"
|
13
|
-
EOS
|
14
|
-
|
15
|
-
def self.create_graph
|
16
|
-
stats, labels = collect_stats
|
17
|
-
label_set = {}
|
18
|
-
labels.each_with_index do |label, i|
|
19
|
-
label_set.update({i => label})
|
20
|
-
end
|
21
|
-
|
22
|
-
content = <<-EOS
|
23
|
-
#{BLUFF_DEFAULT_OPTIONS}
|
24
|
-
g.title = 'Stepdown';
|
25
|
-
g.data('Total scenarios', [#{stats[:number_scenarios].join(',')}]);
|
26
|
-
g.data('Total steps', [#{stats[:total_steps].join(',')}]);
|
27
|
-
g.data('Total steps per scenario', [#{stats[:steps_per_scenario].join(',')}]);
|
28
|
-
g.data('Total unused steps', [#{stats[:unused_steps].join(',')}]);
|
29
|
-
g.labels = #{label_set.to_json};
|
30
|
-
g.draw();
|
31
|
-
EOS
|
32
1
|
|
33
|
-
|
34
|
-
|
35
|
-
end
|
36
|
-
end
|
2
|
+
module Stepdown
|
3
|
+
module Graph
|
37
4
|
|
38
|
-
def
|
5
|
+
def collect_stats
|
39
6
|
stats = Hash.new {|hsh, key| hsh[key] = [] }
|
40
7
|
labels = []
|
41
8
|
|
@@ -47,7 +14,7 @@ module Stepdown
|
|
47
14
|
[stats, labels]
|
48
15
|
end
|
49
16
|
|
50
|
-
def
|
17
|
+
def load_stats
|
51
18
|
stat_collection = []
|
52
19
|
Dir.glob("#{Stepdown.output_directory}/*.yml").sort.each do |file_name|
|
53
20
|
stats = Hash.new {|hsh, key| hsh[key] = [] }
|
@@ -66,10 +33,10 @@ module Stepdown
|
|
66
33
|
stat_collection
|
67
34
|
end
|
68
35
|
|
69
|
-
def
|
36
|
+
def date_from_file_name(file_name)
|
70
37
|
label_date = Date.strptime(file_name.match(/(\d+)/)[1], "%Y%m%d")
|
71
38
|
"#{label_date.day} / #{label_date.month}"
|
72
39
|
end
|
73
40
|
|
74
41
|
end
|
75
|
-
end
|
42
|
+
end
|
data/lib/stepdown/version.rb
CHANGED
@@ -47,9 +47,9 @@ describe Stepdown::Analyzer do
|
|
47
47
|
|
48
48
|
Stepdown::Statistics.stub!(:new).with([], instance.step_collection).and_return(stats)
|
49
49
|
Stepdown::YamlWriter.should_receive(:write).with(anything)
|
50
|
-
Stepdown::
|
50
|
+
Stepdown::BluffGraph.should_receive(:create_graph)
|
51
51
|
|
52
|
-
@analyzer.
|
52
|
+
@analyzer.analyze
|
53
53
|
end
|
54
54
|
end
|
55
55
|
|
@@ -0,0 +1,38 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
require 'stepdown/bluff_graph'
|
3
|
+
require 'stepdown'
|
4
|
+
|
5
|
+
describe Stepdown::BluffGraph do
|
6
|
+
|
7
|
+
describe "creating a bluff graph" do
|
8
|
+
it "should turn given stats into bluff json" do
|
9
|
+
|
10
|
+
labels = ['12 / 6']
|
11
|
+
stats = {:number_scenarios=>[690],
|
12
|
+
:total_steps=>[533],
|
13
|
+
:steps_per_scenario=>["12.50"],
|
14
|
+
:label=>"12 / 6",
|
15
|
+
:unused_steps=>[123]}
|
16
|
+
|
17
|
+
require 'stringio'
|
18
|
+
io = StringIO.new
|
19
|
+
File.stub!(:open).with(anything, anything).and_yield(io)
|
20
|
+
|
21
|
+
Stepdown::BluffGraph.should_receive(:collect_stats).and_return([stats, labels])
|
22
|
+
Stepdown::BluffGraph.const_set(:BLUFF_DEFAULT_OPTIONS, "DEFAULT")
|
23
|
+
expected_graph = <<-GRAPH
|
24
|
+
DEFAULT
|
25
|
+
g.title = 'Stepdown';
|
26
|
+
g.data('Total scenarios', [690]);
|
27
|
+
g.data('Total steps', [533]);
|
28
|
+
g.data('Total steps per scenario', [12.50]);
|
29
|
+
g.data('Total unused steps', [123]);
|
30
|
+
g.labels = {"0":"12 / 6"};
|
31
|
+
g.draw();
|
32
|
+
GRAPH
|
33
|
+
Stepdown::BluffGraph.create_graph.string.should == expected_graph
|
34
|
+
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
end
|
@@ -1,24 +1,31 @@
|
|
1
1
|
require 'spec_helper'
|
2
2
|
require 'stepdown/graph'
|
3
|
-
require 'stepdown'
|
4
3
|
|
5
4
|
describe Stepdown::Graph do
|
6
5
|
|
6
|
+
class DummyGraph
|
7
|
+
end
|
8
|
+
|
9
|
+
before :each do
|
10
|
+
@fixture = DummyGraph.new
|
11
|
+
@fixture.extend(Stepdown::Graph)
|
12
|
+
end
|
13
|
+
|
7
14
|
describe "collecting stats" do
|
8
15
|
|
9
16
|
before :each do
|
10
|
-
stats = [{:no_scen => 10, :unused => 2, :label => "label 1"},
|
17
|
+
stats = [{:no_scen => 10, :unused => 2, :label => "label 1"},
|
11
18
|
{:no_scen => 20, :unused => 3, :label => "label 2"}]
|
12
|
-
|
19
|
+
@fixture.stub!(:load_stats).and_return(stats)
|
13
20
|
end
|
14
21
|
|
15
22
|
it "should return the labels associated with a stat set" do
|
16
|
-
|
23
|
+
@fixture.collect_stats[1].should == ["label 1", "label 2"]
|
17
24
|
end
|
18
25
|
|
19
26
|
it "should break collect group stats based on given keys" do
|
20
|
-
|
21
|
-
:unused=>[2, 3],
|
27
|
+
@fixture.collect_stats[0].should == {:no_scen=>[10, 20],
|
28
|
+
:unused=>[2, 3],
|
22
29
|
:label=>["label 1", "label 2"]}
|
23
30
|
end
|
24
31
|
|
@@ -26,57 +33,27 @@ describe Stepdown::Graph do
|
|
26
33
|
|
27
34
|
describe "creating a label from a file name" do
|
28
35
|
it "should return day/month" do
|
29
|
-
|
36
|
+
@fixture.date_from_file_name("20110512.yml").should == "12 / 5"
|
30
37
|
end
|
31
38
|
end
|
32
39
|
|
33
40
|
describe "loading stat files" do
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
end
|
50
|
-
|
51
|
-
describe "creating a bluff graph" do
|
52
|
-
it "should turn given stats into bluff json" do
|
53
|
-
|
54
|
-
labels = ['12 / 6']
|
55
|
-
stats = {:number_scenarios=>[690],
|
56
|
-
:total_steps=>[533],
|
57
|
-
:steps_per_scenario=>["12.50"],
|
58
|
-
:label=>"12 / 6",
|
59
|
-
:unused_steps=>[123]}
|
60
|
-
|
61
|
-
require 'stringio'
|
62
|
-
io = StringIO.new
|
63
|
-
File.stub!(:open).with(anything, anything).and_yield(io)
|
64
|
-
|
65
|
-
Stepdown::Graph.should_receive(:collect_stats).and_return([stats, labels])
|
66
|
-
Stepdown::Graph.const_set(:BLUFF_DEFAULT_OPTIONS, "DEFAULT")
|
67
|
-
expected_graph = <<-GRAPH
|
68
|
-
DEFAULT
|
69
|
-
g.title = 'Stepdown';
|
70
|
-
g.data('Total scenarios', [690]);
|
71
|
-
g.data('Total steps', [533]);
|
72
|
-
g.data('Total steps per scenario', [12.50]);
|
73
|
-
g.data('Total unused steps', [123]);
|
74
|
-
g.labels = {"0":"12 / 6"};
|
75
|
-
g.draw();
|
76
|
-
GRAPH
|
77
|
-
Stepdown::Graph.create_graph.string.should == expected_graph
|
78
|
-
|
41
|
+
it "should load correctly" do
|
42
|
+
Stepdown.output_directory = File.dirname(__FILE__) + '/../../fixtures'
|
43
|
+
stats = @fixture.load_stats
|
44
|
+
stats.should == [{:number_scenarios=>[685],
|
45
|
+
:total_steps=>[531],
|
46
|
+
:steps_per_scenario=>["12.91"],
|
47
|
+
:label=>"11 / 6",
|
48
|
+
:unused_steps=>[123]},
|
49
|
+
{:number_scenarios=>[690],
|
50
|
+
:total_steps=>[533],
|
51
|
+
:steps_per_scenario=>["12.50"],
|
52
|
+
:label=>"12 / 6",
|
53
|
+
:unused_steps=>[123]}]
|
54
|
+
|
55
|
+
stats.length.should == 2
|
79
56
|
end
|
80
|
-
end
|
81
57
|
|
82
|
-
end
|
58
|
+
end
|
59
|
+
end
|
data/stepdown.gemspec
CHANGED
@@ -17,8 +17,9 @@ Gem::Specification.new do |s|
|
|
17
17
|
|
18
18
|
s.add_dependency('gherkin', '> 2.3')
|
19
19
|
s.add_dependency('bundler', '> 1.0')
|
20
|
-
s.
|
21
|
-
s.add_development_dependency('
|
20
|
+
s.add_dependency('googlecharts', '~> 1.6.0')
|
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
|
|
24
25
|
s.files = `git ls-files`.split("\n")
|
metadata
CHANGED
@@ -1,80 +1,122 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: stepdown
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 13
|
5
5
|
prerelease:
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 6
|
9
|
+
- 5
|
10
|
+
version: 0.6.5
|
6
11
|
platform: ruby
|
7
|
-
authors:
|
12
|
+
authors:
|
8
13
|
- Sean Caffery
|
9
14
|
autorequire:
|
10
15
|
bindir: bin
|
11
16
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
17
|
+
|
18
|
+
date: 2012-02-20 00:00:00 Z
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
15
21
|
name: gherkin
|
16
|
-
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
17
24
|
none: false
|
18
|
-
requirements:
|
19
|
-
- -
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
|
25
|
+
requirements:
|
26
|
+
- - ">"
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
hash: 5
|
29
|
+
segments:
|
30
|
+
- 2
|
31
|
+
- 3
|
32
|
+
version: "2.3"
|
22
33
|
type: :runtime
|
23
|
-
|
24
|
-
|
25
|
-
- !ruby/object:Gem::Dependency
|
34
|
+
version_requirements: *id001
|
35
|
+
- !ruby/object:Gem::Dependency
|
26
36
|
name: bundler
|
27
|
-
|
37
|
+
prerelease: false
|
38
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
28
39
|
none: false
|
29
|
-
requirements:
|
30
|
-
- -
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
|
40
|
+
requirements:
|
41
|
+
- - ">"
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
hash: 15
|
44
|
+
segments:
|
45
|
+
- 1
|
46
|
+
- 0
|
47
|
+
version: "1.0"
|
33
48
|
type: :runtime
|
49
|
+
version_requirements: *id002
|
50
|
+
- !ruby/object:Gem::Dependency
|
51
|
+
name: googlecharts
|
34
52
|
prerelease: false
|
35
|
-
|
36
|
-
- !ruby/object:Gem::Dependency
|
37
|
-
name: rspec
|
38
|
-
requirement: &81591500 !ruby/object:Gem::Requirement
|
53
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
39
54
|
none: false
|
40
|
-
requirements:
|
55
|
+
requirements:
|
41
56
|
- - ~>
|
42
|
-
- !ruby/object:Gem::Version
|
43
|
-
|
44
|
-
|
57
|
+
- !ruby/object:Gem::Version
|
58
|
+
hash: 15
|
59
|
+
segments:
|
60
|
+
- 1
|
61
|
+
- 6
|
62
|
+
- 0
|
63
|
+
version: 1.6.0
|
64
|
+
type: :runtime
|
65
|
+
version_requirements: *id003
|
66
|
+
- !ruby/object:Gem::Dependency
|
67
|
+
name: rspec
|
45
68
|
prerelease: false
|
46
|
-
|
47
|
-
- !ruby/object:Gem::Dependency
|
48
|
-
name: sass
|
49
|
-
requirement: &81590960 !ruby/object:Gem::Requirement
|
69
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
50
70
|
none: false
|
51
|
-
requirements:
|
52
|
-
- -
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
|
71
|
+
requirements:
|
72
|
+
- - ">"
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
hash: 9
|
75
|
+
segments:
|
76
|
+
- 2
|
77
|
+
- 5
|
78
|
+
version: "2.5"
|
55
79
|
type: :development
|
80
|
+
version_requirements: *id004
|
81
|
+
- !ruby/object:Gem::Dependency
|
82
|
+
name: sass
|
56
83
|
prerelease: false
|
57
|
-
|
58
|
-
- !ruby/object:Gem::Dependency
|
59
|
-
name: rake
|
60
|
-
requirement: &81590440 !ruby/object:Gem::Requirement
|
84
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
61
85
|
none: false
|
62
|
-
requirements:
|
63
|
-
- -
|
64
|
-
- !ruby/object:Gem::Version
|
65
|
-
|
86
|
+
requirements:
|
87
|
+
- - ">"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
hash: 5
|
90
|
+
segments:
|
91
|
+
- 3
|
92
|
+
- 1
|
93
|
+
version: "3.1"
|
66
94
|
type: :development
|
95
|
+
version_requirements: *id005
|
96
|
+
- !ruby/object:Gem::Dependency
|
97
|
+
name: rake
|
67
98
|
prerelease: false
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
99
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
100
|
+
none: false
|
101
|
+
requirements:
|
102
|
+
- - ">="
|
103
|
+
- !ruby/object:Gem::Version
|
104
|
+
hash: 3
|
105
|
+
segments:
|
106
|
+
- 0
|
107
|
+
version: "0"
|
108
|
+
type: :development
|
109
|
+
version_requirements: *id006
|
110
|
+
description: Stepdown allows you to see where your most used Cucumber steps are, your unused steps and how they are clustered
|
111
|
+
email:
|
72
112
|
- sean@lineonpoint.com
|
73
|
-
executables:
|
113
|
+
executables:
|
74
114
|
- stepdown
|
75
115
|
extensions: []
|
116
|
+
|
76
117
|
extra_rdoc_files: []
|
77
|
-
|
118
|
+
|
119
|
+
files:
|
78
120
|
- .gitignore
|
79
121
|
- .rspec
|
80
122
|
- .travis.yml
|
@@ -86,7 +128,9 @@ files:
|
|
86
128
|
- bin/stepdown
|
87
129
|
- lib/stepdown.rb
|
88
130
|
- lib/stepdown/analyzer.rb
|
131
|
+
- lib/stepdown/bluff_graph.rb
|
89
132
|
- lib/stepdown/feature_parser.rb
|
133
|
+
- lib/stepdown/google_chart.rb
|
90
134
|
- lib/stepdown/graph.rb
|
91
135
|
- lib/stepdown/html_reporter.rb
|
92
136
|
- lib/stepdown/options.rb
|
@@ -110,6 +154,7 @@ files:
|
|
110
154
|
- spec/fixtures/20110611.yml
|
111
155
|
- spec/fixtures/20110612.yml
|
112
156
|
- spec/lib/stepdown/analyzer_spec.rb
|
157
|
+
- spec/lib/stepdown/bluff_graph_spec.rb
|
113
158
|
- spec/lib/stepdown/feature_parser_spec.rb
|
114
159
|
- spec/lib/stepdown/graph_spec.rb
|
115
160
|
- spec/lib/stepdown/options_spec.rb
|
@@ -128,26 +173,40 @@ files:
|
|
128
173
|
- templates/style.sass
|
129
174
|
homepage: http://stepdown.lineonpoint.com
|
130
175
|
licenses: []
|
176
|
+
|
131
177
|
post_install_message:
|
132
178
|
rdoc_options: []
|
133
|
-
|
179
|
+
|
180
|
+
require_paths:
|
134
181
|
- lib
|
135
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
182
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
136
183
|
none: false
|
137
|
-
requirements:
|
138
|
-
- -
|
139
|
-
- !ruby/object:Gem::Version
|
184
|
+
requirements:
|
185
|
+
- - ">="
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
hash: 57
|
188
|
+
segments:
|
189
|
+
- 1
|
190
|
+
- 8
|
191
|
+
- 7
|
140
192
|
version: 1.8.7
|
141
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
193
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
142
194
|
none: false
|
143
|
-
requirements:
|
144
|
-
- -
|
145
|
-
- !ruby/object:Gem::Version
|
195
|
+
requirements:
|
196
|
+
- - ">="
|
197
|
+
- !ruby/object:Gem::Version
|
198
|
+
hash: 23
|
199
|
+
segments:
|
200
|
+
- 1
|
201
|
+
- 3
|
202
|
+
- 6
|
146
203
|
version: 1.3.6
|
147
204
|
requirements: []
|
205
|
+
|
148
206
|
rubyforge_project: stepdown
|
149
|
-
rubygems_version: 1.8.
|
207
|
+
rubygems_version: 1.8.10
|
150
208
|
signing_key:
|
151
209
|
specification_version: 3
|
152
210
|
summary: Static analysis tool for Cucumber features
|
153
211
|
test_files: []
|
212
|
+
|