bridgetown-foundation 2.0.0.beta2 → 2.0.0.beta4

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: 939f9fde84bd7396d24375d071d2888c55bf877960949211a2866c029ecb74f2
4
- data.tar.gz: 6e9f3bf191c6eb3260f4b002379d89b1a5e2acf85f4fbbca9bc1d033514d86f4
3
+ metadata.gz: 73d9cac30d9b260a5e2ea691ab933d50e56d1434d61de7861c5ea465d816527a
4
+ data.tar.gz: 277bef9d9b8643d53c8c6e273ddcd4183825a3412f216e89695922e3a70a8d1a
5
5
  SHA512:
6
- metadata.gz: 186d65831200e1a22cb59017daf00a6f3aa7e1344e39a0a2256cc4662e15be012cc69b8cd3800bbda179594161816bad6c17ab31d69b4f4e77f1cbda2ff527ab
7
- data.tar.gz: aa6bcab32d02c79f739a0f847fe1c12197bd5565f2f716346bd534ae969dcb7725fecb056098e076d379791b2cbe798925b7128c89fc1e5cb50d50f72df08a20
6
+ metadata.gz: 4c645b39ca89f7f096c3cf4206c4e4ca4fe786ad89cf7e5228f4bdf303bbb197c56c4a779840c2a7937af40027a34481f79fefb67feb6eca2c2262348b32d66d
7
+ data.tar.gz: 2b0e61d42cad060aede4dd85d21f77dfea334db5841b3689e7359c895c6975f34cc65a8993b0259568f7597aad76f4a938b466242b38e9acc27fd0c6c9f99786
@@ -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
@@ -54,7 +54,7 @@ module Bridgetown::Foundation
54
54
  # NOTE: if you _really_ need to preserve Active Support's `in?` functionality, you can just
55
55
  # require "active_support/core_ext/object/inclusion"
56
56
  def in?(...) = Bridgetown::Foundation.deprecation_warning(
57
- self, :in?, :within?, 2024, 12
57
+ self, :in?, :within?, 2025, 12
58
58
  ).then { within?(...) }
59
59
  end
60
60
  end
@@ -23,7 +23,7 @@ module Bridgetown::Foundation
23
23
  def questionable = Bridgetown::Foundation::QuestionableString.new(self)
24
24
 
25
25
  def inquiry = Bridgetown::Foundation.deprecation_warning(
26
- self, :inquiry, :questionable, 2024, 12
26
+ self, :inquiry, :questionable, 2025, 12
27
27
  ).then { questionable }
28
28
  end
29
29
  end
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Bridgetown
4
- VERSION = "2.0.0.beta2"
4
+ VERSION = "2.0.0.beta4"
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.beta2
4
+ version: 2.0.0.beta4
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-08-18 00:00:00.000000000 Z
11
+ date: 2025-01-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: hash_with_dot_access