allow interpolation of docker hostname into env_vars
removed checks preventing custom environments
Generate default cidfile as part of host_config
Merge pull request #17 from gnarg/jon/docker_hostname_interpolization

allow interpolation of docker hostname into env_vars
Use %DOCKER_HOSTNAME% rather than $DOCKER_HOSTNAME.
Added DOCKER_HOST interpolation to the README.
Make README clearer.
cidfile is optional and deploy.rake sets default to ‘/etc/cidfile’
Peg version of rspec in gemspec

The test suite fails under rspec 3. To prevent others from running into
this problem, we can pessimistically peg the version to the 2.14.x line.
Note that the test suite passes on 2.99.x, but gives a ton of
deprecation warnings.
Merge pull request #25 from ted27/peg_rspec_version

Peg version of rspec in gemspec
Add 'command' DSL method for customizable Cmd param

This fixes #19. It's a bit of a messy change, since I took a couple
stylistic liberties while implementing the feature.

Primarily, the intent for this feature is to support customizable
commands, because not every Docker image is built with the metadata
describing how it should be started. And sometimes users may wish to
start the same image in multiple ways.

This adds a DSL method `command`, as such:

  task :staging do
    host 'docker-server-1.example.com'
    command ['/bin/bash', '-c', '/bin/echo hi']
  end

Along the way, this refactors a couple of the lib/centurion/deploy.rb
methods to use default parameters that are closer to the data they
describe. And this also adjusts some RSpec tests to use `let` blocks so
that the tests are more readable (I found it very difficult to figure
out which parameters all the {}'s and []'s were referring to.)
Update README.md with command DSL example

(And fix some tabs that snuck in there)
Update some surrounding README language for command DSL
Handle Docker registry API inconsistency

I just opened an issue here[1], but since this is a bug biting people
now, I figure it's worth a fix.

This is caused because if the user is using the official Docker registry
to host their images, the API response for /v1/repositories/:repo/tags
is quite different than the current open-source registry[2]'s response.

This commit / PR adds a standardization based on the URL of the
registry. It's not perfect, but it seems likely to work for most folks.

[1]: https://github.com/docker/docker-registry/issues/517
[2]: https://github.com/docker/docker-registry
Merge pull request #24 from didip/add-cidfile

Automatically add cidfile when starting a container.
Merge branch 'master' into add_command_dsl

Conflicts:
	lib/centurion/deploy.rb
	lib/tasks/deploy.rake
	spec/deploy_spec.rb
Fix grammar.
Update CONTRIBUTORS.
Merge pull request #28 from tdooner/fix_docker_registry_tags

Handle Docker registry API inconsistency
Merge pull request #22 from RallySoftware/issue-20

removed checks preventing custom environments