From d47034ab9fe86a9ec8f507bfb8507368276efd80 Mon Sep 17 00:00:00 2001 From: Rob Tillaart Date: Thu, 11 Apr 2024 17:46:52 +0200 Subject: [PATCH] 0.1.9 Currency --- libraries/Currency/.github/FUNDING.yml | 2 +- libraries/Currency/.github/workflows/arduino-lint.yml | 6 +++--- .../Currency/.github/workflows/arduino_test_runner.yml | 5 +++-- libraries/Currency/.github/workflows/jsoncheck.yml | 8 ++++---- libraries/Currency/CHANGELOG.md | 7 +++++-- libraries/Currency/LICENSE | 2 +- libraries/Currency/currency.cpp | 2 +- libraries/Currency/currency.h | 4 ++-- .../currency_performance/currency_performance.ino | 4 +--- .../Currency/examples/print_currency/print_currency.ino | 3 +-- libraries/Currency/library.json | 2 +- libraries/Currency/library.properties | 4 ++-- 12 files changed, 25 insertions(+), 24 deletions(-) diff --git a/libraries/Currency/.github/FUNDING.yml b/libraries/Currency/.github/FUNDING.yml index 90d9ab4c..554358c3 100644 --- a/libraries/Currency/.github/FUNDING.yml +++ b/libraries/Currency/.github/FUNDING.yml @@ -1,4 +1,4 @@ # These are supported funding model platforms github: RobTillaart - +custom: "https://www.paypal.me/robtillaart" diff --git a/libraries/Currency/.github/workflows/arduino-lint.yml b/libraries/Currency/.github/workflows/arduino-lint.yml index 8a26f14a..7f8f4ef4 100644 --- a/libraries/Currency/.github/workflows/arduino-lint.yml +++ b/libraries/Currency/.github/workflows/arduino-lint.yml @@ -1,13 +1,13 @@ - name: Arduino-lint on: [push, pull_request] jobs: lint: runs-on: ubuntu-latest + timeout-minutes: 5 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: arduino/arduino-lint-action@v1 with: library-manager: update - compliance: strict + compliance: strict \ No newline at end of file diff --git a/libraries/Currency/.github/workflows/arduino_test_runner.yml b/libraries/Currency/.github/workflows/arduino_test_runner.yml index fadfa904..89bc1ae7 100644 --- a/libraries/Currency/.github/workflows/arduino_test_runner.yml +++ b/libraries/Currency/.github/workflows/arduino_test_runner.yml @@ -1,4 +1,3 @@ ---- name: Arduino CI on: [push, pull_request] @@ -6,12 +5,14 @@ on: [push, pull_request] jobs: runTest: runs-on: ubuntu-latest + timeout-minutes: 20 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 with: ruby-version: 2.6 - run: | + sudo sysctl vm.mmap_rnd_bits=28 gem install arduino_ci arduino_ci.rb diff --git a/libraries/Currency/.github/workflows/jsoncheck.yml b/libraries/Currency/.github/workflows/jsoncheck.yml index 37a11298..1cbb5e2c 100644 --- a/libraries/Currency/.github/workflows/jsoncheck.yml +++ b/libraries/Currency/.github/workflows/jsoncheck.yml @@ -9,10 +9,10 @@ on: jobs: test: runs-on: ubuntu-latest + timeout-minutes: 5 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: json-syntax-check - uses: limitusus/json-syntax-check@v1 + uses: limitusus/json-syntax-check@v2 with: - pattern: "\\.json$" - + pattern: "\\.json$" \ No newline at end of file diff --git a/libraries/Currency/CHANGELOG.md b/libraries/Currency/CHANGELOG.md index f48990bb..17876c76 100644 --- a/libraries/Currency/CHANGELOG.md +++ b/libraries/Currency/CHANGELOG.md @@ -1,4 +1,4 @@ -# Change Log Currency +# Changelog Currency All notable changes to this project will be documented in this file. @@ -6,10 +6,13 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). +## [0.1.9] - 2024-04-11 +- update GitHub actions +- minor edits + ## [0.1.8] - 2023-10-19 - update readme.md - ## [0.1.7] - 2022-10-30 - add changelog.md - add rp2040 to build-CI diff --git a/libraries/Currency/LICENSE b/libraries/Currency/LICENSE index 088bbaf1..3afaaeda 100644 --- a/libraries/Currency/LICENSE +++ b/libraries/Currency/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2021-2023 Rob Tillaart +Copyright (c) 2021-2024 Rob Tillaart Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/libraries/Currency/currency.cpp b/libraries/Currency/currency.cpp index 4a7aa7f0..1f4c5d9b 100644 --- a/libraries/Currency/currency.cpp +++ b/libraries/Currency/currency.cpp @@ -1,7 +1,7 @@ // // FILE: currency.cpp // AUTHOR: Rob Tillaart -// VERSION: 0.1.8 +// VERSION: 0.1.9 // PURPOSE: Currency library for Arduino // URL: https://github.com/RobTillaart/Currency diff --git a/libraries/Currency/currency.h b/libraries/Currency/currency.h index 968b89b8..cd81d4bc 100644 --- a/libraries/Currency/currency.h +++ b/libraries/Currency/currency.h @@ -2,7 +2,7 @@ // // FILE: currency.h // AUTHOR: Rob Tillaart -// VERSION: 0.1.8 +// VERSION: 0.1.9 // PURPOSE: Currency library for Arduino // URL: https://github.com/RobTillaart/Currency @@ -10,7 +10,7 @@ #include "Arduino.h" -#define CURRENCY_VERSION (F("0.1.8")) +#define CURRENCY_VERSION (F("0.1.9")) // TODO diff --git a/libraries/Currency/examples/currency_performance/currency_performance.ino b/libraries/Currency/examples/currency_performance/currency_performance.ino index 250f5646..54dbdd8e 100644 --- a/libraries/Currency/examples/currency_performance/currency_performance.ino +++ b/libraries/Currency/examples/currency_performance/currency_performance.ino @@ -1,9 +1,7 @@ // // FILE: currency_performance.ino // AUTHOR: Rob Tillaart -// VERSION: 0.1.0 // PURPOSE: performance test -// DATE: 2021-12-14 // URL: https://github.com/RobTillaart/currency @@ -51,4 +49,4 @@ void loop() } -// -- END OF FILE -- +// -- END OF FILE -- diff --git a/libraries/Currency/examples/print_currency/print_currency.ino b/libraries/Currency/examples/print_currency/print_currency.ino index fcea1f49..2156b794 100644 --- a/libraries/Currency/examples/print_currency/print_currency.ino +++ b/libraries/Currency/examples/print_currency/print_currency.ino @@ -2,7 +2,6 @@ // FILE: print_currency.ino // AUTHOR: Rob Tillaart // PURPOSE: display an int as currency test -// DATE: 2021-02-28 // URL: https://github.com/RobTillaart/currency @@ -80,5 +79,5 @@ void loop() } -// -- END OF FILE -- +// -- END OF FILE -- diff --git a/libraries/Currency/library.json b/libraries/Currency/library.json index 0a2dd2e3..8556da7d 100644 --- a/libraries/Currency/library.json +++ b/libraries/Currency/library.json @@ -15,7 +15,7 @@ "type": "git", "url": "https://github.com/RobTillaart/currency" }, - "version": "0.1.8", + "version": "0.1.9", "license": "MIT", "frameworks": "*", "platforms": "*", diff --git a/libraries/Currency/library.properties b/libraries/Currency/library.properties index cc79e608..86ddb964 100644 --- a/libraries/Currency/library.properties +++ b/libraries/Currency/library.properties @@ -1,8 +1,8 @@ name=currency -version=0.1.8 +version=0.1.9 author=Rob Tillaart maintainer=Rob Tillaart -sentence=Arduino library to help formatting integers as currency e.g. $ 1.000.000,00. +sentence=Arduino library to help formatting integers as currency e.g. $ 1.000.000,00. paragraph=Supports 64 bit integers currency64(..) category=Data Processing url=https://github.com/RobTillaart/currency