lib/ra10ke/validate.rb in ra10ke-2.0.0 vs lib/ra10ke/validate.rb in ra10ke-3.0.0
- old
+ new
@@ -6,11 +6,10 @@
require 'English'
require 'ra10ke/git_repo'
module Ra10ke
module Validate
-
GOOD_EMOJI = ENV['GOOD_EMOJI'] || '👍'
BAD_EMOJI = ENV['BAD_EMOJI'] || '😨'
# Validate the git urls and refs
def define_task_validate(*)
@@ -62,10 +61,10 @@
name: mod[:name],
url: repo.url,
ref: ref,
valid_url?: repo.valid_url?,
valid_ref?: valid_ref,
- status: valid_ref ? Ra10ke::Validate::GOOD_EMOJI : Ra10ke::Validate::BAD_EMOJI
+ status: valid_ref ? Ra10ke::Validate::GOOD_EMOJI : Ra10ke::Validate::BAD_EMOJI,
}
end
end
end