acts_as_xlsx icon indicating copy to clipboard operation
acts_as_xlsx copied to clipboard

Straydogstudio master

Open randym opened this issue 10 years ago • 9 comments

  • bakes in a few version switches (yuck!) so that we can be compatible with AR 2.3, 3.1, and 4.1
  • removes support for ruby 1.8.7
  • adds support for where/order options for folks who are over 3.0
  • adds skip_humanization option to directly output the table and column names exactly.

TODO [] Confirm docs/version bump [] Manual testing [] merge and ship

randym avatar Jun 17 '14 03:06 randym

Looks great.

I would not try to extract version checking into one place. In the runtime code it is only in one place. And from what I know it is not a problem to repeat code in tests, especially if it makes things clearer. KISS doesn't always apply. So my vote is to leave the version checking as is.

Are you wanting the extra tests before you merge?

straydogstudio avatar Jun 17 '14 03:06 straydogstudio

Less about KISS, more about SRP. That method is extremely busy. I'll extract the record to row data conversions and label generation and toss in some specs for revue later tonight.

randym avatar Jun 17 '14 05:06 randym

Sounds good. Let me know if you want any help.

straydogstudio avatar Jun 17 '14 14:06 straydogstudio

@straydogstudio any news about PR?

ricardodovalle avatar Jul 30 '14 17:07 ricardodovalle

pleeeease :+1:

jhcasado avatar Sep 19 '14 12:09 jhcasado

@jhcasado @ricardodovalle I think we are waiting for @randym or another (e.g. myself) to finish the TODO list above. In the meantime, you can use my branch just to survive:

https://github.com/straydogstudio/acts_as_xlsx

It is not as robust as this pull request, but it works for now.

straydogstudio avatar Sep 19 '14 14:09 straydogstudio

@straydogstudio , I've been using your branch in production already.

Thank you very much. :+1:

ricardodovalle avatar Sep 19 '14 14:09 ricardodovalle

Yeah, works like a charm, thx @straydogstudio :clap:

jhcasado avatar Sep 23 '14 07:09 jhcasado

@randym Have you looked into this issue since last year?

straydogstudio avatar May 16 '16 02:05 straydogstudio