Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Straydogstudio master #11

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
Open

Straydogstudio master #11

wants to merge 14 commits into from

Conversation

randym
Copy link
Owner

@randym randym commented Jun 17, 2014

  • 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

@straydogstudio
Copy link

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?

@randym
Copy link
Owner Author

randym commented Jun 17, 2014

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.

@straydogstudio
Copy link

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

@ricardodovalle
Copy link

@straydogstudio any news about PR?

@jhcasado
Copy link

pleeeease 👍

@straydogstudio
Copy link

@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.

@ricardodovalle
Copy link

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

Thank you very much. 👍

@jhcasado
Copy link

Yeah, works like a charm, thx @straydogstudio 👏

@straydogstudio
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants