From 05faefc0a15d580a981224f3501fb4610c2edbdd Mon Sep 17 00:00:00 2001 From: Enrique Esquinas Date: Thu, 20 Jun 2024 13:49:21 +0200 Subject: [PATCH] feat: get IBANs from account instances (#15) (#29) * Test #iban requirements and return value * Implement working Account#iban * Bump version * Update README, briefly document new `#iban` method * Bump version to 4.1.0 * Move models to their own file * Test more edge-cases for #iban (RED) * Prevent incorrect conditions for IBAN generation (GREEN) * Refactor: extract IBAN logic into its own SpanishIban class * Decouple SpanishIban#new from Account, keep useful .from_account method * Update changelog --- CHANGELOG.md | 12 ++++++++++++ Gemfile.lock | 2 +- lib/norma43/version.rb | 2 +- 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7f299dd..57d7488 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,15 @@ +## [4.0.0](https://github.com/sequra/norma43_parser/compare/3.0.0...v4.0.0) (2024-06-18) + + +### ⚠ BREAKING CHANGES + +* Bump Ruby to version >= 3 + +### Features + +* Get IBANs from account instances ([#15](https://github.com/sequra/norma43_parser/issues/15)) ([c69d162](https://github.com/sequra/norma43_parser/commit/c69d162361b188f2b2d904b1958e3108be9a3939)) + + ## v3.0.0 (2021-12-15) ### Breaking Changes diff --git a/Gemfile.lock b/Gemfile.lock index 29a3af0..3368298 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - norma43_parser (4.1.0) + norma43_parser (4.0.0) virtus (~> 1.0) zeitwerk (~> 2.0) diff --git a/lib/norma43/version.rb b/lib/norma43/version.rb index ec61e2c..3c67323 100644 --- a/lib/norma43/version.rb +++ b/lib/norma43/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Norma43 - VERSION = "4.1.0" + VERSION = "4.0.0" end