lambda_punch 1.0.0 → 1.0.1

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: eb70c0a40e9a90e863ea43325168469cfefb1a1c6825a9eced81de68314674c6
4
- data.tar.gz: d31d67d900e3021aec70b88ce46fd119f11a1ee5e7b7f14f0c7fcee58a57a053
3
+ metadata.gz: 729fde3b20f092caab600146f89c5a6bc3c5477b86311bbbedecc31631009bbb
4
+ data.tar.gz: 7cb8d7d539569bd9bf3591668a9afca12e27bc5551008c7fa3effa3f7909bff6
5
5
  SHA512:
6
- metadata.gz: d92d93bd3e0dc94f80b73409181ee1702f44d3b4b77161861da63d10852134413de9e137f33e4848b3cbb83a0ca457a2d84de79643461a3fe8ecb42b3f4a95ed
7
- data.tar.gz: e374f48513db58003daa361352cdbfa499048e5006b578cf36d97d043a3973dd0f7410e18a668afc2d7f03d683b562a867d69e0ea0ec90c3041491808e2afc4e
6
+ metadata.gz: 5547cf8abd75262eeaa608688ec4ac6fea5af5803ec2d8a43e62c219e5fdbb79c0e4eac1aee6c667fc5869832bb51dbaf318a223fd8b214172c1698e93e2154d
7
+ data.tar.gz: ecab3b5dafc8f563555637b87da28663f43f4ab8948a592dd7a8ecd0134ff0c1acf79a0c8b8292c061f8e5501198bf54e196ee3ec5a1658f8f416b42632544c8
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## [1.0.1] - 2021-07-24
2
+
3
+ ### Changed
4
+
5
+ - Lazy initialization of Notifier's temp file.
6
+
1
7
  ## [1.0.0] - 2021-07-05
2
8
 
3
9
  ### Added
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- lambda_punch (1.0.0)
4
+ lambda_punch (1.0.1)
5
5
  concurrent-ruby
6
6
  rake
7
7
  rb-inotify
@@ -2,7 +2,6 @@ module LambdaPunch
2
2
  class Notifier
3
3
 
4
4
  FILE = "#{Dir.tmpdir}/lambdapunch-handled"
5
- File.open(FILE, 'w') { |f| f.write('') }
6
5
 
7
6
  class << self
8
7
 
@@ -20,6 +19,7 @@ module LambdaPunch
20
19
 
21
20
  def initialize
22
21
  @notifier = INotify::Notifier.new
22
+ File.open(FILE, 'w') { |f| f.write('') } unless File.exist?(FILE)
23
23
  end
24
24
 
25
25
  def watch
@@ -1,3 +1,3 @@
1
1
  module LambdaPunch
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
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: 1.0.0
4
+ version: 1.0.1
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-07-05 00:00:00.000000000 Z
11
+ date: 2021-07-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby