yael 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +1 -1
- data/lib/yael/dispatch_job.rb +1 -1
- data/lib/yael/version.rb +1 -1
- data/yael.gemspec +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3d3346dbd1cfffad67500419126e580b8e0d5958ac592081a8f785bbe919f95e
|
4
|
+
data.tar.gz: 1b4a4ebb714b18aee11456ff0cf0ed6199a95a3936733339a24445aa83cb4f05
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee589c82b3c850762431bc2828dd4a084117231abe80b0dd3597d2fd3cbd08f74307242e473f6c3921dd5d523e7981816619ad92d1321f9e4ea56feca586935b
|
7
|
+
data.tar.gz: dec65e4ec61905fc3e50a696d4f1a40fd2bc0960c03b12489f9cbd4ca1e032a6d4c8b3de1f1d441384e097f3ef61c4b051c78101a86d3a501d2bb5101e1ae830
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
data/lib/yael/dispatch_job.rb
CHANGED
@@ -7,7 +7,7 @@ module Yael
|
|
7
7
|
queue_as :dispatch
|
8
8
|
|
9
9
|
def perform(name:, stream:, payload:, created_at:, persist: true)
|
10
|
-
event = Event.new
|
10
|
+
event = Event.new name: name, stream: stream, payload: payload, created_at: created_at
|
11
11
|
event.save! if persist
|
12
12
|
Yael::Bus.shared.process(event)
|
13
13
|
end
|
data/lib/yael/version.rb
CHANGED
data/yael.gemspec
CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
|
|
10
10
|
|
11
11
|
spec.summary = "Event based Rails with ActiveJob"
|
12
12
|
spec.description = "Yael is Yet Another Event Library based on top of ActiveJob. It helps you dispatching events asynchronously in your code base and react to them just like routing in Rails."
|
13
|
-
spec.homepage = "https://nerdgeschoss
|
13
|
+
spec.homepage = "https://github.com/nerdgeschoss/yael"
|
14
14
|
spec.license = "MIT"
|
15
15
|
spec.required_ruby_version = Gem::Requirement.new(">= 2.4.0")
|
16
16
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yael
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jens Ravens
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-02-
|
11
|
+
date: 2021-02-08 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Yael is Yet Another Event Library based on top of ActiveJob. It helps
|
14
14
|
you dispatching events asynchronously in your code base and react to them just like
|
@@ -39,11 +39,11 @@ files:
|
|
39
39
|
- lib/yael/route.rb
|
40
40
|
- lib/yael/version.rb
|
41
41
|
- yael.gemspec
|
42
|
-
homepage: https://nerdgeschoss
|
42
|
+
homepage: https://github.com/nerdgeschoss/yael
|
43
43
|
licenses:
|
44
44
|
- MIT
|
45
45
|
metadata:
|
46
|
-
homepage_uri: https://nerdgeschoss
|
46
|
+
homepage_uri: https://github.com/nerdgeschoss/yael
|
47
47
|
source_code_uri: https://github.com/nerdgeschoss/yael
|
48
48
|
post_install_message:
|
49
49
|
rdoc_options: []
|
@@ -60,7 +60,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '0'
|
62
62
|
requirements: []
|
63
|
-
rubygems_version: 3.
|
63
|
+
rubygems_version: 3.0.6
|
64
64
|
signing_key:
|
65
65
|
specification_version: 4
|
66
66
|
summary: Event based Rails with ActiveJob
|