hexx-suit 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.rubocop.yml +71 -0
- data/.yardopts +3 -0
- data/Guardfile +29 -0
- data/LICENSE +21 -0
- data/README.md +164 -0
- data/Rakefile +18 -0
- data/bin/hexx-suit +14 -0
- data/config/initializers/focus.rb +5 -0
- data/config/initializers/garbage_collection.rb +11 -0
- data/config/initializers/i18n.rb +3 -0
- data/config/initializers/metric_fu.rb +0 -0
- data/config/initializers/random_order.rb +4 -0
- data/config/initializers/rspec.rb +11 -0
- data/lib/hexx-suit.rb +16 -0
- data/lib/hexx/suit.rb +101 -0
- data/lib/hexx/suit/install.rb +85 -0
- data/lib/hexx/suit/install/Guardfile +6 -0
- data/lib/hexx/suit/install/Rakefile +17 -0
- data/lib/hexx/suit/install/_metrics +5 -0
- data/lib/hexx/suit/install/_rspec +2 -0
- data/lib/hexx/suit/install/_rubocop.yml +74 -0
- data/lib/hexx/suit/install/_yardopts +2 -0
- data/lib/hexx/suit/install/metrics/STYLEGUIDE +230 -0
- data/lib/hexx/suit/install/metrics/cane.yml +5 -0
- data/lib/hexx/suit/install/metrics/churn.yml +6 -0
- data/lib/hexx/suit/install/metrics/flay.yml +2 -0
- data/lib/hexx/suit/install/metrics/metric_fu.yml +15 -0
- data/lib/hexx/suit/install/metrics/pippi.yml +3 -0
- data/lib/hexx/suit/install/metrics/reek.yml +1 -0
- data/lib/hexx/suit/install/metrics/roodi.yml +24 -0
- data/lib/hexx/suit/install/metrics/rubocop.yml +79 -0
- data/lib/hexx/suit/install/metrics/saikuro.yml +3 -0
- data/lib/hexx/suit/install/metrics/simplecov.yml +8 -0
- data/lib/hexx/suit/install/metrics/yardstick.yml +37 -0
- data/lib/hexx/suit/metrics/base.rb +96 -0
- data/lib/hexx/suit/metrics/metric_fu.rb +165 -0
- data/lib/hexx/suit/metrics/metric_fu/base.rb +59 -0
- data/lib/hexx/suit/metrics/metric_fu/cane.rb +24 -0
- data/lib/hexx/suit/metrics/metric_fu/churn.rb +24 -0
- data/lib/hexx/suit/metrics/metric_fu/flay.rb +24 -0
- data/lib/hexx/suit/metrics/metric_fu/reek.rb +32 -0
- data/lib/hexx/suit/metrics/metric_fu/roodi.rb +32 -0
- data/lib/hexx/suit/metrics/metric_fu/saikuro.rb +24 -0
- data/lib/hexx/suit/metrics/pippi.rb +89 -0
- data/lib/hexx/suit/metrics/rubocop.rb +39 -0
- data/lib/hexx/suit/metrics/simplecov.rb +119 -0
- data/lib/hexx/suit/metrics/yardstick.rb +91 -0
- data/lib/hexx/suit/utils/system.rb +66 -0
- data/lib/hexx/suit/version.rb +7 -0
- data/lib/tasks/check.rake +32 -0
- data/lib/tasks/check/coverage.rake +27 -0
- data/lib/tasks/check/fu.rake +27 -0
- data/lib/tasks/check/inch.rake +11 -0
- data/lib/tasks/check/pippi.rake +31 -0
- data/lib/tasks/check/rubocop.rake +39 -0
- data/lib/tasks/check/yardstick.rake +27 -0
- data/lib/tasks/debug.rake +6 -0
- data/lib/tasks/test.rake +6 -0
- data/spec/spec_helper.rb +10 -0
- data/spec/support/config/sandbox.rb +16 -0
- data/spec/support/config/tasks.rb +32 -0
- data/spec/support/sandbox/helpers.rb +62 -0
- data/spec/support/sandbox/matchers.rb +21 -0
- data/spec/tests/bin/install_spec.rb +29 -0
- data/spec/tests/lib/install_spec.rb +34 -0
- data/spec/tests/lib/metrics/metric_fu/cane_spec.rb +32 -0
- data/spec/tests/lib/metrics/metric_fu/churn_spec.rb +31 -0
- data/spec/tests/lib/metrics/metric_fu/flay_spec.rb +27 -0
- data/spec/tests/lib/metrics/metric_fu/reek_spec.rb +22 -0
- data/spec/tests/lib/metrics/metric_fu/roodi_spec.rb +22 -0
- data/spec/tests/lib/metrics/metric_fu/saikuro_spec.rb +30 -0
- data/spec/tests/lib/metrics/metric_fu_spec.rb +181 -0
- data/spec/tests/lib/metrics/pippi_spec.rb +102 -0
- data/spec/tests/lib/metrics/rubocop_spec.rb +58 -0
- data/spec/tests/lib/metrics/simplecov_spec.rb +102 -0
- data/spec/tests/lib/metrics/yardstick_spec.rb +110 -0
- data/spec/tests/lib/utils/system_spec.rb +85 -0
- data/spec/tests/suit_spec.rb +96 -0
- data/spec/tests/tasks/check/coverage/display_spec.rb +49 -0
- data/spec/tests/tasks/check/coverage/run_spec.rb +25 -0
- data/spec/tests/tasks/check/coverage_spec.rb +26 -0
- data/spec/tests/tasks/check/display_spec.rb +50 -0
- data/spec/tests/tasks/check/fu/display_spec.rb +42 -0
- data/spec/tests/tasks/check/fu/run_spec.rb +42 -0
- data/spec/tests/tasks/check/fu_spec.rb +18 -0
- data/spec/tests/tasks/check/inch_spec.rb +19 -0
- data/spec/tests/tasks/check/pippi/display_spec.rb +47 -0
- data/spec/tests/tasks/check/pippi/run_spec.rb +25 -0
- data/spec/tests/tasks/check/pippi_spec.rb +26 -0
- data/spec/tests/tasks/check/rubocop/display_spec.rb +61 -0
- data/spec/tests/tasks/check/rubocop/run_spec.rb +78 -0
- data/spec/tests/tasks/check/rubocop_spec.rb +26 -0
- data/spec/tests/tasks/check/run_spec.rb +44 -0
- data/spec/tests/tasks/check/yardstick/display_spec.rb +51 -0
- data/spec/tests/tasks/check/yardstick/run_spec.rb +20 -0
- data/spec/tests/tasks/check/yardstick_spec.rb +26 -0
- data/spec/tests/tasks/check_spec.rb +56 -0
- data/spec/tests/tasks/debug_spec.rb +21 -0
- data/spec/tests/tasks/test_spec.rb +21 -0
- metadata +414 -0
@@ -0,0 +1,78 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
describe "Rake::Task['check:rubocop:run']", :tasks do
|
4
|
+
|
5
|
+
# The {#commands} variable is defined in the spec/support/config/tasks.rb
|
6
|
+
# It collects the list of commands, that has been sent to system by
|
7
|
+
# any instance of Hexx::Suit::Utils::System utility.
|
8
|
+
|
9
|
+
let(:task) { Rake::Task["check:rubocop:run"] }
|
10
|
+
|
11
|
+
shared_context "without rubocop.yml" do
|
12
|
+
|
13
|
+
let(:options) do
|
14
|
+
{
|
15
|
+
"output" => "tmp/rubocop/index.html",
|
16
|
+
"format" => "html"
|
17
|
+
}
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
shared_context "with rubocop.yml" do
|
22
|
+
|
23
|
+
let(:options) do
|
24
|
+
{
|
25
|
+
"output" => "custom/rubocop.html",
|
26
|
+
"format" => "yml"
|
27
|
+
}
|
28
|
+
end
|
29
|
+
|
30
|
+
before { prepare_settings options, "config/metrics/rubocop.yml" }
|
31
|
+
end
|
32
|
+
|
33
|
+
shared_examples "metric loader" do
|
34
|
+
|
35
|
+
after { subject }
|
36
|
+
|
37
|
+
it "[loads rubocop]" do
|
38
|
+
expect(Hexx::Suit::Metrics::Rubocop).to receive :load
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
shared_examples "metric runner" do
|
43
|
+
|
44
|
+
let(:command) do
|
45
|
+
%W(
|
46
|
+
rubocop
|
47
|
+
-f #{ options['format'] }
|
48
|
+
-o #{ options['output'] }
|
49
|
+
-c config/metrics/rubocop.yml
|
50
|
+
).join(" ")
|
51
|
+
end
|
52
|
+
|
53
|
+
it "[runs rubocop]" do
|
54
|
+
expect { subject }.to change { commands }.to [command]
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
describe ".invoke", :sandbox do
|
59
|
+
|
60
|
+
subject { try_in_sandbox { task.invoke } }
|
61
|
+
|
62
|
+
context "when .metrics.yml is absent" do
|
63
|
+
|
64
|
+
include_context "without rubocop.yml"
|
65
|
+
|
66
|
+
it_behaves_like "metric loader"
|
67
|
+
it_behaves_like "metric runner"
|
68
|
+
end
|
69
|
+
|
70
|
+
context "when .metrics.yml is present" do
|
71
|
+
|
72
|
+
include_context "with rubocop.yml"
|
73
|
+
|
74
|
+
it_behaves_like "metric loader"
|
75
|
+
it_behaves_like "metric runner"
|
76
|
+
end
|
77
|
+
end
|
78
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
describe "Rake::Task['check:rubocop']", :tasks do
|
4
|
+
|
5
|
+
# The {#task_invoked?} helper is defined in the spec/support/config/tasks.rb
|
6
|
+
# It checks if a task has been invoked.
|
7
|
+
|
8
|
+
let(:task) { Rake::Task["check:rubocop"] }
|
9
|
+
|
10
|
+
describe ".invoke", :sandbox do
|
11
|
+
|
12
|
+
subject { try_in_sandbox { task.invoke } }
|
13
|
+
|
14
|
+
it "invokes check:rubocop:run" do
|
15
|
+
expect { subject }
|
16
|
+
.to change { task_invoked? "check:rubocop:run" }
|
17
|
+
.to(true)
|
18
|
+
end
|
19
|
+
|
20
|
+
it "invokes check:rubocop:display" do
|
21
|
+
expect { subject }
|
22
|
+
.to change { task_invoked? "check:rubocop:display" }
|
23
|
+
.to(true)
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
@@ -0,0 +1,44 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
describe "Rake::Task['check:run']", :tasks do
|
4
|
+
|
5
|
+
# The {#task_invoked?} helper is defined in the spec/support/config/tasks.rb
|
6
|
+
# It checks if a task has been invoked.
|
7
|
+
|
8
|
+
let(:task) { Rake::Task["check:run"] }
|
9
|
+
|
10
|
+
describe ".invoke", :sandbox do
|
11
|
+
|
12
|
+
subject { try_in_sandbox { task.invoke } }
|
13
|
+
|
14
|
+
it "invokes check:pippi:run" do
|
15
|
+
expect { subject }
|
16
|
+
.to change { task_invoked? "check:pippi:run" }
|
17
|
+
.to(true)
|
18
|
+
end
|
19
|
+
|
20
|
+
it "invokes check:coverage:run" do
|
21
|
+
expect { subject }
|
22
|
+
.to change { task_invoked? "check:coverage:run" }
|
23
|
+
.to(true)
|
24
|
+
end
|
25
|
+
|
26
|
+
it "invokes check:rubocop:run" do
|
27
|
+
expect { subject }
|
28
|
+
.to change { task_invoked? "check:rubocop:run" }
|
29
|
+
.to(true)
|
30
|
+
end
|
31
|
+
|
32
|
+
it "invokes check:fu:run" do
|
33
|
+
expect { subject }
|
34
|
+
.to change { task_invoked? "check:fu:run" }
|
35
|
+
.to(true)
|
36
|
+
end
|
37
|
+
|
38
|
+
it "invokes check:yardstick:run" do
|
39
|
+
expect { subject }
|
40
|
+
.to change { task_invoked? "check:yardstick:run" }
|
41
|
+
.to(true)
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
@@ -0,0 +1,51 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
describe "Rake::Task['check:yardstick:display']", :tasks do
|
4
|
+
|
5
|
+
# The {#commands} variable is defined in the spec/support/config/tasks.rb
|
6
|
+
# It collects the list of commands, that has been sent to system by
|
7
|
+
# any instance of Hexx::Suit::Utils::System utility.
|
8
|
+
|
9
|
+
let(:metric) { Hexx::Suit::Metrics::Yardstick }
|
10
|
+
let(:task) { Rake::Task["check:yardstick:display"] }
|
11
|
+
|
12
|
+
describe ".invoke", :sandbox do
|
13
|
+
|
14
|
+
subject { try_in_sandbox { task.invoke } }
|
15
|
+
|
16
|
+
context "when '.metrics.yml' is absent" do
|
17
|
+
|
18
|
+
it "loads the metric" do
|
19
|
+
expect(metric).to receive :load
|
20
|
+
subject
|
21
|
+
end
|
22
|
+
|
23
|
+
it "prepares the output file and displays it" do
|
24
|
+
expect { subject }.to change { commands }.to [
|
25
|
+
"mkdir tmp/yardstick -p",
|
26
|
+
"touch tmp/yardstick/output.log",
|
27
|
+
"cat tmp/yardstick/output.log"
|
28
|
+
]
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
32
|
+
context "when '.metrics.yml' is present" do
|
33
|
+
|
34
|
+
let(:options) { { "output" => "custom/yardstick.log" } }
|
35
|
+
before { prepare_settings options, "config/metrics/yardstick.yml" }
|
36
|
+
|
37
|
+
it "loads the metric" do
|
38
|
+
expect(metric).to receive :load
|
39
|
+
subject
|
40
|
+
end
|
41
|
+
|
42
|
+
it "uses the output" do
|
43
|
+
expect { subject }.to change { commands }.to [
|
44
|
+
"mkdir custom -p",
|
45
|
+
"touch custom/yardstick.log",
|
46
|
+
"cat custom/yardstick.log"
|
47
|
+
]
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
describe "Rake::Task['check:yardstick:run']", :tasks do
|
4
|
+
|
5
|
+
let(:metric) { Hexx::Suit::Metrics::Yardstick }
|
6
|
+
let(:task) { Rake::Task["check:yardstick:run"] }
|
7
|
+
|
8
|
+
describe ".invoke", :sandbox do
|
9
|
+
|
10
|
+
subject { try_in_sandbox { task.invoke } }
|
11
|
+
|
12
|
+
context "always" do
|
13
|
+
|
14
|
+
it "runs the metric" do
|
15
|
+
expect(metric).to receive(:run)
|
16
|
+
subject
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
describe "Rake::Task['check:yardstick']", :tasks do
|
4
|
+
|
5
|
+
# The {#task_invoked?} helper is defined in the spec/support/config/tasks.rb
|
6
|
+
# It checks if a task has been invoked.
|
7
|
+
|
8
|
+
let(:task) { Rake::Task["check:yardstick"] }
|
9
|
+
|
10
|
+
describe ".invoke", :sandbox do
|
11
|
+
|
12
|
+
subject { try_in_sandbox { task.invoke } }
|
13
|
+
|
14
|
+
it "invokes check:yardstick:run" do
|
15
|
+
expect { subject }
|
16
|
+
.to change { task_invoked? "check:yardstick:run" }
|
17
|
+
.to(true)
|
18
|
+
end
|
19
|
+
|
20
|
+
it "invokes check:yardstick:display" do
|
21
|
+
expect { subject }
|
22
|
+
.to change { task_invoked? "check:yardstick:display" }
|
23
|
+
.to(true)
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
@@ -0,0 +1,56 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
describe "Rake::Task[:check]", :tasks do
|
4
|
+
|
5
|
+
# The {#task_invoked?} helper is defined in the spec/support/config/tasks.rb
|
6
|
+
# It checks if a task has been invoked.
|
7
|
+
|
8
|
+
let(:task) { Rake::Task[:check] }
|
9
|
+
|
10
|
+
describe ".invoke", :sandbox do
|
11
|
+
|
12
|
+
subject { try_in_sandbox { task.invoke } }
|
13
|
+
|
14
|
+
it "invokes check:pippi:configure" do
|
15
|
+
expect { subject }
|
16
|
+
.to change { task_invoked? "check:pippi:configure" }
|
17
|
+
.to(true)
|
18
|
+
end
|
19
|
+
|
20
|
+
it "invokes check:pippi:display" do
|
21
|
+
expect { subject }
|
22
|
+
.to change { task_invoked? "check:pippi:display" }
|
23
|
+
.to(true)
|
24
|
+
end
|
25
|
+
|
26
|
+
it "invokes check:coverage" do
|
27
|
+
expect { subject }
|
28
|
+
.to change { task_invoked? "check:coverage" }
|
29
|
+
.to(true)
|
30
|
+
end
|
31
|
+
|
32
|
+
it "invokes check:rubocop" do
|
33
|
+
expect { subject }
|
34
|
+
.to change { task_invoked? "check:rubocop" }
|
35
|
+
.to(true)
|
36
|
+
end
|
37
|
+
|
38
|
+
it "invokes check:fu" do
|
39
|
+
expect { subject }
|
40
|
+
.to change { task_invoked? "check:fu" }
|
41
|
+
.to(true)
|
42
|
+
end
|
43
|
+
|
44
|
+
it "invokes check:inch" do
|
45
|
+
expect { subject }
|
46
|
+
.to change { task_invoked? "check:inch" }
|
47
|
+
.to(true)
|
48
|
+
end
|
49
|
+
|
50
|
+
it "invokes check:yardstick" do
|
51
|
+
expect { subject }
|
52
|
+
.to change { task_invoked? "check:yardstick" }
|
53
|
+
.to(true)
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
describe "Rake::Task[:debug]", :tasks do
|
4
|
+
|
5
|
+
# The {#commands} variable is defined in the spec/support/config/tasks.rb
|
6
|
+
# It collects the list of commands, that has been sent to system by
|
7
|
+
# any instance of Hexx::Suit::Utils::System utility.
|
8
|
+
|
9
|
+
let(:task) { Rake::Task[:debug] }
|
10
|
+
|
11
|
+
describe ".invoke", :sandbox do
|
12
|
+
|
13
|
+
subject { try_in_sandbox { task.invoke } }
|
14
|
+
|
15
|
+
it "runs tests under pry rescue" do
|
16
|
+
expect { subject }.to change { commands }.to [
|
17
|
+
"bundle exec rescue rspec spec"
|
18
|
+
]
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
describe "Rake::Task[:test]", :tasks do
|
4
|
+
|
5
|
+
# The {#commands} variable is defined in the spec/support/config/tasks.rb
|
6
|
+
# It collects the list of commands, that has been sent to system by
|
7
|
+
# any instance of Hexx::Suit::Utils::System utility.
|
8
|
+
|
9
|
+
let(:task) { Rake::Task[:test] }
|
10
|
+
|
11
|
+
describe ".invoke", :sandbox do
|
12
|
+
|
13
|
+
subject { try_in_sandbox { task.invoke } }
|
14
|
+
|
15
|
+
it "runs tests" do
|
16
|
+
expect { subject }.to change { commands }.to [
|
17
|
+
"bundle exec rspec spec"
|
18
|
+
]
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
metadata
ADDED
@@ -0,0 +1,414 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: hexx-suit
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Andrew Kozin
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-02-22 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: coveralls
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0.7'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0.7'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: guard-rspec
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '4.3'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '4.3'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: i18n
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0.7'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0.7'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: inch
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0.5'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0.5'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: metric_fu
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '4.11'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '4.11'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: mutant
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0.7'
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0.7'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: pippi
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0.0'
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0.0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: pry
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0.10'
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0.10'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: pry-byebug
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '3.0'
|
132
|
+
type: :runtime
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - "~>"
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '3.0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: pry-rescue
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - "~>"
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '1.4'
|
146
|
+
type: :runtime
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - "~>"
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '1.4'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: pry-stack_explorer
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - "~>"
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0.4'
|
160
|
+
type: :runtime
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - "~>"
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0.4'
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: rake
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - "~>"
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '10.3'
|
174
|
+
type: :runtime
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - "~>"
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '10.3'
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: rspec
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - "~>"
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: '3.0'
|
188
|
+
type: :runtime
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - "~>"
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: '3.0'
|
195
|
+
- !ruby/object:Gem::Dependency
|
196
|
+
name: rubocop
|
197
|
+
requirement: !ruby/object:Gem::Requirement
|
198
|
+
requirements:
|
199
|
+
- - "~>"
|
200
|
+
- !ruby/object:Gem::Version
|
201
|
+
version: '0.23'
|
202
|
+
type: :runtime
|
203
|
+
prerelease: false
|
204
|
+
version_requirements: !ruby/object:Gem::Requirement
|
205
|
+
requirements:
|
206
|
+
- - "~>"
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: '0.23'
|
209
|
+
- !ruby/object:Gem::Dependency
|
210
|
+
name: thor
|
211
|
+
requirement: !ruby/object:Gem::Requirement
|
212
|
+
requirements:
|
213
|
+
- - "~>"
|
214
|
+
- !ruby/object:Gem::Version
|
215
|
+
version: '0.19'
|
216
|
+
type: :runtime
|
217
|
+
prerelease: false
|
218
|
+
version_requirements: !ruby/object:Gem::Requirement
|
219
|
+
requirements:
|
220
|
+
- - "~>"
|
221
|
+
- !ruby/object:Gem::Version
|
222
|
+
version: '0.19'
|
223
|
+
- !ruby/object:Gem::Dependency
|
224
|
+
name: yardstick
|
225
|
+
requirement: !ruby/object:Gem::Requirement
|
226
|
+
requirements:
|
227
|
+
- - "~>"
|
228
|
+
- !ruby/object:Gem::Version
|
229
|
+
version: '0.9'
|
230
|
+
type: :runtime
|
231
|
+
prerelease: false
|
232
|
+
version_requirements: !ruby/object:Gem::Requirement
|
233
|
+
requirements:
|
234
|
+
- - "~>"
|
235
|
+
- !ruby/object:Gem::Version
|
236
|
+
version: '0.9'
|
237
|
+
description: The module collects gems used for development and testing.
|
238
|
+
email: andrew.kozin@gmail.com
|
239
|
+
executables:
|
240
|
+
- hexx-suit
|
241
|
+
extensions: []
|
242
|
+
extra_rdoc_files:
|
243
|
+
- LICENSE
|
244
|
+
- README.md
|
245
|
+
- ".yardopts"
|
246
|
+
files:
|
247
|
+
- ".rubocop.yml"
|
248
|
+
- ".yardopts"
|
249
|
+
- Guardfile
|
250
|
+
- LICENSE
|
251
|
+
- README.md
|
252
|
+
- Rakefile
|
253
|
+
- bin/hexx-suit
|
254
|
+
- config/initializers/focus.rb
|
255
|
+
- config/initializers/garbage_collection.rb
|
256
|
+
- config/initializers/i18n.rb
|
257
|
+
- config/initializers/metric_fu.rb
|
258
|
+
- config/initializers/random_order.rb
|
259
|
+
- config/initializers/rspec.rb
|
260
|
+
- lib/hexx-suit.rb
|
261
|
+
- lib/hexx/suit.rb
|
262
|
+
- lib/hexx/suit/install.rb
|
263
|
+
- lib/hexx/suit/install/Guardfile
|
264
|
+
- lib/hexx/suit/install/Rakefile
|
265
|
+
- lib/hexx/suit/install/_metrics
|
266
|
+
- lib/hexx/suit/install/_rspec
|
267
|
+
- lib/hexx/suit/install/_rubocop.yml
|
268
|
+
- lib/hexx/suit/install/_yardopts
|
269
|
+
- lib/hexx/suit/install/metrics/STYLEGUIDE
|
270
|
+
- lib/hexx/suit/install/metrics/cane.yml
|
271
|
+
- lib/hexx/suit/install/metrics/churn.yml
|
272
|
+
- lib/hexx/suit/install/metrics/flay.yml
|
273
|
+
- lib/hexx/suit/install/metrics/metric_fu.yml
|
274
|
+
- lib/hexx/suit/install/metrics/pippi.yml
|
275
|
+
- lib/hexx/suit/install/metrics/reek.yml
|
276
|
+
- lib/hexx/suit/install/metrics/roodi.yml
|
277
|
+
- lib/hexx/suit/install/metrics/rubocop.yml
|
278
|
+
- lib/hexx/suit/install/metrics/saikuro.yml
|
279
|
+
- lib/hexx/suit/install/metrics/simplecov.yml
|
280
|
+
- lib/hexx/suit/install/metrics/yardstick.yml
|
281
|
+
- lib/hexx/suit/metrics/base.rb
|
282
|
+
- lib/hexx/suit/metrics/metric_fu.rb
|
283
|
+
- lib/hexx/suit/metrics/metric_fu/base.rb
|
284
|
+
- lib/hexx/suit/metrics/metric_fu/cane.rb
|
285
|
+
- lib/hexx/suit/metrics/metric_fu/churn.rb
|
286
|
+
- lib/hexx/suit/metrics/metric_fu/flay.rb
|
287
|
+
- lib/hexx/suit/metrics/metric_fu/reek.rb
|
288
|
+
- lib/hexx/suit/metrics/metric_fu/roodi.rb
|
289
|
+
- lib/hexx/suit/metrics/metric_fu/saikuro.rb
|
290
|
+
- lib/hexx/suit/metrics/pippi.rb
|
291
|
+
- lib/hexx/suit/metrics/rubocop.rb
|
292
|
+
- lib/hexx/suit/metrics/simplecov.rb
|
293
|
+
- lib/hexx/suit/metrics/yardstick.rb
|
294
|
+
- lib/hexx/suit/utils/system.rb
|
295
|
+
- lib/hexx/suit/version.rb
|
296
|
+
- lib/tasks/check.rake
|
297
|
+
- lib/tasks/check/coverage.rake
|
298
|
+
- lib/tasks/check/fu.rake
|
299
|
+
- lib/tasks/check/inch.rake
|
300
|
+
- lib/tasks/check/pippi.rake
|
301
|
+
- lib/tasks/check/rubocop.rake
|
302
|
+
- lib/tasks/check/yardstick.rake
|
303
|
+
- lib/tasks/debug.rake
|
304
|
+
- lib/tasks/test.rake
|
305
|
+
- spec/spec_helper.rb
|
306
|
+
- spec/support/config/sandbox.rb
|
307
|
+
- spec/support/config/tasks.rb
|
308
|
+
- spec/support/sandbox/helpers.rb
|
309
|
+
- spec/support/sandbox/matchers.rb
|
310
|
+
- spec/tests/bin/install_spec.rb
|
311
|
+
- spec/tests/lib/install_spec.rb
|
312
|
+
- spec/tests/lib/metrics/metric_fu/cane_spec.rb
|
313
|
+
- spec/tests/lib/metrics/metric_fu/churn_spec.rb
|
314
|
+
- spec/tests/lib/metrics/metric_fu/flay_spec.rb
|
315
|
+
- spec/tests/lib/metrics/metric_fu/reek_spec.rb
|
316
|
+
- spec/tests/lib/metrics/metric_fu/roodi_spec.rb
|
317
|
+
- spec/tests/lib/metrics/metric_fu/saikuro_spec.rb
|
318
|
+
- spec/tests/lib/metrics/metric_fu_spec.rb
|
319
|
+
- spec/tests/lib/metrics/pippi_spec.rb
|
320
|
+
- spec/tests/lib/metrics/rubocop_spec.rb
|
321
|
+
- spec/tests/lib/metrics/simplecov_spec.rb
|
322
|
+
- spec/tests/lib/metrics/yardstick_spec.rb
|
323
|
+
- spec/tests/lib/utils/system_spec.rb
|
324
|
+
- spec/tests/suit_spec.rb
|
325
|
+
- spec/tests/tasks/check/coverage/display_spec.rb
|
326
|
+
- spec/tests/tasks/check/coverage/run_spec.rb
|
327
|
+
- spec/tests/tasks/check/coverage_spec.rb
|
328
|
+
- spec/tests/tasks/check/display_spec.rb
|
329
|
+
- spec/tests/tasks/check/fu/display_spec.rb
|
330
|
+
- spec/tests/tasks/check/fu/run_spec.rb
|
331
|
+
- spec/tests/tasks/check/fu_spec.rb
|
332
|
+
- spec/tests/tasks/check/inch_spec.rb
|
333
|
+
- spec/tests/tasks/check/pippi/display_spec.rb
|
334
|
+
- spec/tests/tasks/check/pippi/run_spec.rb
|
335
|
+
- spec/tests/tasks/check/pippi_spec.rb
|
336
|
+
- spec/tests/tasks/check/rubocop/display_spec.rb
|
337
|
+
- spec/tests/tasks/check/rubocop/run_spec.rb
|
338
|
+
- spec/tests/tasks/check/rubocop_spec.rb
|
339
|
+
- spec/tests/tasks/check/run_spec.rb
|
340
|
+
- spec/tests/tasks/check/yardstick/display_spec.rb
|
341
|
+
- spec/tests/tasks/check/yardstick/run_spec.rb
|
342
|
+
- spec/tests/tasks/check/yardstick_spec.rb
|
343
|
+
- spec/tests/tasks/check_spec.rb
|
344
|
+
- spec/tests/tasks/debug_spec.rb
|
345
|
+
- spec/tests/tasks/test_spec.rb
|
346
|
+
homepage: https://github.com/nepalez/hexx
|
347
|
+
licenses:
|
348
|
+
- MIT
|
349
|
+
metadata: {}
|
350
|
+
post_install_message:
|
351
|
+
rdoc_options: []
|
352
|
+
require_paths:
|
353
|
+
- lib
|
354
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
355
|
+
requirements:
|
356
|
+
- - "~>"
|
357
|
+
- !ruby/object:Gem::Version
|
358
|
+
version: '2.1'
|
359
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
360
|
+
requirements:
|
361
|
+
- - ">="
|
362
|
+
- !ruby/object:Gem::Version
|
363
|
+
version: '0'
|
364
|
+
requirements: []
|
365
|
+
rubyforge_project:
|
366
|
+
rubygems_version: 2.2.2
|
367
|
+
signing_key:
|
368
|
+
specification_version: 4
|
369
|
+
summary: Test/development suit.
|
370
|
+
test_files:
|
371
|
+
- spec/spec_helper.rb
|
372
|
+
- spec/tests/lib/metrics/metric_fu/flay_spec.rb
|
373
|
+
- spec/tests/lib/metrics/metric_fu/cane_spec.rb
|
374
|
+
- spec/tests/lib/metrics/metric_fu/churn_spec.rb
|
375
|
+
- spec/tests/lib/metrics/metric_fu/reek_spec.rb
|
376
|
+
- spec/tests/lib/metrics/metric_fu/roodi_spec.rb
|
377
|
+
- spec/tests/lib/metrics/metric_fu/saikuro_spec.rb
|
378
|
+
- spec/tests/lib/metrics/pippi_spec.rb
|
379
|
+
- spec/tests/lib/metrics/simplecov_spec.rb
|
380
|
+
- spec/tests/lib/metrics/metric_fu_spec.rb
|
381
|
+
- spec/tests/lib/metrics/yardstick_spec.rb
|
382
|
+
- spec/tests/lib/metrics/rubocop_spec.rb
|
383
|
+
- spec/tests/lib/utils/system_spec.rb
|
384
|
+
- spec/tests/lib/install_spec.rb
|
385
|
+
- spec/tests/tasks/debug_spec.rb
|
386
|
+
- spec/tests/tasks/test_spec.rb
|
387
|
+
- spec/tests/tasks/check_spec.rb
|
388
|
+
- spec/tests/tasks/check/fu_spec.rb
|
389
|
+
- spec/tests/tasks/check/pippi_spec.rb
|
390
|
+
- spec/tests/tasks/check/run_spec.rb
|
391
|
+
- spec/tests/tasks/check/rubocop/run_spec.rb
|
392
|
+
- spec/tests/tasks/check/rubocop/display_spec.rb
|
393
|
+
- spec/tests/tasks/check/pippi/run_spec.rb
|
394
|
+
- spec/tests/tasks/check/pippi/display_spec.rb
|
395
|
+
- spec/tests/tasks/check/display_spec.rb
|
396
|
+
- spec/tests/tasks/check/yardstick/run_spec.rb
|
397
|
+
- spec/tests/tasks/check/yardstick/display_spec.rb
|
398
|
+
- spec/tests/tasks/check/coverage/run_spec.rb
|
399
|
+
- spec/tests/tasks/check/coverage/display_spec.rb
|
400
|
+
- spec/tests/tasks/check/yardstick_spec.rb
|
401
|
+
- spec/tests/tasks/check/fu/run_spec.rb
|
402
|
+
- spec/tests/tasks/check/fu/display_spec.rb
|
403
|
+
- spec/tests/tasks/check/coverage_spec.rb
|
404
|
+
- spec/tests/tasks/check/rubocop_spec.rb
|
405
|
+
- spec/tests/tasks/check/inch_spec.rb
|
406
|
+
- spec/tests/suit_spec.rb
|
407
|
+
- spec/tests/bin/install_spec.rb
|
408
|
+
- spec/support/config/sandbox.rb
|
409
|
+
- spec/support/config/tasks.rb
|
410
|
+
- spec/support/sandbox/matchers.rb
|
411
|
+
- spec/support/sandbox/helpers.rb
|
412
|
+
- Rakefile
|
413
|
+
- Guardfile
|
414
|
+
has_rdoc:
|