Convert tests to beaker.
Merge pull request #114 from apenney/beaker

Convert tests to beaker.
Use the /v2 metrics endpoint instead of /metrics

The base url /metrics has long been a deprecated URL and creates noise when
tested like this. Not to mention in current puppetdb master we are removing
/v1 support so this test starts to break.

By making it /v2, we still afford support for most of our 1.x users, and
since /v2 will be around for quite some time this seems like a suitable
temporary step.

In the future a generic URL should really be provided by PuppetDB as something
that is more permanent and generic.

Signed-off-by: Ken Barber <ken@bob.sh>
Fix up unit tests after /v2 changes

Signed-off-by: Ken Barber <ken@bob.sh>
Merge pull request #116 from kbarber/maint/master/use-v3-api-for-testing

Use the /v2 metrics endpoint instead of /metrics
Release 3.0.1

Includes CHANGELOG changes and release bump.

Signed-off-by: Ken Barber <ken@bob.sh>
Merge pull request #117 from kbarber/maint/master/release_301

Release 3.0.1
Allow custom gemsource
Merge pull request #118 from hunner/dynamic_gemsource

Allow custom gemsource