add floating title and tests plus minor tweaks
add counters and figure, table and example captions

- add a counter facility
- use counter to create synthetic captions for block images, tables and example blocks
- support creating, incrementing and reading counters from attributes
- tests and TomDoc
- optimize the checks for block title in the HTML5 templates
Initial options parsing and basic test
Fixing string to symbol, attribute tests
Remove common options in help, add TODO to match test
Modifying the fix to work on Ruby 1.8.7
Make Options a subclass of hash to avoid massive changes

Document now uses the Asciidoctor::Cli:Options class
Add in the invoker
Bad merge on the blocks_test, fixed
Updating the bin/asciidoctor file adding --trace option
edits for cli pull request

- move imports to bin/asciidoctor
- set built-in attributes for doc info (set in load API down the road)
- output to stdout if out file is '-'
- calculate output file based on input file if not specified (to comply w/ AsciiDoc)
- change attribute keys to strings (as Asciidoctor expects)
- change doctype options from symbols to strings
- make doctype apply to all backends
- add options for backends
- add option to enable compact output
- add option to set safe mode levels
- make suppress header_footer work
- add option to set eRuby implementation
- automatically set value to 1 for attribute w/o value
- add files to gemspec
Merge pull request #1 from mojavelinux/cli-review

Edits for cli pull request
enhance invoker, add tests, enforce security

- provide access to document after invoker runs for testing
- add stream redirection to invoker
- add exit code to invoker rather than using a hard exit
- check that input file exists in options
- set outfile on document after rendering for access in tests
- add support for stdin
- fix doc info attribute assignments, only set when input is a file
- clarify the purpose of base_dir and docdir, respectively
- use base_dir in normalize_asset_path
- don't allow document to emit docdir or absolute docfile in secure mode
- don't allow document to change doctype in secure mode
- cleanup the option descriptions
- add a --safe flag which is compatible with asciidoc
- take out rubygems require (that should be handled by rubygems)
- fix incorrect minute field in time format
- loads of invoker tests
- test for input file with spaces
- additional helper methods for testing invoker
- rename option_tests.rb to options_test.rb
- add timings to cli
- fix bug of not carrying over safe level in nested document
Merge pull request #2 from mojavelinux/cli-review-2

Enhance invoker, add tests, enforce security
Adding an asciidoctor-safe also explicit UNSAFE for cli
Really add the asciidoctor-safe
resolve issue #34: add load and render APIs

- add APIs to load Document from source
- add APIs to render source
- use load API in Invoker
Merge pull request #88 from mojavelinux/floating-title

Add floating title and tests, plus minor tweaks
Merge pull request #90 from mojavelinux/counters

Add counters and figure, table and example captions
Initial options parsing and basic test