jason-rails 0.8.0 → 0.8.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 592a7eab8028ae28815abbf0d401d98b2ceabc0009f30713f68795da21adb165
4
- data.tar.gz: 315f5088e258dcab9755dc92f4de03f3f2f016cf6698d3619f022c1e7d601e9d
3
+ metadata.gz: 2feafe450ab2dbdf8716f672f67b89edd8792412c7c2ab56b6f44e68171bb5f3
4
+ data.tar.gz: cce30e46ce1c392f836260c9f0b0ee6fc35fe7e98d1257f933afc434aa509299
5
5
  SHA512:
6
- metadata.gz: a33fdc1d57462a97b7dd571222ff314cc77338e5172fcfc662f3e1fd5f008deed299abcd870900d0b50805944af822b462f6adee46953895499ce49f69df6680
7
- data.tar.gz: 8ec1a59761856754f09bb7b6431d3d45d319daf9d4c7f030b8c7c2301c28ab2d0393952c4d7339a4d6310da2689c3cba8c71048deed931e0d3c4b0cf5c2fc2f1
6
+ metadata.gz: f1e13ed682fbd187ccd5f196192a6374a205da2d75f43e79a7653a4db1bd089c65f1a1d72939d3358e916802714814fdf3d4bc32c12760102b4f87fa22c8f6a9
7
+ data.tar.gz: e26a2acf832d9ae9b72ab299fb705d95680bf8c8d91f5c9b44e6e9ffb639ac6010a4e9460692e21a06500a46989e22e04e7032fc1b22a088d15d896b9e6f569a
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## v0.8.1
2
+ - Allow setting the Sidekiq queue name for Jason payloads
3
+
1
4
  ## v0.8.0
2
5
  - Cold cache handling:
3
6
  - Expiry is now set on all cached models of one week
@@ -1,5 +1,8 @@
1
1
  class Jason::OutboundMessageQueueWorker
2
- include Sidekiq::Worker if defined?(Sidekiq) # Even if not using Pusher, this gets autoloaded
2
+ if defined?(Sidekiq) # Even if not using Pusher, this gets autoloaded
3
+ include Sidekiq::Worker
4
+ sidekiq_options queue: Jason.sidekiq_queue
5
+ end
3
6
 
4
7
  def perform
5
8
  batch = get_batch
data/client/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jamesr2323/jason",
3
- "version": "0.7.5",
3
+ "version": "0.8.0",
4
4
  "module": "./lib/index.js",
5
5
  "types": "./lib/index.d.ts",
6
6
  "scripts": {
data/lib/jason/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Jason
2
- VERSION = "0.8.0"
2
+ VERSION = "0.8.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jason-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Rees
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-18 00:00:00.000000000 Z
11
+ date: 2022-08-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails