hephaestus 0.8.20 → 0.8.20.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 +4 -4
- data/CHANGELOG.md +2 -0
- data/lib/hephaestus/engine.rb +5 -1
- data/lib/hephaestus/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3f8088ab73bdbf15a979d6fdd513540397926cf60477aab98cbae4183d91c5ea
|
4
|
+
data.tar.gz: be21d10c4f3eb1d0a6daee637aa60918c14fed591c6f48e4e604c92265c36da0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7a9c935935d656368789cec0b5bcecb1c1677f371b7ca85bd85fe3c4092f5e8f8fc82dd328b7ed87e4e28221dcd68e06f4029451e4651de4cd85b7c0bb948dce
|
7
|
+
data.tar.gz: '09302f963deadd5b75da5c4e92aed732b4d099e903ac6b8992b3cbd19ae216c81a3cf886011fb50b72415713bb982394f63d08c81757c89803ac28bed27df8ab'
|
data/CHANGELOG.md
CHANGED
data/lib/hephaestus/engine.rb
CHANGED
@@ -111,12 +111,16 @@ module Hephaestus
|
|
111
111
|
$CHILD_STATUS.success?
|
112
112
|
end
|
113
113
|
|
114
|
+
def compiling_assets?
|
115
|
+
ENV.fetch("PRECOMPILING", nil).present?
|
116
|
+
end
|
117
|
+
|
114
118
|
def include_sudo?
|
115
119
|
ENV.fetch("DOCKER", false) == "1" ? "sudo -E " : ""
|
116
120
|
end
|
117
121
|
|
118
122
|
# we need to check if the 1Password CLI is installed and load it ASAP,
|
119
123
|
# because it contains all the secrets
|
120
|
-
check_dependencies!
|
124
|
+
check_dependencies! if !Rails.env.local? && !compiling_assets?
|
121
125
|
end
|
122
126
|
end
|
data/lib/hephaestus/version.rb
CHANGED