hexx-suit 0.1.0 → 0.2.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/.gitignore +9 -0
- data/.rspec +2 -0
- data/.travis.yml +16 -0
- data/Gemfile +3 -0
- data/README.md +6 -2
- data/hexx-suit.gemspec +46 -0
- data/lib/hexx-suit.rb +4 -4
- data/lib/hexx/suit/install/_rubocop.yml +1 -1
- data/lib/hexx/suit/install/metrics/rubocop.yml +11 -15
- data/lib/hexx/suit/metrics.rb +27 -0
- data/lib/hexx/suit/metrics/base.rb +1 -7
- data/lib/hexx/suit/metrics/metric_fu.rb +9 -1
- data/lib/hexx/suit/metrics/pippi.rb +1 -1
- data/lib/hexx/suit/metrics/rubocop.rb +1 -1
- data/lib/hexx/suit/metrics/simplecov.rb +1 -1
- data/lib/hexx/suit/metrics/yardstick.rb +1 -1
- data/lib/hexx/suit/utils/system.rb +1 -1
- data/lib/hexx/suit/version.rb +1 -1
- data/lib/tasks/check.rake +11 -24
- data/lib/tasks/check/pippi.rake +3 -1
- data/lib/tasks/check/rubocop.rake +1 -1
- data/lib/tasks/check/yardstick.rake +3 -1
- data/spec/tests/lib/metrics/pippi_spec.rb +6 -4
- data/spec/tests/suit_spec.rb +21 -13
- data/spec/tests/tasks/check/display_spec.rb +1 -1
- data/spec/tests/tasks/check/pippi/display_spec.rb +2 -1
- data/spec/tests/tasks/check/pippi/run_spec.rb +2 -1
- data/spec/tests/tasks/check/pippi_spec.rb +2 -1
- data/spec/tests/tasks/check/rubocop/display_spec.rb +2 -2
- data/spec/tests/tasks/check/rubocop/run_spec.rb +1 -1
- data/spec/tests/tasks/check/run_spec.rb +1 -1
- data/spec/tests/tasks/check_spec.rb +2 -2
- metadata +42 -36
- data/config/initializers/metric_fu.rb +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cf316cfd081717006b7f6bbefd79425172518489
|
4
|
+
data.tar.gz: c561543d24eaaf1e1695c82c51d4bb99058a6ce7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8e85b73f15e5bbd944b5665c567f15e56b36931bc221775ff878b88c7f4922bc1d244869669c8df191715d37863f1213756b4ce53d4440ea901fd8d3eaa83747
|
7
|
+
data.tar.gz: 825f6e0f56569349b28046cc2949ac9a6e9f4e3786d3d27d9e78522cc66cd5f941f3329ead7238f3c563a4c350e3607e36553155bc69dba5be94587d11e754f2
|
data/.coveralls.yml
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
service_name: travis-ci
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.travis.yml
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
---
|
2
|
+
language: ruby
|
3
|
+
bundler_args: --without=extras
|
4
|
+
script: bundle exec rspec spec
|
5
|
+
rvm:
|
6
|
+
- '1.9.3'
|
7
|
+
- '2.0'
|
8
|
+
- '2.1'
|
9
|
+
- '2.2'
|
10
|
+
- rbx-2
|
11
|
+
- jruby-1.7
|
12
|
+
- ruby-head
|
13
|
+
- jruby-head
|
14
|
+
allow_failures:
|
15
|
+
- rvm: ruby-head
|
16
|
+
- rvm: jruby-head
|
data/Gemfile
ADDED
data/README.md
CHANGED
@@ -134,7 +134,7 @@ The gem loads dependencies from the projects below.
|
|
134
134
|
|
135
135
|
* [rubocop](https://github.com/bbatsov/rubocop) - a Ruby static code analyzer
|
136
136
|
* [metric_fu](https://github.com/metricfu/metric_fu/) - a collection of Ruby code analyzers.
|
137
|
-
* [pippi](https://github.com/tcopeland/pippi) - a utility for finding suboptimal Ruby class API usage.
|
137
|
+
* [pippi](https://github.com/tcopeland/pippi) - a utility for finding suboptimal Ruby class API usage. Available for MRI ruby 2.0+ only.
|
138
138
|
|
139
139
|
### Tools for Documenting
|
140
140
|
|
@@ -144,7 +144,11 @@ The gem loads dependencies from the projects below.
|
|
144
144
|
|
145
145
|
## Compatibility
|
146
146
|
|
147
|
-
Tested under
|
147
|
+
Tested under rubies:
|
148
|
+
|
149
|
+
* MRI 1.9.3+
|
150
|
+
* Rubinius 2+
|
151
|
+
* JRuby 1.7+ (ruby 1.9.3)
|
148
152
|
|
149
153
|
RSpec 3.0+ used for testing
|
150
154
|
|
data/hexx-suit.gemspec
ADDED
@@ -0,0 +1,46 @@
|
|
1
|
+
$:.push File.expand_path("../lib", __FILE__)
|
2
|
+
require "hexx/suit/version"
|
3
|
+
|
4
|
+
Gem::Specification.new do |s|
|
5
|
+
s.name = "hexx-suit"
|
6
|
+
s.version = Hexx::Suit::VERSION.dup
|
7
|
+
s.author = "Andrew Kozin"
|
8
|
+
s.email = "andrew.kozin@gmail.com"
|
9
|
+
s.homepage = "https://github.com/nepalez/hexx-suit"
|
10
|
+
s.summary = "Test/development suit."
|
11
|
+
s.description = "The module collects gems used for development and testing."
|
12
|
+
s.license = "MIT"
|
13
|
+
|
14
|
+
s.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
|
15
|
+
s.executables = ["hexx-suit"]
|
16
|
+
s.test_files = Dir["spec/**/*", "Rakefile", "Guardfile"]
|
17
|
+
s.extra_rdoc_files = Dir["LICENSE", "README.md", ".yardopts"]
|
18
|
+
|
19
|
+
s.add_runtime_dependency "coveralls", "~> 0.7"
|
20
|
+
s.add_runtime_dependency "guard-rspec", "~> 4.3"
|
21
|
+
s.add_runtime_dependency "i18n", "~> 0.7"
|
22
|
+
s.add_runtime_dependency "inch", "~> 0.5"
|
23
|
+
s.add_runtime_dependency "metric_fu", "~> 4.11"
|
24
|
+
s.add_runtime_dependency "mutant-rspec", "~> 0.7"
|
25
|
+
s.add_runtime_dependency "pry", "~> 0.10"
|
26
|
+
s.add_runtime_dependency "rake", "~> 10.3"
|
27
|
+
s.add_runtime_dependency "rspec", "~> 3.0"
|
28
|
+
s.add_runtime_dependency "rubocop", "~> 0.23"
|
29
|
+
s.add_runtime_dependency "thor", "~> 0.19"
|
30
|
+
s.add_runtime_dependency "yardstick", "~> 0.9"
|
31
|
+
|
32
|
+
# Gems not available under JRuby head
|
33
|
+
if %w(ruby rbx).include? RUBY_ENGINE
|
34
|
+
s.add_runtime_dependency "pry-rescue", "~> 1.4"
|
35
|
+
s.add_runtime_dependency "pry-stack_explorer", "~> 0.4"
|
36
|
+
end
|
37
|
+
|
38
|
+
if RUBY_ENGINE == "ruby"
|
39
|
+
if RUBY_VERSION < "2.0"
|
40
|
+
s.add_runtime_dependency "pry-debugger"
|
41
|
+
else
|
42
|
+
s.add_runtime_dependency "pry-byebug", "~> 3.0"
|
43
|
+
s.add_runtime_dependency "pippi", "~> 0.0"
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
data/lib/hexx-suit.rb
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
# Loads the parts of the suit to be available.
|
2
2
|
%w(i18n pry rake rspec thor yaml).each { |gem| require gem }
|
3
3
|
|
4
|
+
# Pippi depends on MRI ruby 2.0+ only
|
5
|
+
USE_PIPPI_METRIC = (RUBY_ENGINE == "ruby") && (RUBY_VERSION >= "2.0")
|
6
|
+
|
4
7
|
# Loads the code (the order is significant)
|
5
8
|
Dir.chdir File.expand_path("../..", __FILE__) do
|
6
9
|
Dir[
|
7
10
|
"./config/initializers/*.rb",
|
8
11
|
"./lib/hexx/suit/utils/*.rb",
|
9
|
-
"./lib/hexx/suit/metrics
|
10
|
-
"./lib/hexx/suit/metrics/metric_fu/base.rb",
|
11
|
-
"./lib/hexx/suit/metrics/metric_fu/*.rb",
|
12
|
-
"./lib/hexx/suit/metrics/*.rb",
|
12
|
+
"./lib/hexx/suit/metrics.rb",
|
13
13
|
"./lib/hexx/suit/*.rb",
|
14
14
|
"./lib/hexx/suit.rb"
|
15
15
|
].each { |file| require file }
|
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
inherit_from: "./config/metrics/rubocop.yml"
|
@@ -9,31 +9,27 @@ AllCops:
|
|
9
9
|
|
10
10
|
Lint/HandleExceptions:
|
11
11
|
Exclude:
|
12
|
-
- '
|
12
|
+
- '**/*_spec.rb'
|
13
13
|
|
14
14
|
Lint/RescueException:
|
15
15
|
Exclude:
|
16
|
-
- '
|
17
|
-
|
18
|
-
Metrics/ClassLength:
|
19
|
-
Exclude:
|
20
|
-
- 'lib/**/generator*'
|
16
|
+
- '**/*_spec.rb'
|
21
17
|
|
22
18
|
Style/AccessorMethodName:
|
23
19
|
Exclude:
|
24
|
-
- '
|
20
|
+
- '**/*_spec.rb'
|
25
21
|
|
26
22
|
Style/AsciiComments:
|
27
23
|
Enabled: false
|
28
24
|
|
29
25
|
Style/ClassAndModuleChildren:
|
30
26
|
Exclude:
|
31
|
-
- '
|
27
|
+
- '**/*_spec.rb'
|
32
28
|
|
33
29
|
Style/Documentation:
|
34
30
|
Exclude:
|
35
|
-
- '
|
36
|
-
- '
|
31
|
+
- '**/version.rb'
|
32
|
+
- '**/*_spec.rb'
|
37
33
|
|
38
34
|
Style/EmptyLinesAroundBlockBody:
|
39
35
|
Enabled: false
|
@@ -58,22 +54,22 @@ Style/RaiseArgs:
|
|
58
54
|
|
59
55
|
Style/SingleLineMethods:
|
60
56
|
Exclude:
|
61
|
-
- '
|
57
|
+
- '**/*_spec.rb'
|
62
58
|
|
63
59
|
Style/SingleSpaceBeforeFirstArg:
|
64
60
|
Enabled: false
|
65
61
|
|
66
62
|
Style/SpecialGlobalVars:
|
67
63
|
Exclude:
|
68
|
-
- 'Gemfile'
|
69
|
-
- '
|
64
|
+
- '**/Gemfile'
|
65
|
+
- '**/*.gemspec'
|
70
66
|
|
71
67
|
Style/StringLiterals:
|
72
68
|
EnforcedStyle: double_quotes
|
73
69
|
|
74
|
-
|
70
|
+
Style/StringLiteralsInInterpolation:
|
75
71
|
EnforcedStyle: double_quotes
|
76
72
|
|
77
73
|
Style/TrivialAccessors:
|
78
74
|
Exclude:
|
79
|
-
- '
|
75
|
+
- '**/*_spec.rb'
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
module Hexx
|
4
|
+
|
5
|
+
module Suit
|
6
|
+
|
7
|
+
# Contains metric configurators
|
8
|
+
#
|
9
|
+
# Any configurator loads metric settings from a corresponding yaml,
|
10
|
+
# sets necessary environments via {.load} method,
|
11
|
+
# and then runs the metric via {.run} method.
|
12
|
+
#
|
13
|
+
# Configurators loads their own dependencies in a corresponding constructor.
|
14
|
+
module Metrics
|
15
|
+
|
16
|
+
require_relative "metrics/base"
|
17
|
+
require_relative "metrics/metric_fu"
|
18
|
+
require_relative "metrics/rubocop.rb"
|
19
|
+
require_relative "metrics/simplecov.rb"
|
20
|
+
require_relative "metrics/yardstick.rb"
|
21
|
+
require_relative "metrics/pippi.rb" if USE_PIPPI_METRIC
|
22
|
+
|
23
|
+
end
|
24
|
+
|
25
|
+
end # module Suit
|
26
|
+
|
27
|
+
end # mdoule Hexx
|
@@ -1,15 +1,9 @@
|
|
1
1
|
require "yaml"
|
2
2
|
|
3
3
|
module Hexx
|
4
|
+
|
4
5
|
module Suit
|
5
6
|
|
6
|
-
# Contains metric configurators
|
7
|
-
#
|
8
|
-
# Any configurator loads metric settings from a corresponding yaml,
|
9
|
-
# sets necessary environments via {.load} method,
|
10
|
-
# and then runs the metric via {.run} method.
|
11
|
-
#
|
12
|
-
# Configurators loads their own dependencies in a corresponding constructor.
|
13
7
|
module Metrics
|
14
8
|
|
15
9
|
# Base class for metrics configurators
|
@@ -7,6 +7,14 @@ module Hexx
|
|
7
7
|
# Configurator for the metric_fu and all its subpackages
|
8
8
|
class MetricFu < Base
|
9
9
|
|
10
|
+
require_relative "metric_fu/base"
|
11
|
+
require_relative "metric_fu/cane"
|
12
|
+
require_relative "metric_fu/churn"
|
13
|
+
require_relative "metric_fu/flay"
|
14
|
+
require_relative "metric_fu/reek"
|
15
|
+
require_relative "metric_fu/roodi"
|
16
|
+
require_relative "metric_fu/saikuro"
|
17
|
+
|
10
18
|
# Loads the metric_fu gem dependency
|
11
19
|
#
|
12
20
|
# @return [Hexx::Suit::Metrics::MetricFu]
|
@@ -149,7 +157,7 @@ module Hexx
|
|
149
157
|
end
|
150
158
|
|
151
159
|
def options
|
152
|
-
@options ||= default_options.merge settings.
|
160
|
+
@options ||= default_options.merge settings.to_hash
|
153
161
|
end
|
154
162
|
|
155
163
|
def metrics
|
data/lib/hexx/suit/version.rb
CHANGED
data/lib/tasks/check.rake
CHANGED
@@ -1,32 +1,19 @@
|
|
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
|
3
5
|
desc "Runs all tests and code metrics"
|
4
|
-
task run:
|
5
|
-
pippi:run
|
6
|
-
coverage:run
|
7
|
-
rubocop:run
|
8
|
-
fu:run
|
9
|
-
yardstick:run
|
10
|
-
)
|
6
|
+
task run: list
|
11
7
|
|
8
|
+
list = %w(coverage:display rubocop:display fu:display inch yardstick:display)
|
9
|
+
list = ["pippi:display", list].flatten if USE_PIPPI_METRIC
|
12
10
|
desc "Displays results of last run for any metric"
|
13
|
-
task display:
|
14
|
-
pippi:display
|
15
|
-
coverage:display
|
16
|
-
rubocop:display
|
17
|
-
fu:display
|
18
|
-
inch
|
19
|
-
yardstick:display
|
20
|
-
)
|
11
|
+
task display: list
|
21
12
|
end
|
22
13
|
|
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
|
23
18
|
desc "Runs all tests and code metrics and displays their results"
|
24
|
-
task check:
|
25
|
-
check:pippi:configure
|
26
|
-
check:coverage
|
27
|
-
check:rubocop
|
28
|
-
check:fu
|
29
|
-
check:pippi:display
|
30
|
-
check:inch
|
31
|
-
check:yardstick
|
32
|
-
)
|
19
|
+
task check: list
|
data/lib/tasks/check/pippi.rake
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
namespace :check do
|
2
|
+
|
2
3
|
namespace :pippi do
|
3
4
|
|
4
5
|
metric = Hexx::Suit::Metrics::Pippi
|
@@ -28,4 +29,5 @@ namespace :check do
|
|
28
29
|
|
29
30
|
desc "Runs tests with pippi runtime metric and displays the results"
|
30
31
|
task pippi: %w(pippi:run pippi:display)
|
31
|
-
|
32
|
+
|
33
|
+
end if USE_PIPPI_METRIC
|
@@ -5,7 +5,7 @@ namespace :check do
|
|
5
5
|
caller = Hexx::Suit::Utils::System
|
6
6
|
format = -> { ENV.fetch("RUBOCOP_FORMAT") { "html" } }
|
7
7
|
output = -> { ENV.fetch("RUBOCOP_OUTPUT") { "tmp/rubocop/index.html" } }
|
8
|
-
options =
|
8
|
+
options = lambda do
|
9
9
|
"-f #{ format.call } -o #{ output.call } -c config/metrics/rubocop.yml"
|
10
10
|
end
|
11
11
|
|
@@ -3,7 +3,9 @@ namespace :check do
|
|
3
3
|
|
4
4
|
metric = Hexx::Suit::Metrics::Yardstick
|
5
5
|
caller = Hexx::Suit::Utils::System
|
6
|
-
output =
|
6
|
+
output = lambda do
|
7
|
+
ENV.fetch("YARDSTICK_OUTPUT") { "tmp/yardstick/results.log" }
|
8
|
+
end
|
7
9
|
|
8
10
|
desc "Runs yardstick metric"
|
9
11
|
task :run do
|
@@ -1,14 +1,15 @@
|
|
1
1
|
# encoding: utf-8
|
2
2
|
require "spec_helper"
|
3
|
-
require "pippi"
|
4
3
|
|
5
4
|
describe Hexx::Suit::Metrics::Pippi, :sandbox do
|
6
5
|
|
6
|
+
require "pippi"
|
7
|
+
|
7
8
|
shared_context "without pippi.yml" do
|
8
|
-
|
9
|
+
|
9
10
|
let(:options) do
|
10
11
|
{ "checkset" => "basic", "output" => "tmp/pippi/output.log" }
|
11
|
-
end
|
12
|
+
end
|
12
13
|
end
|
13
14
|
|
14
15
|
shared_context "with pippi.yml" do
|
@@ -99,4 +100,5 @@ describe Hexx::Suit::Metrics::Pippi, :sandbox do
|
|
99
100
|
it_behaves_like "metric runner"
|
100
101
|
end
|
101
102
|
end
|
102
|
-
|
103
|
+
|
104
|
+
end if USE_PIPPI_METRIC
|
data/spec/tests/suit_spec.rb
CHANGED
@@ -29,9 +29,6 @@ describe Hexx::Suit do
|
|
29
29
|
check:fu:display
|
30
30
|
check:fu:run
|
31
31
|
check:inch
|
32
|
-
check:pippi
|
33
|
-
check:pippi:display
|
34
|
-
check:pippi:run
|
35
32
|
check:rubocop
|
36
33
|
check:rubocop:display
|
37
34
|
check:rubocop:run
|
@@ -43,6 +40,15 @@ describe Hexx::Suit do
|
|
43
40
|
test
|
44
41
|
))
|
45
42
|
end
|
43
|
+
|
44
|
+
it "installs pippi tasks" do
|
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
|
+
|
46
52
|
end
|
47
53
|
|
48
54
|
describe ".load_metrics_for" do
|
@@ -63,25 +69,26 @@ describe Hexx::Suit do
|
|
63
69
|
end
|
64
70
|
end
|
65
71
|
|
66
|
-
context "when ENV[
|
72
|
+
context "when ENV[USE_SIMPLECOV] isn't set" do
|
67
73
|
|
68
|
-
before
|
74
|
+
before { ENV["USE_SIMPLECOV"] = nil }
|
69
75
|
|
70
|
-
it "
|
71
|
-
expect(
|
76
|
+
it "doesn't run settings" do
|
77
|
+
expect(coverage_settings).not_to receive(:run)
|
72
78
|
subject
|
73
79
|
end
|
74
80
|
end
|
75
81
|
|
76
|
-
context "when ENV[
|
82
|
+
context "when ENV[USE_PIPPI] is set" do
|
77
83
|
|
78
|
-
before
|
84
|
+
before { ENV["USE_PIPPI"] = "true" }
|
79
85
|
|
80
|
-
it "
|
81
|
-
expect(
|
86
|
+
it "initializes and runs a pippi settings" do
|
87
|
+
expect(pippi_settings).to receive(:run)
|
82
88
|
subject
|
83
89
|
end
|
84
|
-
|
90
|
+
|
91
|
+
end if USE_PIPPI_METRIC
|
85
92
|
|
86
93
|
context "when ENV[USE_PIPPI] isn't set" do
|
87
94
|
|
@@ -91,6 +98,7 @@ describe Hexx::Suit do
|
|
91
98
|
expect(pippi_settings).not_to receive(:run)
|
92
99
|
subject
|
93
100
|
end
|
94
|
-
|
101
|
+
|
102
|
+
end if USE_PIPPI_METRIC
|
95
103
|
end
|
96
104
|
end
|
@@ -9,7 +9,7 @@ describe "Rake::Task['check:rubocop:display']", :tasks do
|
|
9
9
|
let(:task) { Rake::Task["check:rubocop:display"] }
|
10
10
|
|
11
11
|
shared_context "without rubocop.yml" do
|
12
|
-
|
12
|
+
|
13
13
|
let(:options) { { "output" => "tmp/rubocop/index.html" } }
|
14
14
|
end
|
15
15
|
|
@@ -34,7 +34,7 @@ describe "Rake::Task['check:rubocop:display']", :tasks do
|
|
34
34
|
it "displays rubocop results" do
|
35
35
|
expect { subject }
|
36
36
|
.to change { commands }
|
37
|
-
.to ["launchy #{ options[
|
37
|
+
.to ["launchy #{ options['output'] }"]
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
@@ -15,13 +15,13 @@ describe "Rake::Task[:check]", :tasks do
|
|
15
15
|
expect { subject }
|
16
16
|
.to change { task_invoked? "check:pippi:configure" }
|
17
17
|
.to(true)
|
18
|
-
end
|
18
|
+
end if USE_PIPPI_METRIC
|
19
19
|
|
20
20
|
it "invokes check:pippi:display" do
|
21
21
|
expect { subject }
|
22
22
|
.to change { task_invoked? "check:pippi:display" }
|
23
23
|
.to(true)
|
24
|
-
end
|
24
|
+
end if USE_PIPPI_METRIC
|
25
25
|
|
26
26
|
it "invokes check:coverage" do
|
27
27
|
expect { subject }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hexx-suit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.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-
|
11
|
+
date: 2015-03-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: coveralls
|
@@ -81,7 +81,7 @@ dependencies:
|
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '4.11'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
|
-
name: mutant
|
84
|
+
name: mutant-rspec
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
@@ -95,35 +95,35 @@ dependencies:
|
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0.7'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
|
-
name:
|
98
|
+
name: pry
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: '0.
|
103
|
+
version: '0.10'
|
104
104
|
type: :runtime
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: '0.
|
110
|
+
version: '0.10'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
|
-
name:
|
112
|
+
name: rake
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
115
|
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: '
|
117
|
+
version: '10.3'
|
118
118
|
type: :runtime
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
122
|
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: '
|
124
|
+
version: '10.3'
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
|
-
name:
|
126
|
+
name: rspec
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
129
|
- - "~>"
|
@@ -137,103 +137,103 @@ dependencies:
|
|
137
137
|
- !ruby/object:Gem::Version
|
138
138
|
version: '3.0'
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
|
-
name:
|
140
|
+
name: rubocop
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
142
142
|
requirements:
|
143
143
|
- - "~>"
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version: '
|
145
|
+
version: '0.23'
|
146
146
|
type: :runtime
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
150
|
- - "~>"
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
version: '
|
152
|
+
version: '0.23'
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
|
-
name:
|
154
|
+
name: thor
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
156
156
|
requirements:
|
157
157
|
- - "~>"
|
158
158
|
- !ruby/object:Gem::Version
|
159
|
-
version: '0.
|
159
|
+
version: '0.19'
|
160
160
|
type: :runtime
|
161
161
|
prerelease: false
|
162
162
|
version_requirements: !ruby/object:Gem::Requirement
|
163
163
|
requirements:
|
164
164
|
- - "~>"
|
165
165
|
- !ruby/object:Gem::Version
|
166
|
-
version: '0.
|
166
|
+
version: '0.19'
|
167
167
|
- !ruby/object:Gem::Dependency
|
168
|
-
name:
|
168
|
+
name: yardstick
|
169
169
|
requirement: !ruby/object:Gem::Requirement
|
170
170
|
requirements:
|
171
171
|
- - "~>"
|
172
172
|
- !ruby/object:Gem::Version
|
173
|
-
version: '
|
173
|
+
version: '0.9'
|
174
174
|
type: :runtime
|
175
175
|
prerelease: false
|
176
176
|
version_requirements: !ruby/object:Gem::Requirement
|
177
177
|
requirements:
|
178
178
|
- - "~>"
|
179
179
|
- !ruby/object:Gem::Version
|
180
|
-
version: '
|
180
|
+
version: '0.9'
|
181
181
|
- !ruby/object:Gem::Dependency
|
182
|
-
name:
|
182
|
+
name: pry-rescue
|
183
183
|
requirement: !ruby/object:Gem::Requirement
|
184
184
|
requirements:
|
185
185
|
- - "~>"
|
186
186
|
- !ruby/object:Gem::Version
|
187
|
-
version: '
|
187
|
+
version: '1.4'
|
188
188
|
type: :runtime
|
189
189
|
prerelease: false
|
190
190
|
version_requirements: !ruby/object:Gem::Requirement
|
191
191
|
requirements:
|
192
192
|
- - "~>"
|
193
193
|
- !ruby/object:Gem::Version
|
194
|
-
version: '
|
194
|
+
version: '1.4'
|
195
195
|
- !ruby/object:Gem::Dependency
|
196
|
-
name:
|
196
|
+
name: pry-stack_explorer
|
197
197
|
requirement: !ruby/object:Gem::Requirement
|
198
198
|
requirements:
|
199
199
|
- - "~>"
|
200
200
|
- !ruby/object:Gem::Version
|
201
|
-
version: '0.
|
201
|
+
version: '0.4'
|
202
202
|
type: :runtime
|
203
203
|
prerelease: false
|
204
204
|
version_requirements: !ruby/object:Gem::Requirement
|
205
205
|
requirements:
|
206
206
|
- - "~>"
|
207
207
|
- !ruby/object:Gem::Version
|
208
|
-
version: '0.
|
208
|
+
version: '0.4'
|
209
209
|
- !ruby/object:Gem::Dependency
|
210
|
-
name:
|
210
|
+
name: pry-byebug
|
211
211
|
requirement: !ruby/object:Gem::Requirement
|
212
212
|
requirements:
|
213
213
|
- - "~>"
|
214
214
|
- !ruby/object:Gem::Version
|
215
|
-
version: '0
|
215
|
+
version: '3.0'
|
216
216
|
type: :runtime
|
217
217
|
prerelease: false
|
218
218
|
version_requirements: !ruby/object:Gem::Requirement
|
219
219
|
requirements:
|
220
220
|
- - "~>"
|
221
221
|
- !ruby/object:Gem::Version
|
222
|
-
version: '0
|
222
|
+
version: '3.0'
|
223
223
|
- !ruby/object:Gem::Dependency
|
224
|
-
name:
|
224
|
+
name: pippi
|
225
225
|
requirement: !ruby/object:Gem::Requirement
|
226
226
|
requirements:
|
227
227
|
- - "~>"
|
228
228
|
- !ruby/object:Gem::Version
|
229
|
-
version: '0.
|
229
|
+
version: '0.0'
|
230
230
|
type: :runtime
|
231
231
|
prerelease: false
|
232
232
|
version_requirements: !ruby/object:Gem::Requirement
|
233
233
|
requirements:
|
234
234
|
- - "~>"
|
235
235
|
- !ruby/object:Gem::Version
|
236
|
-
version: '0.
|
236
|
+
version: '0.0'
|
237
237
|
description: The module collects gems used for development and testing.
|
238
238
|
email: andrew.kozin@gmail.com
|
239
239
|
executables:
|
@@ -244,8 +244,13 @@ extra_rdoc_files:
|
|
244
244
|
- README.md
|
245
245
|
- ".yardopts"
|
246
246
|
files:
|
247
|
+
- ".coveralls.yml"
|
248
|
+
- ".gitignore"
|
249
|
+
- ".rspec"
|
247
250
|
- ".rubocop.yml"
|
251
|
+
- ".travis.yml"
|
248
252
|
- ".yardopts"
|
253
|
+
- Gemfile
|
249
254
|
- Guardfile
|
250
255
|
- LICENSE
|
251
256
|
- README.md
|
@@ -254,9 +259,9 @@ files:
|
|
254
259
|
- config/initializers/focus.rb
|
255
260
|
- config/initializers/garbage_collection.rb
|
256
261
|
- config/initializers/i18n.rb
|
257
|
-
- config/initializers/metric_fu.rb
|
258
262
|
- config/initializers/random_order.rb
|
259
263
|
- config/initializers/rspec.rb
|
264
|
+
- hexx-suit.gemspec
|
260
265
|
- lib/hexx-suit.rb
|
261
266
|
- lib/hexx/suit.rb
|
262
267
|
- lib/hexx/suit/install.rb
|
@@ -278,6 +283,7 @@ files:
|
|
278
283
|
- lib/hexx/suit/install/metrics/saikuro.yml
|
279
284
|
- lib/hexx/suit/install/metrics/simplecov.yml
|
280
285
|
- lib/hexx/suit/install/metrics/yardstick.yml
|
286
|
+
- lib/hexx/suit/metrics.rb
|
281
287
|
- lib/hexx/suit/metrics/base.rb
|
282
288
|
- lib/hexx/suit/metrics/metric_fu.rb
|
283
289
|
- lib/hexx/suit/metrics/metric_fu/base.rb
|
@@ -343,7 +349,7 @@ files:
|
|
343
349
|
- spec/tests/tasks/check_spec.rb
|
344
350
|
- spec/tests/tasks/debug_spec.rb
|
345
351
|
- spec/tests/tasks/test_spec.rb
|
346
|
-
homepage: https://github.com/nepalez/hexx
|
352
|
+
homepage: https://github.com/nepalez/hexx-suit
|
347
353
|
licenses:
|
348
354
|
- MIT
|
349
355
|
metadata: {}
|
@@ -353,9 +359,9 @@ require_paths:
|
|
353
359
|
- lib
|
354
360
|
required_ruby_version: !ruby/object:Gem::Requirement
|
355
361
|
requirements:
|
356
|
-
- - "
|
362
|
+
- - ">="
|
357
363
|
- !ruby/object:Gem::Version
|
358
|
-
version: '
|
364
|
+
version: '0'
|
359
365
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
360
366
|
requirements:
|
361
367
|
- - ">="
|
@@ -363,7 +369,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
363
369
|
version: '0'
|
364
370
|
requirements: []
|
365
371
|
rubyforge_project:
|
366
|
-
rubygems_version: 2.
|
372
|
+
rubygems_version: 2.4.6
|
367
373
|
signing_key:
|
368
374
|
specification_version: 4
|
369
375
|
summary: Test/development suit.
|
File without changes
|