Weasel-Diesel 1.3.0
The main change in this release is now you can generate documentation with just Weasel-Diesel. So, if you ever wanted to document your existing API, or to spec out an API you want to implement in another language or framework, now you can do that with Weasel-Diesel.
We've also revamped the html theme with Bootstrap 3.0. The theme is still very basic, but it's a good starting point to extend and build on going forward.
Full changelog:
- Move documentation generation from wd_sinatra into Weasel-Diesel.
- Drop support for Ruby 1.8.7.
- Fix rspec deprecation:
expect { }.not_to raise_error(SpecificErrorClass)
- DSL now only extends the top level main object.
wd-sinatra 2.0.0
The main change for 2.0.0 is that it now generates a Sinatra app using the modular style. This makes it easier to mount your API along other frameworks (such as Rails).
Major Changes (Backwards Incompatible)
- Switch generated Sinatra app from classic to modular style.
- Set content_type depending on service.formats and http accept header.
- Drop support for ruby
1.8.7
.
New Features
- Replace custom BodyParser with
rack-parser
middleware. - Use
rerun
gem for auto code reloading in development/test. - Wrap doc generation from WeaselDiesel::CLI. Documentation is generated via thor now, instead of rake.
- Update doc generation to support optional namespaces.
- Simpler, more compact documentation template. Removes
WD::Response::Element#to_html
and Bootstrap dependencies. - Remove activesupport as a dependency, use inflecto for inflection support.
Resolved issues
- Fix conflict with current Sinatra's
template
. - Fix ul tag not rendering in doc generator.