hexx-suit 0.2.2 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.coveralls.yml +1 -0
- data/.travis.yml +4 -9
- data/Gemfile +5 -6
- data/README.md +35 -26
- data/Rakefile +5 -6
- data/{lib/hexx/suit/install → config}/metrics/simplecov.yml +0 -0
- data/hexx-suit.gemspec +1 -6
- data/lib/hexx/suit/install/Guardfile +14 -5
- data/lib/hexx/suit/install/_rubocop.yml +1 -0
- data/lib/hexx/suit/install/_yardopts +1 -0
- data/lib/hexx/suit/install.rb +15 -46
- data/lib/hexx/suit/metrics/metric_fu/base.rb +15 -7
- data/lib/hexx/suit/metrics/metric_fu/cane.rb +1 -1
- data/lib/hexx/suit/metrics/metric_fu/churn.rb +1 -1
- data/lib/hexx/suit/metrics/metric_fu/flay.rb +1 -1
- data/lib/hexx/suit/metrics/metric_fu/reek.rb +1 -1
- data/lib/hexx/suit/metrics/metric_fu/roodi.rb +1 -1
- data/lib/hexx/suit/metrics/metric_fu/saikuro.rb +1 -1
- data/lib/hexx/suit/metrics/metric_fu.rb +1 -1
- data/lib/hexx/suit/metrics/rubocop.rb +1 -1
- data/lib/hexx/suit/metrics/yardstick.rb +1 -1
- data/lib/hexx/suit/metrics.rb +0 -3
- data/lib/hexx/suit/version.rb +7 -1
- data/lib/hexx/suit.rb +14 -67
- data/lib/hexx-suit.rb +10 -14
- data/lib/tasks/check/coverage.rake +2 -2
- data/lib/tasks/check/fu.rake +1 -1
- data/lib/tasks/check/inch.rake +1 -1
- data/lib/tasks/check/rubocop.rake +1 -1
- data/lib/tasks/check/yardstick.rake +1 -1
- data/lib/tasks/check.rake +9 -11
- data/lib/tasks/debug.rake +1 -1
- data/lib/tasks/test.rake +1 -1
- data/spec/spec_helper.rb +8 -6
- data/spec/support/config/tasks.rb +1 -1
- data/spec/tests/bin/install_spec.rb +22 -25
- data/spec/tests/lib/install_spec.rb +0 -4
- data/spec/tests/suit_spec.rb +7 -55
- data/spec/tests/tasks/check/coverage/display_spec.rb +2 -2
- data/spec/tests/tasks/check/coverage/run_spec.rb +2 -2
- data/spec/tests/tasks/check/display_spec.rb +0 -6
- data/spec/tests/tasks/check/fu/display_spec.rb +1 -1
- data/spec/tests/tasks/check/fu/run_spec.rb +1 -1
- data/spec/tests/tasks/check/inch_spec.rb +1 -1
- data/spec/tests/tasks/check/rubocop/display_spec.rb +1 -1
- data/spec/tests/tasks/check/rubocop/run_spec.rb +1 -1
- data/spec/tests/tasks/check/run_spec.rb +0 -6
- data/spec/tests/tasks/check/yardstick/display_spec.rb +1 -1
- data/spec/tests/tasks/check_spec.rb +0 -12
- data/spec/tests/tasks/debug_spec.rb +1 -1
- metadata +6 -103
- data/config/initializers/focus.rb +0 -5
- data/config/initializers/garbage_collection.rb +0 -11
- data/config/initializers/i18n.rb +0 -3
- data/config/initializers/random_order.rb +0 -4
- data/config/initializers/rspec.rb +0 -11
- data/lib/hexx/suit/install/Rakefile +0 -17
- data/lib/hexx/suit/install/_rspec +0 -2
- data/lib/hexx/suit/install/metrics/pippi.yml +0 -3
- data/lib/hexx/suit/metrics/base.rb +0 -88
- data/lib/hexx/suit/metrics/pippi.rb +0 -89
- data/lib/hexx/suit/metrics/simplecov.rb +0 -119
- data/lib/hexx/suit/utils/system.rb +0 -66
- data/lib/tasks/check/pippi.rake +0 -33
- data/spec/tests/lib/metrics/pippi_spec.rb +0 -104
- data/spec/tests/lib/metrics/simplecov_spec.rb +0 -102
- data/spec/tests/lib/utils/system_spec.rb +0 -85
- data/spec/tests/tasks/check/pippi/display_spec.rb +0 -48
- data/spec/tests/tasks/check/pippi/run_spec.rb +0 -26
- data/spec/tests/tasks/check/pippi_spec.rb +0 -27
- data/spec/tests/tasks/test_spec.rb +0 -21
@@ -1,8 +1,8 @@
|
|
1
1
|
namespace :check do
|
2
2
|
namespace :coverage do
|
3
3
|
|
4
|
-
metric = Hexx::
|
5
|
-
caller = Hexx::
|
4
|
+
metric = Hexx::RSpec::Metrics::SimpleCov
|
5
|
+
caller = Hexx::RSpec::System
|
6
6
|
output = -> { ENV.fetch("SIMPLECOV_OUTPUT") { "coveralls/index.html" } }
|
7
7
|
|
8
8
|
# Loads settings for simplecov from the '.hexx-suit.yml'
|
data/lib/tasks/check/fu.rake
CHANGED
data/lib/tasks/check/inch.rake
CHANGED
@@ -2,7 +2,7 @@ namespace :check do
|
|
2
2
|
namespace :rubocop do
|
3
3
|
|
4
4
|
metric = Hexx::Suit::Metrics::Rubocop
|
5
|
-
caller = Hexx::
|
5
|
+
caller = Hexx::RSpec::System
|
6
6
|
format = -> { ENV.fetch("RUBOCOP_FORMAT") { "html" } }
|
7
7
|
output = -> { ENV.fetch("RUBOCOP_OUTPUT") { "tmp/rubocop/index.html" } }
|
8
8
|
options = lambda do
|
data/lib/tasks/check.rake
CHANGED
@@ -1,19 +1,17 @@
|
|
1
1
|
namespace :check do
|
2
2
|
|
3
|
-
list = %w(coverage:run rubocop:run fu:run yardstick:run)
|
4
|
-
list = ["pippi:run", list].flatten if USE_PIPPI_METRIC
|
5
3
|
desc "Runs all tests and code metrics"
|
6
|
-
task run:
|
4
|
+
task run: %w(coverage:run rubocop:run fu:run yardstick:run)
|
7
5
|
|
8
|
-
list = %w(coverage:display rubocop:display fu:display inch yardstick:display)
|
9
|
-
list = ["pippi:display", list].flatten if USE_PIPPI_METRIC
|
10
6
|
desc "Displays results of last run for any metric"
|
11
|
-
task display:
|
7
|
+
task display: %w(
|
8
|
+
coverage:display
|
9
|
+
rubocop:display
|
10
|
+
fu:display
|
11
|
+
inch
|
12
|
+
yardstick:display
|
13
|
+
)
|
12
14
|
end
|
13
15
|
|
14
|
-
list = %w(check:coverage check:rubocop check:fu check:inch check:yardstick)
|
15
|
-
if USE_PIPPI_METRIC
|
16
|
-
list = ["check:pippi:configure", list, "check:pippi:display"].flatten
|
17
|
-
end
|
18
16
|
desc "Runs all tests and code metrics and displays their results"
|
19
|
-
task check:
|
17
|
+
task check: %w(check:coverage check:rubocop check:fu check:inch check:yardstick)
|
data/lib/tasks/debug.rake
CHANGED
data/lib/tasks/test.rake
CHANGED
data/spec/spec_helper.rb
CHANGED
@@ -1,10 +1,12 @@
|
|
1
1
|
# Loads the RSpec support files.
|
2
|
-
require "rspec"
|
3
|
-
Dir[File.expand_path "spec/support/config/*.rb"].each { |file| require file }
|
2
|
+
require "hexx-rspec"
|
4
3
|
|
5
|
-
#
|
6
|
-
|
7
|
-
|
4
|
+
# Loads support files
|
5
|
+
Dir.chdir(File.expand_path("..", __FILE__)) do
|
6
|
+
Dir["./support/**/*.rb"].each { |file| require file }
|
7
|
+
end
|
8
|
+
|
9
|
+
# Loads coveralls runtime metrics
|
10
|
+
Hexx::RSpec.load_metrics_for(self)
|
8
11
|
|
9
|
-
# Loads the code of the module with the RSpec test suit.
|
10
12
|
require "hexx-suit"
|
@@ -26,7 +26,7 @@ RSpec.configure do |config|
|
|
26
26
|
|
27
27
|
# Captures commands that System utility sends to system
|
28
28
|
# and stores them in {#commands} array.
|
29
|
-
allow_any_instance_of(Hexx::
|
29
|
+
allow_any_instance_of(Hexx::RSpec::System)
|
30
30
|
.to receive(:system) { |command| commands << command }
|
31
31
|
end
|
32
32
|
end
|
@@ -2,30 +2,27 @@
|
|
2
2
|
|
3
3
|
describe "hexx-suit install", :sandbox do
|
4
4
|
|
5
|
-
|
5
|
+
before { try_in_sandbox { `hexx-suit install` } }
|
6
6
|
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
config/metrics/yardstick.yml
|
27
|
-
config/metrics/STYLEGUIDE
|
28
|
-
).each { |file| expect(file).to be_present_in_sandbox }
|
29
|
-
end
|
7
|
+
it "creates necessary files" do
|
8
|
+
%w(
|
9
|
+
.rspec
|
10
|
+
.rubocop.yml
|
11
|
+
.yardopts
|
12
|
+
Guardfile
|
13
|
+
Rakefile
|
14
|
+
config/metrics/cane.yml
|
15
|
+
config/metrics/churn.yml
|
16
|
+
config/metrics/flay.yml
|
17
|
+
config/metrics/metric_fu.yml
|
18
|
+
config/metrics/reek.yml
|
19
|
+
config/metrics/roodi.yml
|
20
|
+
config/metrics/rubocop.yml
|
21
|
+
config/metrics/saikuro.yml
|
22
|
+
config/metrics/simplecov.yml
|
23
|
+
config/metrics/yardstick.yml
|
24
|
+
config/metrics/STYLEGUIDE
|
25
|
+
).each { |file| expect(file).to be_present_in_sandbox }
|
30
26
|
end
|
31
|
-
|
27
|
+
|
28
|
+
end # describe $ hexx-suit install
|
@@ -17,7 +17,6 @@ describe Hexx::Suit::Install, :sandbox do
|
|
17
17
|
config/metrics/churn.yml
|
18
18
|
config/metrics/flay.yml
|
19
19
|
config/metrics/metric_fu.yml
|
20
|
-
config/metrics/pippi.yml
|
21
20
|
config/metrics/reek.yml
|
22
21
|
config/metrics/roodi.yml
|
23
22
|
config/metrics/rubocop.yml
|
@@ -28,8 +27,5 @@ describe Hexx::Suit::Install, :sandbox do
|
|
28
27
|
).each { |file| expect(file).to be_present_in_sandbox }
|
29
28
|
end
|
30
29
|
|
31
|
-
it "adds Hexx::Suit tasks loader to Rakefile" do
|
32
|
-
expect(read_in_sandbox "Rakefile").to include "Hexx::Suit.install_tasks"
|
33
|
-
end
|
34
30
|
end
|
35
31
|
end
|
data/spec/tests/suit_spec.rb
CHANGED
@@ -2,8 +2,7 @@
|
|
2
2
|
|
3
3
|
describe Hexx::Suit do
|
4
4
|
|
5
|
-
let(:coverage_settings) {
|
6
|
-
let(:pippi_settings) { described_class::Metrics::Pippi }
|
5
|
+
let(:coverage_settings) { Hexx::RSpec::Metrics::SimpleCov }
|
7
6
|
let(:rake_tasks) { Rake::Task.tasks.map(&:name) }
|
8
7
|
|
9
8
|
describe ".install_tasks" do
|
@@ -41,64 +40,17 @@ describe Hexx::Suit do
|
|
41
40
|
))
|
42
41
|
end
|
43
42
|
|
44
|
-
|
45
|
-
expect(rake_tasks).to include(*%w(
|
46
|
-
check:pippi
|
47
|
-
check:pippi:display
|
48
|
-
check:pippi:run
|
49
|
-
))
|
50
|
-
end if USE_PIPPI_METRIC
|
51
|
-
|
52
|
-
end
|
43
|
+
end # describe .install_tasks
|
53
44
|
|
54
45
|
describe ".load_metrics_for" do
|
55
46
|
|
56
|
-
|
47
|
+
let(:scope) { double }
|
48
|
+
after { described_class.load_metrics_for scope }
|
57
49
|
|
58
|
-
it "
|
59
|
-
expect(
|
50
|
+
it "runs Hexx::Suit.load_metrics_for" do
|
51
|
+
expect(Hexx::RSpec).to receive(:load_metrics_for).with(scope)
|
60
52
|
end
|
61
53
|
|
62
|
-
|
63
|
-
|
64
|
-
before { ENV["USE_SIMPLECOV"] = "true" }
|
65
|
-
|
66
|
-
it "initializes and runs a coverage settings" do
|
67
|
-
expect(coverage_settings).to receive(:run)
|
68
|
-
subject
|
69
|
-
end
|
70
|
-
end
|
71
|
-
|
72
|
-
context "when ENV[USE_SIMPLECOV] isn't set" do
|
73
|
-
|
74
|
-
before { ENV["USE_SIMPLECOV"] = nil }
|
75
|
-
|
76
|
-
it "doesn't run settings" do
|
77
|
-
expect(coverage_settings).not_to receive(:run)
|
78
|
-
subject
|
79
|
-
end
|
80
|
-
end
|
81
|
-
|
82
|
-
context "when ENV[USE_PIPPI] is set" do
|
83
|
-
|
84
|
-
before { ENV["USE_PIPPI"] = "true" }
|
85
|
-
|
86
|
-
it "initializes and runs a pippi settings" do
|
87
|
-
expect(pippi_settings).to receive(:run)
|
88
|
-
subject
|
89
|
-
end
|
90
|
-
|
91
|
-
end if USE_PIPPI_METRIC
|
92
|
-
|
93
|
-
context "when ENV[USE_PIPPI] isn't set" do
|
94
|
-
|
95
|
-
before { ENV["USE_PIPPI"] = nil }
|
96
|
-
|
97
|
-
it "doesn't run settings" do
|
98
|
-
expect(pippi_settings).not_to receive(:run)
|
99
|
-
subject
|
100
|
-
end
|
54
|
+
end # describe .load_metrics_for
|
101
55
|
|
102
|
-
end if USE_PIPPI_METRIC
|
103
|
-
end
|
104
56
|
end
|
@@ -4,9 +4,9 @@ describe "Rake::Task['check:coverage:display']", :tasks do
|
|
4
4
|
|
5
5
|
# The {#commands} variable is defined in the spec/support/config/tasks.rb
|
6
6
|
# It collects the list of commands, that has been sent to system by
|
7
|
-
# any instance of Hexx::
|
7
|
+
# any instance of Hexx::RSpec::System utility.
|
8
8
|
|
9
|
-
let(:metric) { Hexx::
|
9
|
+
let(:metric) { Hexx::RSpec::Metrics::SimpleCov }
|
10
10
|
let(:task) { Rake::Task["check:coverage:display"] }
|
11
11
|
|
12
12
|
describe ".invoke", :sandbox do
|
@@ -4,9 +4,9 @@ describe "Rake::Task['check:coverage:run']", :tasks do
|
|
4
4
|
|
5
5
|
# The {#commands} variable is defined in the spec/support/config/tasks.rb
|
6
6
|
# It collects the list of commands, that has been sent to system by
|
7
|
-
# any instance of Hexx::
|
7
|
+
# any instance of Hexx::RSpec::System utility.
|
8
8
|
|
9
|
-
let(:metric) { Hexx::
|
9
|
+
let(:metric) { Hexx::RSpec::Metrics::SimpleCov }
|
10
10
|
let(:task) { Rake::Task["check:coverage:run"] }
|
11
11
|
|
12
12
|
describe ".invoke", :sandbox do
|
@@ -35,12 +35,6 @@ describe "Rake::Task['check:display']", :tasks do
|
|
35
35
|
.to(true)
|
36
36
|
end
|
37
37
|
|
38
|
-
it "invokes check:pippi:display" do
|
39
|
-
expect { subject }
|
40
|
-
.to change { task_invoked? "check:pippi:display" }
|
41
|
-
.to(true)
|
42
|
-
end if USE_PIPPI_METRIC
|
43
|
-
|
44
38
|
it "invokes check:yardstick:display" do
|
45
39
|
expect { subject }
|
46
40
|
.to change { task_invoked? "check:yardstick:display" }
|
@@ -4,7 +4,7 @@ describe "Rake::Task['check:fu:display']", :tasks do
|
|
4
4
|
|
5
5
|
# The {#commands} variable is defined in the spec/support/config/tasks.rb
|
6
6
|
# It collects the list of commands, that has been sent to system by
|
7
|
-
# any instance of Hexx::
|
7
|
+
# any instance of Hexx::RSpec::System utility.
|
8
8
|
|
9
9
|
let(:metric) { Hexx::Suit::Metrics::MetricFu }
|
10
10
|
let(:task) { Rake::Task["check:fu:display"] }
|
@@ -4,7 +4,7 @@ describe "Rake::Task['check:fu:run']", :tasks do
|
|
4
4
|
|
5
5
|
# The {#commands} variable is defined in the spec/support/config/tasks.rb
|
6
6
|
# It collects the list of commands, that has been sent to system by
|
7
|
-
# any instance of Hexx::
|
7
|
+
# any instance of Hexx::RSpec::System utility.
|
8
8
|
|
9
9
|
let(:metric) { Hexx::Suit::Metrics::MetricFu }
|
10
10
|
let(:task) { Rake::Task["check:fu:run"] }
|
@@ -4,7 +4,7 @@ describe "Rake::Task['check:inch']", :tasks do
|
|
4
4
|
|
5
5
|
# The {#commands} variable is defined in the spec/support/config/tasks.rb
|
6
6
|
# It collects the list of commands, that has been sent to system by
|
7
|
-
# any instance of Hexx::
|
7
|
+
# any instance of Hexx::RSpec::System utility.
|
8
8
|
|
9
9
|
let(:task) { Rake::Task["check:inch"] }
|
10
10
|
|
@@ -4,7 +4,7 @@ describe "Rake::Task['check:rubocop:display']", :tasks do
|
|
4
4
|
|
5
5
|
# The {#commands} variable is defined in the spec/support/config/tasks.rb
|
6
6
|
# It collects the list of commands, that has been sent to system by
|
7
|
-
# any instance of Hexx::
|
7
|
+
# any instance of Hexx::RSpec::System utility.
|
8
8
|
|
9
9
|
let(:task) { Rake::Task["check:rubocop:display"] }
|
10
10
|
|
@@ -4,7 +4,7 @@ describe "Rake::Task['check:rubocop:run']", :tasks do
|
|
4
4
|
|
5
5
|
# The {#commands} variable is defined in the spec/support/config/tasks.rb
|
6
6
|
# It collects the list of commands, that has been sent to system by
|
7
|
-
# any instance of Hexx::
|
7
|
+
# any instance of Hexx::RSpec::System utility.
|
8
8
|
|
9
9
|
let(:task) { Rake::Task["check:rubocop:run"] }
|
10
10
|
|
@@ -11,12 +11,6 @@ describe "Rake::Task['check:run']", :tasks do
|
|
11
11
|
|
12
12
|
subject { try_in_sandbox { task.invoke } }
|
13
13
|
|
14
|
-
it "invokes check:pippi:run" do
|
15
|
-
expect { subject }
|
16
|
-
.to change { task_invoked? "check:pippi:run" }
|
17
|
-
.to(true)
|
18
|
-
end if USE_PIPPI_METRIC
|
19
|
-
|
20
14
|
it "invokes check:coverage:run" do
|
21
15
|
expect { subject }
|
22
16
|
.to change { task_invoked? "check:coverage:run" }
|
@@ -4,7 +4,7 @@ describe "Rake::Task['check:yardstick:display']", :tasks do
|
|
4
4
|
|
5
5
|
# The {#commands} variable is defined in the spec/support/config/tasks.rb
|
6
6
|
# It collects the list of commands, that has been sent to system by
|
7
|
-
# any instance of Hexx::
|
7
|
+
# any instance of Hexx::RSpec::System utility.
|
8
8
|
|
9
9
|
let(:metric) { Hexx::Suit::Metrics::Yardstick }
|
10
10
|
let(:task) { Rake::Task["check:yardstick:display"] }
|
@@ -11,18 +11,6 @@ describe "Rake::Task[:check]", :tasks do
|
|
11
11
|
|
12
12
|
subject { try_in_sandbox { task.invoke } }
|
13
13
|
|
14
|
-
it "invokes check:pippi:configure" do
|
15
|
-
expect { subject }
|
16
|
-
.to change { task_invoked? "check:pippi:configure" }
|
17
|
-
.to(true)
|
18
|
-
end if USE_PIPPI_METRIC
|
19
|
-
|
20
|
-
it "invokes check:pippi:display" do
|
21
|
-
expect { subject }
|
22
|
-
.to change { task_invoked? "check:pippi:display" }
|
23
|
-
.to(true)
|
24
|
-
end if USE_PIPPI_METRIC
|
25
|
-
|
26
14
|
it "invokes check:coverage" do
|
27
15
|
expect { subject }
|
28
16
|
.to change { task_invoked? "check:coverage" }
|
@@ -4,7 +4,7 @@ describe "Rake::Task[:debug]", :tasks do
|
|
4
4
|
|
5
5
|
# The {#commands} variable is defined in the spec/support/config/tasks.rb
|
6
6
|
# It collects the list of commands, that has been sent to system by
|
7
|
-
# any instance of Hexx::
|
7
|
+
# any instance of Hexx::RSpec::System utility.
|
8
8
|
|
9
9
|
let(:task) { Rake::Task[:debug] }
|
10
10
|
|
metadata
CHANGED
@@ -1,29 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hexx-suit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Kozin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-03-
|
11
|
+
date: 2015-03-10 00:00:00.000000000 Z
|
12
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
13
|
- !ruby/object:Gem::Dependency
|
28
14
|
name: guard-rspec
|
29
15
|
requirement: !ruby/object:Gem::Requirement
|
@@ -39,19 +25,19 @@ dependencies:
|
|
39
25
|
- !ruby/object:Gem::Version
|
40
26
|
version: '4.3'
|
41
27
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
28
|
+
name: hexx-rspec
|
43
29
|
requirement: !ruby/object:Gem::Requirement
|
44
30
|
requirements:
|
45
31
|
- - "~>"
|
46
32
|
- !ruby/object:Gem::Version
|
47
|
-
version: '0.
|
33
|
+
version: '0.0'
|
48
34
|
type: :runtime
|
49
35
|
prerelease: false
|
50
36
|
version_requirements: !ruby/object:Gem::Requirement
|
51
37
|
requirements:
|
52
38
|
- - "~>"
|
53
39
|
- !ruby/object:Gem::Version
|
54
|
-
version: '0.
|
40
|
+
version: '0.0'
|
55
41
|
- !ruby/object:Gem::Dependency
|
56
42
|
name: inch
|
57
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -94,48 +80,6 @@ dependencies:
|
|
94
80
|
- - "~>"
|
95
81
|
- !ruby/object:Gem::Version
|
96
82
|
version: '0.7'
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: pry
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - "~>"
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: '0.10'
|
104
|
-
type: :runtime
|
105
|
-
prerelease: false
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
108
|
-
- - "~>"
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: '0.10'
|
111
|
-
- !ruby/object:Gem::Dependency
|
112
|
-
name: rake
|
113
|
-
requirement: !ruby/object:Gem::Requirement
|
114
|
-
requirements:
|
115
|
-
- - "~>"
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: '10.3'
|
118
|
-
type: :runtime
|
119
|
-
prerelease: false
|
120
|
-
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
requirements:
|
122
|
-
- - "~>"
|
123
|
-
- !ruby/object:Gem::Version
|
124
|
-
version: '10.3'
|
125
|
-
- !ruby/object:Gem::Dependency
|
126
|
-
name: rspec
|
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
83
|
- !ruby/object:Gem::Dependency
|
140
84
|
name: rubocop
|
141
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -150,20 +94,6 @@ dependencies:
|
|
150
94
|
- - "~>"
|
151
95
|
- !ruby/object:Gem::Version
|
152
96
|
version: '0.23'
|
153
|
-
- !ruby/object:Gem::Dependency
|
154
|
-
name: thor
|
155
|
-
requirement: !ruby/object:Gem::Requirement
|
156
|
-
requirements:
|
157
|
-
- - "~>"
|
158
|
-
- !ruby/object:Gem::Version
|
159
|
-
version: '0.19'
|
160
|
-
type: :runtime
|
161
|
-
prerelease: false
|
162
|
-
version_requirements: !ruby/object:Gem::Requirement
|
163
|
-
requirements:
|
164
|
-
- - "~>"
|
165
|
-
- !ruby/object:Gem::Version
|
166
|
-
version: '0.19'
|
167
97
|
- !ruby/object:Gem::Dependency
|
168
98
|
name: yardstick
|
169
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -200,19 +130,13 @@ files:
|
|
200
130
|
- README.md
|
201
131
|
- Rakefile
|
202
132
|
- bin/hexx-suit
|
203
|
-
- config/
|
204
|
-
- config/initializers/garbage_collection.rb
|
205
|
-
- config/initializers/i18n.rb
|
206
|
-
- config/initializers/random_order.rb
|
207
|
-
- config/initializers/rspec.rb
|
133
|
+
- config/metrics/simplecov.yml
|
208
134
|
- hexx-suit.gemspec
|
209
135
|
- lib/hexx-suit.rb
|
210
136
|
- lib/hexx/suit.rb
|
211
137
|
- lib/hexx/suit/install.rb
|
212
138
|
- lib/hexx/suit/install/Guardfile
|
213
|
-
- lib/hexx/suit/install/Rakefile
|
214
139
|
- lib/hexx/suit/install/_metrics
|
215
|
-
- lib/hexx/suit/install/_rspec
|
216
140
|
- lib/hexx/suit/install/_rubocop.yml
|
217
141
|
- lib/hexx/suit/install/_yardopts
|
218
142
|
- lib/hexx/suit/install/metrics/STYLEGUIDE
|
@@ -220,15 +144,12 @@ files:
|
|
220
144
|
- lib/hexx/suit/install/metrics/churn.yml
|
221
145
|
- lib/hexx/suit/install/metrics/flay.yml
|
222
146
|
- lib/hexx/suit/install/metrics/metric_fu.yml
|
223
|
-
- lib/hexx/suit/install/metrics/pippi.yml
|
224
147
|
- lib/hexx/suit/install/metrics/reek.yml
|
225
148
|
- lib/hexx/suit/install/metrics/roodi.yml
|
226
149
|
- lib/hexx/suit/install/metrics/rubocop.yml
|
227
150
|
- lib/hexx/suit/install/metrics/saikuro.yml
|
228
|
-
- lib/hexx/suit/install/metrics/simplecov.yml
|
229
151
|
- lib/hexx/suit/install/metrics/yardstick.yml
|
230
152
|
- lib/hexx/suit/metrics.rb
|
231
|
-
- lib/hexx/suit/metrics/base.rb
|
232
153
|
- lib/hexx/suit/metrics/metric_fu.rb
|
233
154
|
- lib/hexx/suit/metrics/metric_fu/base.rb
|
234
155
|
- lib/hexx/suit/metrics/metric_fu/cane.rb
|
@@ -237,17 +158,13 @@ files:
|
|
237
158
|
- lib/hexx/suit/metrics/metric_fu/reek.rb
|
238
159
|
- lib/hexx/suit/metrics/metric_fu/roodi.rb
|
239
160
|
- lib/hexx/suit/metrics/metric_fu/saikuro.rb
|
240
|
-
- lib/hexx/suit/metrics/pippi.rb
|
241
161
|
- lib/hexx/suit/metrics/rubocop.rb
|
242
|
-
- lib/hexx/suit/metrics/simplecov.rb
|
243
162
|
- lib/hexx/suit/metrics/yardstick.rb
|
244
|
-
- lib/hexx/suit/utils/system.rb
|
245
163
|
- lib/hexx/suit/version.rb
|
246
164
|
- lib/tasks/check.rake
|
247
165
|
- lib/tasks/check/coverage.rake
|
248
166
|
- lib/tasks/check/fu.rake
|
249
167
|
- lib/tasks/check/inch.rake
|
250
|
-
- lib/tasks/check/pippi.rake
|
251
168
|
- lib/tasks/check/rubocop.rake
|
252
169
|
- lib/tasks/check/yardstick.rake
|
253
170
|
- lib/tasks/debug.rake
|
@@ -266,11 +183,8 @@ files:
|
|
266
183
|
- spec/tests/lib/metrics/metric_fu/roodi_spec.rb
|
267
184
|
- spec/tests/lib/metrics/metric_fu/saikuro_spec.rb
|
268
185
|
- spec/tests/lib/metrics/metric_fu_spec.rb
|
269
|
-
- spec/tests/lib/metrics/pippi_spec.rb
|
270
186
|
- spec/tests/lib/metrics/rubocop_spec.rb
|
271
|
-
- spec/tests/lib/metrics/simplecov_spec.rb
|
272
187
|
- spec/tests/lib/metrics/yardstick_spec.rb
|
273
|
-
- spec/tests/lib/utils/system_spec.rb
|
274
188
|
- spec/tests/suit_spec.rb
|
275
189
|
- spec/tests/tasks/check/coverage/display_spec.rb
|
276
190
|
- spec/tests/tasks/check/coverage/run_spec.rb
|
@@ -280,9 +194,6 @@ files:
|
|
280
194
|
- spec/tests/tasks/check/fu/run_spec.rb
|
281
195
|
- spec/tests/tasks/check/fu_spec.rb
|
282
196
|
- spec/tests/tasks/check/inch_spec.rb
|
283
|
-
- spec/tests/tasks/check/pippi/display_spec.rb
|
284
|
-
- spec/tests/tasks/check/pippi/run_spec.rb
|
285
|
-
- spec/tests/tasks/check/pippi_spec.rb
|
286
197
|
- spec/tests/tasks/check/rubocop/display_spec.rb
|
287
198
|
- spec/tests/tasks/check/rubocop/run_spec.rb
|
288
199
|
- spec/tests/tasks/check/rubocop_spec.rb
|
@@ -292,7 +203,6 @@ files:
|
|
292
203
|
- spec/tests/tasks/check/yardstick_spec.rb
|
293
204
|
- spec/tests/tasks/check_spec.rb
|
294
205
|
- spec/tests/tasks/debug_spec.rb
|
295
|
-
- spec/tests/tasks/test_spec.rb
|
296
206
|
homepage: https://github.com/nepalez/hexx-suit
|
297
207
|
licenses:
|
298
208
|
- MIT
|
@@ -325,23 +235,16 @@ test_files:
|
|
325
235
|
- spec/tests/lib/metrics/metric_fu/reek_spec.rb
|
326
236
|
- spec/tests/lib/metrics/metric_fu/roodi_spec.rb
|
327
237
|
- spec/tests/lib/metrics/metric_fu/saikuro_spec.rb
|
328
|
-
- spec/tests/lib/metrics/pippi_spec.rb
|
329
|
-
- spec/tests/lib/metrics/simplecov_spec.rb
|
330
238
|
- spec/tests/lib/metrics/metric_fu_spec.rb
|
331
239
|
- spec/tests/lib/metrics/yardstick_spec.rb
|
332
240
|
- spec/tests/lib/metrics/rubocop_spec.rb
|
333
|
-
- spec/tests/lib/utils/system_spec.rb
|
334
241
|
- spec/tests/lib/install_spec.rb
|
335
242
|
- spec/tests/tasks/debug_spec.rb
|
336
|
-
- spec/tests/tasks/test_spec.rb
|
337
243
|
- spec/tests/tasks/check_spec.rb
|
338
244
|
- spec/tests/tasks/check/fu_spec.rb
|
339
|
-
- spec/tests/tasks/check/pippi_spec.rb
|
340
245
|
- spec/tests/tasks/check/run_spec.rb
|
341
246
|
- spec/tests/tasks/check/rubocop/run_spec.rb
|
342
247
|
- spec/tests/tasks/check/rubocop/display_spec.rb
|
343
|
-
- spec/tests/tasks/check/pippi/run_spec.rb
|
344
|
-
- spec/tests/tasks/check/pippi/display_spec.rb
|
345
248
|
- spec/tests/tasks/check/display_spec.rb
|
346
249
|
- spec/tests/tasks/check/yardstick/run_spec.rb
|
347
250
|
- spec/tests/tasks/check/yardstick/display_spec.rb
|