wisper icon indicating copy to clipboard operation
wisper copied to clipboard

A micro library providing Ruby objects with Publish-Subscribe capabilities

Results 23 wisper issues
Sort by recently updated
recently updated
newest added

Wisper now conflicts with json-jwt (1.15.0). Releasing the existing state of master would fix this.

Continuing from the original PR krisleech/wisper#192 to add support for Ruby 3.0, this PR simply takes work done by @doits and direction from [the most recent comment](https://github.com/krisleech/wisper/pull/192#issuecomment-1020005293) and attempts to...

Wrap on `to_prepare` to avoid Rails warning

In a Rails 6 app, when the config `cache_classes` is false, I'm not able to unsubscribe global listeners declared in an initializer within another process, such as inside a rake...

Fixes #190 Makes use of `**kwargs` everywhere so it is compatible with ruby 3. Unfortunately this does not work with ruby 2.6 and below, so I dropped it. It could...

Hi! Could you please release a new version containing #181? I currently cannot install this gem because: ``` $ gem install wisper Fetching wisper-2.0.1.gem wisper's executable "console" conflicts with countries...

Hello! I opened [this](https://github.com/rmosolgo/graphql-ruby/issues/3430) issue and I couldn't get it working with the proposed solution. Seems that here: https://github.com/krisleech/wisper/blob/7cff5bca86cf0afa14cde20832bf4f0de6a52188/lib/wisper/temporary_listeners.rb#L27-L29 it needs to get updated to work with Fibers. I don't...

contribute

When broadcasting with kwargs, an `ArgumentError` is raised in Ruby 3.0: ```ruby broadcast(:user_changed, initial_id: user_id_before_last_save, final_id: user_id) ``` ```ruby ArgumentError: wrong number of arguments (given 1, expected 0; required keywords:...

Recently while chasing down some database performance bottlenecks in my application, I noticed a fairly significant amount of time being spent broadcasting events created by wisper-activerecord. It turns out that...

This PR is a follow-up of #174 and it solves issue with anonymous class string. It doesn't avoid calling `to_s` completely, but only calls `to_s` when `allowed_classes` contains a string...