Weasel-Diesel 1.3.0 and wd-sinatra 2.0.0 released!

58 views
Skip to first unread message

Jack Chu

unread,
Aug 30, 2013, 7:31:11 PM8/30/13
to weasel...@googlegroups.com
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).  


Full changelog: 

    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.

    Matt Aimonetti

    unread,
    Sep 2, 2013, 5:42:06 AM9/2/13
    to Jack Chu, weaseldiesel
    \0/


    --
    https://github.com/mattetti/wd-sinatra
    https://github.com/mattetti/Weasel-Diesel
    ---
    You received this message because you are subscribed to the Google Groups "WeaselDiesel" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to weaseldiesel...@googlegroups.com.
    Visit this group at http://groups.google.com/group/weaseldiesel.
    For more options, visit https://groups.google.com/groups/opt_out.

    Reply all
    Reply to author
    Forward
    0 new messages