Sha256: 82f8bd365192fab9bc69d48fc5a0c11ae0230d553cb50765ac112032b783c5fc
Contents?: true
Size: 1.73 KB
Versions: 2
Compression:
Stored size: 1.73 KB
Contents
1.0.0.beta3 -------- - Constrain workers when creating a queue to raise more helpful exceptions 1.0.0.beta2 -------- - Add `workers` method to job to specify number of Celluloid pool workers 1.0.0.beta -------- - Removed the need for a configuration initializer - include `SuckerPunch::Job` instead of `SuckerPunch::Worker` - Use standard Ruby job class instantiation to perform a job (ie. LogJob.new.async.perform) 0.5.1 -------- - Add `SuckerPunch.logger` - Add `SuckerPunch.logger=` - Set SuckerPunch logger to Rails.logger within a Rails application 0.5 -------- - `SuckerPunch::Queue#size` now returns the number of messages enqueued - `SuckerPunch::Queue#workers` now returns the number of workers in the queue - Update Celluloid dependency 0.4.1 -------- - Remove `size` option when defining a queue, prefer `workers` - Update Celluloid dependency 0.4 ----------- - Prefer `workers` stat method over `size` - Update config to use `workers` instead of `size` old config: ```Ruby # config/initializers/sucker_punch.rb SuckerPunch.config do queue name: :log_queue, worker: LogWorker, size: 10 end ``` new config: ```Ruby # config/initializers/sucker_punch.rb SuckerPunch.config do queue name: :log_queue, worker: LogWorker, workers: 10 end ``` - Add testing library to stub out workers (see testing section in README) 0.3.1 ----------- - Fix location of inline testing library `spec/spec_helper.rb` ```ruby require 'sucker_punch/testing/inline' SuckerPunch::Queue[:log_queue].async.perform("login") # => SYNCHRONOUS ``` 0.3 ----------- - Now includes a testing library that will run all jobs synchronously. `spec/spec_helper.rb` ```ruby require 'sucker_punch/testing' SuckerPunch::Queue[:log_queue].async.perform("login") # => SYNCHRONOUS ```
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sucker_punch-1.0.0 | CHANGES.md |
sucker_punch-1.0.0.beta3 | CHANGES.md |