Skip to content

Commit

Permalink
Merge pull request #65 from railslove/ci/release-two-one
Browse files Browse the repository at this point in the history
Ci: release 2.1
  • Loading branch information
janz93 authored Jan 28, 2025
2 parents c3ba2e0 + a711838 commit 10cf416
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: CI

on:
push:
branches: [master]
branches: [main]
pull_request:
branches: [master]
branches: [main]

jobs:
test:
Expand All @@ -13,6 +13,7 @@ jobs:
strategy:
matrix:
ruby-version:
- 3.4
- 3.3
- 3.2
- 3.1
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.mdown
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# NEXT release

# 2.1
- `[REFACTOR]` improve file parser to work with windows line breaks and any known header formats
- `[BUGFIX]` fix `strip_header` making it work on statements without headers
- `[HOUSEKEEPING]` use `main` instead of `master` as default branch
- `[ENHANCEMENT]` add support for ruby `3.4`

# 2.0
- `[REFACTOR]` **DEPRECATED:** `storno?` and related methods `storno_credit`, `storno_debit`. Use `reversal?` and related methods `reversal_credit?`, `reversal_debit?` instead
- `[BUGFIX]` **DEPRECATED:** `funds_code` method returns the `credit_debit_indicator` from the SWIFT definition. Therefore the method is deprecated in favor of `credit_debit_indicator` method
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ statements.each do |s|
puts s.generation_date
puts s.opening_balance.amount
puts s.closing_balance.amount
puts s.sha # SHA of the statement source - could be used as an identifier (see: https://github.com/railslove/cmxl/blob/master/lib/cmxl/statement.rb#L49-L55)
puts s.sha # SHA of the statement source - could be used as an identifier (see: https://github.com/railslove/cmxl/blob/main/lib/cmxl/statement.rb#L49-L55)

s.transactions.each do |t|
puts t.information
Expand Down
2 changes: 1 addition & 1 deletion lib/cmxl/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Cmxl
VERSION = '2.0'.freeze
VERSION = '2.1'.freeze
end

0 comments on commit 10cf416

Please sign in to comment.