zipmark/rspec_api_documentation — pull request #166 by mikz (2014-10-08 16:00:52+00:00)
Title: Make DSL work with config.disable_monkeypatching!

RSpec introduced configuration for disabling monkey patching `main`.

Unfortunately RspecApiDocumentation pollutes main scope by defining `resource` and depending on `describe`.

This patch moves the DSL to a module, extends ExampleGroup and leaves the rest on RSpec.

Also it requires all the dependencies by requiring `rspec_api_documentation` on the top.