Sha256: 235d6549440ebc1e44743b89d056865f60026c476643bd8afedfa9fbae132a7a
Contents?: true
Size: 475 Bytes
Versions: 18
Compression:
Stored size: 475 Bytes
Contents
desc 'Base engine tasks' namespace :flexite do task convert_yml: :environment do puts 'Converting....' result = Flexite::Data::NewService.new(Flexite::Data::Migrators::Yaml.new).call puts 'Finished' puts 'Errors:' result[:errors].each do |object, errors| puts "record: #{object.inspect}" errors.each do |error| puts "message: #{error.first}" puts "backtrace: #{error.last}" end puts '-' * 70 end end end
Version data entries
18 entries across 18 versions & 1 rubygems