primedia/clj-ops — pull request #4 by err (2014-11-14 08:06:02+00:00)
Title: [EC][82715692] unify interface to ops-routes

- Prior to this commit: build-info was a map, env was a delay, config
was a function. Now they're expected to be 0-ary functions which
return maps. Motivating factor is developer friendliness.

[[82715692] – unified interface for clj-ops ] (https://www.pivotaltracker.com/story/show/82715692)
clj-ops.core/ops-routes function takes 3 arguments of different types.

ARGS:
- build-info :: a map containing the build information for this particular jar.
- env :: a delay containing a map of the environment variables
- config :: a function returning the app specific configuration (ie. Confusion)"

It'll make integration with RandR smoother if we make all 3 something consistent (EC is leaning toward a function)