mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-10 17:21:38 -05:00
Fix export_serializer_spec and update changelog
This commit is contained in:
parent
ff9735b972
commit
69c19df3cb
2 changed files with 5 additions and 2 deletions
|
|
@ -26,6 +26,7 @@ deploy:
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
- A notification about an existing import with the same name will now show the import name
|
- A notification about an existing import with the same name will now show the import name
|
||||||
|
- Export file now also will contain `raw_dat` field for each point. This field contains the original data that was imported to the application.
|
||||||
|
|
||||||
|
|
||||||
## [0.12.2] — 2024-08-28
|
## [0.12.2] — 2024-08-28
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,8 @@ RSpec.describe ExportSerializer do
|
||||||
tst: points.first.timestamp.to_i,
|
tst: points.first.timestamp.to_i,
|
||||||
inrids: points.first.inrids,
|
inrids: points.first.inrids,
|
||||||
inregions: points.first.in_regions,
|
inregions: points.first.in_regions,
|
||||||
topic: points.first.topic
|
topic: points.first.topic,
|
||||||
|
raw_data: points.first.raw_data
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
lat: points.second.latitude,
|
lat: points.second.latitude,
|
||||||
|
|
@ -50,7 +51,8 @@ RSpec.describe ExportSerializer do
|
||||||
tst: points.second.timestamp.to_i,
|
tst: points.second.timestamp.to_i,
|
||||||
inrids: points.second.inrids,
|
inrids: points.second.inrids,
|
||||||
inregions: points.second.in_regions,
|
inregions: points.second.in_regions,
|
||||||
topic: points.second.topic
|
topic: points.second.topic,
|
||||||
|
raw_data: points.second.raw_data
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue