bridgetown-foundation 2.0.0.beta3 → 2.0.0.beta5

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: 4130acdba5a7c883a024b9aafe26b529286967c7f83c69cc3851d2352a628ab8
4
- data.tar.gz: ac6b5d0952516ee84963cf46511e06d39154a21b821911ad85b984b1bd159475
3
+ metadata.gz: '068a55fea4182d615142b97dcbc4178986c077e23dc2f729b51d2460988c9b8b'
4
+ data.tar.gz: 52e6bdf24d50c16e714f2e525d8322182bb7601a09041a57da841663343c3c4f
5
5
  SHA512:
6
- metadata.gz: 3e291a7ad4119ae71b3dac8f5235ae4f9357b70096d245dec124d3926e9463316c5c1bab3e801be189dd6ddfe8904413c475fcb078240eea1e88f1a84d38ef64
7
- data.tar.gz: d54770a50a15cf6b5ef751493de4213555ff39a96f9411fcb0b4941fff720ea8b4a0335f1a57be1998b953dda5aa74d663aa7cb9110871f87e9378252f981c96
6
+ metadata.gz: 303995dd874d53c7e4acade40a69b4c35e13b41a122abf1322966ac8223f94820a0d5f73741029b544c83a1c9e78d4042b7503708b8c265256370408bca2198e
7
+ data.tar.gz: 4c893614164287615859056cf24558e6af0da8a2a8c849bc79cf03474ffae198909ea6ca3b48f8d0798a3d51bfe8bde7d2ef5de0daff430949160bb77048fa01
@@ -13,10 +13,13 @@ module Bridgetown::Foundation
13
13
 
14
14
  def read_pidfile(file)
15
15
  File.readlines pidfile_for(file), chomp: true
16
+ rescue SystemCallError
17
+ []
16
18
  end
17
19
 
18
20
  def remove_pidfile(file)
19
21
  File.delete pidfile_for(file)
22
+ rescue SystemCallError # rubocop:disable Lint/SuppressedException
20
23
  end
21
24
 
22
25
  private
@@ -4,10 +4,7 @@ module Bridgetown::Foundation
4
4
  class QuestionableString < ::String
5
5
  def method_missing(method_name, *args)
6
6
  value = method_name.to_s
7
- if value.end_with?("?")
8
- value.chop!
9
- return self == value
10
- end
7
+ return self == value.chop if value.end_with?("?")
11
8
 
12
9
  super
13
10
  end
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Bridgetown
4
- VERSION = "2.0.0.beta3"
4
+ VERSION = "2.0.0.beta5"
5
5
  CODE_NAME = "(TBD!)"
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bridgetown-foundation
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0.beta3
4
+ version: 2.0.0.beta5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bridgetown Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-11-16 00:00:00.000000000 Z
11
+ date: 2025-04-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: hash_with_dot_access