kinit 0.0.6 → 0.0.7

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.
Files changed (3) hide show
  1. data/lib/kinit.rb +4 -4
  2. data/lib/kinit/version.rb +1 -1
  3. 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", "rcov", "reek"]
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
@@ -1,3 +1,3 @@
1
1
  module Kinit
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kinit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: