script/update_menu_data.rb in komeda-0.1.14 vs script/update_menu_data.rb in komeda-0.2.0

- old
+ new

@@ -34,10 +34,10 @@ data.sort_by { _1['id'] }.each_with_object(initial_hash) do |row, hash| category_name = LARGE_TYPES_MAP[row['large_type']] next if category_name.nil? - item = row.slice('name', 'description') + item = row.slice('id', 'name', 'description') hash['all'].push(item) hash[category_name].push(item) end end