From f8a00c06048ba3e84bd10f091ee18e47d5f3cc42 Mon Sep 17 00:00:00 2001 From: Kang-min Liu Date: Sun, 28 May 2023 23:39:36 +0900 Subject: [PATCH] release of v0.5.0 --- Build.PL | 6 +++--- Changes | 3 +++ LICENSE | 2 +- MANIFEST | 1 + META.json | 13 +++++++------ META.yml | 9 +++++---- README | 14 ++++++++------ lib/Date/Holidays/TW.pm | 2 +- 8 files changed, 29 insertions(+), 21 deletions(-) diff --git a/Build.PL b/Build.PL index 8e218b2..ed3db32 100644 --- a/Build.PL +++ b/Build.PL @@ -1,4 +1,4 @@ -# This Build.PL for Date-Holidays-TW was generated by mbtiny 0.029. -use 5.006; -use Module::Build::Tiny 0.034; +# This Build.PL for Date-Holidays-TW was generated by mbtiny 0.041. +use 5.008; +use Module::Build::Tiny 0.039; Build_PL(); diff --git a/Changes b/Changes index e2051ae..a54fd82 100644 --- a/Changes +++ b/Changes @@ -1,3 +1,6 @@ +v0.5.0 2023-05-28T23:38:41+0900 + - Add calendar data of 2024 + v0.4.0 2022-06-15T20:34:11+0900 - Add calendar data of 2023 diff --git a/LICENSE b/LICENSE index d46d103..9755e7b 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -This software is Copyright (c) 2022 by Kang-min Liu C<< >>, Wei-Hon Chen. +This software is Copyright (c) 2023 by Kang-min Liu C<< >>, Wei-Hon Chen. This is free software, licensed under: diff --git a/MANIFEST b/MANIFEST index 6ee4385..0477d09 100644 --- a/MANIFEST +++ b/MANIFEST @@ -15,4 +15,5 @@ t/2018.t t/2021.t t/2022.t t/2023.t +t/2024.t t/simple.t diff --git a/META.json b/META.json index cf115f0..7b79d6d 100644 --- a/META.json +++ b/META.json @@ -5,7 +5,7 @@ "Wei-Hon Chen" ], "dynamic_config" : 0, - "generated_by" : "App::ModuleBuildTiny version 0.029", + "generated_by" : "App::ModuleBuildTiny version 0.041", "license" : [ "mit" ], @@ -17,12 +17,12 @@ "prereqs" : { "configure" : { "requires" : { - "Module::Build::Tiny" : "0.034" + "Module::Build::Tiny" : "0.039" } }, "develop" : { "requires" : { - "App::ModuleBuildTiny" : "0.029" + "App::ModuleBuildTiny" : "0.041" } }, "runtime" : { @@ -33,6 +33,7 @@ }, "test" : { "requires" : { + "App::Yath" : "0", "Test2::V0" : "0" } } @@ -40,7 +41,7 @@ "provides" : { "Date::Holidays::TW" : { "file" : "lib/Date/Holidays/TW.pm", - "version" : "v0.4.0" + "version" : "v0.5.0" } }, "release_status" : "stable", @@ -54,8 +55,8 @@ "web" : "https://github.com/perltaiwan/Date-Holidays-TW" } }, - "version" : "v0.4.0", - "x_serialization_backend" : "JSON::PP version 4.06", + "version" : "v0.5.0", + "x_serialization_backend" : "JSON::PP version 4.07", "x_spdx_expression" : "MIT", "x_static_install" : "1" } diff --git a/META.yml b/META.yml index f8eaf36..1fc85e8 100644 --- a/META.yml +++ b/META.yml @@ -4,11 +4,12 @@ author: - 'Kang-min Liu C<< >>' - 'Wei-Hon Chen' build_requires: + App::Yath: '0' Test2::V0: '0' configure_requires: - Module::Build::Tiny: '0.034' + Module::Build::Tiny: '0.039' dynamic_config: 0 -generated_by: 'App::ModuleBuildTiny version 0.029, CPAN::Meta::Converter version 2.150010' +generated_by: 'App::ModuleBuildTiny version 0.041, CPAN::Meta::Converter version 2.150010' license: mit meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -17,14 +18,14 @@ name: Date-Holidays-TW provides: Date::Holidays::TW: file: lib/Date/Holidays/TW.pm - version: v0.4.0 + version: v0.5.0 requires: DateTime: '0' DateTime::Calendar::Chinese: '0' resources: bugtracker: https://github.com/perltaiwan/Date-Holidays-TW/issues repository: https://github.com/perltaiwan/Date-Holidays-TW.git -version: v0.4.0 +version: v0.5.0 x_serialization_backend: 'CPAN::Meta::YAML version 0.018' x_spdx_expression: MIT x_static_install: '1' diff --git a/README b/README index 6120d0a..72d321f 100644 --- a/README +++ b/README @@ -30,11 +30,12 @@ DESCRIPTION whether the given date is an holiday or not -- which is not implemented at this version. - The current implementation includes all known holidays of year 2019 and - 2020 as a lookup table and should therefore correctly determine - holidays in those 2 years. It should also determine most of the future - updates correct by some basic compuation, except for the ones generated - by the weekend-compensation rule. + The current implementation includes all known holidays from year 2013 + and 2024 in a lookup table and should therefore correctly determine + holidays in those years. It should also determine most of the future + holidays correctly with some basic compuation, except for the ones + generated by the weekend-compensation rules, which is somewhat + ambiguous. Conventionally the holiday calendar for the next year is announcend at the end of June and we could start to mix the new information into the @@ -85,7 +86,8 @@ METHODS SEE ALSO - Date::Holidays, https://www.dgpa.gov.tw/informationlist?uid=30 + Date::Holidays, https://www.dgpa.gov.tw/informationlist?uid=30, + https://data.gov.tw/dataset/14718 AUTHOR diff --git a/lib/Date/Holidays/TW.pm b/lib/Date/Holidays/TW.pm index 0cf60ef..ff92cac 100644 --- a/lib/Date/Holidays/TW.pm +++ b/lib/Date/Holidays/TW.pm @@ -2,7 +2,7 @@ package Date::Holidays::TW; use strict; use utf8; -our $VERSION = v0.4.0; +our $VERSION = v0.5.0; use Exporter 'import'; our @EXPORT_OK = qw(is_tw_holiday tw_holidays);