Loading Changelog 0 → 100644 +5 −0 Original line number Diff line number Diff line Travel::Routing::DE::HAFAS 0.01 - Thu Nov 16 2023 * Initial release * Supports itinerary queries using Deutschen Bahn's mgate.exe interface * No stable API yet Dockerfile 0 → 100644 +23 −0 Original line number Diff line number Diff line FROM perl:5.30-slim COPY bin/ /app/bin/ COPY lib/ /app/lib/ COPY Build.PL cpanfile* /app/ WORKDIR /app ARG DEBIAN_FRONTEND=noninteractive ARG APT_LISTCHANGES_FRONTEND=none RUN apt-get update \ && apt-get -y --no-install-recommends install ca-certificates curl gcc libc6-dev libssl1.1 libssl-dev make zlib1g-dev \ && cpanm -n --no-man-pages --installdeps . \ && perl Build.PL \ && perl Build \ && rm -rf ~/.cpanm \ && apt-get -y purge curl gcc libc6-dev libssl-dev make zlib1g-dev \ && apt-get -y autoremove \ && apt-get -y clean \ && rm -rf /var/cache/apt/* /var/lib/apt/lists/* ENTRYPOINT ["perl", "-Ilib", "bin/hafas"] bin/hafas +2 −2 Original line number Diff line number Diff line Loading @@ -3,7 +3,7 @@ use strict; use warnings; use 5.014; our $VERSION = '0.00'; our $VERSION = '0.01'; use utf8; use DateTime; Loading Loading @@ -384,7 +384,7 @@ B<hafas> [B<-d> I<date>] [B<-t> I<time>] [B<-m> I<motlist>] =head1 VERSION version 0.00 version 0.01 =head1 DESCRIPTION Loading lib/Travel/Routing/DE/HAFAS.pm +1 −1 Original line number Diff line number Diff line Loading @@ -18,7 +18,7 @@ use Travel::Routing::DE::HAFAS::Connection; use Travel::Routing::DE::HAFAS::Location; use Travel::Status::DE::HAFAS::Message; our $VERSION = '0.00'; our $VERSION = '0.01'; # {{{ Endpoint Definition Loading lib/Travel/Routing/DE/HAFAS/Connection.pm +1 −1 Original line number Diff line number Diff line Loading @@ -11,7 +11,7 @@ use DateTime::Duration; use Travel::Routing::DE::HAFAS::Utils; use Travel::Routing::DE::HAFAS::Connection::Section; our $VERSION = '0.00'; our $VERSION = '0.01'; Travel::Routing::DE::HAFAS::Connection->mk_ro_accessors( qw(changes duration sched_dep rt_dep sched_arr rt_arr dep arr dep_platform arr_platform dep_loc arr_loc dep_cancelled arr_cancelled is_cancelled load) Loading Loading
Changelog 0 → 100644 +5 −0 Original line number Diff line number Diff line Travel::Routing::DE::HAFAS 0.01 - Thu Nov 16 2023 * Initial release * Supports itinerary queries using Deutschen Bahn's mgate.exe interface * No stable API yet
Dockerfile 0 → 100644 +23 −0 Original line number Diff line number Diff line FROM perl:5.30-slim COPY bin/ /app/bin/ COPY lib/ /app/lib/ COPY Build.PL cpanfile* /app/ WORKDIR /app ARG DEBIAN_FRONTEND=noninteractive ARG APT_LISTCHANGES_FRONTEND=none RUN apt-get update \ && apt-get -y --no-install-recommends install ca-certificates curl gcc libc6-dev libssl1.1 libssl-dev make zlib1g-dev \ && cpanm -n --no-man-pages --installdeps . \ && perl Build.PL \ && perl Build \ && rm -rf ~/.cpanm \ && apt-get -y purge curl gcc libc6-dev libssl-dev make zlib1g-dev \ && apt-get -y autoremove \ && apt-get -y clean \ && rm -rf /var/cache/apt/* /var/lib/apt/lists/* ENTRYPOINT ["perl", "-Ilib", "bin/hafas"]
bin/hafas +2 −2 Original line number Diff line number Diff line Loading @@ -3,7 +3,7 @@ use strict; use warnings; use 5.014; our $VERSION = '0.00'; our $VERSION = '0.01'; use utf8; use DateTime; Loading Loading @@ -384,7 +384,7 @@ B<hafas> [B<-d> I<date>] [B<-t> I<time>] [B<-m> I<motlist>] =head1 VERSION version 0.00 version 0.01 =head1 DESCRIPTION Loading
lib/Travel/Routing/DE/HAFAS.pm +1 −1 Original line number Diff line number Diff line Loading @@ -18,7 +18,7 @@ use Travel::Routing::DE::HAFAS::Connection; use Travel::Routing::DE::HAFAS::Location; use Travel::Status::DE::HAFAS::Message; our $VERSION = '0.00'; our $VERSION = '0.01'; # {{{ Endpoint Definition Loading
lib/Travel/Routing/DE/HAFAS/Connection.pm +1 −1 Original line number Diff line number Diff line Loading @@ -11,7 +11,7 @@ use DateTime::Duration; use Travel::Routing::DE::HAFAS::Utils; use Travel::Routing::DE::HAFAS::Connection::Section; our $VERSION = '0.00'; our $VERSION = '0.01'; Travel::Routing::DE::HAFAS::Connection->mk_ro_accessors( qw(changes duration sched_dep rt_dep sched_arr rt_arr dep arr dep_platform arr_platform dep_loc arr_loc dep_cancelled arr_cancelled is_cancelled load) Loading