puma-redeploy 0.4.0 → 0.4.2

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: d6edbb8fa181e9de57382d871f38d81d2a905cd24a138dd2479f5f4b09a39e04
4
- data.tar.gz: b39412cc34c1c7c417e73d4b6c938022c187f4d623d8efd45e2c8c066246eee9
3
+ metadata.gz: bcf56320609f94a60b537570bcbad7d60e9bab8c8c7537381b589b9242aa5b70
4
+ data.tar.gz: a4f4615e8d0e44635377f7e3c3b3f33c8b4c0e03b44a365cab64dbe8cdb90118
5
5
  SHA512:
6
- metadata.gz: 0523cf96ee296d6e3ca47795f56c5d7de9f513741141d6d8d3447dca2b6323924b17ad437a64536e20ded566dc5948100a7bf1f4e1291ad307b56953d31f47dc
7
- data.tar.gz: 3ede12f21e140f29d69abe27e4b1bfe16394a8c4aa585cbe0722c8a857a41043e52c3fb431cc2b21711562de28ad2b5267f80a9f4f7d6cb9fba76f19a71dda7a
6
+ metadata.gz: 5c62bab8bc64b1c3004863c8194eaedb78da21183136bd6ee66c176e2fcf31740e75923aaace8cdb42ce20fe34cc98302514bb3b047a03dbb43affeb938c8cf3
7
+ data.tar.gz: 3eb73e8ebbc13ae361bae2b4e350e3c169b2d99b77acf3ed54f0ed5986227c0a76aeea2f27b4099f41f436a4a211fdaac363ecd4fa3496bd8b582878d053728d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## v0.4.2
4
+
5
+ **Fixes:**
6
+
7
+ - Fix issue when when unzip status is nil
8
+
9
+ ## v0.4.1
10
+
11
+ **Fixes:**
12
+
13
+ - Fix issue when watch file is initially missing
14
+
3
15
  ## v0.4.0
4
16
 
5
17
  **Fixes and enhancements:**
@@ -32,6 +32,8 @@ module Puma
32
32
 
33
33
  # old style where the file contains only the archive location
34
34
  { commands: [], archive_location: results }
35
+ rescue StandardError
36
+ {}
35
37
  end
36
38
 
37
39
  private
@@ -21,6 +21,7 @@ module Puma
21
21
  File.read(watch_file).strip
22
22
  rescue StandardError => e
23
23
  logger.warn "Error reading watch file #{watch_file}. Error:#{e.message}"
24
+ nil
24
25
  end
25
26
 
26
27
  def touched_at
@@ -49,6 +49,7 @@ module Puma
49
49
  object.body.read.strip
50
50
  rescue StandardError => e
51
51
  logger.warn "Error reading watch file #{bucket_name}/#{object_key}. Error:#{e.message}"
52
+ nil
52
53
  end
53
54
 
54
55
  def touched_at
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Puma
4
4
  module Redeploy
5
- VERSION = '0.4.0'
5
+ VERSION = '0.4.2'
6
6
  end
7
7
  end
@@ -18,7 +18,7 @@ module Puma
18
18
  stdout, stderr, status = Open3.capture3("unzip -o -K #{source}")
19
19
  @logger.info "stdout: #{stdout}"
20
20
  @logger.info "stderr: #{stderr}"
21
- @logger.info "status: #{status.exitstatus}"
21
+ @logger.info "status: #{status&.exitstatus}"
22
22
  end
23
23
  end
24
24
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puma-redeploy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - tbeauvais
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-03-10 00:00:00.000000000 Z
11
+ date: 2024-07-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-s3