Merge pull request #55 from pitr-ch/master

better state control of run phase
Merge pull request #56 from pitr-ch/master

mishmash
Merge pull request #58 from pitr-ch/master

Changing progress_update to event
README
Merge branch 'step-events'
Extract consistency check outside of executor

The consistency check should not be buried into parallel executor.
Ideally, it should not be dependent on no executor running (should be
solved with register of executors). But for now, I think it's better
to leave the responsibility of running the consistency check the right
moment for the Dynflow user.

With the executors register in place, it should even not matter when
or where the consistency check is run.

This also allows us getting rid of the @world.initielized future.
Run consistency check automatically when using SimpleWorld
Merge pull request #61 from iNecas/extract_data_cleanup

Extract consistency check outside of executor
Make world termination thread-safe

When world was terminated twice, the second time the future was not
resolved. This might happen, when calling the termination from more
places (for example in at_exit and trap("SIGINT")).

I've made the call also thread safe, just for sure.
Fix tests

Addressing:

    dynflow/test/test_helper.rb:10:in `block in <top (required)>': uninitialized constant Dynflow::CodeWorkflowExample::PollingService
Use bundle exec to run tests
Unskip test: terminating twice in row doesn't block anymore
Skip test: waiting for remote executor blocks

Known issue, will be addressed soon
Merge pull request #62 from iNecas/thread-safe-terminate

Make world termination idempotent and thread-safe
Sequel settings cleanup

Use explicit name for sequel schema table to avoid possible collisions
when multiple ORMs in place. Also avoid possible collisions with
ActiveRecord and Sequel 3.45.0 by explicitly not using sequel core extensions.
Merge pull request #63 from iNecas/fix-sequel

Sequel settings cleanup
update mintiest to 5.0 to get fix for .after_tests
TODOs update
Auto-convert Future#fail „message“ to FutureFailed.new(„message“) exception
Do not send Accept after Done or twice