README.md in acts_as_xlsx-1.0.2 vs README.md in acts_as_xlsx-1.0.3
- old
+ new
@@ -5,36 +5,38 @@
**IRC**: [irc.freenode.net / #axlsx](irc://irc.freenode.net/axlsx)
**Git**: [http://github.com/randym/acts_as_xlsx](http://github.com/randym/acts_as_xlsx)
**Author**: Randy Morgan
**Copyright**: 2011
**License**: MIT License
-**Latest Version**: 1.0.2
+**Latest Version**: 1.0.3
**Ruby Version**: 1.8.7 - 1.9.3
-**Release Date**: December 3rd 2011
+**Release Date**: December 6th 2011
Synopsis
--------
Acts_as_xlsx is an active record plugin for Axlsx. It makes generating excel spreadsheets from any subclass of ActiveRecord::Base as simple as a couple of lines of code.
Feature List
------------
-**1. Mixes into active record base to provide to_xlsx methods on both class and instance active record inheritors.
+**1. Mixes into active record base to provide to_xlsx
**2. Can work at the end of any series of finder methods.
**3. Can accept any set of find options
**4. Automates localization of column heading with i18n support
-**5. Lets you specify columns the precise columns and/or methods you want to call to populate your table in one go.
+**5. Lets you specify columns and methods chains you want to call to populate your table in one go.
**6. Gives you access to the axlsx package so you can add styles, charts and pictures to satisfy those flashy sales guys.
**7. Plays nicely with both ruby 1.8.7 + rails 2.3 as well as ruby 1.9.3 + rails 3
+**8. Automatically registers xlsx Mime type for use in respond_to web-service support.
+
Installing
----------
To install, use the following command:
@@ -43,10 +45,13 @@
Usage
-----
###Examples
+Also see the writeups here:
+http://axlsx.blogspot.com/
+
A trivial rails example. In a production environment you will want to you stuff like x_sendfile and Tempfile
http://www.therailsway.com/2009/2/22/file-downloads-done-right
for nginx
http://andrewtimberlake.com/blog/how-to-protect-downloads-but-still-have-nginx-serve-the-files
@@ -104,9 +109,12 @@
This gem has 100% coverage using Test::Unit
Changelog
---------
+- **December.6.11**: 1.0.3 release
+ - Added Mime type definition for rails to support respond_to |format| style handling in controllers.
+
- **December.3.11**: 1.0.2 release
Added support for chained method columns like :'model.association.attribute'
- **October.30.11**: 1.0.1 release
- Patch for inclusion error