lib/gooddata/models/model.rb in gooddata-0.6.26 vs lib/gooddata/models/model.rb in gooddata-0.6.27
- old
+ new
@@ -173,10 +173,10 @@
zip.get_output_stream('upload_info.json') { |f| f.puts JSON.pretty_generate(manifest) }
data.zip(manifest['dataSetSLIManifestList']).each do |item|
path = item[0][:data]
path = item[0][:data].path if item[0][:data].respond_to? :path
- inline_data = path.is_a?(String) ? false : true
+ inline_data = !path.is_a?(String)
csv_header = nil
filename = item[1]['dataSetSLIManifest']['file']
if inline_data