Skip to content

Set required_ruby_version and update supported OFX versions in gemspec#129

Open
marcosdemelo wants to merge 1 commit intoannacruz:mainfrom
marcosdemelo:chore/set-required-ruby-version
Open

Set required_ruby_version and update supported OFX versions in gemspec#129
marcosdemelo wants to merge 1 commit intoannacruz:mainfrom
marcosdemelo:chore/set-required-ruby-version

Conversation

@marcosdemelo
Copy link
Copy Markdown
Contributor

Summary

  • Declare required_ruby_version >= 3.1.0 in the gemspec
  • Update summary and description to list all OFX versions actually supported by the parser

Background

Minimum Ruby version

The project already transitively required Ruby >= 3.1.0 via Nokogiri 1.18.x, which declares that constraint explicitly. Adding required_ruby_version to the gemspec makes this requirement visible upfront — it appears on the gem's page on rubygems.org and causes RubyGems to reject installation immediately with a clear message, rather than failing later during dependency resolution.

Supported OFX versions

The gemspec previously advertised support only for OFX 102, 200 and 211. However, lib/ofx/parser.rb has been routing a wider set of versions for some time:

Versions Parser used
100, 102, 103 OFX102
200, 202, 211, 220 OFX211

The summary and description now reflect all seven supported versions.

Test plan

  • All existing RSpec examples pass with no failures

… gemspec

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.

1 participant