Misc:
- Added singleton usage deprecation warnings
Features:
- Shortcode converted from module to a class (@toddnestor)
- Separate instances of Shortcode have separate configurations (@toddnestor)
- Updated to parslet 1.8.0
- Updated to rspec 3.6
- Template loading can be from configuration or file (@toddnestor)
Misc:
- Testing against the latest versions of Rails 5.0 & 5.1
Features:
- Updated to parslet 1.7.1
- Updated to rspec 3.3
Fixes:
- The order registered tags are defined no longer causes parsing to work incorrectly
Misc:
- Testing against the latest versions of Rails 4.1 & 4.2
Features:
- Support for registering multiple presenters with a single call
Fixes:
- Whitespace after tags is now preserved
Features:
- Implemented a TemplateBinding class as the binding to templates to provide a clean interface
- Updated to parslet 1.6.2
- Updated to rspec 3.1
Misc:
- Testing against the latest versions of Rails 3.1, 3.2, 4.0, 4.1 & 4.2
- Testing against the latest versions of Ruby 1.9.3-p551, 2.0.0-p598, 2.1.5 & 2.2.0
- Dropped test support for Rails 3.0
- Dropped test support for run 1.9.2
- README improvements
Features:
- Adds support for attributes without quotations around them
Breaking Changes:
- Renamed configuration options so they are more clear
Features:
- Adds support for custom helpers in templates
Features:
- Adds presenter class method validation
Features:
- Adds support to apply a single presenter to multiple short code snippets
Misc:
- Prevent coveralls from running locally
- Updated to rspec 3
Features:
- Switched to erb as the default template language and removed dependency on haml
Misc:
- Added haml default template parser deprecation message
Features:
- Added support for slim templates (@keichan34)
- Updated rails versions to test against and updated read me with tested versions of ruby/rails
Features:
- Added config option to support loading templates from strings
Features:
- Presenters now support additional attributes
- Updated parslet gem to 1.6.0 for performance improvements
- Add config option for quotation sign (@lenart)
Features:
- Test suite runs against multiple version of ruby and rails
Bugfixes:
- Presenters are now initialised correctly, allow gem to be used without needing to call Shortcode.setup (fixes #6)
- Only include rails helpers in rails version 3 or higher
Misc:
- Simplify presenter image lookup in README (@chrsgrrtt)
Features:
- Support rails helpers in templates when used within a rails project
Features:
- Presenters added
Bugfixes:
- Support configurations with empty tag arrays (fixes #1)
Misc:
- Relaxed haml version requirement
- Removed dependency on the facets gem
Features:
- Added a convenience method to parse and transform at the same time
- Added examples to README
- Changed default tags in config
- Changed @options variable to @attributes in templates to better describe what it is
- Change the @text variable to @content in templates
Initial Release