startback 0.17.2 → 0.17.3

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: 0d2cd78e89f819311eedaa9dc75d71fdfeff685aa2723d16dd50391077be1061
4
- data.tar.gz: 808cc9194bedab39965ddcd3cc31774470335b264dd938803a5f90233b9fea73
3
+ metadata.gz: 47e8ac3b588f01947b8f6850a40ae2777bf3578b8fea2c38d923f9619f7ddf0e
4
+ data.tar.gz: d09a7168a291df2a59b199be072969fad30a1c7ef33d6c78058dfb358fbafd5f
5
5
  SHA512:
6
- metadata.gz: dfdb0ec227a477d7f543dbb8e615d3f81c453fe6f4f9dc18fc20212e9d0fe476fc1c481b0e1292ff6202e99ae7e99fe670f82113fa7b64e1fa7323e53ba08436
7
- data.tar.gz: f5405619b93cb20ef492beeba4b01d857dfc0d6adf77e50ff2517cefef953d57897c4082bf7d46708e85ad9f2048a475833f151dc78fb265f06eae86e0f661bc
6
+ metadata.gz: dddbf9e33df9565c4ec445d107e9decc83c23a7538aba0eac4babd5104c0000ad89a49d657060ac400a9e79418e1c705c2dfb4b3b620b530e932f04977ce98f0
7
+ data.tar.gz: 6fe5a230ac86dc2cd2b8bee70b54df7c3be840f9afd8d871d54d1a31cffa3a1b10bccc0de003201f169436a96b14b32bcd58f2a6aaffddd4a0d67b4a132398db
@@ -4,6 +4,8 @@ module Startback
4
4
  def self.emits(type, &bl)
5
5
  after_call do
6
6
  event_data = instance_exec(&bl)
7
+ return unless event_data
8
+
7
9
  event = type.new(type.to_s, event_data, context)
8
10
  context.engine.bus.emit(event)
9
11
  end
@@ -2,7 +2,7 @@ module Startback
2
2
  module Version
3
3
  MAJOR = 0
4
4
  MINOR = 17
5
- TINY = 2
5
+ TINY = 3
6
6
  end
7
7
  VERSION = "#{Version::MAJOR}.#{Version::MINOR}.#{Version::TINY}"
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: startback
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.2
4
+ version: 0.17.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bernard Lambeau