lib/concourse-resource/rubygems/support/source.rb in concourse-resource-rubygems-0.1.1 vs lib/concourse-resource/rubygems/support/source.rb in concourse-resource-rubygems-0.1.2
- old
+ new
@@ -3,9 +3,12 @@
module ConcourseResource
module RubyGems
module Support
# Params for GemResource
module Source
+ include ::Contracts::Core
+ include ::Contracts::Builtin
+
Contract None => String
def gem
@gem ||= source.fetch 'gem'
rescue KeyError
STDERR.puts 'Params is missing gem'