rake_check 0.1.8 → 0.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/config/rails_best_practices.yml +37 -0
- data/lib/rake_check/brakeman_checker.rb +5 -5
- data/lib/rake_check/cane_checker.rb +1 -1
- data/lib/rake_check/cucumber_checker.rb +3 -2
- data/lib/rake_check/rbp_checker.rb +1 -1
- data/lib/rake_check/reek_checker.rb +4 -3
- data/lib/rake_check/rspec_checker.rb +2 -2
- data/lib/rake_check/tasks/check.rake +6 -6
- data/lib/rake_check/version.rb +1 -1
- data/lib/rake_check/yard_checker.rb +1 -1
- data/spec/lib/rake_check/brakeman_checker_spec.rb +9 -24
- data/spec/lib/rake_check/cane_checker_spec.rb +6 -6
- data/spec/lib/rake_check/cucumber_checker_spec.rb +3 -3
- data/spec/lib/rake_check/rbp_checker_spec.rb +3 -3
- data/spec/lib/rake_check/reek_checker_spec.rb +3 -3
- data/spec/lib/rake_check/rspec_checker_spec.rb +7 -7
- data/spec/lib/rake_check/yard_checker_spec.rb +5 -5
- metadata +18 -17
@@ -0,0 +1,37 @@
|
|
1
|
+
AddModelVirtualAttributeCheck: { }
|
2
|
+
AlwaysAddDbIndexCheck: { }
|
3
|
+
DryBundlerInCapistranoCheck: { }
|
4
|
+
HashSyntaxCheck: { only_symbol: false, only_string: false }
|
5
|
+
IsolateSeedDataCheck: { }
|
6
|
+
KeepFindersOnTheirOwnModelCheck: { }
|
7
|
+
LawOfDemeterCheck: { }
|
8
|
+
LongLineCheck: { max_line_length: 100 }
|
9
|
+
MoveCodeIntoControllerCheck: { }
|
10
|
+
MoveCodeIntoHelperCheck: { array_count: 3 }
|
11
|
+
MoveCodeIntoModelCheck: { use_count: 2 }
|
12
|
+
MoveFinderToNamedScopeCheck: { }
|
13
|
+
MoveModelLogicIntoModelCheck: { use_count: 4 }
|
14
|
+
NeedlessDeepNestingCheck: { nested_count: 2 }
|
15
|
+
NotUseDefaultRouteCheck: { }
|
16
|
+
NotUseTimeAgoInWordsCheck: { }
|
17
|
+
OveruseRouteCustomizationsCheck: { customize_count: 3 }
|
18
|
+
ProtectMassAssignmentCheck: { }
|
19
|
+
RemoveEmptyHelpersCheck: { }
|
20
|
+
RemoveTabCheck: { }
|
21
|
+
RemoveTrailingWhitespaceCheck: { }
|
22
|
+
RemoveUnusedMethodsInControllersCheck: { except_methods: [] }
|
23
|
+
RemoveUnusedMethodsInHelpersCheck: { except_methods: [] }
|
24
|
+
RemoveUnusedMethodsInModelsCheck: { except_methods: [] }
|
25
|
+
ReplaceComplexCreationWithFactoryMethodCheck: { attribute_assignment_count: 2 }
|
26
|
+
ReplaceInstanceVariableWithLocalVariableCheck: { }
|
27
|
+
RestrictAutoGeneratedRoutesCheck: { }
|
28
|
+
SimplifyRenderInControllersCheck: { }
|
29
|
+
SimplifyRenderInViewsCheck: { }
|
30
|
+
UseBeforeFilterCheck: { customize_count: 2 }
|
31
|
+
UseModelAssociationCheck: { }
|
32
|
+
UseMultipartAlternativeAsContentTypeOfEmailCheck: { }
|
33
|
+
UseParenthesesInMethodDefCheck: { }
|
34
|
+
UseObserverCheck: { }
|
35
|
+
UseQueryAttributeCheck: { }
|
36
|
+
UseSayWithTimeInMigrationsCheck: { }
|
37
|
+
UseScopeAccessCheck: { }
|
@@ -13,11 +13,11 @@ class BrakemanChecker
|
|
13
13
|
# @author dmasur
|
14
14
|
def result
|
15
15
|
begin
|
16
|
-
@tracker = Brakeman.run
|
17
|
-
rescue
|
16
|
+
@tracker = Brakeman.run(File.dirname(__FILE__) + '/../../../')
|
17
|
+
rescue SystemExit
|
18
18
|
"Brakeman not found"
|
19
19
|
end
|
20
|
-
{:
|
20
|
+
{ type: :brakeman, check_output: output, status: status }
|
21
21
|
end
|
22
22
|
|
23
23
|
private
|
@@ -26,7 +26,7 @@ class BrakemanChecker
|
|
26
26
|
#
|
27
27
|
# @return [String] colored Coverage
|
28
28
|
# @author dmasur
|
29
|
-
def color_count
|
29
|
+
def color_count(count)
|
30
30
|
case count
|
31
31
|
when 0 then count.to_s.green
|
32
32
|
else count.to_s.red
|
@@ -42,7 +42,7 @@ class BrakemanChecker
|
|
42
42
|
if @tracker.nil?
|
43
43
|
return 'N/A'
|
44
44
|
else
|
45
|
-
"#{color_count @tracker.checks.warnings.count} Warnings"
|
45
|
+
"#{color_count @tracker.checks.warnings.count} Warnings"
|
46
46
|
end
|
47
47
|
end
|
48
48
|
|
@@ -15,7 +15,7 @@ class CucumberChecker
|
|
15
15
|
rescue Errno::ENOENT
|
16
16
|
"Cucumber not found"
|
17
17
|
end
|
18
|
-
{:
|
18
|
+
{ type: :cucumber, check_output: output, status: status }
|
19
19
|
end
|
20
20
|
|
21
21
|
private
|
@@ -27,7 +27,8 @@ class CucumberChecker
|
|
27
27
|
# @author dmasur
|
28
28
|
def status
|
29
29
|
if @shell_output.include? 'scenarios'
|
30
|
-
|
30
|
+
regexp = /\d+ scenarios \((\d+) failed, \d+ passed\)/
|
31
|
+
match_data = regexp.match(@shell_output)
|
31
32
|
if match_data
|
32
33
|
failed_scenarios = match_data[1]
|
33
34
|
"#{failed_scenarios} failed scenarios".red
|
@@ -16,9 +16,10 @@ class ReekChecker
|
|
16
16
|
rescue Errno::ENOENT
|
17
17
|
"Reek not found"
|
18
18
|
end
|
19
|
-
@shell_output = @shell_output.split("\n").
|
20
|
-
|
21
|
-
|
19
|
+
@shell_output = @shell_output.split("\n").delete_if do |line|
|
20
|
+
line.include?('already initialized constant')
|
21
|
+
end.join("\n")
|
22
|
+
{ type: :reek, check_output: output, status: status }
|
22
23
|
end
|
23
24
|
|
24
25
|
private
|
@@ -9,13 +9,13 @@ class RspecChecker
|
|
9
9
|
#
|
10
10
|
# @return [Hash] Checkresult
|
11
11
|
# @author dmasur
|
12
|
-
def result
|
12
|
+
def result(directory="spec")
|
13
13
|
@shell_output = begin
|
14
14
|
`export COVERAGE=true; rspec #{directory}; export COVERAGE=`
|
15
15
|
rescue Errno::ENOENT
|
16
16
|
"RSpec not found"
|
17
17
|
end
|
18
|
-
{:
|
18
|
+
{ type: directory, status: status + code_coverage, check_output: output }
|
19
19
|
end
|
20
20
|
|
21
21
|
private
|
@@ -11,7 +11,7 @@ require 'rake_check/brakeman_checker'
|
|
11
11
|
#
|
12
12
|
# @param [String] string The string to print
|
13
13
|
# @author dmasur
|
14
|
-
def puts_unless_empty
|
14
|
+
def puts_unless_empty(string)
|
15
15
|
puts string unless string.empty?
|
16
16
|
end
|
17
17
|
|
@@ -20,7 +20,7 @@ end
|
|
20
20
|
#
|
21
21
|
# @param [Array / Hash] results Array of Results or Hashresult
|
22
22
|
# @author dmasur
|
23
|
-
def print_check_result
|
23
|
+
def print_check_result(results)
|
24
24
|
print_outputs results
|
25
25
|
print_summary results
|
26
26
|
end
|
@@ -29,7 +29,7 @@ end
|
|
29
29
|
# Print Outputs of each result
|
30
30
|
#
|
31
31
|
# @author dmasur
|
32
|
-
def print_outputs
|
32
|
+
def print_outputs(results)
|
33
33
|
results.each do |result|
|
34
34
|
puts_unless_empty result[:check_output]
|
35
35
|
end
|
@@ -39,11 +39,11 @@ end
|
|
39
39
|
# Print Summary of all Outputs
|
40
40
|
#
|
41
41
|
# @author dmasur
|
42
|
-
def print_summary
|
42
|
+
def print_summary(results)
|
43
43
|
result = results.map do |result|
|
44
|
-
"#{result[:type]}
|
44
|
+
"#{result[:type]}§#{result[:status]}"
|
45
45
|
end
|
46
|
-
puts `echo "#{result.join("\n")}" | column -t
|
46
|
+
puts `echo "#{result.join("\n")}" | column -t -s§`
|
47
47
|
end
|
48
48
|
|
49
49
|
desc "Check all Metric tools"
|
data/lib/rake_check/version.rb
CHANGED
@@ -1,40 +1,25 @@
|
|
1
1
|
require File.expand_path(File.dirname(__FILE__) + '/../../../lib/rake_check/brakeman_checker')
|
2
2
|
|
3
3
|
describe BrakemanChecker do
|
4
|
+
let(:tracker) { stub("Tracker", checks: stub("Checks", warnings: [])) }
|
4
5
|
it "gives N/A on no Rails Apps" do
|
5
|
-
subject.stub('`' => '')
|
6
6
|
subject.result.should == { type: :brakeman, check_output: '', status: 'N/A' }
|
7
7
|
end
|
8
|
-
it "gives N/A on Error" do
|
9
|
-
subject.stub('`' => 'Error')
|
10
|
-
subject.result.should == { type: :brakeman, check_output: 'Error', status: 'Parse Error' }
|
11
|
-
end
|
12
8
|
it "gives OK with no Errors" do
|
13
|
-
|
14
|
-
|
15
|
-
subject.stub('`' => shell_output)
|
9
|
+
Brakeman.should_receive(:run).and_return tracker
|
10
|
+
subject.stub(:`)
|
16
11
|
subject.result.should == { type: :brakeman,
|
17
12
|
check_output: '',
|
18
|
-
status: "\e[32m0\e[0m Warnings
|
13
|
+
status: "\e[32m0\e[0m Warnings" }
|
19
14
|
end
|
20
15
|
describe "Code Coverage" do
|
21
|
-
it "is red with errors" do
|
22
|
-
shell_output = File.read(File.expand_path(File.dirname(__FILE__) +
|
23
|
-
'/../../files/brakeman_error.json'))
|
24
|
-
subject.stub('`' => shell_output)
|
25
|
-
output = 'unterminated string meets end of file. near line 13:' +
|
26
|
-
' "" While processing /path/to/app/controllers/admin/admins_controller.rb'
|
27
|
-
subject.result.should == { type: :brakeman,
|
28
|
-
check_output: output,
|
29
|
-
status: "\e[32m0\e[0m Warnings, \e[31m1\e[0m Errors" }
|
30
|
-
end
|
31
16
|
it "is red with warnings" do
|
32
|
-
|
33
|
-
|
34
|
-
|
17
|
+
tracker.checks.stub(warnings: [stub("Warning")])
|
18
|
+
tracker.stub(report: "Report")
|
19
|
+
Brakeman.should_receive(:run).and_return tracker
|
35
20
|
subject.result.should == { type: :brakeman,
|
36
|
-
check_output: '
|
37
|
-
status: "\e[31m1\e[0m Warnings
|
21
|
+
check_output: 'Report',
|
22
|
+
status: "\e[31m1\e[0m Warnings" }
|
38
23
|
end
|
39
24
|
end
|
40
25
|
end
|
@@ -2,18 +2,18 @@ require File.expand_path(File.dirname(__FILE__) + '/../../../lib/rake_check/cane
|
|
2
2
|
|
3
3
|
describe CaneChecker do
|
4
4
|
it "gives N/A on Error" do
|
5
|
-
subject.stub(
|
5
|
+
subject.stub(:` => 'Error')
|
6
6
|
subject.result.should == { type: :cane, check_output: 'Error', status: 'N/A' }
|
7
7
|
end
|
8
8
|
it "gives OK with no Errors" do
|
9
|
-
subject.stub(
|
9
|
+
subject.stub(:` => '')
|
10
10
|
subject.result.should == { type: :cane,
|
11
11
|
check_output: '',
|
12
12
|
status: "\e[32mOK\e[0m" }
|
13
13
|
end
|
14
14
|
it "adds Class and Line violations" do
|
15
15
|
shell_output = "Lines violated style requirements (10):\nClasses are not documented (1):"
|
16
|
-
subject.stub(
|
16
|
+
subject.stub(:` => shell_output)
|
17
17
|
subject.result.should == { type: :cane,
|
18
18
|
check_output: shell_output,
|
19
19
|
status: "\e[31m11\e[0m Style Violations" }
|
@@ -21,21 +21,21 @@ describe CaneChecker do
|
|
21
21
|
it "dont count other infos" do
|
22
22
|
shell_output = "Lines violated style requirements (1):
|
23
23
|
app/models/foo.rb:14 Line is >100 characters (115)"
|
24
|
-
subject.stub(
|
24
|
+
subject.stub(:` => shell_output)
|
25
25
|
subject.result.should == { type: :cane,
|
26
26
|
check_output: shell_output,
|
27
27
|
status: "\e[33m1\e[0m Style Violations" }
|
28
28
|
end
|
29
29
|
it "is yellow under 10 Violations" do
|
30
30
|
shell_output = "Lines violated style requirements (10):"
|
31
|
-
subject.stub(
|
31
|
+
subject.stub(:` => shell_output)
|
32
32
|
subject.result.should == { type: :cane,
|
33
33
|
check_output: shell_output,
|
34
34
|
status: "\e[31m10\e[0m Style Violations" }
|
35
35
|
end
|
36
36
|
it "is red under 10 Violations" do
|
37
37
|
shell_output = "Lines violated style requirements (9):"
|
38
|
-
subject.stub(
|
38
|
+
subject.stub(:` => shell_output)
|
39
39
|
subject.result.should == { type: :cane,
|
40
40
|
check_output: shell_output,
|
41
41
|
status: "\e[33m9\e[0m Style Violations" }
|
@@ -2,17 +2,17 @@ require File.expand_path(File.dirname(__FILE__) + '/../../../lib/rake_check/cucu
|
|
2
2
|
|
3
3
|
describe CucumberChecker do
|
4
4
|
it "gives N/A on Error" do
|
5
|
-
subject.stub(
|
5
|
+
subject.stub(:` => 'Error')
|
6
6
|
subject.result.should == { type: :cucumber, check_output: '', status: 'N/A' }
|
7
7
|
end
|
8
8
|
it "gives OK with no Errors" do
|
9
|
-
subject.stub(
|
9
|
+
subject.stub(:` => '8 scenarios (8 passed)')
|
10
10
|
subject.result.should == { type: :cucumber,
|
11
11
|
check_output: '',
|
12
12
|
status: "\e[32mOK\e[0m" }
|
13
13
|
end
|
14
14
|
it "is red on Error" do
|
15
|
-
subject.stub(
|
15
|
+
subject.stub(:` => "8 scenarios (1 failed, 7 passed)")
|
16
16
|
subject.result.should == { type: :cucumber,
|
17
17
|
check_output: '8 scenarios (1 failed, 7 passed)',
|
18
18
|
status: "\e[31m1 failed scenarios\e[0m" }
|
@@ -2,15 +2,15 @@ require File.expand_path(File.dirname(__FILE__) + '/../../../lib/rake_check/rbp_
|
|
2
2
|
|
3
3
|
describe RbpChecker do
|
4
4
|
it "gives N/A on Error" do
|
5
|
-
subject.stub(
|
5
|
+
subject.stub(:` => 'Error')
|
6
6
|
subject.result.should == { type: :rbp, check_output: 'Error', status: 'N/A' }
|
7
7
|
end
|
8
8
|
it "gives OK with no Errors" do
|
9
|
-
subject.stub(
|
9
|
+
subject.stub(:` => 'No warning found. Cool!')
|
10
10
|
subject.result.should == { type: :rbp, check_output: '', status: "\e[32mOK\e[0m" }
|
11
11
|
end
|
12
12
|
it "gives warning message with Errors" do
|
13
|
-
subject.stub(
|
13
|
+
subject.stub(:` => 'Found 1 warnings.')
|
14
14
|
subject.result.should == { type: :rbp,
|
15
15
|
check_output: 'Found 1 warnings.',
|
16
16
|
status: "\e[31mFound 1 warnings\e[0m" }
|
@@ -2,17 +2,17 @@ require File.expand_path(File.dirname(__FILE__) + '/../../../lib/rake_check/reek
|
|
2
2
|
describe ReekChecker do
|
3
3
|
it "gives N/A on Error" do
|
4
4
|
require 'ruby_parser'
|
5
|
-
subject.stub(
|
5
|
+
subject.stub(:` => 'Error')
|
6
6
|
subject.result.should == { type: :reek, check_output: 'Error', status: "\e[31mN/A\e[0m" }
|
7
7
|
end
|
8
8
|
it "gives OK on no Error" do
|
9
|
-
subject.stub(
|
9
|
+
subject.stub(:` => 'warning: already initialized constant ENC_UTF8')
|
10
10
|
subject.result.should == { type: :reek, check_output: '', status: "\e[32mOK\e[0m" }
|
11
11
|
end
|
12
12
|
it "gives Error with on Codesmells" do
|
13
13
|
shell_output = File.read(File.expand_path(File.dirname(__FILE__) +
|
14
14
|
'/../../files/reek_output.yaml'))
|
15
|
-
subject.stub(
|
15
|
+
subject.stub(:` => shell_output)
|
16
16
|
check_output = "DuplicateMethodCall: ReekChecker#status@19, 20, 21, 22, 23\n"
|
17
17
|
check_output += "TooManyStatements: ReekChecker#status@17"
|
18
18
|
subject.result.should == { type: :reek,
|
@@ -2,20 +2,20 @@ require File.expand_path(File.dirname(__FILE__) + '/../../../lib/rake_check/rspe
|
|
2
2
|
|
3
3
|
describe RspecChecker do
|
4
4
|
it "gives N/A on Error" do
|
5
|
-
subject.stub(
|
5
|
+
subject.stub(:` => 'Error')
|
6
6
|
subject.result.should == { type: "spec", check_output: 'Error', status: 'N/A' }
|
7
7
|
end
|
8
8
|
it "gives OK with no Errors" do
|
9
|
-
subject.stub(
|
9
|
+
subject.stub(:` => '6 examples, 0 failures')
|
10
10
|
subject.result.should == { type: "spec", check_output: '', status: "\e[32mOK\e[0m" }
|
11
11
|
end
|
12
12
|
it "gives warning message with Errors" do
|
13
|
-
subject.stub(
|
13
|
+
subject.stub(:` => '6 examples, 3 failures')
|
14
14
|
subject.result.should == { type: "spec", check_output: '6 examples, 3 failures',
|
15
15
|
status: "\e[31m3 failures\e[0m" }
|
16
16
|
end
|
17
17
|
it "gives warning message with one Error" do
|
18
|
-
subject.stub(
|
18
|
+
subject.stub(:` => '6 examples, 1 failure')
|
19
19
|
subject.result.should == { type: "spec", check_output: '6 examples, 1 failure',
|
20
20
|
status: "\e[31m1 failure\e[0m" }
|
21
21
|
end
|
@@ -23,21 +23,21 @@ describe RspecChecker do
|
|
23
23
|
it "is green over 90%" do
|
24
24
|
check_output = "6 examples, 0 failures
|
25
25
|
Coverage report generated for RSpec to /foo/bar/coverage. 38 / 38 LOC (93.90%) covered."
|
26
|
-
subject.stub(
|
26
|
+
subject.stub(:` => check_output)
|
27
27
|
subject.result.should == { type: "spec", check_output: '',
|
28
28
|
status: "\e[32mOK\e[0m with \e[32m93.9%\e[0m Code Coverage" }
|
29
29
|
end
|
30
30
|
it "is green over 70%" do
|
31
31
|
check_output = "6 examples, 0 failures
|
32
32
|
Coverage report generated for RSpec to /foo/bar/coverage. 38 / 38 LOC (73.90%) covered."
|
33
|
-
subject.stub(
|
33
|
+
subject.stub(:` => check_output)
|
34
34
|
subject.result.should == { type: "spec", check_output: '',
|
35
35
|
status: "\e[32mOK\e[0m with \e[33m73.9%\e[0m Code Coverage" }
|
36
36
|
end
|
37
37
|
it "is green over 10%" do
|
38
38
|
check_output = "6 examples, 0 failures
|
39
39
|
Coverage report generated for RSpec to /foo/bar/coverage. 38 / 38 LOC (13.90%) covered."
|
40
|
-
subject.stub(
|
40
|
+
subject.stub(:` => check_output)
|
41
41
|
subject.result.should == { type: "spec", check_output: '',
|
42
42
|
status: "\e[32mOK\e[0m with \e[31m13.9%\e[0m Code Coverage" }
|
43
43
|
end
|
@@ -2,30 +2,30 @@ require File.expand_path(File.dirname(__FILE__) + '/../../../lib/rake_check/yard
|
|
2
2
|
|
3
3
|
describe YardChecker do
|
4
4
|
it "gives N/A on Error" do
|
5
|
-
subject.stub(
|
5
|
+
subject.stub(:` => 'Error')
|
6
6
|
subject.result.should == { type: :yard, check_output: 'Error', status: 'N/A' }
|
7
7
|
end
|
8
8
|
it "gives OK with no Errors" do
|
9
|
-
subject.stub(
|
9
|
+
subject.stub(:` => '100.00% documented')
|
10
10
|
subject.result.should == { type: :yard,
|
11
11
|
check_output: '',
|
12
12
|
status: "\e[32m100.0%\e[0m documented" }
|
13
13
|
end
|
14
14
|
describe "Code Coverage" do
|
15
15
|
it "is green over 90%" do
|
16
|
-
subject.stub(
|
16
|
+
subject.stub(:` => "93.00% documented")
|
17
17
|
subject.result.should == { type: :yard,
|
18
18
|
check_output: '',
|
19
19
|
status: "\e[32m93.0%\e[0m documented" }
|
20
20
|
end
|
21
21
|
it "is green over 70%" do
|
22
|
-
subject.stub(
|
22
|
+
subject.stub(:` => "73.00% documented")
|
23
23
|
subject.result.should == { type: :yard,
|
24
24
|
check_output: '',
|
25
25
|
status: "\e[33m73.0%\e[0m documented" }
|
26
26
|
end
|
27
27
|
it "is green over 10%" do
|
28
|
-
subject.stub(
|
28
|
+
subject.stub(:` => "13.00% documented")
|
29
29
|
subject.result.should == { type: :yard,
|
30
30
|
check_output: '',
|
31
31
|
status: "\e[31m13.0%\e[0m documented" }
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rake_check
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.9
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2012-06-22 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|
16
|
-
requirement: &
|
16
|
+
requirement: &70358149806960 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70358149806960
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: colored
|
27
|
-
requirement: &
|
27
|
+
requirement: &70358149804880 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70358149804880
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: rake
|
38
|
-
requirement: &
|
38
|
+
requirement: &70358149802660 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: '0'
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *70358149802660
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: reek
|
49
|
-
requirement: &
|
49
|
+
requirement: &70358149801500 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ! '>='
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: '0'
|
55
55
|
type: :runtime
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *70358149801500
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: cane
|
60
|
-
requirement: &
|
60
|
+
requirement: &70358149593540 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ! '>='
|
@@ -65,10 +65,10 @@ dependencies:
|
|
65
65
|
version: '0'
|
66
66
|
type: :runtime
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *70358149593540
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: cucumber
|
71
|
-
requirement: &
|
71
|
+
requirement: &70358149591800 !ruby/object:Gem::Requirement
|
72
72
|
none: false
|
73
73
|
requirements:
|
74
74
|
- - ! '>='
|
@@ -76,10 +76,10 @@ dependencies:
|
|
76
76
|
version: '0'
|
77
77
|
type: :runtime
|
78
78
|
prerelease: false
|
79
|
-
version_requirements: *
|
79
|
+
version_requirements: *70358149591800
|
80
80
|
- !ruby/object:Gem::Dependency
|
81
81
|
name: brakeman
|
82
|
-
requirement: &
|
82
|
+
requirement: &70358149588860 !ruby/object:Gem::Requirement
|
83
83
|
none: false
|
84
84
|
requirements:
|
85
85
|
- - ! '>='
|
@@ -87,7 +87,7 @@ dependencies:
|
|
87
87
|
version: '0'
|
88
88
|
type: :runtime
|
89
89
|
prerelease: false
|
90
|
-
version_requirements: *
|
90
|
+
version_requirements: *70358149588860
|
91
91
|
description: Checking the Project for Code Smells and bad documentation
|
92
92
|
email:
|
93
93
|
- dominik.masur@googlemail.com
|
@@ -104,6 +104,7 @@ files:
|
|
104
104
|
- LICENSE
|
105
105
|
- README.md
|
106
106
|
- Rakefile
|
107
|
+
- config/rails_best_practices.yml
|
107
108
|
- lib/rake_check.rb
|
108
109
|
- lib/rake_check/brakeman_checker.rb
|
109
110
|
- lib/rake_check/cane_checker.rb
|
@@ -142,7 +143,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
142
143
|
version: '0'
|
143
144
|
segments:
|
144
145
|
- 0
|
145
|
-
hash:
|
146
|
+
hash: 1454485576063868119
|
146
147
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
147
148
|
none: false
|
148
149
|
requirements:
|
@@ -151,7 +152,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
151
152
|
version: '0'
|
152
153
|
segments:
|
153
154
|
- 0
|
154
|
-
hash:
|
155
|
+
hash: 1454485576063868119
|
155
156
|
requirements: []
|
156
157
|
rubyforge_project:
|
157
158
|
rubygems_version: 1.8.10
|