Skip to content

Commit

Permalink
Bump version to 0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobias Schoknecht committed Jul 3, 2024
1 parent 3249144 commit 0d54ed9
Show file tree
Hide file tree
Showing 3 changed files with 135 additions and 1 deletion.
46 changes: 46 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
## What's Changed
* Make charge bearer optional instead of constant set to `SLEV`

## What's Changed in v0.3.1
* Bump version to 0.3.1
* Merge pull request #5 from viafintech/bug/use-correct-default-currency
* Revert to old gemfile definition
* Re-add bundle install step
* Fix indentation
* Improve test setup
* Add newer ruby versions to test matrix
* Fix default currency on transactions

**Full Changelog**: https://github.com///compare/v0.3.0...v0.3.1

## What's Changed in v0.3.0
* Bump gem version
* Update tested activemodel versions
* Update test ruby version to 3.0

**Full Changelog**: https://github.com///compare/v0.2.0...v0.3.0

## What's Changed in v0.2.0
* Merge pull request #3 from viafintech/feature/update-dependencies-and-run-tests-on-github
* Stick to ruby 2.7 support for now
* Fix CI setup
* Bump required ruby version to 2.7
* Merge pull request #2 from viafintech/remove-coveralls-dependency
* Update version to 0.1.1
* Add missing gemfiles for testing
* Remove coveralls dependency
* Merge pull request #1 from Barzahlen/update-copyright-notice
* Update copyright notice and author mail address
* Add comment pointing to sepa_king for sepa files
* Fix gem description for next release

**Full Changelog**: https://github.com///compare/v0.1.0...v0.2.0

## What's Changed in v0.1.0
* Add .gem to gitignore
* Adapt example account holder
* Fix status badges
* Fix copyright notice
* Initial implementation after fork from sepa_king gem

<!-- generated by git-cliff -->
88 changes: 88 additions & 0 deletions cliff.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
# git-cliff ~ configuration file
# https://git-cliff.org/docs/configuration

# [remote.github]
# owner = "orhun"
# repo = "git-cliff"
# token = ""

[changelog]
# template for the changelog body
# https://keats.github.io/tera/docs/#introduction
body = """
## What's Changed
{%- if version %} in {{ version }}{%- endif -%}
{% for commit in commits %}
{% if commit.github.pr_title -%}
{%- set commit_message = commit.github.pr_title -%}
{%- else -%}
{%- set commit_message = commit.message -%}
{%- endif -%}
* {{ commit_message | split(pat="\n") | first | trim }}\
{% if commit.github.username %} by @{{ commit.github.username }}{%- endif -%}
{% if commit.github.pr_number %} in \
[#{{ commit.github.pr_number }}]({{ self::remote_url() }}/pull/{{ commit.github.pr_number }}) \
{%- endif %}
{%- endfor -%}
{%- if github -%}
{% if github.contributors | filter(attribute="is_first_time", value=true) | length != 0 %}
{% raw %}\n{% endraw -%}
## New Contributors
{%- endif %}\
{% for contributor in github.contributors | filter(attribute="is_first_time", value=true) %}
* @{{ contributor.username }} made their first contribution
{%- if contributor.pr_number %} in \
[#{{ contributor.pr_number }}]({{ self::remote_url() }}/pull/{{ contributor.pr_number }}) \
{%- endif %}
{%- endfor -%}
{%- endif -%}
{% if version %}
{% if previous.version %}
**Full Changelog**: {{ self::remote_url() }}/compare/{{ previous.version }}...{{ version }}
{% endif %}
{% else -%}
{% raw %}\n{% endraw %}
{% endif %}
{%- macro remote_url() -%}
https://github.com/{{ remote.github.owner }}/{{ remote.github.repo }}
{%- endmacro -%}
"""
# remove the leading and trailing whitespace from the template
trim = true
# changelog footer
footer = """
<!-- generated by git-cliff -->
"""
# postprocessors
postprocessors = []

[git]
# parse the commits based on https://www.conventionalcommits.org
conventional_commits = false
# filter out the commits that are not conventional
filter_unconventional = true
# process each line of a commit as an individual commit
split_commits = false
# regex for preprocessing the commit messages
commit_preprocessors = [
# remove issue numbers from commits
{ pattern = '\((\w+\s)?#([0-9]+)\)', replace = "" },
]
# protect breaking changes from being skipped due to matching a skipping commit_parser
protect_breaking_commits = false
# filter out the commits that are not matched by commit parsers
filter_commits = false
# regex for matching git tags
tag_pattern = "v[0-9].*"
# regex for skipping tags
skip_tags = "beta|alpha"
# regex for ignoring tags
ignore_tags = "rc"
# sort the tags topologically
topo_order = false
# sort the commits inside sections by oldest/newest order
sort_commits = "newest"
2 changes: 1 addition & 1 deletion lib/sps_king/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module SPS
VERSION = '0.3.1'
VERSION = '0.4.0'
end

0 comments on commit 0d54ed9

Please sign in to comment.