class GemsStatus::IsNotGpl

Public Class Methods

new(conf) click to toggle source
# File lib/gems-status/checkers/is_not_gpl.rb, line 3
def initialize(conf)
end

Public Instance Methods

check?(gem) click to toggle source
# File lib/gems-status/checkers/is_not_gpl.rb, line 5
def check?(gem)
  if !gem.license || gem.license.empty?
   return true
  end
  gem.license.upcase  !~ /\bGPL/ 
end
description() click to toggle source
# File lib/gems-status/checkers/is_not_gpl.rb, line 11
def description
  "This gem is GPL"
end