Sha256: 22658c31eb23c23ec6a29887a546de5c71abfa8d4b69d37419ecf757b8d43052
Contents?: true
Size: 486 Bytes
Versions: 13
Compression:
Stored size: 486 Bytes
Contents
require 'avrolution/rake/base_task' module Avrolution module Rake class RegisterSchemasTask < BaseTask def initialize(*) super @name ||= :register_schemas @task_desc ||= 'Register the specified Avro JSON schemas' end private def perform raise 'schemas must be specified' if ENV['schemas'].blank? schemas = ENV['schemas'].split(',') Avrolution::RegisterSchemas.call(schemas) end end end end
Version data entries
13 entries across 13 versions & 1 rubygems