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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 73d9cac30d9b260a5e2ea691ab933d50e56d1434d61de7861c5ea465d816527a
|
4
|
+
data.tar.gz: 277bef9d9b8643d53c8c6e273ddcd4183825a3412f216e89695922e3a70a8d1a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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?,
|
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,
|
26
|
+
self, :inquiry, :questionable, 2025, 12
|
27
27
|
).then { questionable }
|
28
28
|
end
|
29
29
|
end
|
data/lib/bridgetown/version.rb
CHANGED
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.
|
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:
|
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
|