lambda_punch 0.0.7 → 0.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2d0e3a75bdcf982dccd19a3f234bdb400e584bd30b34f460cb12d5a9e00c1bc4
4
- data.tar.gz: df720c451202a184f671bc18921418006dbcf88f122801b76c358d5338e2d518
3
+ metadata.gz: cec6cd5684a1a7ff22f75898d909f3189337f981d965c71d06cc53f447f2dda1
4
+ data.tar.gz: 9825e8239cea26f6b2affe8b5387a1e12f377fa0ffb6a3371bbc6a7bcc5f3910
5
5
  SHA512:
6
- metadata.gz: 92c22c49fc5082d8619eee9b7271f3b77ce686063cb8f647448a5d9426b70447f8204cff349764afe0354ffc63f811116e5fa4366c4cbb8d8876dbe394304bb9
7
- data.tar.gz: 7334e89cbc19dbad55a7d9847764bbe2232e0ae48698289c5b5ae0e70104f1c114eeab4c697133a823f9e47e63ca29e16cb65da7dc11e993e73a3a3af2890917
6
+ metadata.gz: ac0557df20c73e7ff75b082a14d63e8f96e57dc1bbd288a4670e11fb1f4d402688fa17a01f9215fee5db5798b371b73d9f6fe9dfe692b5c4e8bb6c59d9577240
7
+ data.tar.gz: cea1aa8e78d416966a7d876e1035f12026e3b442cad4f95dd0935d145b012eef766a7c1a1a11332680fde1bf87af3e89023dae657130f487e00c849e2cf610f6
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## [0.0.8] - 2021-06-28
2
+
3
+ - Guard against early notifier.
4
+
1
5
  ## [0.0.7] - 2021-06-28
2
6
 
3
7
  - Fix queue logger.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- lambda_punch (0.0.7)
4
+ lambda_punch (0.0.8)
5
5
  concurrent-ruby
6
6
  rake
7
7
  rb-inotify
@@ -1,3 +1,3 @@
1
1
  module LambdaPunch
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
@@ -64,7 +64,7 @@ module LambdaPunch
64
64
  # also ensures any clean up is done. For example, closing file notifications.
65
65
  #
66
66
  def call
67
- Timeout.timeout(timeout) { @notifier.process }
67
+ Timeout.timeout(timeout) { @notifier.process unless invoked? }
68
68
  rescue Timeout::Error
69
69
  logger.error "Worker#call => Function timeout reached."
70
70
  ensure
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lambda_punch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ken Collins
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-06-29 00:00:00.000000000 Z
11
+ date: 2021-07-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby