lib/avro/builder/rake/avro_generate_task.rb in avro-builder-0.17.0 vs lib/avro/builder/rake/avro_generate_task.rb in avro-builder-1.0.0
- old
+ new
@@ -10,9 +10,10 @@
attr_accessor :name, :task_namespace, :task_desc, :root,
:load_paths, :dependencies, :filetype
def initialize(name: :generate, dependencies: [])
+ super()
@name = name
@task_namespace = :avro
@task_desc = 'Generate Avro schema files from Avro::Builder DSL'
@load_paths = []
@root = "#{Rails.root}/avro/dsl" if defined?(Rails)