zaikio-loom 1.2.0 → 1.3.0

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: a25fa4c17a5eba51db6793cd20d875b6cedc279e98cd9dd69efbe5839c992446
4
- data.tar.gz: dbc90fefb4b417af5412cfa788e4aea1ea8c48f52f272b5e31ae86271bbcda9e
3
+ metadata.gz: 0cbd1fc41bd69bf1024ee63542c4975302e79be1ac0af6e8f2fc38c17cbdc151
4
+ data.tar.gz: a0880a07082f41503d223cfb200add6dfaa1a3854a6ea004c4a3a013ec4931bd
5
5
  SHA512:
6
- metadata.gz: 94458de7ec87e5ecec1f1171a1c2df1a679fd183926fd5059546f637e4e72b17bf2732ae543cbc9f51759c471d39e0cf1a2fc42d02dbee7e8d881bf7b46cd8f9
7
- data.tar.gz: b2a7ca51992630ea9088872ac8d786004432b6a6c610213e6f352a288b9b91337177e800d9a25200021d06a82a3d0d592496919e162f561192e793cdb8e373ba
6
+ metadata.gz: a54007ad6ed771175a78f9a9b6e0202c94f1afa34162be8f0c4a842c0f0a0ac8e854e64c43937d640de61a003dba92283ff0c62b7e4cfd16818551b28c70fc7f
7
+ data.tar.gz: 582bbe830956812890f09c4872cab016c80fcd7f4719bf982555d54e49f154a77eeb5a53b8d3eb1e312a0199286f7a818486a76b5ebcd5773bd113c79ba73142
data/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## 1.3.0 - 2021-11-22
6
+
7
+ - Support configuration of `queue` for FireEventJob
8
+
5
9
  ## 1.2.0 - 2021-10-18
6
10
 
7
11
  - **BREAKING** Fixed: Throw new `Zaikio::Loom::Error` when posting events fails (e.g. 422)
@@ -10,7 +10,7 @@ module Zaikio
10
10
  }.freeze
11
11
 
12
12
  attr_accessor :version
13
- attr_reader :environment, :host, :apps
13
+ attr_reader :environment, :host, :apps, :queue
14
14
  attr_writer :logger
15
15
 
16
16
  def initialize
@@ -27,6 +27,10 @@ module Zaikio
27
27
  @host = HOSTS[environment]
28
28
  end
29
29
 
30
+ def queue=(name)
31
+ Zaikio::Loom::FireEventJob.queue_as(name)
32
+ end
33
+
30
34
  def application(name)
31
35
  @apps[name.to_s] = AppConfiguration.new(name.to_s)
32
36
  yield(@apps[name.to_s])
@@ -1,5 +1,5 @@
1
1
  module Zaikio
2
2
  module Loom
3
- VERSION = "1.2.0".freeze
3
+ VERSION = "1.3.0".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zaikio-loom
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - crispymtn
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2021-10-18 00:00:00.000000000 Z
12
+ date: 2021-11-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activejob