rubymotion-community / motion-support

Commonly useful extensions to the standard library for RubyMotion
MIT License
132 stars 28 forks source link

Crash when invoking .day #48

Open georges opened 2 years ago

georges commented 2 years ago

STR:

bundle exec rake spec

Spec crash in plus_with_duration method

$ motion doctor
= ENVIRONMENT INFO =
Swift Runtime:        ✅
RubyMotion Templates: ✅
RubyMotion Commands:  ✅
= RubyMotion =
version:      8.6
osx sdks:     10.10, 10.11, 10.12, 10.13, 10.14, 10.15, 10.9, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 12.2, 12.3, librubymotion-repl.dylib
ios sdks:     10.0, 10.1, 10.2, 10.3, 11.0, 11.1, 11.2, 11.3, 11.4, 12.0, 12.1, 12.2, 12.4, 13.0, 13.2, 13.4, 13.5, 13.6, 13.7, 14.0, 14.1, 14.2, 14.3, 14.4, 14.5, 15.0, 15.1, 15.2, 15.4, 15.5, 16.0, 5.0, 5.1, 6.0, 6.1, 7.0, 7.1, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, 9.2, 9.3
tv sdks:      9.0, 9.1, 9.2
watch sdks:   2.0, 2.1, 2.2
android sdks: 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30
= xcodebuild =
Xcode 14.0
Build version 14A309
= clang =
Apple clang version 14.0.0 (clang-1400.0.29.102)
Target: x86_64-apple-darwin21.6.0
Thread model: posix
InstalledDir: /Applications/Xcode-14.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
= xcode-select =
version: xcode-select version 2395.
path:    /Applications/Xcode-14.0.0.app/Contents/Developer
= Xcode =
osx platform:   MacOSX.sdk, MacOSX12.3.sdk, MacOSX12.sdk
ios platform:   iPhoneOS.sdk, iPhoneOS16.0.sdk
tv platform:    AppleTVOS.sdk, AppleTVOS16.0.sdk
watch platform: WatchOS.sdk, WatchOS9.0.sdk
= Android =
android sdks:    (none)
android ndk:     (none)
= Java =
java version "1.8.0_162"
Java(TM) SE Runtime Environment (build 1.8.0_162-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.162-b12, mixed mode)
= MacOS =
System Version: macOS 12.6 (21G115)
= ENV =
RUBYMOTION_ANDROID_SDK=
RUBYMOTION_ANDROID_NDK=
= Ruby Manager =
rvm:    /Users/xxxxxx/.rvm/bin/rvm
rbenv:  
chruby: 
asdf:   
= Ruby =
/Users/xxxxxx/.rvm/rubies/ruby-2.4.1/bin/ruby
ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-darwin18]
= Homebrew =
Homebrew 3.6.1
Homebrew/homebrew-core (git revision 379fea565f2; last commit 2022-09-14)
Homebrew/homebrew-cask (git revision c353f213b2; last commit 2022-09-14)
adwaita-icon-theme, aom, apr, apr-util, argon2, aspell, assimp, atk, atkmm, atkmm@2.28, autoconf, automake, awscli, bdw-gc, bmake, boost, boost-build, brotli, c-ares, ca-certificates, cabextract, cairo, cairomm, cairomm@1.14, cjson, cloc, cmake, cmocka, cocoapods, codeclimate, composer, coreutils, curl, dav1d, dbus, dfu-util, dnsmasq, docbook, docbook-xsl, docker, double-conversion, dyld-shared-cache-extractor, dylibbundler, elasticsearch-full, elasticsearch@5.6, fastlane, ffmpeg, fftw, flac, fontconfig, freetds, freetype, frei0r, fribidi, gcc, gd, gdbm, gdk-pixbuf, gettext, ghostscript, giflib, gigalixir, glib, glib-networking, glibmm, glibmm@2.66, gmp, gnu-getopt, gnutls, go, gobject-introspection, goocanvas, gpredict, graphite2, graphviz, gsettings-desktop-schemas, gsl, gtk+, gtk+3, gtkmm, gts, guile, hamlib, harfbuzz, heroku, heroku-node, hicolor-icon-theme, hunspell, hwloc, icu4c, ideviceinstaller, imagemagick, imath, intltool, isl, jasper, jbig2dec, jemalloc, jpeg, jpeg-xl, json-c, krb5, lame, leptonica, libarchive, libass, libavif, libb2, libbitcoin, libbitcoin-client, libbitcoin-explorer, libbitcoin-network, libbitcoin-protocol, libbluray, libde265, libepoxy, libev, libevent, libffi, libgpg-error, libheif, libidn, libidn2, libimobiledevice, libksba, liblqr, libmetalink, libmng, libmpc, libnghttp2, libogg, libomp, libplist, libpng, libpq, libpqxx, libpsl, libpthread-stubs, libraw, librist, librsvg, libsamplerate, libscrypt, libsigc++, libsigc++@2, libsigsegv, libsndfile, libsodium, libsoup, libsoxr, libssh2, libtasn1, libtiff, libtool, libunistring, libusb, libusb-compat, libusbmuxd, libuv, libvidstab, libvmaf, libvorbis, libvpx, libx11, libxau, libxcb, libxdmcp, libxext, libxml2, libxrender, libyaml, libzip, little-cms, little-cms2, lz4, lzo, m4, macos-term-size, makedepend, mbedtls, md4c, minimodem, minisign, mk-configure, mongosh, mpdecimal, mpfr, mtr, mysql@5.6, netpbm, nettle, nghttp2, nmap, node, node@14, nspr, nss, oniguruma, open-mpi, opencore-amr, openexr, openjdk, openjpeg, openldap, opensearch, openssl@1.1, opus, p11-kit, p7zip, pandoc, pango, pangomm, pangomm@2.46, pcre, pcre2, phantomjs, php@7.4, pixman, pkg-config, poppler, popt, portaudio, postgresql, postgresql@14, potrace, pulseaudio, python@2, python@3.8, python@3.9, qrencode, qt, qt@5, rav1e, readline, redis, rsync, rtmpdump, rubberband, ruby, ruby@2.5, ruby@2.7, rust, sdl2, shared-mime-info, six, snap, snappy, speex, speexdsp, sqlite, squashfs, srt, tcl-tk, telnet, terminal-notifier, tesseract, theora, tidy-html5, tor, unbound, unixodbc, unrar, unzip, v8@3.15, vala, webp, wget, x264, x265, xmlto, xorgproto, xvid, xxhash, xz, yarn, zeromq, zimg, zlib, zstd, chirp, chromedriver, fastlane, java8, ngrok, xcodes