Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/r/ruby-ice-cube/ruby-ice-cube_0.16.3-1_all.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/ruby-ice-cube-0.16.3-1_0zpinz3/ruby-ice-cube_0.16.3-1_all.buildinfo Get source package info: ruby-ice-cube=0.16.3-1 Source URL: http://snapshot.notset.fr/mr/package/ruby-ice-cube/0.16.3-1/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=adduser=3.118 autoconf=2.69-11.1 automake=1:1.16.2-3 autopoint=0.19.8.1-10 autotools-dev=20180224.1 base-files=11 base-passwd=3.5.47 bash=5.0-6 binutils=2.35-1 binutils-common=2.35-1 binutils-x86-64-linux-gnu=2.35-1 bsdextrautils=2.36-1 bsdutils=1:2.36-1 build-essential=12.8 bzip2=1.0.8-4 ca-certificates=20200601 coreutils=8.32-3 cpp=4:10.1.0-1 cpp-10=10.2.0-3 dash=0.5.10.2-7 debconf=1.5.74 debhelper=13.2 debianutils=4.11 devscripts=2.20.4 dh-autoreconf=19 dh-strip-nondeterminism=1.9.0-1 diffutils=1:3.7-3 dirmngr=2.2.20-1 dpkg=1.20.5 dpkg-dev=1.20.5 dwz=0.13-5 fakeroot=1.24-1 file=1:5.38-5 findutils=4.7.0-1 g++=4:10.1.0-1 g++-10=10.2.0-3 gcc=4:10.1.0-1 gcc-10=10.2.0-3 gcc-10-base=10.2.0-3 gem2deb=1.2.1 gem2deb-test-runner=1.2.1 gettext=0.19.8.1-10 gettext-base=0.19.8.1-10 gnupg=2.2.20-1 gnupg-l10n=2.2.20-1 gnupg-utils=2.2.20-1 gpg=2.2.20-1 gpg-agent=2.2.20-1 gpg-wks-client=2.2.20-1 gpg-wks-server=2.2.20-1 gpgconf=2.2.20-1 gpgsm=2.2.20-1 gpgv=2.2.20-1 grep=3.4-1 groff-base=1.22.4-5 gzip=1.10-2 hostname=3.23 init-system-helpers=1.58 intltool-debian=0.35.0+20060710.5 libacl1=2.2.53-8 libarchive-zip-perl=1.68-1 libasan6=10.2.0-3 libassuan0=2.5.3-7.1 libatomic1=10.2.0-3 libattr1=1:2.4.48-5 libaudit-common=1:2.8.5-3 libaudit1=1:2.8.5-3+b1 libb-hooks-op-check-perl=0.22-1+b2 libbinutils=2.35-1 libblkid1=2.36-1 libbz2-1.0=1.0.8-4 libc-bin=2.31-2 libc-dev-bin=2.31-2 libc6=2.31-2 libc6-dev=2.31-2 libcap-ng0=0.7.9-2.2 libcc1-0=10.2.0-3 libclass-method-modifiers-perl=2.13-1 libcroco3=0.6.13-1 libcrypt-dev=1:4.4.16-1 libcrypt1=1:4.4.16-1 libctf-nobfd0=2.35-1 libctf0=2.35-1 libdb5.3=5.3.28+dfsg1-0.6 libdebconfclient0=0.253 libdebhelper-perl=13.2 libdevel-callchecker-perl=0.008-1+b1 libdpkg-perl=1.20.5 libdynaloader-functions-perl=0.003-1 libelf1=0.180-1 libencode-locale-perl=1.05-1 libexpat1=2.2.9-1 libfakeroot=1.24-1 libffi7=3.3-4 libfile-homedir-perl=1.004-1 libfile-listing-perl=6.04-1 libfile-stripnondeterminism-perl=1.9.0-1 libfile-which-perl=1.23-1 libgcc-10-dev=10.2.0-3 libgcc-s1=10.2.0-3 libgcrypt20=1.8.6-2 libgdbm-compat4=1.18.1-5 libgdbm6=1.18.1-5 libglib2.0-0=2.64.4-1 libgmp-dev=2:6.2.0+dfsg-6 libgmp10=2:6.2.0+dfsg-6 libgmpxx4ldbl=2:6.2.0+dfsg-6 libgnutls30=3.6.14-2+b1 libgomp1=10.2.0-3 libgpg-error0=1.38-2 libhogweed6=3.6-2 libhtml-parser-perl=3.72-5 libhtml-tagset-perl=3.20-4 libhtml-tree-perl=5.07-2 libhttp-cookies-perl=6.08-1 libhttp-date-perl=6.05-1 libhttp-message-perl=6.25-1 libhttp-negotiate-perl=6.01-1 libicu67=67.1-3 libidn2-0=2.3.0-1 libimport-into-perl=1.002005-1 libio-html-perl=1.001-1 libio-pty-perl=1:1.12-1 libio-socket-ssl-perl=2.067-1 libipc-run-perl=20200505.0-1 libisl22=0.22.1-1 libitm1=10.2.0-3 libksba8=1.4.0-2 libldap-2.4-2=2.4.50+dfsg-1+b1 libldap-common=2.4.50+dfsg-1 liblsan0=10.2.0-3 liblwp-mediatypes-perl=6.04-1 liblwp-protocol-https-perl=6.09-1 liblz4-1=1.9.2-2 liblzma5=5.2.4-1+b1 libmagic-mgc=1:5.38-5 libmagic1=1:5.38-5 libmodule-runtime-perl=0.016-1 libmoo-perl=2.004000-1 libmount1=2.36-1 libmpc3=1.1.0-1 libmpdec2=2.4.2-3 libmpfr6=4.1.0-3 libncursesw6=6.2-1 libnet-http-perl=6.19-1 libnet-ssleay-perl=1.88-3 libnettle8=3.6-2 libnpth0=1.6-2 libp11-kit0=0.23.20-1 libpam-modules=1.3.1-5 libpam-modules-bin=1.3.1-5 libpam-runtime=1.3.1-5 libpam0g=1.3.1-5 libparams-classify-perl=0.015-1+b2 libpcre2-8-0=10.34-7 libpcre3=2:8.39-13 libperl5.30=5.30.3-4 libpipeline1=1.5.2-2 libpython3-stdlib=3.8.2-3 libpython3.8-minimal=3.8.5-1 libpython3.8-stdlib=3.8.5-1 libquadmath0=10.2.0-3 libreadline8=8.0-4 librole-tiny-perl=2.001004-1 libruby2.7=2.7.1-3 libsasl2-2=2.1.27+dfsg-2 libsasl2-modules-db=2.1.27+dfsg-2 libseccomp2=2.4.3-1+b1 libselinux1=3.1-2 libsemanage-common=3.1-1 libsemanage1=3.1-1 libsepol1=3.1-1 libsigsegv2=2.12-2 libsmartcols1=2.36-1 libsqlite3-0=3.32.3-1 libssl1.1=1.1.1g-1 libstdc++-10-dev=10.2.0-3 libstdc++6=10.2.0-3 libstrictures-perl=2.000006-1 libsub-override-perl=0.09-2 libsub-quote-perl=2.006006-1 libsystemd0=245.6-3 libtasn1-6=4.16.0-2 libtimedate-perl=2.3300-1 libtinfo6=6.2-1 libtool=2.4.6-14 libtry-tiny-perl=0.30-1 libtsan0=10.2.0-3 libubsan1=10.2.0-3 libuchardet0=0.0.7-1 libudev1=245.6-3 libunistring2=0.9.10-4 liburi-perl=1.76-2 libuuid1=2.36-1 libwww-perl=6.46-1 libwww-robotrules-perl=6.02-1 libxml2=2.9.10+dfsg-5+b1 libxslt1.1=1.1.34-4 libyaml-0-2=0.2.2-1 libzstd1=1.4.5+dfsg-3 linux-libc-dev=5.7.10-1 login=1:4.8.1-1 lsb-base=11.1.0 m4=1.4.18-4 make=4.3-4 man-db=2.9.3-2 mawk=1.3.4.20200120-2 mime-support=3.64 ncurses-base=6.2-1 ncurses-bin=6.2-1 netbase=6.1 openssl=1.1.1g-1 passwd=1:4.8.1-1 patch=2.7.6-6 patchutils=0.4.2-1 perl=5.30.3-4 perl-base=5.30.3-4 perl-modules-5.30=5.30.3-4 perl-openssl-defaults=5 pinentry-curses=1.1.0-4 po-debconf=1.0.21 python3=3.8.2-3 python3-minimal=3.8.2-3 python3.8=3.8.5-1 python3.8-minimal=3.8.5-1 rake=13.0.1-4 readline-common=8.0-4 ruby=1:2.7+1 ruby-actionpack=2:5.2.4.3+dfsg-2 ruby-actionview=2:5.2.4.3+dfsg-2 ruby-activesupport=2:5.2.4.3+dfsg-2 ruby-all-dev=1:2.7+1 ruby-atomic=1.1.16-3 ruby-builder=3.2.4-1 ruby-concurrent=1.1.6+dfsg-3 ruby-crass=1.0.2-2 ruby-diff-lcs=1.4.4-1 ruby-erubi=1.9.0-1 ruby-i18n=1.8.5-1 ruby-loofah=2.6.0+dfsg-1 ruby-minitest=5.13.0-1 ruby-net-telnet=0.1.1-2 ruby-nokogiri=1.10.9+dfsg-1 ruby-pkg-config=1.4.1-1 ruby-power-assert=1.1.7-1 ruby-rack=2.1.1-5 ruby-rack-test=0.7.0-1 ruby-rails-deprecated-sanitizer=1.0.3-3 ruby-rails-dom-testing=2.0.3-3 ruby-rails-html-sanitizer=1.3.0-1 ruby-rspec=3.9.0c1e0m1s2-1 ruby-rspec-core=3.9.0c1e0m1s2-1 ruby-rspec-expectations=3.9.0c1e0m1s2-1 ruby-rspec-mocks=3.9.0c1e0m1s2-1 ruby-rspec-support=3.9.0c1e0m1s2-1 ruby-setup=3.4.1-9 ruby-test-unit=3.3.5-1 ruby-thread-safe=0.3.6-1 ruby-tzinfo=1.2.6-1 ruby-xmlrpc=0.3.0-2 ruby2.7=2.7.1-3 ruby2.7-dev=2.7.1-3 rubygems-integration=1.17.2 sed=4.7-1 sensible-utils=0.0.12+nmu1 sysvinit-utils=2.96-3 tar=1.30+dfsg-7 tzdata=2020a-1 util-linux=2.36-1 wdiff=1.2.2-2+b1 xz-utils=5.2.4-1+b1 zlib1g=1:1.2.11.dfsg-2 --variant=apt --aptopt=Acquire::Check-Valid-Until "false" --aptopt=Acquire::http::Dl-Limit "1000"; --aptopt=Acquire::https::Dl-Limit "1000"; --aptopt=Acquire::Retries "5"; --aptopt=APT::Get::allow-downgrades "true"; --keyring=/usr/share/keyrings/ --essential-hook=chroot "$1" sh -c "apt-get --yes install fakeroot util-linux" --essential-hook=copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ --essential-hook=chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20210205T204304Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20200727T204945Z/ unstable main' >> /etc/apt/sources.list && apt-get update" --customize-hook=chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash --customize-hook=chroot "$1" env sh -c "apt-get source --only-source -d ruby-ice-cube=0.16.3-1 && mkdir -p /build/ruby-ice-cube-LNu6ZN && dpkg-source --no-check -x /*.dsc /build/ruby-ice-cube-LNu6ZN/ruby-ice-cube-0.16.3 && chown -R builduser:builduser /build/ruby-ice-cube-LNu6ZN" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/ruby-ice-cube-LNu6ZN/ruby-ice-cube-0.16.3 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1595975679" dpkg-buildpackage -uc -a amd64 --build=all" --customize-hook=sync-out /build/ruby-ice-cube-LNu6ZN /tmp/ruby-ice-cube-0.16.3-1_0zpinz3 bullseye /dev/null deb http://snapshot.notset.fr/archive/debian/20200727T204945Z unstable main I: automatically chosen mode: root I: chroot architecture amd64 is equal to the host's architecture I: automatically chosen format: tar I: using /tmp/mmdebstrap.FtfoYwIB6s as tempdir I: running apt-get update... I: downloading packages with apt... I: extracting archives... I: installing essential packages... I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "apt-get --yes install fakeroot util-linux"' exec /tmp/mmdebstrap.FtfoYwIB6s Reading package lists... Building dependency tree... util-linux is already the newest version (2.36-1). The following NEW packages will be installed: fakeroot libfakeroot 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 132 kB of archives. After this operation, 393 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20200727T204945Z unstable/main amd64 libfakeroot amd64 1.24-1 [45.7 kB] Get:2 http://snapshot.notset.fr/archive/debian/20200727T204945Z unstable/main amd64 fakeroot amd64 1.24-1 [85.9 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 132 kB in 0s (1096 kB/s) Selecting previously unselected package libfakeroot:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 4578 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.24-1_amd64.deb ... Unpacking libfakeroot:amd64 (1.24-1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.24-1_amd64.deb ... Unpacking fakeroot (1.24-1) ... Setting up libfakeroot:amd64 (1.24-1) ... Setting up fakeroot (1.24-1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.31-2) ... I: running special hook: copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20210205T204304Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20200727T204945Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.FtfoYwIB6s Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm InRelease [81.6 kB] Get:2 http://snapshot.notset.fr/archive/debian/20210205T204304Z unstable InRelease [153 kB] Hit:3 http://snapshot.notset.fr/archive/debian/20200727T204945Z unstable InRelease Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Get:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources [11.4 MB] Get:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages [11.1 MB] Ign:6 http://snapshot.notset.fr/archive/debian/20210205T204304Z unstable/main amd64 Packages Ign:6 http://snapshot.notset.fr/archive/debian/20210205T204304Z unstable/main amd64 Packages Ign:6 http://snapshot.notset.fr/archive/debian/20210205T204304Z unstable/main amd64 Packages Get:6 http://snapshot.notset.fr/archive/debian/20210205T204304Z unstable/main amd64 Packages [11.7 MB] Fetched 34.4 MB in 29s (1168 kB/s) Reading package lists... I: installing remaining packages inside the chroot... I: running --customize-hook in shell: sh -c 'chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash' exec /tmp/mmdebstrap.FtfoYwIB6s I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d ruby-ice-cube=0.16.3-1 && mkdir -p /build/ruby-ice-cube-LNu6ZN && dpkg-source --no-check -x /*.dsc /build/ruby-ice-cube-LNu6ZN/ruby-ice-cube-0.16.3 && chown -R builduser:builduser /build/ruby-ice-cube-LNu6ZN"' exec /tmp/mmdebstrap.FtfoYwIB6s Reading package lists... NOTICE: 'ruby-ice-cube' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/ruby-team/ruby-ice-cube.git Please use: git clone https://salsa.debian.org/ruby-team/ruby-ice-cube.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 79.3 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main ruby-ice-cube 0.16.3-1 (dsc) [1737 B] Get:2 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main ruby-ice-cube 0.16.3-1 (tar) [73.7 kB] Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main ruby-ice-cube 0.16.3-1 (diff) [3928 B] Fetched 79.3 kB in 0s (741 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'ruby-ice-cube_0.16.3-1.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting ruby-ice-cube in /build/ruby-ice-cube-LNu6ZN/ruby-ice-cube-0.16.3 dpkg-source: info: unpacking ruby-ice-cube_0.16.3.orig.tar.gz dpkg-source: info: unpacking ruby-ice-cube_0.16.3-1.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying clean-spec-helper dpkg-source: info: applying skip-failing-specs-yaml.patch I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/ruby-ice-cube-LNu6ZN/ruby-ice-cube-0.16.3 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1595975679" dpkg-buildpackage -uc -a amd64 --build=all"' exec /tmp/mmdebstrap.FtfoYwIB6s dpkg-buildpackage: info: source package ruby-ice-cube dpkg-buildpackage: info: source version 0.16.3-1 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Cédric Boutillier dpkg-source --before-build . debian/rules clean dh clean --buildsystem=ruby --with ruby dh_auto_clean -O--buildsystem=ruby dh_ruby --clean NOTE: Gem::Specification#has_rdoc= is deprecated with no replacement. It will be removed on or after 2018-12-01. Gem::Specification#has_rdoc= called from ice_cube.gemspec.gem2deb:20. dh_ruby --clean dh_autoreconf_clean -O--buildsystem=ruby dh_clean -O--buildsystem=ruby debian/rules binary-indep dh binary-indep --buildsystem=ruby --with ruby dh_update_autotools_config -i -O--buildsystem=ruby dh_autoreconf -i -O--buildsystem=ruby dh_auto_configure -i -O--buildsystem=ruby dh_ruby --configure dh_auto_build -i -O--buildsystem=ruby dh_ruby --build dh_ruby --build dh_auto_test -i -O--buildsystem=ruby dh_ruby --test create-stamp debian/debhelper-build-stamp dh_testroot -i -O--buildsystem=ruby dh_prep -i -O--buildsystem=ruby dh_auto_install -i -O--buildsystem=ruby dh_ruby --install /build/ruby-ice-cube-LNu6ZN/ruby-ice-cube-0.16.3/debian/ruby-ice-cube NOTE: Gem::Specification#has_rdoc= is deprecated with no replacement. It will be removed on or after 2018-12-01. Gem::Specification#has_rdoc= called from ice_cube.gemspec.gem2deb:20. dh_ruby --install /usr/bin/ruby2.7 -S gem build --config-file /dev/null --verbose /tmp/d20211010-1037883-hy13qn/gemspec Failed to load /dev/null because it doesn't contain valid YAML hash WARNING: open-ended dependency on rake (>= 0, development) is not recommended use a bounded requirement, such as '~> x.y' WARNING: open-ended dependency on rspec (> 3, development) is not recommended if rspec is semantically versioned, use: add_development_dependency 'rspec', '~> 3', '> 3' WARNING: See http://guides.rubygems.org/specification-reference/ for help Successfully built RubyGem Name: ice_cube Version: 0.16.3 File: ice_cube-0.16.3.gem /usr/bin/ruby2.7 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-ice-cube/usr/share/rubygems-integration/all /tmp/d20211010-1037883-hy13qn/ice_cube-0.16.3.gem Failed to load /dev/null because it doesn't contain valid YAML hash /build/ruby-ice-cube-LNu6ZN/ruby-ice-cube-0.16.3/debian/ruby-ice-cube/usr/share/rubygems-integration/all/gems/ice_cube-0.16.3/config/locales/de.yml /build/ruby-ice-cube-LNu6ZN/ruby-ice-cube-0.16.3/debian/ruby-ice-cube/usr/share/rubygems-integration/all/gems/ice_cube-0.16.3/config/locales/en.yml /build/ruby-ice-cube-LNu6ZN/ruby-ice-cube-0.16.3/debian/ruby-ice-cube/usr/share/rubygems-integration/all/gems/ice_cube-0.16.3/config/locales/es.yml /build/ruby-ice-cube-LNu6ZN/ruby-ice-cube-0.16.3/debian/ruby-ice-cube/usr/share/rubygems-integration/all/gems/ice_cube-0.16.3/config/locales/fr.yml /build/ruby-ice-cube-LNu6ZN/ruby-ice-cube-0.16.3/debian/ruby-ice-cube/usr/share/rubygems-integration/all/gems/ice_cube-0.16.3/config/locales/ja.yml /build/ruby-ice-cube-LNu6ZN/ruby-ice-cube-0.16.3/debian/ruby-ice-cube/usr/share/rubygems-integration/all/gems/ice_cube-0.16.3/config/locales/pt-BR.yml /build/ruby-ice-cube-LNu6ZN/ruby-ice-cube-0.16.3/debian/ruby-ice-cube/usr/share/rubygems-integration/all/gems/ice_cube-0.16.3/config/locales/ru.yml /build/ruby-ice-cube-LNu6ZN/ruby-ice-cube-0.16.3/debian/ruby-ice-cube/usr/share/rubygems-integration/all/gems/ice_cube-0.16.3/config/locales/sv.yml /build/ruby-ice-cube-LNu6ZN/ruby-ice-cube-0.16.3/debian/ruby-ice-cube/usr/share/rubygems-integration/all/gems/ice_cube-0.16.3/lib/ice_cube.rb /build/ruby-ice-cube-LNu6ZN/ruby-ice-cube-0.16.3/debian/ruby-ice-cube/usr/share/rubygems-integration/all/gems/ice_cube-0.16.3/lib/ice_cube/builders/hash_builder.rb /build/ruby-ice-cube-LNu6ZN/ruby-ice-cube-0.16.3/debian/ruby-ice-cube/usr/share/rubygems-integration/all/gems/ice_cube-0.16.3/lib/ice_cube/builders/ical_builder.rb /build/ruby-ice-cube-LNu6ZN/ruby-ice-cube-0.16.3/debian/ruby-ice-cube/usr/share/rubygems-integration/all/gems/ice_cube-0.16.3/lib/ice_cube/builders/string_builder.rb /build/ruby-ice-cube-LNu6ZN/ruby-ice-cube-0.16.3/debian/ruby-ice-cube/usr/share/rubygems-integration/all/gems/ice_cube-0.16.3/lib/ice_cube/deprecated.rb /build/ruby-ice-cube-LNu6ZN/ruby-ice-cube-0.16.3/debian/ruby-ice-cube/usr/share/rubygems-integration/all/gems/ice_cube-0.16.3/lib/ice_cube/errors/count_exceeded.rb /build/ruby-ice-cube-LNu6ZN/ruby-ice-cube-0.16.3/debian/ruby-ice-cube/usr/share/rubygems-integration/all/gems/ice_cube-0.16.3/lib/ice_cube/errors/until_exceeded.rb /build/ruby-ice-cube-LNu6ZN/ruby-ice-cube-0.16.3/debian/ruby-ice-cube/usr/share/rubygems-integration/all/gems/ice_cube-0.16.3/lib/ice_cube/flexible_hash.rb /build/ruby-ice-cube-LNu6ZN/ruby-ice-cube-0.16.3/debian/ruby-ice-cube/usr/share/rubygems-integration/all/gems/ice_cube-0.16.3/lib/ice_cube/i18n.rb /build/ruby-ice-cube-LNu6ZN/ruby-ice-cube-0.16.3/debian/ruby-ice-cube/usr/share/rubygems-integration/all/gems/ice_cube-0.16.3/lib/ice_cube/input_alignment.rb /build/ruby-ice-cube-LNu6ZN/ruby-ice-cube-0.16.3/debian/ruby-ice-cube/usr/share/rubygems-integration/all/gems/ice_cube-0.16.3/lib/ice_cube/null_i18n.rb /build/ruby-ice-cube-LNu6ZN/ruby-ice-cube-0.16.3/debian/ruby-ice-cube/usr/share/rubygems-integration/all/gems/ice_cube-0.16.3/lib/ice_cube/occurrence.rb /build/ruby-ice-cube-LNu6ZN/ruby-ice-cube-0.16.3/debian/ruby-ice-cube/usr/share/rubygems-integration/all/gems/ice_cube-0.16.3/lib/ice_cube/parsers/hash_parser.rb /build/ruby-ice-cube-LNu6ZN/ruby-ice-cube-0.16.3/debian/ruby-ice-cube/usr/share/rubygems-integration/all/gems/ice_cube-0.16.3/lib/ice_cube/parsers/ical_parser.rb /build/ruby-ice-cube-LNu6ZN/ruby-ice-cube-0.16.3/debian/ruby-ice-cube/usr/share/rubygems-integration/all/gems/ice_cube-0.16.3/lib/ice_cube/parsers/yaml_parser.rb /build/ruby-ice-cube-LNu6ZN/ruby-ice-cube-0.16.3/debian/ruby-ice-cube/usr/share/rubygems-integration/all/gems/ice_cube-0.16.3/lib/ice_cube/rule.rb /build/ruby-ice-cube-LNu6ZN/ruby-ice-cube-0.16.3/debian/ruby-ice-cube/usr/share/rubygems-integration/all/gems/ice_cube-0.16.3/lib/ice_cube/rules/daily_rule.rb /build/ruby-ice-cube-LNu6ZN/ruby-ice-cube-0.16.3/debian/ruby-ice-cube/usr/share/rubygems-integration/all/gems/ice_cube-0.16.3/lib/ice_cube/rules/hourly_rule.rb /build/ruby-ice-cube-LNu6ZN/ruby-ice-cube-0.16.3/debian/ruby-ice-cube/usr/share/rubygems-integration/all/gems/ice_cube-0.16.3/lib/ice_cube/rules/minutely_rule.rb /build/ruby-ice-cube-LNu6ZN/ruby-ice-cube-0.16.3/debian/ruby-ice-cube/usr/share/rubygems-integration/all/gems/ice_cube-0.16.3/lib/ice_cube/rules/monthly_rule.rb /build/ruby-ice-cube-LNu6ZN/ruby-ice-cube-0.16.3/debian/ruby-ice-cube/usr/share/rubygems-integration/all/gems/ice_cube-0.16.3/lib/ice_cube/rules/secondly_rule.rb /build/ruby-ice-cube-LNu6ZN/ruby-ice-cube-0.16.3/debian/ruby-ice-cube/usr/share/rubygems-integration/all/gems/ice_cube-0.16.3/lib/ice_cube/rules/weekly_rule.rb /build/ruby-ice-cube-LNu6ZN/ruby-ice-cube-0.16.3/debian/ruby-ice-cube/usr/share/rubygems-integration/all/gems/ice_cube-0.16.3/lib/ice_cube/rules/yearly_rule.rb /build/ruby-ice-cube-LNu6ZN/ruby-ice-cube-0.16.3/debian/ruby-ice-cube/usr/share/rubygems-integration/all/gems/ice_cube-0.16.3/lib/ice_cube/schedule.rb /build/ruby-ice-cube-LNu6ZN/ruby-ice-cube-0.16.3/debian/ruby-ice-cube/usr/share/rubygems-integration/all/gems/ice_cube-0.16.3/lib/ice_cube/single_occurrence_rule.rb /build/ruby-ice-cube-LNu6ZN/ruby-ice-cube-0.16.3/debian/ruby-ice-cube/usr/share/rubygems-integration/all/gems/ice_cube-0.16.3/lib/ice_cube/time_util.rb /build/ruby-ice-cube-LNu6ZN/ruby-ice-cube-0.16.3/debian/ruby-ice-cube/usr/share/rubygems-integration/all/gems/ice_cube-0.16.3/lib/ice_cube/validated_rule.rb /build/ruby-ice-cube-LNu6ZN/ruby-ice-cube-0.16.3/debian/ruby-ice-cube/usr/share/rubygems-integration/all/gems/ice_cube-0.16.3/lib/ice_cube/validations/count.rb /build/ruby-ice-cube-LNu6ZN/ruby-ice-cube-0.16.3/debian/ruby-ice-cube/usr/share/rubygems-integration/all/gems/ice_cube-0.16.3/lib/ice_cube/validations/daily_interval.rb /build/ruby-ice-cube-LNu6ZN/ruby-ice-cube-0.16.3/debian/ruby-ice-cube/usr/share/rubygems-integration/all/gems/ice_cube-0.16.3/lib/ice_cube/validations/day.rb /build/ruby-ice-cube-LNu6ZN/ruby-ice-cube-0.16.3/debian/ruby-ice-cube/usr/share/rubygems-integration/all/gems/ice_cube-0.16.3/lib/ice_cube/validations/day_of_month.rb /build/ruby-ice-cube-LNu6ZN/ruby-ice-cube-0.16.3/debian/ruby-ice-cube/usr/share/rubygems-integration/all/gems/ice_cube-0.16.3/lib/ice_cube/validations/day_of_week.rb /build/ruby-ice-cube-LNu6ZN/ruby-ice-cube-0.16.3/debian/ruby-ice-cube/usr/share/rubygems-integration/all/gems/ice_cube-0.16.3/lib/ice_cube/validations/day_of_year.rb /build/ruby-ice-cube-LNu6ZN/ruby-ice-cube-0.16.3/debian/ruby-ice-cube/usr/share/rubygems-integration/all/gems/ice_cube-0.16.3/lib/ice_cube/validations/fixed_value.rb /build/ruby-ice-cube-LNu6ZN/ruby-ice-cube-0.16.3/debian/ruby-ice-cube/usr/share/rubygems-integration/all/gems/ice_cube-0.16.3/lib/ice_cube/validations/hour_of_day.rb /build/ruby-ice-cube-LNu6ZN/ruby-ice-cube-0.16.3/debian/ruby-ice-cube/usr/share/rubygems-integration/all/gems/ice_cube-0.16.3/lib/ice_cube/validations/hourly_interval.rb /build/ruby-ice-cube-LNu6ZN/ruby-ice-cube-0.16.3/debian/ruby-ice-cube/usr/share/rubygems-integration/all/gems/ice_cube-0.16.3/lib/ice_cube/validations/lock.rb /build/ruby-ice-cube-LNu6ZN/ruby-ice-cube-0.16.3/debian/ruby-ice-cube/usr/share/rubygems-integration/all/gems/ice_cube-0.16.3/lib/ice_cube/validations/minute_of_hour.rb /build/ruby-ice-cube-LNu6ZN/ruby-ice-cube-0.16.3/debian/ruby-ice-cube/usr/share/rubygems-integration/all/gems/ice_cube-0.16.3/lib/ice_cube/validations/minutely_interval.rb /build/ruby-ice-cube-LNu6ZN/ruby-ice-cube-0.16.3/debian/ruby-ice-cube/usr/share/rubygems-integration/all/gems/ice_cube-0.16.3/lib/ice_cube/validations/month_of_year.rb /build/ruby-ice-cube-LNu6ZN/ruby-ice-cube-0.16.3/debian/ruby-ice-cube/usr/share/rubygems-integration/all/gems/ice_cube-0.16.3/lib/ice_cube/validations/monthly_interval.rb /build/ruby-ice-cube-LNu6ZN/ruby-ice-cube-0.16.3/debian/ruby-ice-cube/usr/share/rubygems-integration/all/gems/ice_cube-0.16.3/lib/ice_cube/validations/schedule_lock.rb /build/ruby-ice-cube-LNu6ZN/ruby-ice-cube-0.16.3/debian/ruby-ice-cube/usr/share/rubygems-integration/all/gems/ice_cube-0.16.3/lib/ice_cube/validations/second_of_minute.rb /build/ruby-ice-cube-LNu6ZN/ruby-ice-cube-0.16.3/debian/ruby-ice-cube/usr/share/rubygems-integration/all/gems/ice_cube-0.16.3/lib/ice_cube/validations/secondly_interval.rb /build/ruby-ice-cube-LNu6ZN/ruby-ice-cube-0.16.3/debian/ruby-ice-cube/usr/share/rubygems-integration/all/gems/ice_cube-0.16.3/lib/ice_cube/validations/until.rb /build/ruby-ice-cube-LNu6ZN/ruby-ice-cube-0.16.3/debian/ruby-ice-cube/usr/share/rubygems-integration/all/gems/ice_cube-0.16.3/lib/ice_cube/validations/weekly_interval.rb /build/ruby-ice-cube-LNu6ZN/ruby-ice-cube-0.16.3/debian/ruby-ice-cube/usr/share/rubygems-integration/all/gems/ice_cube-0.16.3/lib/ice_cube/validations/yearly_interval.rb /build/ruby-ice-cube-LNu6ZN/ruby-ice-cube-0.16.3/debian/ruby-ice-cube/usr/share/rubygems-integration/all/gems/ice_cube-0.16.3/lib/ice_cube/version.rb Successfully installed ice_cube-0.16.3 1 gem installed cd debian/ruby-ice-cube/usr/share/rubygems-integration/all rm -rf bin rm -rf build_info rm -rf cache rm -rf doc rm -rf extensions cd gems/ice_cube-0.16.3 rm -f chmod 644 lib/ice_cube/validations/lock.rb lib/ice_cube/validations/until.rb lib/ice_cube/validations/monthly_interval.rb lib/ice_cube/validations/schedule_lock.rb lib/ice_cube/validations/day.rb lib/ice_cube/validations/minute_of_hour.rb lib/ice_cube/validations/month_of_year.rb lib/ice_cube/validations/second_of_minute.rb lib/ice_cube/validations/yearly_interval.rb lib/ice_cube/validations/weekly_interval.rb lib/ice_cube/validations/day_of_week.rb lib/ice_cube/validations/count.rb lib/ice_cube/validations/day_of_year.rb lib/ice_cube/validations/daily_interval.rb lib/ice_cube/validations/secondly_interval.rb lib/ice_cube/validations/fixed_value.rb lib/ice_cube/validations/day_of_month.rb lib/ice_cube/validations/hourly_interval.rb lib/ice_cube/validations/minutely_interval.rb lib/ice_cube/validations/hour_of_day.rb lib/ice_cube/validated_rule.rb lib/ice_cube/occurrence.rb lib/ice_cube/builders/ical_builder.rb lib/ice_cube/builders/string_builder.rb lib/ice_cube/builders/hash_builder.rb lib/ice_cube/rule.rb lib/ice_cube/version.rb lib/ice_cube/parsers/hash_parser.rb lib/ice_cube/parsers/yaml_parser.rb lib/ice_cube/parsers/ical_parser.rb lib/ice_cube/input_alignment.rb lib/ice_cube/null_i18n.rb lib/ice_cube/schedule.rb lib/ice_cube/deprecated.rb lib/ice_cube/errors/count_exceeded.rb lib/ice_cube/errors/until_exceeded.rb lib/ice_cube/single_occurrence_rule.rb lib/ice_cube/flexible_hash.rb lib/ice_cube/rules/secondly_rule.rb lib/ice_cube/rules/monthly_rule.rb lib/ice_cube/rules/minutely_rule.rb lib/ice_cube/rules/weekly_rule.rb lib/ice_cube/rules/hourly_rule.rb lib/ice_cube/rules/yearly_rule.rb lib/ice_cube/rules/daily_rule.rb lib/ice_cube/i18n.rb lib/ice_cube/time_util.rb lib/ice_cube.rb find lib/ -type d -empty -delete cd - cd - dh_installchangelogs -pruby-ice-cube /build/ruby-ice-cube-LNu6ZN/ruby-ice-cube-0.16.3/CHANGELOG.md upstream /usr/bin/ruby2.7 /usr/bin/gem2deb-test-runner ┌──────────────────────────────────────────────────────────────────────────────┐ │ Checking Rubygems dependency resolution on ruby2.7 │ └──────────────────────────────────────────────────────────────────────────────┘ NOTE: Gem::Specification#has_rdoc= is deprecated with no replacement. It will be removed on or after 2018-12-01. Gem::Specification#has_rdoc= called from ice_cube.gemspec.gem2deb:20. GEM_PATH=/build/ruby-ice-cube-LNu6ZN/ruby-ice-cube-0.16.3/debian/ruby-ice-cube/usr/share/rubygems-integration/all:/build/ruby-ice-cube-LNu6ZN/ruby-ice-cube-0.16.3/debian/.debhelper/generated/_source/home/.gem/ruby/2.7.0:/var/lib/gems/2.7.0:/usr/local/lib/ruby/gems/2.7.0:/usr/lib/ruby/gems/2.7.0:/usr/lib/x86_64-linux-gnu/ruby/gems/2.7.0:/usr/share/rubygems-integration/2.7.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.7.0 ruby2.7 -e gem\ \"ice_cube\" ┌──────────────────────────────────────────────────────────────────────────────┐ │ Run tests for ruby2.7 from debian/ruby-tests.rake │ └──────────────────────────────────────────────────────────────────────────────┘ RUBYLIB=. GEM_PATH=/build/ruby-ice-cube-LNu6ZN/ruby-ice-cube-0.16.3/debian/ruby-ice-cube/usr/share/rubygems-integration/all:/build/ruby-ice-cube-LNu6ZN/ruby-ice-cube-0.16.3/debian/.debhelper/generated/_source/home/.gem/ruby/2.7.0:/var/lib/gems/2.7.0:/usr/local/lib/ruby/gems/2.7.0:/usr/lib/ruby/gems/2.7.0:/usr/lib/x86_64-linux-gnu/ruby/gems/2.7.0:/usr/share/rubygems-integration/2.7.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.7.0 ruby2.7 -S rake -f debian/ruby-tests.rake /usr/bin/ruby2.7 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.9.2/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.9.1/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.9.1/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation IceCube::TimeUtil in America/Anchorage should be able to calculate end of dates without active_support should be able to calculate beginning of dates without active_support should serialize to hash without error in Europe/London should be able to calculate end of dates without active_support should be able to calculate beginning of dates without active_support should serialize to hash without error in Pacific/Auckland should be able to calculate end of dates without active_support should be able to calculate beginning of dates without active_support should serialize to hash without error IceCube::Schedule using ActiveSupport works with a single recurrence time starting from a TimeWithZone works with a monthly recurrence rule starting from a TimeWithZone works with a monthly schedule converting to UTC across DST can round trip TimeWithZone to YAML uses local zone from start time to determine occurs_on? from the beginning of day uses local zone from start time to determine occurs_on? to the end of day should use the correct zone for next_occurrences before start_time should use the correct zone for next_occurrences after start_time querying with time arguments for a different zone uses schedule zone for next_occurrence uses schedule zone for next_occurrences uses schedule zone for remaining_occurrences uses schedule zone for occurrences uses schedule zone for occurrences_between uses schedule zone for occurrences_between with a rule terminated by #count uses schedule zone for occurrences_between with a rule terminated by #until uses schedule zone for occurrences_between with an unterminated rule IceCube::Occurrence can be subtracted from a time IceCube::DailyRule interval validation converts a string integer to an actual int when using the interval method converts a string integer to an actual int when using the initializer raises an argument error when a bad value is passed using the interval method raises an argument error when a bad value is passed IceCube::DailyRule should update previous interval should produce the correct days for @interval = 1 should produce the correct days for @interval = 2 should produce the correct days for @interval = 2 when crossing into a new year should produce the correct days for interval of 4 day with hour and minute of day set in Vancouver time should include nearest time in DST start hour should not skip times in DST end hour should include nearest time to DST start when locking hour_of_day day validation allows multiples of 7 raises errors for misaligned interval and day (wday) values raises errors for misaligned hour_of_day values when changing interval day_of_month validation raises errors for misaligned interval and day_of_month values raises errors for misaligned day_of_month values when changing interval IceCube::Schedule crosses a daylight savings time boundary with a recurrence rule in local time, by utc conversion crosses a daylight savings time boundary (in the other direction) with a recurrence rule in local time, by utc conversion cross a daylight savings time boundary with a recurrence rule in local time every two hours over a daylight savings time boundary, checking interval every 30 minutes over a daylight savings time boundary, checking interval every 120 seconds over a daylight savings time boundary, checking interval every other day over a daylight savings time boundary, checking hour/min/sec every other month over a daylight savings time boundary, checking day/hour/min/sec every other year over a daylight savings time boundary, checking day/hour/min/sec LOCAL - has an until date on a rule that is over a DST from the start date UTC - has an until date on a rule that is over a DST from the start date LOCAL - has an until date on a rule that is over a DST from the start date (other direction) UTC - has an until date on a rule that is over a DST from the start date (other direction) LOCAL - has an end date on a rule that is over a DST from the start date UTC - has an end date on a rule that is over a DST from the start date LOCAL - has an end date on a rule that is over a DST from the start date (other direction) UTC - has an end date on a rule that is over a DST from the start date (other direction) local - should make dates on interval over dst - github issue 4 local - should make dates on monthly interval over dst - github issue 4 local - should make dates on monthly interval over dst - github issue 4 local - should make dates on yearly interval over dst - github issue 4 local - should make dates on monthly (day of week) inverval over dst - github issue 5 local - should make dates on monthly (day of month) inverval over dst - github issue 5 local - should make dates on weekly (day) inverval over dst - github issue 5 local - should make dates on yearly (day of year) inverval over dst - github issue 5 local - should make dates on monthly (month_of_year) inverval over dst - github issue 5 skips double daily occurrences from end of DST skips double monthly occurrences from end of DST does not skip hourly rules over DST does not skip minutely rules with minute of hour over DST does not skip minutely rules with second of minute over DST IceCube::FlexibleHash #[] :sym => :sym is found 'sym' => :sym is found 'str' => 'str' is found :str => 'str' is found other types are found missing keys are nil #fetch yields missing keys #delete :sym => :sym is found and removed 'sym' => :sym is found and removed 'str' => 'str' is found and removed :str => 'str' is found and removed other types are found and removed missing keys are nil IceCube::Rule from_ical /build/ruby-ice-cube-LNu6ZN/ruby-ice-cube-0.16.3/lib/ice_cube/parsers/ical_parser.rb:7: warning: assigned but unused variable - tzid should return a IceCube DailyRule class for a basic daily rule should return a IceCube WeeklyRule class for a basic monthly rule should return a IceCube MonthlyRule class for a basic monthly rule should return a IceCube YearlyRule class for a basic yearly rule should be able to parse a .day rule should be able to parse a .day_of_week rule should be able to parse both .day and .day_of_week rules should be able to parse a .day_of_month rule should be able to parse a .day_of_year rule should be able to serialize a .month_of_year rule should be able to split to a combination of day_of_week and day (day_of_week has priority) should be able to parse of .day_of_week rule with multiple days /build/ruby-ice-cube-LNu6ZN/ruby-ice-cube-0.16.3/lib/ice_cube/i18n.rb:9: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call /usr/share/rubygems-integration/all/gems/i18n-1.8.5/lib/i18n.rb:195: warning: The called method `t' is defined here /build/ruby-ice-cube-LNu6ZN/ruby-ice-cube-0.16.3/lib/ice_cube/i18n.rb:13: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call /usr/share/rubygems-integration/all/gems/i18n-1.8.5/lib/i18n.rb:295: warning: The called method `l' is defined here should be able to parse a rule with an until date should be able to parse a rule with a count date should be able to parse a rule with an interval should be able to parse week start (WKST) should return no occurrences after daily interval with count is over IceCube::Schedule from_ical instantiation loads an ICAL string daily frequency matches simple daily handles counts handles intervals handles intervals and counts handles until dates weekly frequency matches simple weekly handles weekdays handles intervals handles intervals and counts handles intervals and counts on given weekdays monthly frequency matches simple monthly handles intervals handles intervals and counts handles intervals and counts on specific days yearly frequency matches simple yearly handles intervals handles a specific day handles specific days handles counts handles specific months handles specific months and counts exceptions handles single EXDATE lines, single RDATE lines handles multiple EXDATE / RDATE lines should raise ArgumentError when parsing an invalid rule type should raise ArgumentError when parsing an invalid validation type multiple rules handles multiple recurrence rules invalid ical data empty rules behaves like an invalid ical string is expected to raise ArgumentError invalid rules behaves like an invalid ical string is expected to raise ArgumentError incomplete rule behaves like an invalid ical string is expected to raise ArgumentError invalid rule with invalid sensitive key behaves like an invalid ical string is expected to raise ArgumentError invalid rule with invalid value behaves like an invalid ical string is expected to raise ArgumentError invalid rule with invalid key behaves like an invalid ical string is expected to raise ArgumentError invalid rule with attempt to execute code behaves like an invalid ical string is expected to raise ArgumentError IceCube::HashParser #to_schedule #start_time is expected to eq 2014-03-22 00:00:00.000000000 +0000 #duration is expected to eq 3600 end_time overrules duration #duration is expected to eq 1800 IceCube::HourlyRule should update previous interval should produce the correct days for @interval = 3 should realign to the first hour_of_day with interval should realign to the first hour_of_day without interval raises errors for misaligned interval and hour_of_day values raises errors for misaligned hour_of_day values when changing interval interval validation converts a string integer to an actual int when using the interval method converts a string integer to an actual int when using the initializer raises an argument error when a bad value is passed raises an argument error when a bad value is passed using the interval method in Vancouver time should work across DST start hour should not skip times in DST end hour IceCube::Schedule should work with a simple schedule should respond to complex combinations (1) should return an added occurrence time should not return an occurrence time that is excluded should return properly with a combination of a recurrence and exception rule should be able to exclude a certain date from a range make a schedule with a start_time not included in a rule, and make sure that count behaves properly make a schedule with a start_time included in a rule, and make sure that count behaves properly should work as expected with a second_of_minute rule specified ensure that when count on a rule is set to 0, 0 occurrences come back should be able to schedule at hour 1,2 with start min/sec every day should be able to schedule at hour 1,2 at min 0 with start sec every day will only return count# if you specify a count and use .first occurs yearly occurs daily occurs hourly occurs minutely occurs every second for an hour perform a every day LOCAL and make sure we get back LOCAL perform a every day LOCAL and make sure we get back LOCAL works with a until date that is UTC, but the start date is local works with a until date that is local, but the start date is UTC works with a monthly rule iterating on UTC can retrieve rrules from a schedule can retrieve exrules from a schedule can retrieve recurrence times from a schedule can retrieve exception_times from a schedule can reuse the same rule ensures that month of year (3) is march ensures that day of week (1) is monday should be able to find occurrences between two dates which are both in the future should be able to tell us when there is at least one occurrence between two dates should be able to tell us when there is no occurrence between two dates should be able to get back rtimes from a schedule should be able to get back exception times from a schedule should allow calling of .first on a schedule with no arguments should be able to ignore nil dates that are inserted as part of a collection to add_recurrence_time should be able to use all_occurrences with no rules should use occurs_at? when calling occurring_at? with no duration should be able to specify a duration on a schedule use occurring_at? on the schedule to find out if a given time is included should be able to specify a duration on a schedule and use occurring_at? on that schedule to make sure a time is not included should be able to specify a duration on a schedule and use occurring_at? on that schedule to make sure the outer bounds are included should be able to explicity remove a certain minute from a duration should be able to specify an end time for the schedule should be able to specify an end time for the schedule and only get those on .first should be able to specify an end date and go to/from yaml should be able to specify an end date for the schedule and only get those on .occurrences_between should be able to specify an end date for the schedule and only get those on .occurrences should be able to work with an end date and .occurs_at should be able to work with an end date and .occurring_at should not create an infinite loop crossing over february - github issue 6 should be able to exist on the 28th of each month crossing over february - github issue 6a should be able to exist on the 29th of each month crossing over february - github issue 6a should be able to exist on the 30th of each month crossing over february - github issue 6a should be able to exist ont he 31st of each month crossing over february - github issue 6a should deal with a yearly rule that has februaries with different mdays should work with every other month even when the day of the month iterating on does not exist should be able to go into february and stay on the same day should be able to know when to stop with an end date and a rule that misses a few times should be able to know when to stop with an end date and a rule that misses a few times should be able to know when to stop with an end date and a rule that misses a few times should have some convenient aliases should have some convenient alias for rrules should have some convenient alias for exrules should have some convenient alias for recurrence_times should have some convenient alias for extimes should be able to have a rule and an exrule should always generate the correct number of days for .first should use current date as start date when invoked with a nil parameter should be able to get the occurrence count for a rule should be able to remove a count validation from a rule should be able to remove a count validation from a rule should be able to remove an until validation from a rule should not have ridiculous load times for minutely on next_occurrence (from sidetiq) should not have ridiculous load times for every 10 on next_occurrence #210 in America/Anchorage works with a until date that is a Date, but the start date is UTC in Europe/London works with a until date that is a Date, but the start date is UTC in Pacific/Auckland works with a until date that is a Date, but the start date is UTC IceCube::MinutelyRule should update previous interval should work across DST start hour should not skip DST end hour should produce the correct days for @interval = 3 should produce the correct minutes starting with an offset should realign to the first minute_of_hour raises errors for misaligned interval and minute_of_hour values raises errors for misaligned minute_of_hour values when changing interval interval validation converts a string integer to an actual int when using the interval method converts a string integer to an actual int when using the initializer raises an argument error when a bad value is passed raises an argument error when a bad value is passed when using the interval method IceCube::MonthlyRule interval validation converts a string integer to an actual int when using the interval method converts a string integer to an actual int when using the initializer converts a string integer to an actual int raises an argument error when a bad value is passed raises an argument error when a bad value is passed using the interval method IceCube::MonthlyRule should update previous interval should produce the correct number of days for @interval = 1 should produce the correct number of days for @interval = 2 should produce the correct number of days for @interval = 1 with only the 1st and 15th should produce the correct number of days for @interval = 1 with only the 1st and last should produce the correct number of days for @interval = 1 with only the first mondays should produce the correct number of days for @interval = 1 with only the last mondays should produce the correct number of days for @interval = 1 with only the first and last mondays should produce dates on a monthly interval for the last day of the month should produce dates on a monthly interval for latter days in the month near February should restrict to available days of month when specified for every first sunday of a month should not skip a month when DST ends should not change day when DST ends should not change hour when DST ends for every first monday of a month should not skip a month when DST ends should not change day when DST ends should not change hour when DST ends for every first tuesday of a month should not skip a month when DST ends should not change day when DST ends should not change hour when DST ends for every first wednesday of a month should not skip a month when DST ends should not change day when DST ends should not change hour when DST ends for every first thursday of a month should not skip a month when DST ends should not change day when DST ends should not change hour when DST ends for every first friday of a month should not skip a month when DST ends should not change day when DST ends should not change hour when DST ends for every first saturday of a month should not skip a month when DST ends should not change day when DST ends should not change hour when DST ends month_of_year validation allows multiples of 12 raises errors for misaligned interval and month_of_year values raises errors for misaligned month_of_year values when changing interval IceCube::Occurrence reports as a Time to_s looks like a Time for a zero duration looks like a range for a non-zero duration accepts a format option to comply with ActiveSupport to_i represents the start time <=> is comparable to another occurrence's start time is comparable to another time cover? is true for the start time is true for a time in the range is true for the end time is false after the end time is false before the start time end_time defaults to start_time returns specified end_time arithmetic returns a time when adding can get difference from a time intersects? is true for a time during the occurrence is false for a time outside the occurrence is true for an intersecting occurrence is false for a non-intersecting occurrence overnight? is false for a zero-length occurrence is false for a zero-length occurrence on the last day of a month is false for a duration within a single day is false for a duration that starts at midnight is false for a duration that starts at midnight on the last day of a month is false for a duration that ends at midnight is true for a duration that crosses midnight is true for a duration that crosses midnight on the last day of a month remaining_occurrences should get the proper remaining occurrences from now should get the proper remaining occurrences past the end of the year should raise an error if there is nothing to stop it occurring_between? should affirm an occurrence that spans the range exactly should affirm a zero-length occurrence at the start of the range should deny a zero-length occurrence at the end of the range should affirm an occurrence entirely contained within the range should affirm an occurrence spanning across the start of the range should affirm an occurrence spanning across the end of the range should affirm an occurrence spanning across the range entirely should deny an occurrence before the range should deny an occurrence after the range next_occurrence should get the next occurrence from now should get the next occurrence past the end of the year should be able to use next_occurrence on a never-ending schedule should get the next occurrence when a recurrence date is also added should get the next occurrence and ignore recurrence dates that are before the desired time next_occurrences should get the next 3 occurrence from now should get the next 3 occurrence past the end of the year should be able to use next_occurrences on a never-ending schedule should get the next 3 occurrences when a recurrence date is also added should get the next 3 occurrences and ignore recurrence dates that are before the desired time should generate the same comparable time objects (down to millisecond) on two runs IceCube::Schedule in America/Anchorage should produce the correct result for every day in may [#31] should consider recurrence times properly in find_occurreces [#43] should work well with occurrences_between [#33] should work with all validation locks [#45] should not choke on parsing [#26] should parse an old schedule properly should handle a simple weekly schedule [#52] should produce all occurrences between dates, not breaking on exceptions [#82] should be able to use count with occurrences_between falling over counts last occurrence [#54] should produce occurrences regardless of time being specified [#81] should not include exception times due to rounding errors [#83] should return true if a recurring schedule occurs_between? a time range [#88] should not hang next_time on DST boundary [#98] should still include date over DST boundary [#98] failing spec for hanging on DST boundary [#98] should exclude a date from a weekly schedule [#55] should not raise an exception after setting the rule until to nil should not infinite loop [#109] should return next_occurrence in utc if start_time is utc [#115] should return next_occurrence in local if start_time is local [#115] should return next_occurrence in local by default [#115] should include occurrences on until _date_ [#118] should strip usecs from arguments when finding occurrences in Europe/London should produce the correct result for every day in may [#31] should consider recurrence times properly in find_occurreces [#43] should work well with occurrences_between [#33] should work with all validation locks [#45] should not choke on parsing [#26] should parse an old schedule properly should handle a simple weekly schedule [#52] should produce all occurrences between dates, not breaking on exceptions [#82] should be able to use count with occurrences_between falling over counts last occurrence [#54] should produce occurrences regardless of time being specified [#81] should not include exception times due to rounding errors [#83] should return true if a recurring schedule occurs_between? a time range [#88] should not hang next_time on DST boundary [#98] should still include date over DST boundary [#98] failing spec for hanging on DST boundary [#98] should exclude a date from a weekly schedule [#55] should not raise an exception after setting the rule until to nil should not infinite loop [#109] should return next_occurrence in utc if start_time is utc [#115] should return next_occurrence in local if start_time is local [#115] should return next_occurrence in local by default [#115] should include occurrences on until _date_ [#118] should strip usecs from arguments when finding occurrences in Pacific/Auckland should produce the correct result for every day in may [#31] should consider recurrence times properly in find_occurreces [#43] should work well with occurrences_between [#33] should work with all validation locks [#45] should not choke on parsing [#26] should parse an old schedule properly should handle a simple weekly schedule [#52] should produce all occurrences between dates, not breaking on exceptions [#82] should be able to use count with occurrences_between falling over counts last occurrence [#54] should produce occurrences regardless of time being specified [#81] should not include exception times due to rounding errors [#83] should return true if a recurring schedule occurs_between? a time range [#88] should not hang next_time on DST boundary [#98] should still include date over DST boundary [#98] failing spec for hanging on DST boundary [#98] should exclude a date from a weekly schedule [#55] should not raise an exception after setting the rule until to nil should not infinite loop [#109] should return next_occurrence in utc if start_time is utc [#115] should return next_occurrence in local if start_time is local [#115] should return next_occurrence in local by default [#115] should include occurrences on until _date_ [#118] should strip usecs from arguments when finding occurrences IceCube::Schedule should ~ daily for 10 occurrences should ~ daily until a certain date should ~ every other day should ~ interval 10, count 5 should ~ everyday in january, for 3 years (a) should ~ everyday in january, for 3 years (b) should ~ weekly for 10 occurrences should ~ weekly until december 24, 1997 should ~ every other week should ~ weekly on tuesday and thursday for 5 weeks (a) should ~ weekly on tuesday and thursday for 5 weeks (b) should ~ every other week on monday, wednesday and friday until december 24, 1997 but starting on tuesday september 2, 1997 should ~ every other week on tuesday and thursday for 8 occurrences should ~ monthly on the 1st friday for ten occurrences should ~ monthly on the first friday until december 24, 1997 should ~ every other month on the 1st and last sunday of the month for 10 occurrences should ~ monthly on the second to last monday of the month for 6 months should ~ monthly on the third to last day of the month, 6 times should ~ monthly on the 2nd and 15th of the month for 10 occurrences should ~ monthly on the 1st and last days of the month for 10 occurrences should ~ every 18 months on the 10th through the 15th of the month for 10 occurrences should ~ every tuesday, every other month should ~ yearly in june and july for 10 occurrences should ~ every other year on january, feburary, and march for 10 occurrences should ~ every third year on the 1st, 100th and 200th day for 10 occurrences should ~ every thursday in march, forever should ~ every thursday, but only during june, july, and august should ~ every friday the 13th should ~ the first saturday that follows the first sunday of the month should ~ every 4 years, the first tuesday after a monday in november (u.s. presidential election day) should ~ every 3 hours from 9am to 5pm on a specific day should ~ every 15 minutes for 6 occurrences should ~ every hour and a half for 4 occurrences should ~ every 20 minutes from 9am to 4:40pm every day (a) IceCube::Schedule eql? should be true for same start time should be false for different start time should be false for UTC vs. British start time should be false with different offset should be true with same static offset should be false with local zone vs. static offset should be false with different duration should be false with different end time should be true with same rrules in different order should be false with different rrules should be true with same extimes in different order should be false with different extimes with ActiveSupport should be true for ActiveSupport UTC vs. standard UTC should be true for ActiveSupport TZ vs. standard TZ should be false for different ActiveSupport zones IceCube::Schedule yields itself for configuration initializes with a start_time converts initialized DateTime to Time next_occurrence should not raise an exception when calling next occurrence with no remaining occurrences should not skip ahead a day when called with a date duration should be based on end_time should give precedence to :end_time option occurring_at? should not capture multiple days when called with a date recurrence_times should start empty should include added times can include start time conflicts_with? should raise an error if both are not terminating should not raise error if both are non-terminating closing time present should not raise an error if one is non-terminating should not raise an error if the other is non-terminating should return true if conflict is present should return false if conflict is not present should return true if conflict is present based on duration should return true if conflict is present based on duration - other way should return false if conflict is past closing_time should return false if conflict is not present based on duration should return false if conflict is not present on same day based on duration should return true if conflict is present on same day based on duration should return true if conflict is present and no recurrence should return false if conflict is not present and no recurrence should return false if conflict is not present and single recurrence should return true if conflict is present and single recurrence should return false if conflict is not present and single recurrence and time originally specified as Time each should be able to yield occurrences for a schedule should return self should stop itself when hitting the end of a schedule all_occurrences_enumerator should be equivalent to all_occurrences in terms of arrays remaining_occurrences_enumerator should be equivalent to remaining_occurrences in terms of arrays all_occurrences has end times for each occurrence should include its start time when empty should have one occurrence with one recurrence time at start_time should have two occurrences with a recurrence time after start_time should return an error if there is nothing to stop it should consider count limits separately for multiple rules next_occurrences should be able to calculate next occurrences ignoring excluded times should be empty if nothing is found before closing time should not skip ahead a day when called with a date next_occurrence should be able to calculate the next occurrence past an exception time should respect time zone info for a local future time [#115] should respect time zone info for a local past time [#115] should respect time zone info for a utc past time [#115] should respect time zone info for a utc future time [#115] should respect time zone info for a offset past time [#115] should respect time zone info for a offset future time [#115] spans should find occurrence in past with duration beyond the start time should include occurrence in past with duration beyond the start time should allow duration span on remaining_occurrences should include occurrences with duration spanning the requested start time should find occurrences between including previous one with duration spanning start should include long occurrences starting before and ending after should not find occurrence with duration ending on start time should quickly fetch a future time from a recurring schedule should not include occurrence ending on start time previous_occurrence returns the previous occurrence for a time in the schedule returns nil given the start time should not skip back a day when called with a date previous_occurrences returns an array of previous occurrences from a given time limits the returned occurrences to a given count returns empty array given the start time should not skip back a day when called with a date last returns the last occurrence for a terminating schedule returns an array of occurrences given a number raises an error for a non-terminating schedule start_time= should modify start date in rrule_occurrence_heads when changed recurrence_rules should not include rules for single occurrences remove_recurrence_rule should be able to one rule based on the comparator should be able to remove multiple rules based on the comparator should return the rule that was removed should return [] if nothing was removed remove_recurrence_time should be able to remove a recurrence date from a schedule should return the time that was removed should return nil if the date was not in the schedule remove_exception_time should be able to remove a exception date from a schedule should return the date that was removed should return nil if the date was not in the schedule occurs_on? should be true for multiple rtimes with a recurrence rule limited by count starting from a UTC Time in America/Anchorage should determine if it occurs on a given Date should determine if it occurs on the day of a given UTC Time should determine if it occurs on the day of a given local Time should determine if it occurs on the day of a given non-local Time should determine if it occurs on the day of a given ActiveSupport::Time in Europe/London should determine if it occurs on a given Date should determine if it occurs on the day of a given UTC Time should determine if it occurs on the day of a given local Time should determine if it occurs on the day of a given non-local Time should determine if it occurs on the day of a given ActiveSupport::Time in Pacific/Auckland should determine if it occurs on a given Date should determine if it occurs on the day of a given UTC Time should determine if it occurs on the day of a given local Time should determine if it occurs on the day of a given non-local Time should determine if it occurs on the day of a given ActiveSupport::Time starting from a local Time in America/Anchorage should determine if it occurs on a given Date should determine if it occurs on the day of a given UTC Time should determine if it occurs on the day of a given local Time should determine if it occurs on the day of a given non-local Time should determine if it occurs on the day of a given ActiveSupport::Time in Europe/London should determine if it occurs on a given Date should determine if it occurs on the day of a given UTC Time should determine if it occurs on the day of a given local Time should determine if it occurs on the day of a given non-local Time should determine if it occurs on the day of a given ActiveSupport::Time in Pacific/Auckland should determine if it occurs on a given Date should determine if it occurs on the day of a given UTC Time should determine if it occurs on the day of a given local Time should determine if it occurs on the day of a given non-local Time should determine if it occurs on the day of a given ActiveSupport::Time starting from a non-local Time in America/Anchorage should determine if it occurs on a given Date should determine if it occurs on the day of a given UTC Time should determine if it occurs on the day of a given local Time should determine if it occurs on the day of a given non-local Time should determine if it occurs on the day of a given ActiveSupport::Time in Europe/London should determine if it occurs on a given Date should determine if it occurs on the day of a given UTC Time should determine if it occurs on the day of a given local Time should determine if it occurs on the day of a given non-local Time should determine if it occurs on the day of a given ActiveSupport::Time in Pacific/Auckland should determine if it occurs on a given Date should determine if it occurs on the day of a given UTC Time should determine if it occurs on the day of a given local Time should determine if it occurs on the day of a given non-local Time should determine if it occurs on the day of a given ActiveSupport::Time starting from an ActiveSupport::Time in America/Anchorage should determine if it occurs on a given Date should determine if it occurs on the day of a given UTC Time should determine if it occurs on the day of a given local Time should determine if it occurs on the day of a given non-local Time should determine if it occurs on the day of a given ActiveSupport::Time in Europe/London should determine if it occurs on a given Date should determine if it occurs on the day of a given UTC Time should determine if it occurs on the day of a given local Time should determine if it occurs on the day of a given non-local Time should determine if it occurs on the day of a given ActiveSupport::Time in Pacific/Auckland should determine if it occurs on a given Date should determine if it occurs on the day of a given UTC Time should determine if it occurs on the day of a given local Time should determine if it occurs on the day of a given non-local Time should determine if it occurs on the day of a given ActiveSupport::Time with a recurrence rule limited by until starting from a UTC Time in America/Anchorage should determine if it occurs on a given Date should determine if it occurs on the day of a given UTC Time should determine if it occurs on the day of a given local Time should determine if it occurs on the day of a given non-local Time should determine if it occurs on the day of a given ActiveSupport::Time in Europe/London should determine if it occurs on a given Date should determine if it occurs on the day of a given UTC Time should determine if it occurs on the day of a given local Time should determine if it occurs on the day of a given non-local Time should determine if it occurs on the day of a given ActiveSupport::Time in Pacific/Auckland should determine if it occurs on a given Date should determine if it occurs on the day of a given UTC Time should determine if it occurs on the day of a given local Time should determine if it occurs on the day of a given non-local Time should determine if it occurs on the day of a given ActiveSupport::Time starting from a local Time in America/Anchorage should determine if it occurs on a given Date should determine if it occurs on the day of a given UTC Time should determine if it occurs on the day of a given local Time should determine if it occurs on the day of a given non-local Time should determine if it occurs on the day of a given ActiveSupport::Time in Europe/London should determine if it occurs on a given Date should determine if it occurs on the day of a given UTC Time should determine if it occurs on the day of a given local Time should determine if it occurs on the day of a given non-local Time should determine if it occurs on the day of a given ActiveSupport::Time in Pacific/Auckland should determine if it occurs on a given Date should determine if it occurs on the day of a given UTC Time should determine if it occurs on the day of a given local Time should determine if it occurs on the day of a given non-local Time should determine if it occurs on the day of a given ActiveSupport::Time starting from a non-local Time in America/Anchorage should determine if it occurs on a given Date should determine if it occurs on the day of a given UTC Time should determine if it occurs on the day of a given local Time should determine if it occurs on the day of a given non-local Time should determine if it occurs on the day of a given ActiveSupport::Time in Europe/London should determine if it occurs on a given Date should determine if it occurs on the day of a given UTC Time should determine if it occurs on the day of a given local Time should determine if it occurs on the day of a given non-local Time should determine if it occurs on the day of a given ActiveSupport::Time in Pacific/Auckland should determine if it occurs on a given Date should determine if it occurs on the day of a given UTC Time should determine if it occurs on the day of a given local Time should determine if it occurs on the day of a given non-local Time should determine if it occurs on the day of a given ActiveSupport::Time starting from an ActiveSupport::Time in America/Anchorage should determine if it occurs on a given Date should determine if it occurs on the day of a given UTC Time should determine if it occurs on the day of a given local Time should determine if it occurs on the day of a given non-local Time should determine if it occurs on the day of a given ActiveSupport::Time in Europe/London should determine if it occurs on a given Date should determine if it occurs on the day of a given UTC Time should determine if it occurs on the day of a given local Time should determine if it occurs on the day of a given non-local Time should determine if it occurs on the day of a given ActiveSupport::Time in Pacific/Auckland should determine if it occurs on a given Date should determine if it occurs on the day of a given UTC Time should determine if it occurs on the day of a given local Time should determine if it occurs on the day of a given non-local Time should determine if it occurs on the day of a given ActiveSupport::Time with a single recurrence time starting from a UTC Time in America/Anchorage should determine if it occurs on a given Date should determine if it occurs on the day of a given UTC Time should determine if it occurs on the day of a given local Time should determine if it occurs on the day of a given non-local Time should determine if it occurs on the day of a given ActiveSupport::Time in Europe/London should determine if it occurs on a given Date should determine if it occurs on the day of a given UTC Time should determine if it occurs on the day of a given local Time should determine if it occurs on the day of a given non-local Time should determine if it occurs on the day of a given ActiveSupport::Time in Pacific/Auckland should determine if it occurs on a given Date should determine if it occurs on the day of a given UTC Time should determine if it occurs on the day of a given local Time should determine if it occurs on the day of a given non-local Time should determine if it occurs on the day of a given ActiveSupport::Time starting from a local Time in America/Anchorage should determine if it occurs on a given Date should determine if it occurs on the day of a given UTC Time should determine if it occurs on the day of a given local Time should determine if it occurs on the day of a given non-local Time should determine if it occurs on the day of a given ActiveSupport::Time in Europe/London should determine if it occurs on a given Date should determine if it occurs on the day of a given UTC Time should determine if it occurs on the day of a given local Time should determine if it occurs on the day of a given non-local Time should determine if it occurs on the day of a given ActiveSupport::Time in Pacific/Auckland should determine if it occurs on a given Date should determine if it occurs on the day of a given UTC Time should determine if it occurs on the day of a given local Time should determine if it occurs on the day of a given non-local Time should determine if it occurs on the day of a given ActiveSupport::Time starting from a non-local Time in America/Anchorage should determine if it occurs on a given Date should determine if it occurs on the day of a given UTC Time should determine if it occurs on the day of a given local Time should determine if it occurs on the day of a given non-local Time should determine if it occurs on the day of a given ActiveSupport::Time in Europe/London should determine if it occurs on a given Date should determine if it occurs on the day of a given UTC Time should determine if it occurs on the day of a given local Time should determine if it occurs on the day of a given non-local Time should determine if it occurs on the day of a given ActiveSupport::Time in Pacific/Auckland should determine if it occurs on a given Date should determine if it occurs on the day of a given UTC Time should determine if it occurs on the day of a given local Time should determine if it occurs on the day of a given non-local Time should determine if it occurs on the day of a given ActiveSupport::Time starting from an ActiveSupport::Time in America/Anchorage should determine if it occurs on a given Date should determine if it occurs on the day of a given UTC Time should determine if it occurs on the day of a given local Time should determine if it occurs on the day of a given non-local Time should determine if it occurs on the day of a given ActiveSupport::Time in Europe/London should determine if it occurs on a given Date should determine if it occurs on the day of a given UTC Time should determine if it occurs on the day of a given local Time should determine if it occurs on the day of a given non-local Time should determine if it occurs on the day of a given ActiveSupport::Time in Pacific/Auckland should determine if it occurs on a given Date should determine if it occurs on the day of a given UTC Time should determine if it occurs on the day of a given local Time should determine if it occurs on the day of a given non-local Time should determine if it occurs on the day of a given ActiveSupport::Time across DST determines local midnight with time change IceCube::SecondlyRule interval validation converts a string integer to an actual int when using the interval method converts a string integer to an actual int when using the initializer raises an argument error when a bad value is passed raises an argument error when a bad value is passed using the interval method should realign to the first second_of_minute raises errors for misaligned interval and minute_of_hour values raises errors for misaligned second_of_minute values when changing interval IceCube::Schedule ::dump(schedule) serializes a Schedule object as YAML string with ActiveSupport::TimeWithZone serializes time as a Hash when schedule is nil returns nil when schedule is "" returns "" ::load(yaml) creates a new object from a YAML string with ActiveSupport::TimeWithZone deserializes time from Hash when yaml is nil returns nil when yaml is "" returns "" IceCube::StringBuilder sentence should return empty string when none should return sole when one should split on and when two should comma and when more than two IceCube::TimeUtil beginning_of_date returns 00:00:00 crossing into DST returns 00:00:00 crossing out of DST returns 00:00:00 from UTC for local time returns 00:00:00 from local time for UTC returns 00:00:00 from local time for nonlocal time wday_to_sym converts 0..6 to weekday symbols returns weekday symbols as is raises an error for bad input sym_to_wday converts weekday symbols to 0..6 wday numbers returns wday numbers as is raises an error for bad input sym_to_month converts month symbols to 1..12 month numbers returns month numbers as is raises an error for bad input deserialize_time supports ISO8601 time strings match_zone in America/Anchorage converts Date to beginning of date of local reference time converts Date to beginning of date of UTC reference time in Europe/London converts Date to beginning of date of local reference time converts Date to beginning of date of UTC reference time in Pacific/Auckland converts Date to beginning of date of local reference time converts Date to beginning of date of UTC reference time in UTC converts Date to beginning of date of reference time IceCube to_ical should return a proper ical representation for a basic daily rule should return a proper ical representation for a basic monthly rule should return a proper ical representation for a basic monthly rule should return a proper ical representation for a basic yearly rule should return a proper ical representation for a basic hourly rule should return a proper ical representation for a basic minutely rule should return a proper ical representation for a basic secondly rule should be able to serialize a .day rule to_ical should be able to serialize a .day_of_week rule to_ical should be able to serialize a .day_of_month rule to_ical should be able to serialize a .day_of_year rule to_ical should be able to serialize a .month_of_year rule to_ical should be able to serialize a .hour_of_day rule to_ical should be able to serialize a .minute_of_hour rule to_ical should be able to serialize a .second_of_minute rule to_ical should be able to collapse a combination day_of_week and day should be able to serialize of .day_of_week rule to_ical with multiple days should be able to serialize a base schedule to ical in local time should be able to serialize a base schedule to ical in UTC time should be able to serialize a schedule with one rrule should be able to serialize a schedule with multiple rrules should be able to serialize a schedule with one exrule should be able to serialize a schedule with multiple exrules should be able to serialize a schedule with an rtime should be able to serialize a schedule with an exception time should be able to serialize a schedule with a duration should be able to serialize a schedule with a duration - more odd duration should be able to serialize a schedule with an end time should not modify the duration when running to_ical should default to to_ical using local time should not have an rtime that duplicates start time should be able to receive a to_ical in utc time should be able to serialize to ical with an until date should be able to serialize to ical with a count date should include intervals for secondly rule should include intervals for minutely rule should include intervals for hourly rule should include intervals for daily rule should include intervals for monthly rule should include intervals for yearly rule should include intervals for weekly rule, including weekstart should include intervals for weekly rule, including custom weekstart should not repeat interval when updating rule IceCube::Schedule to_s should represent its start time by default should have a useful base to_s representation for a secondly rule should have a useful base to_s representation for a minutely rule should have a useful base to_s representation for a hourly rule should have a useful base to_s representation for a daily rule should have a useful base to_s representation for a weekly rule should have a useful base to_s representation for a monthly rule should have a useful base to_s representation for a yearly rule should work with various sentence types properly should show saturday and sunday as weekends should not show saturday and sunday as weekends when other days are present also should reorganize days to be in order should show weekdays as such should not show weekdays as such when a weekend day is present should show start time for an empty schedule should work with a single date should work with additional dates should order dates that are out of order should remove duplicated start time should remove duplicate rtimes should work with rules and dates should work with rules and times and exception times should work with a single rrule should be able to say the last Thursday of the month should be able to say what months of the year something happens should be able to say the second to last monday of the month should join the first and last weekdays of the month should be able to say the days of the month something happens should be able to say what day of the year something happens should be able to say what hour of the day something happens should be able to say what minute of an hour something happens - with special suffix minutes should be able to say what seconds of the minute something happens should be able to reflect until dates should be able to reflect count should be able to reflect count (proper pluralization) IceCube::Schedule to_s without I18n behaves like to_s in English should represent its start time by default should have a useful base to_s representation for a secondly rule should have a useful base to_s representation for a minutely rule should have a useful base to_s representation for a hourly rule should have a useful base to_s representation for a daily rule should have a useful base to_s representation for a weekly rule should have a useful base to_s representation for a monthly rule should have a useful base to_s representation for a yearly rule should work with various sentence types properly should show saturday and sunday as weekends should not show saturday and sunday as weekends when other days are present also should reorganize days to be in order should show weekdays as such should not show weekdays as such when a weekend day is present should show start time for an empty schedule should work with a single date should work with additional dates should order dates that are out of order should remove duplicated start time should remove duplicate rtimes should work with rules and dates should work with rules and times and exception times should work with a single rrule should be able to say the last Thursday of the month should be able to say what months of the year something happens should be able to say the second to last monday of the month should join the first and last weekdays of the month should be able to say the days of the month something happens should be able to say what day of the year something happens should be able to say what hour of the day something happens should be able to say what minute of an hour something happens - with special suffix minutes should be able to say what seconds of the minute something happens should be able to reflect until dates should be able to reflect count should be able to reflect count (proper pluralization) with I18n uses I18n behaves like to_s in English should represent its start time by default should have a useful base to_s representation for a secondly rule should have a useful base to_s representation for a minutely rule should have a useful base to_s representation for a hourly rule should have a useful base to_s representation for a daily rule should have a useful base to_s representation for a weekly rule should have a useful base to_s representation for a monthly rule should have a useful base to_s representation for a yearly rule should work with various sentence types properly should show saturday and sunday as weekends should not show saturday and sunday as weekends when other days are present also should reorganize days to be in order should show weekdays as such should not show weekdays as such when a weekend day is present should show start time for an empty schedule should work with a single date should work with additional dates should order dates that are out of order should remove duplicated start time should remove duplicate rtimes should work with rules and dates should work with rules and times and exception times should work with a single rrule should be able to say the last Thursday of the month should be able to say what months of the year something happens should be able to say the second to last monday of the month should join the first and last weekdays of the month should be able to say the days of the month something happens should be able to say what day of the year something happens should be able to say what hour of the day something happens should be able to say what minute of an hour something happens - with special suffix minutes should be able to say what seconds of the minute something happens should be able to reflect until dates should be able to reflect count should be able to reflect count (proper pluralization) IceCube::Schedule to_s should represent its start time by default should have a useful base to_s representation for a secondly rule should have a useful base to_s representation for a minutely rule should have a useful base to_s representation for a hourly rule should have a useful base to_s representation for a daily rule should have a useful base to_s representation for a weekly rule should have a useful base to_s representation for a monthly rule should have a useful base to_s representation for a yearly rule should work with various sentence types properly should show saturday and sunday as weekends should not show saturday and sunday as weekends when other days are present also should reorganize days to be in order should show weekdays as such should not show weekdays as such when a weekend day is present should work with a single date should work with additional dates should order dates that are out of order should remove duplicated start time should remove duplicate rtimes should work with rules and dates should work with rules and dates and exdates should work with a single rrule should be able to say the last monday of the month should be able to say what months of the year something happens should be able to say the second to last monday of the month should be able to say the days of the month something happens should be able to say what day of the year something happens should be able to say what hour of the day something happens should be able to say what minute of an hour something happens - with special suffix minutes should be able to say what seconds of the minute something happens should be able to reflect until dates should be able to reflect count should be able to reflect count (proper pluralization) IceCube::Schedule to_s should represent its start time by default should have a useful base to_s representation for a secondly rule should have a useful base to_s representation for a minutely rule should have a useful base to_s representation for a hourly rule should have a useful base to_s representation for a daily rule should have a useful base to_s representation for a weekly rule should have a useful base to_s representation for a monthly rule should have a useful base to_s representation for a yearly rule should work with various sentence types properly should show saturday and sunday as weekends should not show saturday and sunday as weekends when other days are present also should reorganize days to be in order should show weekdays as such should not show weekdays as such when a weekend day is present should show start time for an empty schedule should work with a single date should work with additional dates should order dates that are out of order should remove duplicated start time should remove duplicate rtimes should work with rules and dates should work with rules and times and exception times should work with a single rrule should be able to say the last Thursday of the month should be able to say what months of the year something happens should be able to say the second to last monday of the month should join the first and last weekdays of the month should be able to say the days of the month something happens should be able to say what day of the year something happens should be able to say what hour of the day something happens should be able to say what minute of an hour something happens - with special suffix minutes should be able to say what seconds of the minute something happens should be able to reflect until dates should be able to reflect count should be able to reflect count (proper pluralization) IceCube::Schedule to_yaml should make a yearly round trip with to_yaml [#47] should make a weekly round trip with to_yaml [#47] should make a daily round trip with to_yaml [#47] should make a hourly round trip with to_yaml [#47] should make a minutely round trip with to_yaml [#47] should make a secondly round trip with to_yaml [#47] should be able to let rules take round trips to yaml should respond to .to_yaml should be able to make a round-trip to YAML should be able to make a round-trip to YAML with .day should be able to make a round-trip to YAML with .day_of_month (PENDING: Temporarily skipped with xit) should be able to make a round-trip to YAML with .day_of_week (PENDING: Temporarily skipped with xit) should be able to make a round-trip to YAML with .day_of_year should be able to make a round-trip to YAML with .hour_of_day should be able to make a round-trip to YAML with .minute_of_hour should be able to make a round-trip to YAML with .month_of_year should be able to make a round-trip to YAML with .second_of_minute should have a to_yaml representation of a rule that does not contain ruby objects should have a to_yaml representation of a schedule that does not contain ruby objects should be able to roll forward times and get back times in an array - TimeWithZone should be able to roll forward times and get back times in an array - Time should be able to go back and forth to yaml and then call occurrences should be able to make a round trip with an exception time crazy shit should be able to make a round trip to hash with a duration should be able to be serialized to yaml as part of a hash should be able to roll forward and back in time should be backward compatible with old yaml Time format should work to_yaml with non-TimeWithZone should work with occurs_on and TimeWithZone should work with occurs_on and TimeWithZone should crazy patch should be able to bring a Rule to_yaml and back with a timezone should be able to bring a Rule to_yaml and back with a count should be able to bring a Rule to_yaml and back with an until Date should be able to bring a Rule to_yaml and back with an until Time should be able to bring a Rule to_yaml and back with an until TimeWithZone should be able to bring a Rule to_yaml and back with an undefined week start should be able to bring a Rule to_yaml and back with a week start defined should be able to bring in a schedule with a rule from hash with symbols or strings should raise an ArgumentError when trying to deserialize an invalid rule type should raise an ArgumentError when trying to deserialize an invalid validation IceCube::ValidatedRule #next_time should match times with usec monthly Should return current day when starting on same day Should return the next month when starting one second in the future should return the next month near end of longer month [#171] DST edge should not return the same time on a DST edge when starting one second in the future (results in infinite loop [#98]) previous failing test with DST edge taken into account IceCube::WeeklyRule interval validation converts a string integer to an actual int when using the interval method converts a string integer to an actual int when using the initializer raises an argument error when a bad value is passed raises an argument error when a bad value is passed using the interval method IceCube::WeeklyRule should update previous interval should produce the correct number of days for @interval = 1 with no weekdays specified should produce the correct number of days for @interval = 1 with only weekends should set days from symbol args should set days from array of symbols should set days from integer args should set days from array of integers should raise an error on invalid input should ignore weekday validation when no days are specified should produce the correct number of days for @interval = 2 with only one day per week should produce the correct days for @interval = 2, regardless of the start week should occur every 2nd tuesday of a month should be able to start on sunday but repeat on wednesdays should start weekly rules on monday when monday is the week start should start weekly rules on sunday by default should find the next date on a biweekly sunday searching from a few days before the date finds correct next_occurrence for biweekly rules realigned from beginning of start week finds correct next_occurrence for biweekly rules realigned from skipped week finds correct previous_occurrence for biweekly rule realigned from skipped week should validate week_start input should produce correct days for bi-weekly interval, starting on a non-sunday should produce correct days for monday-based bi-weekly interval, starting on a sunday should stay aligned to the start week when selecting occurrences with the spans option should align next_occurrence with the earliest hour validation in Vancouver time should include nearest time in DST start hour should not skip times in DST end hour with Monday week start should align next_occurrences with first valid weekday when schedule starts on a Monday should align next_occurrence with first valid weekday when schedule starts on a Monday should align next_occurrence with first valid weekday when schedule starts on a Wednesday using occurs_between with a biweekly schedule starting on weekday 0 selecting weekday 1 with a 2 day advance window should include weekday 1 of the expected week should include weekday 1 of the expected week with the spans option starting on weekday 0 selecting weekday 6 with a 1 day advance window should include weekday 6 of the expected week should include weekday 6 of the expected week with the spans option starting on weekday 5 selecting weekday 1 with a 6 day advance window should include weekday 6 of the expected week should include weekday 6 of the expected week with the spans option starting on weekday 6 selecting weekday 5 with a 7 day advance window should include weekday 4 of the expected week should include weekday 4 of the expected week with the spans option using occurs_between with a weekly schedule starting on weekday 6 selecting weekday 5 with a 7 day advance window should include weekday 4 of the expected week IceCube::YearlyRule interval validation converts a string integer to an actual int when using the interval method converts a string integer to an actual int when using the initializer raises an argument error when a bad value is passed raises an argument error when a bad value is passed using the interval method IceCube::YearlyRule should update previous interval should be able to specify complex yearly rules should produce the correct number of days for @interval = 1 should produce the correct number of days for @interval = 2 should produce the correct days for @interval = 1 when you specify months should produce the correct days for @interval = 1 when you specify days should produce the correct days for @interval = 1 when you specify negative days should handle negative offset day of year for leap years Pending: (Failures listed here are expected and do not affect your suite's status) 1) IceCube::Schedule to_yaml should be able to make a round-trip to YAML with .day_of_month # Temporarily skipped with xit # ./spec/examples/to_yaml_spec.rb:59 2) IceCube::Schedule to_yaml should be able to make a round-trip to YAML with .day_of_week # Temporarily skipped with xit # ./spec/examples/to_yaml_spec.rb:70 Finished in 4.05 seconds (files took 1.7 seconds to load) 1074 examples, 0 failures, 2 pending ┌──────────────────────────────────────────────────────────────────────────────┐ │ dh_ruby --install finished │ └──────────────────────────────────────────────────────────────────────────────┘ dh_installdocs -i -O--buildsystem=ruby dh_ruby_fixdocs -i -O--buildsystem=ruby debian/rules override_dh_installchangelogs make[1]: Entering directory '/build/ruby-ice-cube-LNu6ZN/ruby-ice-cube-0.16.3' dh_installchangelogs CHANGELOG.md make[1]: Leaving directory '/build/ruby-ice-cube-LNu6ZN/ruby-ice-cube-0.16.3' dh_installsystemduser -i -O--buildsystem=ruby dh_perl -i -O--buildsystem=ruby dh_link -i -O--buildsystem=ruby dh_strip_nondeterminism -i -O--buildsystem=ruby dh_compress -X.rb -i -O--buildsystem=ruby dh_fixperms -i -O--buildsystem=ruby dh_missing -i -O--buildsystem=ruby dh_ruby_fixdepends -i -O--buildsystem=ruby dh_installdeb -i -O--buildsystem=ruby dh_gencontrol -i -O--buildsystem=ruby dpkg-gencontrol: warning: Depends field of package ruby-ice-cube: substitution variable ${shlibs:Depends} used, but is not defined dh_md5sums -i -O--buildsystem=ruby dh_builddeb -i -O--buildsystem=ruby dpkg-deb: building package 'ruby-ice-cube' in '../ruby-ice-cube_0.16.3-1_all.deb'. dpkg-genbuildinfo --build=all dpkg-genchanges --build=all >../ruby-ice-cube_0.16.3-1_all.changes dpkg-genchanges: info: binary-only arch-indep upload (source code and arch-specific packages not included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: running special hook: sync-out /build/ruby-ice-cube-LNu6ZN /tmp/ruby-ice-cube-0.16.3-1_0zpinz3 I: cleaning package lists and apt cache... I: creating tarball... I: done I: removing tempdir /tmp/mmdebstrap.FtfoYwIB6s... I: success in 397.3035 seconds md5: ruby-ice-cube_0.16.3-1_all.deb: OK sha1: ruby-ice-cube_0.16.3-1_all.deb: OK sha256: ruby-ice-cube_0.16.3-1_all.deb: OK Checksums: OK