Diff of the two buildlogs: -- --- b1/build.log 2025-02-10 02:17:18.244953020 +0000 +++ b2/build.log 2025-02-10 02:18:13.882426283 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Mar 14 20:39:40 -12 2026 -I: pbuilder-time-stamp: 1773563980 +I: Current time: Mon Feb 10 16:17:20 +14 2025 +I: pbuilder-time-stamp: 1739153840 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -23,54 +23,86 @@ dpkg-source: info: unpacking ruby-wisper_2.0.1-2.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/116336/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/46038/tmp/hooks/D01_modify_environment starting +debug: Running on ionos2-i386. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Feb 10 02:17 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/46038/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/46038/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=22 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='i386' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="37" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=10 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='ee30414301254ec89abce0e5b1ce6afa' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='116336' - PS1='# ' - PS2='> ' + INVOCATION_ID=af584e67559144deab3971f5dc9180b2 + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=46038 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.sq66r8q3/pbuilderrc_neRE --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.sq66r8q3/b1 --logfile b1/build.log ruby-wisper_2.0.1-2.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://213.165.73.152:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.sq66r8q3/pbuilderrc_rigr --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.sq66r8q3/b2 --logfile b2/build.log ruby-wisper_2.0.1-2.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos16-i386 6.1.0-31-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.128-1 (2025-02-07) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-31-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.128-1 (2025-02-07) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/116336/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/46038/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -280,7 +312,7 @@ Get: 164 http://deb.debian.org/debian unstable/main i386 ruby-rspec-expectations all 3.13.0c0e0m0s1-2 [90.2 kB] Get: 165 http://deb.debian.org/debian unstable/main i386 ruby-rspec-mocks all 3.13.0c0e0m0s1-2 [81.3 kB] Get: 166 http://deb.debian.org/debian unstable/main i386 ruby-rspec all 3.13.0c0e0m0s1-2 [5184 B] -Fetched 58.3 MB in 1s (106 MB/s) +Fetched 58.3 MB in 1s (81.8 MB/s) Preconfiguring packages ... Selecting previously unselected package libpython3.13-minimal:i386. (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 ... 19792 files and directories currently installed.) @@ -827,8 +859,8 @@ Setting up tzdata (2025a-2) ... Current default time zone: 'Etc/UTC' -Local time is now: Sun Mar 15 08:40:01 UTC 2026. -Universal Time is now: Sun Mar 15 08:40:01 UTC 2026. +Local time is now: Mon Feb 10 02:17:49 UTC 2025. +Universal Time is now: Mon Feb 10 02:17:49 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up ruby-minitest (5.25.4-1) ... @@ -979,7 +1011,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/ruby-wisper-2.0.1/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../ruby-wisper_2.0.1-2_source.changes +I: user script /srv/workspace/pbuilder/46038/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/46038/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/ruby-wisper-2.0.1/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../ruby-wisper_2.0.1-2_source.changes dpkg-buildpackage: info: source package ruby-wisper dpkg-buildpackage: info: source version 2.0.1-2 dpkg-buildpackage: info: source distribution unstable @@ -1013,14 +1049,14 @@ │ ruby-wisper: Installing files and building extensions for ruby3.3 │ └──────────────────────────────────────────────────────────────────────────────┘ -/usr/bin/ruby3.3 -S gem build --config-file /dev/null --verbose /tmp/d20260314-121900-6flqs1/gemspec +/usr/bin/ruby3.3 -S gem build --config-file /dev/null --verbose /tmp/d20250210-56273-tk5p49/gemspec WARNING: make sure you specify the oldest ruby version constraint (like ">= 3.0") that you want your gem to support by setting the `required_ruby_version` gemspec attribute WARNING: See https://guides.rubygems.org/specification-reference/ for help Successfully built RubyGem Name: wisper Version: 2.0.1 File: wisper-2.0.1.gem -/usr/bin/ruby3.3 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-wisper/usr/share/rubygems-integration/all /tmp/d20260314-121900-6flqs1/wisper-2.0.1.gem +/usr/bin/ruby3.3 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-wisper/usr/share/rubygems-integration/all /tmp/d20250210-56273-tk5p49/wisper-2.0.1.gem /build/reproducible-path/ruby-wisper-2.0.1/debian/ruby-wisper/usr/share/rubygems-integration/all/gems/wisper-2.0.1/lib/wisper.rb /build/reproducible-path/ruby-wisper-2.0.1/debian/ruby-wisper/usr/share/rubygems-integration/all/gems/wisper-2.0.1/lib/wisper/broadcasters/logger_broadcaster.rb /build/reproducible-path/ruby-wisper-2.0.1/debian/ruby-wisper/usr/share/rubygems-integration/all/gems/wisper-2.0.1/lib/wisper/broadcasters/send_broadcaster.rb @@ -1070,207 +1106,207 @@ All examples were filtered out; ignoring {:focus=>true} -Randomized with seed 19525 +Randomized with seed 4977 + +Wisper::ValueObjects::Events + another class + #include? + raises ArgumentError + :foo + #include? + returns true for :foo + returns false otherwise + returns true for "foo" + by /foo/ + #include? + returns false otherwise + returns true for :foo + returns true for "foo" + [:foo, "bar"] + #include? + returns true for "foo" + returns false otherwise + returns true for :foo + returns true for :bar + returns true for "bar" + nil + #include? + returns true + "foo" + #include? + returns false otherwise + returns true for "foo" + returns true for :foo Wisper::ObjectRegistration broadcaster default is lazily evaluated defaults to SendBroadcaster -Wisper::Configuration::Broadcasters - broadcasters - #to_h - returns a Hash - -Wisper::GlobalListeners - .clear clears all global listeners - .listeners - returns an immutable collection - returns collection of global listeners - .subscribe - adds given listener to every publisher - works with options - can be scoped to classes - works along side local listeners - is threadsafe - -Wisper::Configuration - #default_prefix= - sets the default value for prefixes - broadcasters - #broadcasters returns empty collection - #broadcaster - adds given broadcaster - returns the configuration +Wisper::ValueObjects::Prefix + is a string + .new + "foo" + is expected to eq "foo_" + without arguments + is expected to eq "" + true + is expected to eq "on_" + nil + is expected to eq "" + .default= + nil + doesn't change default prefix + "foo" + changes default prefix Wisper::Broadcasters::LoggerBroadcaster + integration tests: + broadcasts the event to the listener unit tests: #broadcast with arguments logs published event and arguments delegates broadcast to a given broadcaster - when argument is an integer - logs published event and arguments when argument is a hash logs published event and arguments + when argument is an integer + logs published event and arguments without arguments logs published event delegates broadcast to a given broadcaster - integration tests: - broadcasts the event to the listener + +Wisper::Broadcasters::SendBroadcaster + #broadcast + without arguments + sends event to listener without any arguments + with arguments + sends event to listener with arguments + +Wisper::TemporaryListeners + .subscribe + globally subscribes listeners for duration of nested block + is thread safe + returns self + clears registrations when an exception occurs + globally subscribes listeners for duration of given block + globally subscribes listener for duration of given block + clears registrations for the block which exits + +Wisper::GlobalListeners + .clear clears all global listeners + .subscribe + works along side local listeners + adds given listener to every publisher + works with options + is threadsafe + can be scoped to classes + .listeners + returns an immutable collection + returns collection of global listeners + +Wisper + subscribes block can be chained + subscribes object to all published events + maps events to different methods Wisper::Publisher .listeners - returns local listeners returns an immutable collection - .on - returns publisher so methods can be chained - raises an error of no block given - returns publisher so methods can be chained - raise an error if no events given - #subscribe - subscribes listener to all instances of publisher + returns local listeners .subscribe raises a helpful error if trying to pass a block - returns publisher so methods can be chained subscribes given listener to all published events is aliased to .subscribe - :prefix argument - prefixes broadcast events with "on" when given true - prefixes broadcast events with given symbol + returns publisher so methods can be chained + :with argument + sets method to call listener with on event + :scope argument + scopes listener to given class + includes all subclasses of given class + scopes listener to given class string :on argument - given a symbol - subscribes listener to an event given an unsupported argument raises an error + given a regex + subscribes listener to matching events + given a symbol + subscribes listener to an event given a string subscribes listener to an event given an array subscribes listener to events - given a regex - subscribes listener to matching events :broadcaster argument given an object which responds_to broadcast it uses object given a key it uses a configured broadcaster given nothing it uses the default broadcaster given an unknown key it raises error async alias - given an object which responds_to broadcast it uses object given false it uses configured default broadcaster + given an object which responds_to broadcast it uses object given true it uses configured async broadcaster - :scope argument - includes all subclasses of given class - scopes listener to given class string - scopes listener to given class - :with argument - sets method to call listener with on event + :prefix argument + prefixes broadcast events with "on" when given true + prefixes broadcast events with given symbol .broadcast - does not publish events which cannot be responded to is alised as .publish - returns publisher is not public + returns publisher + does not publish events which cannot be responded to :event argument - is indifferent to dasherized and underscored strings is indifferent to string and symbol + is indifferent to dasherized and underscored strings + #subscribe + subscribes listener to all instances of publisher + .on + returns publisher so methods can be chained + raises an error of no block given + returns publisher so methods can be chained + raise an error if no events given + +Wisper::Configuration + broadcasters + #broadcasters returns empty collection + #broadcaster + returns the configuration + adds given broadcaster + #default_prefix= + sets the default value for prefixes Wisper - .setup - sets a default broadcaster - .clear - clears all global listeners - .configuration - is memorized - returns configuration object - .unsubscribe - removes listener from list of listeners - removes listeners from list of listeners - .configure - passes configuration to given block .subscribe when no block given - subscribes listener to all events subscribes listeners to all events + subscribes listener to all events when given block subscribes listeners to all events for duration of the block + .unsubscribe + removes listeners from list of listeners + removes listener from list of listeners + .configuration + is memorized + returns configuration object .publisher returns the Publisher module - -Wisper::TemporaryListeners - .subscribe - is thread safe - clears registrations when an exception occurs - globally subscribes listener for duration of given block - returns self - globally subscribes listeners for duration of nested block - globally subscribes listeners for duration of given block - clears registrations for the block which exits - -Wisper::ValueObjects::Events - by /foo/ - #include? - returns true for :foo - returns true for "foo" - returns false otherwise - nil - #include? - returns true - "foo" - #include? - returns true for "foo" - returns true for :foo - returns false otherwise - [:foo, "bar"] - #include? - returns true for "foo" - returns true for :bar - returns true for "bar" - returns false otherwise - returns true for :foo - another class - #include? - raises ArgumentError - :foo - #include? - returns true for "foo" - returns false otherwise - returns true for :foo - -Wisper - subscribes object to all published events - maps events to different methods - subscribes block can be chained - -Wisper::Broadcasters::SendBroadcaster - #broadcast - without arguments - sends event to listener without any arguments - with arguments - sends event to listener with arguments + .setup + sets a default broadcaster + .clear + clears all global listeners + .configure + passes configuration to given block simple publishing subscribes listener to events -Wisper::ValueObjects::Prefix - is a string - .default= - "foo" - changes default prefix - nil - doesn't change default prefix - .new - nil - is expected to eq "" - true - is expected to eq "on_" - without arguments - is expected to eq "" - "foo" - is expected to eq "foo_" +Wisper::Configuration::Broadcasters + broadcasters + #to_h + returns a Hash -Finished in 1.12 seconds (files took 0.43863 seconds to load) +Finished in 1.18 seconds (files took 0.60083 seconds to load) 104 examples, 0 failures -Randomized with seed 19525 +Randomized with seed 4977 [Coveralls] Outside the CI environment, not sending data. /usr/bin/ruby3.1 /usr/bin/gem2deb-test-runner @@ -1293,52 +1329,37 @@ All examples were filtered out; ignoring {:focus=>true} -Randomized with seed 24121 - -Wisper::TemporaryListeners - .subscribe - returns self - globally subscribes listener for duration of given block - is thread safe - clears registrations for the block which exits - globally subscribes listeners for duration of given block - clears registrations when an exception occurs - globally subscribes listeners for duration of nested block +Randomized with seed 60830 Wisper::GlobalListeners .clear clears all global listeners - .listeners - returns an immutable collection - returns collection of global listeners .subscribe + works along side local listeners adds given listener to every publisher - works with options can be scoped to classes - works along side local listeners is threadsafe + works with options + .listeners + returns collection of global listeners + returns an immutable collection Wisper::ValueObjects::Events - [:foo, "bar"] + nil #include? - returns true for :bar - returns true for "foo" - returns true for "bar" - returns false otherwise - returns true for :foo - by /foo/ + returns true + "foo" #include? + returns false otherwise returns true for :foo returns true for "foo" - returns false otherwise - nil - #include? - returns true - :foo + [:foo, "bar"] #include? + returns true for "foo" returns true for :foo + returns true for "bar" + returns true for :bar returns false otherwise - returns true for "foo" - "foo" + :foo #include? returns false otherwise returns true for :foo @@ -1346,65 +1367,134 @@ another class #include? raises ArgumentError + by /foo/ + #include? + returns true for "foo" + returns false otherwise + returns true for :foo + +Wisper::ValueObjects::Prefix + is a string + .new + without arguments + is expected to eq "" + "foo" + is expected to eq "foo_" + nil + is expected to eq "" + true + is expected to eq "on_" + .default= + nil + doesn't change default prefix + "foo" + changes default prefix + +Wisper::Broadcasters::LoggerBroadcaster + unit tests: + #broadcast + with arguments + delegates broadcast to a given broadcaster + logs published event and arguments + when argument is a hash + logs published event and arguments + when argument is an integer + logs published event and arguments + without arguments + delegates broadcast to a given broadcaster + logs published event + integration tests: + broadcasts the event to the listener + +Wisper::ObjectRegistration + broadcaster + default is lazily evaluated + defaults to SendBroadcaster Wisper::Publisher - #subscribe - subscribes listener to all instances of publisher .on - raise an error if no events given - raises an error of no block given returns publisher so methods can be chained returns publisher so methods can be chained - .broadcast - returns publisher - is alised as .publish - is not public - does not publish events which cannot be responded to - :event argument - is indifferent to string and symbol - is indifferent to dasherized and underscored strings + raises an error of no block given + raise an error if no events given + .listeners + returns an immutable collection + returns local listeners .subscribe subscribes given listener to all published events is aliased to .subscribe - raises a helpful error if trying to pass a block returns publisher so methods can be chained + raises a helpful error if trying to pass a block + :scope argument + scopes listener to given class string + scopes listener to given class + includes all subclasses of given class :broadcaster argument given an unknown key it raises error + given nothing it uses the default broadcaster given an object which responds_to broadcast it uses object given a key it uses a configured broadcaster - given nothing it uses the default broadcaster async alias given false it uses configured default broadcaster given an object which responds_to broadcast it uses object given true it uses configured async broadcaster - :scope argument - scopes listener to given class - includes all subclasses of given class - scopes listener to given class string + :prefix argument + prefixes broadcast events with given symbol + prefixes broadcast events with "on" when given true :on argument + given a regex + subscribes listener to matching events given an unsupported argument raises an error given a symbol subscribes listener to an event - given an array - subscribes listener to events - given a regex - subscribes listener to matching events given a string subscribes listener to an event - :prefix argument - prefixes broadcast events with given symbol - prefixes broadcast events with "on" when given true + given an array + subscribes listener to events :with argument sets method to call listener with on event - .listeners - returns an immutable collection - returns local listeners + #subscribe + subscribes listener to all instances of publisher + .broadcast + does not publish events which cannot be responded to + is not public + returns publisher + is alised as .publish + :event argument + is indifferent to dasherized and underscored strings + is indifferent to string and symbol -simple publishing - subscribes listener to events +Wisper::Configuration + #default_prefix= + sets the default value for prefixes + broadcasters + #broadcasters returns empty collection + #broadcaster + returns the configuration + adds given broadcaster + +Wisper + subscribes object to all published events + subscribes block can be chained + maps events to different methods + +Wisper::Configuration::Broadcasters + broadcasters + #to_h + returns a Hash + +Wisper::Broadcasters::SendBroadcaster + #broadcast + without arguments + sends event to listener without any arguments + with arguments + sends event to listener with arguments Wisper + .configuration + returns configuration object + is memorized .subscribe when given block subscribes listeners to all events for duration of the block @@ -1413,87 +1503,33 @@ subscribes listeners to all events .publisher returns the Publisher module + .configure + passes configuration to given block + .clear + clears all global listeners .unsubscribe - removes listeners from list of listeners removes listener from list of listeners - .configuration - is memorized - returns configuration object + removes listeners from list of listeners .setup sets a default broadcaster - .clear - clears all global listeners - .configure - passes configuration to given block - -Wisper::ValueObjects::Prefix - is a string - .new - without arguments - is expected to eq "" - "foo" - is expected to eq "foo_" - nil - is expected to eq "" - true - is expected to eq "on_" - .default= - nil - doesn't change default prefix - "foo" - changes default prefix - -Wisper::Broadcasters::LoggerBroadcaster - integration tests: - broadcasts the event to the listener - unit tests: - #broadcast - without arguments - delegates broadcast to a given broadcaster - logs published event - with arguments - delegates broadcast to a given broadcaster - logs published event and arguments - when argument is an integer - logs published event and arguments - when argument is a hash - logs published event and arguments - -Wisper::Configuration::Broadcasters - broadcasters - #to_h - returns a Hash - -Wisper - subscribes block can be chained - subscribes object to all published events - maps events to different methods -Wisper::Configuration - broadcasters - #broadcasters returns empty collection - #broadcaster - returns the configuration - adds given broadcaster - #default_prefix= - sets the default value for prefixes - -Wisper::ObjectRegistration - broadcaster - defaults to SendBroadcaster - default is lazily evaluated +Wisper::TemporaryListeners + .subscribe + is thread safe + globally subscribes listeners for duration of nested block + returns self + globally subscribes listeners for duration of given block + clears registrations for the block which exits + globally subscribes listener for duration of given block + clears registrations when an exception occurs -Wisper::Broadcasters::SendBroadcaster - #broadcast - with arguments - sends event to listener with arguments - without arguments - sends event to listener without any arguments +simple publishing + subscribes listener to events -Finished in 1.12 seconds (files took 0.3439 seconds to load) +Finished in 1.15 seconds (files took 0.54426 seconds to load) 104 examples, 0 failures -Randomized with seed 24121 +Randomized with seed 60830 [Coveralls] Outside the CI environment, not sending data. @@ -1526,12 +1562,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/46038/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/46038/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/116336 and its subdirectories -I: Current time: Sat Mar 14 20:40:17 -12 2026 -I: pbuilder-time-stamp: 1773564017 +I: removing directory /srv/workspace/pbuilder/46038 and its subdirectories +I: Current time: Mon Feb 10 16:18:12 +14 2025 +I: pbuilder-time-stamp: 1739153892