@@ -33,10 +33,9 @@ See [previous installations](#previous-installations) if needed.
3333
3434## Requirements
3535
36- * Tested on Rails 4.2, 5.x, 6.x, and 7.x.
37- * For Rails 3.1 or 3.2 use version 3.0
38- * ** As of 0.5.0 requires Axlsx 2.0.1, but strongly suggests 2.1.0.pre, which requires rubyzip 1.1.0**
39- * As of Rails 4.1 you must use ` render_to_string ` to render a mail attachment.
36+ * Tested on Rails 6.1, and 7.x.
37+ * Supported Ruby versions: 2.6, 2.7, 3.x
38+ * Minimum Caxlsx version: 4.0
4039
4140## FYI
4241
@@ -443,32 +442,6 @@ form_with method: :post, url: my_named_route_path(format: :xlsx) do |f|
443442
444443If you are having problems, try to isolate the issue. Use the console or a script to make sure your data is good. Then create the spreadsheet line by line without Axlsx-Rails to see if you are having caxlsx problems. If you can manually create the spreadsheet, create an issue and we will work it out.
445444
446- ## Previous Installations
447-
448- In your Gemfile:
449-
450- ``` ruby
451- gem ' rubyzip' , ' >= 1.2.1'
452- gem ' axlsx' , git: ' https://github.com/randym/axlsx.git' , ref: ' c8ac844'
453- gem ' axlsx_rails'
454- ```
455-
456- If ` rubyzip 1.0.0 ` is needed:
457-
458- ``` ruby
459- gem ' rubyzip' , ' = 1.0.0'
460- gem ' axlsx' , ' = 2.0.1'
461- gem ' axlsx_rails'
462- ```
463-
464- If ` rubyzip >= 1.1.0 ` is needed:
465-
466- ``` ruby
467- gem ' rubyzip' , ' ~> 1.1.0'
468- gem ' axlsx' , ' 2.1.0.pre'
469- gem ' axlsx_rails'
470- ```
471-
472445## Dependencies
473446
474447- [ Rails] ( https://github.com/rails/rails )
@@ -493,110 +466,3 @@ Many thanks to [contributors](https://github.com/caxlsx/caxlsx_rails/graphs/cont
493466* [ kodram] ( https://github.com/kodram )
494467* [ JohnSmall] ( https://github.com/JohnSmall )
495468* [ BenoitHiller] ( https://github.com/BenoitHiller )
496-
497- ## Change log
498-
499- ** June 18, 2024** : 0.6.4 release
500-
501- - Convert to Github actions
502- - Improve tests
503- - Fix broken templates with comments as their last line
504-
505- ** March 8, 2022** : 0.6.3 release
506-
507- - Exclude rspec directory (#149 )[ https://github.com/caxlsx/caxlsx_rails/pull/149 ]
508-
509- ** December 18, 2019** : 0.6.2 release
510-
511- - Release under caxlsx_rails
512-
513- ** December 18, 2019** : 0.6.1 release
514-
515- - Deprecate axlsx_rails name, release under caxlsx_rails
516- - Switch to using caxlsx 3.0 gem
517-
518- ** September 5, 2019** : 0.6.0 release
519-
520- - Improved Rails 6.0 compatibility re MIME type
521-
522- ** May 1st, 2018** : 0.5.2 release
523-
524- - Improved Rails 5 compatibility re MIME type
525-
526- ** March 29th, 2017** : 0.5.1 release
527-
528- - Fix stack trace line numbers
529- - Thanks to [ BenoitHiller] ( https://github.com/BenoitHiller )
530-
531- ** July 26st, 2016** : 0.5.0 release
532-
533- - Support for Rails 5
534- - ** Tested on on Rails 4.0, 4.1, 4.2, and 5.0**
535- - Bug fixes for unreadable files and UTF-8 errors
536-
537- ** July 13th, 2015** : 0.4.0 release
538-
539- - Support for Rails 4.2
540- - ** Removal of forced default_formats** (url format must match)
541- - ** Tested only on Rails 4.1 and 4.2**
542- - ** For Rails 3.2 or below, use 0.3.0**
543-
544- ** November 20th, 2014** : 0.3.0 release
545-
546- - Support for Rails 4.2.beta4.
547- - ** Removal of shorthand template syntax** (` render xlsx: 'another/directory' ` )
548-
549- ** September 4, 2014** : 0.2.1 release
550-
551- - Rails 4.2.beta1 no longer includes responder. This release checks for the existence of responder before configuring a default responder.
552- - Rails 4.2 testing, though not yet on Travis CI
553- - Author, created_at, and use_shared_strings parameters for Axlsx::Package.new
554-
555- ** April 9, 2014** : 0.2.0 release
556-
557- - Require Axlsx 2.0.1, which requires rubyzip 1.0.0
558- - Better render handling and testing, which might break former usage
559- - Rails 4.1 testing
560- - Mailer example update (** use render_to_string not render** )
561-
562- ** October 11, 2013**
563-
564- - Handle (and test) respond_to override
565-
566- ** October 4, 2013**
567-
568- - Added coveralls
569- - Raised testing to axlsx 2.0.1, roo 1.12.2, and rubyzip 1.0.0
570-
571- ** July 25, 2013**
572-
573- - Documentation improved
574- - Testing for generating partial in mailer
575-
576- ** January 18, 2013** : 0.1.4 release
577-
578- - Now supports Rails 4 (thanks [ Envek] ( https://github.com/Envek ) )
579- - If you call render : xlsx on a request without : xlsx format, it should force the : xlsx format. Works on Rails 3.2+.
580-
581- ** December 6, 2012** : 0.1.3 release
582-
583- - Fix for absolute template paths
584-
585- ** July 25, 2012** : 0.1.2 release
586-
587- - Partials tested
588-
589- ** July 19, 2012** : 0.1.1 release
590-
591- - Travis-ci added (thanks [ randym] ( https://github.com/randym ) )
592- - render statements and filename tests fixes (thanks [ engwan] ( https://github.com/engwan ) )
593-
594- ** July 17, 2012** : 0.1.0 release
595-
596- - Tests completed
597- - Acts_as_xlsx tested, example in docs
598-
599- ** July 12, 2012** : 0.0.1 release
600-
601- - Initial posting.
602- - It works, but there are no tests! Bad programmer!
0 commit comments