diff --git a/.travis.yml b/.travis.yml index cebad99..7820632 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,6 @@ otp_release: - 19.3 - 18.3 - 17.5 - - R16B03-1 before_script: - wget https://s3.amazonaws.com/rebar3/rebar3 - chmod u+x rebar3 diff --git a/CHANGELOG.md b/CHANGELOG.md index 58dea71..5e96b20 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,11 @@ This project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased][unreleased] +## [0.2.1] - 30-01-2019 +### Fixed + * [Prevent warnings about non-documented type values](https://github.com/lrascao/raterl/pull/7) + * Deprecate R16 Travis tests + ## [0.2.0] - 12-02-2018 ### Fixed * Don't crash on boot upon lack of explicit env. config diff --git a/pr2relnotes.sh b/pr2relnotes.sh new file mode 100755 index 0000000..4202971 --- /dev/null +++ b/pr2relnotes.sh @@ -0,0 +1,26 @@ +#!/usr/bin/env sh + +if [ -z $1 ] +then + echo "pr2relnotes.sh: prints list of pull requests merged since " + echo " usage: $0 [pull-request-url (default: https://github.com/lrascao/raterl/pull/)]" + exit 0 +fi +export url=${2:-"https://github.com/lrascao/raterl/pull/"} + +git log --merges --pretty=medium $1..HEAD | \ +awk -v url=$url ' + # first line of a merge commit entry + /^commit / {mode="new"} + + # merge commit default message + / +Merge pull request/ { + page_id=substr($4, 2, length($4)-1); + mode="started"; + next; + } + + # line of content including title + mode=="started" && / [^ ]+/ { + print "- [" substr($0, 5) "](" url page_id ")"; mode="done" + }' diff --git a/src/raterl.app.src b/src/raterl.app.src index 01cc4ac..2e39013 100644 --- a/src/raterl.app.src +++ b/src/raterl.app.src @@ -1,6 +1,6 @@ {application, raterl, [{description, "Erlang flow control"}, - {vsn, "0.2.0"}, + {vsn, "0.2.1"}, {registered, []}, {mod, { raterl_app, []}}, {applications, diff --git a/src/raterl_queue.erl b/src/raterl_queue.erl index 6572392..a8607d8 100644 --- a/src/raterl_queue.erl +++ b/src/raterl_queue.erl @@ -49,7 +49,7 @@ -record(state, { name :: atom(), regulator :: proplists:proplist(), - timer_ref :: reference() + timer_ref :: undefined | reference() }). %%====================================================================