cloudinary_gem icon indicating copy to clipboard operation
cloudinary_gem copied to clipboard

[Suggestion] Restructure source code to make integration easier

Open runlevel5 opened this issue 9 years ago • 1 comments
trafficstars

Hi team

Firstly, thanks for a good service. We are using cloudinary gem at Envato and it has been smooth.

When I look into the source code of this gem, I find that there was a strong Rails integration (which is fine), however I think this gem can/should be used by other non-Rails framework too (or even pure Ruby). So I am wondering what do you think about splitting the non-Rails code into a core component and having a separate lib/cloudinary/rails.rb to include the core + rails integration. I believe this would allow other frameworks to develop integration with cloudinary without having to manually remove the rails integration part.

I am happy to provide PR if your team think it aligns with your product roadmap.

runlevel5 avatar Dec 02 '15 01:12 runlevel5

Thank you very much for your suggestion. I've passed it on to our team to consider such an enhancement for future versions of our GEM.

taragano avatar Dec 04 '15 13:12 taragano