Sync from SUSE:SLFO:Main rubygem-et-orbi revision 6faa2107d1c3e4d728ac2faa2c680f41

This commit is contained in:
Adrian Schröter 2024-12-24 17:25:38 +01:00
commit beaec2f3b7
5 changed files with 358 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

BIN
et-orbi-1.2.11.gem (Stored with Git LFS) Normal file

Binary file not shown.

72
gem2rpm.yml Normal file
View File

@ -0,0 +1,72 @@
# ---
# ## used by gem2rpm
# :summary: this is a custom summary
# ## used by gem2rpm
# :description: |-
# this is a custom description
#
# it can be multiline
# ## used by gem2rpm
# :license: MIT or Ruby
# ## used by gem2rpm and gem_packages
# :version_suffix: -x_y
# ## used by gem2rpm and gem_packages
# :disable_docs: true
# ## used by gem2rpm
# :disable_automatic_rdoc_dep: true
# ## used by gem2rpm
# :preamble: |-
# BuildRequires: foobar
# Requires: foobar
# ## used by gem2rpm
# :patches:
# foo.patch: -p1
# bar.patch:
# :post_patch:
# if you need to fiddle with the source dir before rebuilding the gem
# ## used by gem2rpm
:sources:
# - foo.desktop
# - bar.desktop
# :gem_install_args: '....'
# ## used by gem2rpm
# :pre_install: |-
# %if 0%{?use_system_libev}
# export USE_VENDORED_LIBEV="no"
# %endif
# ## used by gem2rpm
# :post_install: |-
# # delete custom files here or do other fancy stuff
# install -D -m 0644 %{S:1} %{buildroot}%{_bindir}/gem2rpm-opensuse
# ## used by gem2rpm
# :testsuite_command: |-
# (pushd %{buildroot}%{gem_base}/gems/%{mod_full_name} && rake test)
# ## used by gem2rpm
# :filelist: |-
# /usr/bin/gem2rpm-opensuse
# ## used by gem2rpm
# :scripts:
# :post: |-
# /bin/echo foo
# ## used by gem_packages
# :main:
# :preamble: |-
# Requires: util-linux
# Recommends: pwgen
# :filelist: |-
# /usr/bin/gem2rpm-opensuse
# ## used by gem_packages
# :custom_pkgs:
# apache:
# :preamble: |-
# Requires: .....
# :filelist: |-
# /etc/apache2/conf.d/passenger.conf
# :summary: Custom summary is optional
# :description: |-
# Custom description is optional
#
# bar
# :post: |-
# /bin/echo foo
#

206
rubygem-et-orbi.changes Normal file
View File

@ -0,0 +1,206 @@
-------------------------------------------------------------------
Fri Jun 21 09:48:41 UTC 2024 - Dan Čermák <dan.cermak@posteo.net>
- ## et-orbi 1.2.11 released 2024-03-23
- Cache @rweek and @rday, not @ref, gh-38
## et-orbi 1.2.10 released 2024-03-22
- Refine #rweek computation, aim more at noon instead of midnight, gh-38
## et-orbi 1.2.9 released 2024-03-13
- Refine #rweek computation, aim at noon instead of midnight, gh-38
## et-orbi 1.2.8 released 2024-03-11 (13 ans)
- Cache the @ref time used in the #rweek and #rday computation
-------------------------------------------------------------------
Thu Aug 4 13:08:49 UTC 2022 - Stephan Kulow <coolo@suse.com>
updated to version 1.2.7
see installed CHANGELOG.md
## et-orbi 1.2.7 released 2022-03-09
- Fix the wday_in_month computation for floraison/fugit#67
-------------------------------------------------------------------
Tue Jan 25 06:51:39 UTC 2022 - Stephan Kulow <coolo@suse.com>
updated to version 1.2.6
see installed CHANGELOG.md
## et-orbi 1.2.6 released 2021-10-30
- Favour IANA timezone name in EtOrbi.make_time
## et-orbi 1.2.5 released 2021-09-18
- Re-use the DateTime.parse result
-------------------------------------------------------------------
Thu May 7 20:40:13 UTC 2020 - Stephan Kulow <coolo@suse.com>
- updated to version 1.2.4
see installed CHANGELOG.md
## et-orbi 1.2.4 released 2020-03-18
- Do not call Chronic (even if enabled) from make_from_array, gh-28
- Be modern, use strftime '%6N', join Ruby 2.x :-)
## et-orbi 1.2.3 released 2020-03-06
- Introduce EtOrbi.chronic_enabled = false and EtOrbi.chronic_enabled?, gh-26
-------------------------------------------------------------------
Mon Feb 10 14:31:07 UTC 2020 - Stephan Kulow <coolo@suse.com>
- updated to version 1.2.2
see installed CHANGELOG.md
## et-orbi 1.2.2 released 2019-08-19
- Let EoTime#== accept EoTime or ::Time instances, gh-20, gh-7
-------------------------------------------------------------------
Sun May 5 09:24:28 UTC 2019 - Stephan Kulow <coolo@suse.com>
- updated to version 1.2.1
see installed CHANGELOG.md
## et-orbi 1.2.1 released 2019-05-01
- More US time zone corrections, Vais Salikhov, gh-19
## et-orbi 1.2.0 released 2019-04-25
- Add missing US time zone aliases, Vais Salikhov, gh-18
- Stop fooling around and stick to https://semver.org, start with 1.2.0
## et-orbi 1.1.8 released 2019-04-11
- Work hard to make it work on Windows
- Implement EoTime#rweek and #rday (reference week, reference day)
- Alias EoTime#in_time_zone(zone) to #localtime(zone)
- Stop fooling around and stick to https://semver.org
-------------------------------------------------------------------
Mon Jan 14 13:36:36 UTC 2019 - Stephan Kulow <coolo@suse.com>
- updated to version 1.1.7
see installed CHANGELOG.md
## et-orbi 1.1.7 released 2019-01-14
- Rework Chronic integration, prevent conflict with ActiveSupport Time.zone
- Implement EtOrbi.extract_zone(s) (returns s1 and zone name)
- Adapt specs and EoTime#to_debug_s to Windows on Appveyor
-------------------------------------------------------------------
Wed Sep 5 10:10:49 UTC 2018 - coolo@suse.com
- updated to version 1.1.6
see installed CHANGELOG.md
-------------------------------------------------------------------
Sat Jul 14 07:04:07 UTC 2018 - factory-auto@kulow.org
- updated to version 1.1.3
see installed CHANGELOG.md
## et-orbi 1.1.3 released 2018-07-14
- Introduce EtOrbi::EoTime#ambiguous?
- Introduce EtOrbi::EoTime#to_z for precise timezones (not offsets)
-------------------------------------------------------------------
Thu May 24 06:04:13 UTC 2018 - factory-auto@kulow.org
- updated to version 1.1.2
see installed CHANGELOG.md
## et-orbi 1.1.2 released 2018-05-24
- Let EtOrbi.get_tzone understand "CST+0800"
- Introduce EtOrbi.to_windows_tz (Asia/Kolkata to IST-5:30)
-------------------------------------------------------------------
Fri May 4 08:05:13 UTC 2018 - factory-auto@kulow.org
- updated to version 1.1.1
see installed CHANGELOG.md
## et-orbi 1.1.1 released 2018-05-04
- Stop caching the local tzone, cache the tools used for determining it
-------------------------------------------------------------------
Mon Mar 26 04:28:57 UTC 2018 - factory-auto@kulow.org
- updated to version 1.1.0
see installed CHANGELOG.md
## et-orbi 1.1.0 released 2018-03-25
- Implement EoTime .utc and .local (based on Time .utc and .local)
- Add EoTime#translate(target_zone) as #localtime(target_zone) alias
- Correct EoTime#iso8601 (was always returning zulu iso8601 string)
-------------------------------------------------------------------
Thu Feb 8 06:00:40 UTC 2018 - coolo@suse.com
- updated to version 1.0.9
see installed CHANGELOG.md
## et-orbi 1.0.9 released 2018-01-19
- Silence EoTime#strfz warning
- Silence warnings reported by @mdave16, gh-10
- @philr added support for upcoming tzinfo 2.x, gh-9
-------------------------------------------------------------------
Thu Oct 26 09:59:00 UTC 2017 - coolo@suse.com
- updated to version 1.0.8
see installed CHANGELOG.md
## et-orbi 1.0.8 released 2017-10-24
- Ensure ::EoTime.new accepts ActiveSupport::TimeZone, closes gh-8
-------------------------------------------------------------------
Wed Oct 11 06:02:55 UTC 2017 - coolo@suse.com
- updated to version 1.0.7
see installed CHANGELOG.md
## et-orbi 1.0.7 released 2017-10-07
- Leverage ActiveSupport::TimeWithZone when present, gh-6
- Start error messages with a capital
## et-orbi 1.0.6 released 2017-10-05
- Introduce `make info`
- Alias EoTime#to_utc_time to #utc
- Alias EoTime#to_t to #to_local_time
- Implement EoTime#to_local_time (since #to_time returns a UTC Time instance)
-------------------------------------------------------------------
Mon Aug 7 13:35:18 UTC 2017 - tampakrap@opensuse.org
- Initial package

54
rubygem-et-orbi.spec Normal file
View File

@ -0,0 +1,54 @@
#
# spec file for package rubygem-et-orbi
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
#
# This file was generated with a gem2rpm.yml and not just plain gem2rpm.
# All sections marked as MANUAL, license headers, summaries and descriptions
# can be maintained in that file. Please consult this file before editing any
# of those fields
#
Name: rubygem-et-orbi
Version: 1.2.11
Release: 0
%define mod_name et-orbi
%define mod_full_name %{mod_name}-%{version}
BuildRequires: ruby-macros >= 5
BuildRequires: %{ruby}
BuildRequires: %{rubygem gem2rpm}
Url: https://github.com/floraison/et-orbi
Source: https://rubygems.org/gems/%{mod_full_name}.gem
Source1: gem2rpm.yml
Summary: time with zones
License: MIT
%description
Time zones for fugit and rufus-scheduler. Urbi et Orbi.
%prep
%build
%install
%gem_install \
--doc-files="CHANGELOG.md LICENSE.txt README.md" \
-f
%gem_packages
%changelog