ofx
ofx copied to clipboard
Nokogiri version restriction prevents use with rails 7.1
Rails 7.1 will be releasing this year. Rails 7.1 will require nokogiri 1.14 or higher, but ofx restrict to lower than 1.14, making it incompatible with rails 7.1.
The upper bound should be remove, that way we could control it in our own gemfile or you could merge this PR from dependabot : https://github.com/annacruz/ofx/pull/108
It looks like the Gem is going to be dead very soon. 1 update in two years and the latest version bombs on me.
There some older ofx parsers out there but for the hell of it I tried to replicate some of OFX. The main thing I needed was the transactions. I added Account for the heck of it.
I took a stab at it and the code is at MyOfx. Have not implemented it yet in my application but probably will soon.
Hi @JoeDupuis!
I have a huge project that uses this gem. At this moment we're using the master content and it is working perfectly for us.
I know that it is not the ideal, but I believe that it might help you until a new version of the gem is not published.
I think the commit below may fix your problem.
# Gemfile
...
gem 'ofx', git: 'https://github.com/annacruz/ofx.git', ref: '543c18c'
...
until a new version of the gem is not published.
I'll be surprised if we ever see a new release.
The RubyGems release has been broken on since February 2022 because of a typo introduced during the release process. This has been pointed out and ignored twice: #96 and #99 The solution offered was to bypass RubyGems entirely and pin the GitHub repo instead. Pretty bad experience, especially for newcomers who will very likely waste a bunch of time trying the RubyGems version first (I did). While not ideal, I followed the advice and I pinned the Github repo instead.
But now even the Github version is broken. It has been for 6+ months when the fix is simply clicking merge on a dependabot PR. The work is all done! It's just not getting merged.
The friction to release a fix could not be lower and even then, nothing is happening. So pardon me for being pessimistic, but I don't think we'll ever see a release. I don't expect one, I know the maintainer doesn't owe me anything, but I won't wait around for a release that will likely never come.
Even if say it were to be updated tomorrow, it will likely be similar the next time around.
So, for any future users, I am maintaining a fork of the gem that I am using in a Rails app against Rails main. I don't intend on adding any features, just keeping the lights on.
https://github.com/JoeDupuis/ofx
I understand your frustation, @JoeDupuis ! And I sincerely apologize if anything that I wrote contributed to it.
I simply want to attempt to maintain a single repository. I've noticed many other forks of this gem, and it can be frustrating for beginners who struggle to decide which one to choose.
Rails always had a beatiful and organized community and it was one of the points that made me starting in this one. And an incredible point of it is that generally we don't need to choose among sereval options to solve the same problem, as is often in others communities like javascript.
I don't know the specific reasons preventing the maintainer from updating the gem, but a viable alternative could be to appoint other maintainers to assist in this process.
Well, I'm going to keep waiting for an official solution and I'm really cheering for a good end.
Once again, I'm sorry if my comments got you frustrated. It was not my intention. 😞
No worries! I was originally under the impression that you worked with the maintainer and could have nudge them to cut a release.
Sorry if my message was overly salty, we're all good :smile: My point is, we can't keep waiting, I would also like a single repo, but this one is dead :disappointed:
but a viable alternative could be to appoint other maintainers to assist in this process.
Maybe we can reach out to the original creator. He's still an owner on RubyGems.