Files
openfoodnetwork/engines/dfc_provider
Maikel Linke 94b75540e4 Replace Timecop with Rails' time helpers
Rails 4.1 added time helpers but we never bothered using them. But now
I'm getting rid of the Timecop dependency and use standard helpers.

Beware though that the new helpers always freeze time. When you travel
to a certain date then the clock stops ticking while Timecop maintained
the passing of time.

The freezing of time could cause problems if you are trying to enforce a
timeout. But all current specs don't seem affected.

In most cases, the freezing will make it easier to avoid flaky specs.
2025-08-22 16:57:04 +10:00
..
2025-08-08 14:00:40 +10:00
2025-06-18 11:12:01 +10:00
2024-11-29 16:16:42 +11:00
2025-02-13 10:50:41 +11:00
2023-07-03 13:25:55 +10:00

Data Food Consortium API for the Open Food Network app (OFN DFC API)

This engine implements the Data Food Consortium specifications. It serves and reads semantic data encoded in JSON-LD.

The API is documented with Swagger at /api-docs. You can update these docs with:

./script/rswag engines/dfc_provider

More documentation by the Data Food Consortium: