kinit 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/kinit.rb +4 -4
- data/lib/kinit/version.rb +1 -1
- metadata +1 -1
data/lib/kinit.rb
CHANGED
@@ -19,22 +19,22 @@ module Kinit
|
|
19
19
|
#end
|
20
20
|
|
21
21
|
def CheckIsGemPresent
|
22
|
-
gemList = ["cane","rails_best_practices", "
|
22
|
+
gemList = ["cane","rails_best_practices", "reek", "simplecov"]
|
23
23
|
|
24
24
|
gemList.each do |gemname|
|
25
25
|
puts "Checking if Gem '#{gemname}' present."
|
26
26
|
|
27
27
|
#if Gem::Specification.find_by_name(gem)
|
28
|
+
# raise GemsEnforcer::GemError, "Please include gem 'cane' to the project."
|
28
29
|
if Gem.available?(gemname)
|
29
30
|
puts "Gem '#{gemname}' is present in your project. Pretty Good."
|
30
|
-
else
|
31
|
-
# raise GemsEnforcer::GemError, "Please include gem 'cane' to the project."
|
31
|
+
else
|
32
32
|
puts "Gem '#{gemname}' is not present in your project. Not Good."
|
33
33
|
end
|
34
34
|
end
|
35
35
|
|
36
36
|
puts "Suggestion - You should use tools like 'CodeClimate' for your project."
|
37
|
-
|
37
|
+
|
38
38
|
return true
|
39
39
|
#puts "All good. Your project passes Kinit checks."
|
40
40
|
|
data/lib/kinit/version.rb
CHANGED