hephaestus 0.7.0 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/hephaestus/engine.rb +1 -8
- data/lib/hephaestus/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0ddb2acb833029f86546e1ba193985470e19f06b8b1914876372ce16c0b08a4e
|
4
|
+
data.tar.gz: 413397588e5473881666644b45bfcf090bc63adab199a77e51e0a3cec1226ef1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 13ca6d123fde10d85b3a9f90d64f12c75d395667df8a35fbd27b37e07fd952cd8497049f4ce753afe2a27b217cfc49e2fb3e57964cf2e27688f24dfb3d1beaf2
|
7
|
+
data.tar.gz: 981ff3a8586e4445bc8ad96cd90554887b0c90e476a223f68c70bf78f57c9233ad972d3d44a78248c8352287f1be0e84ca0ce8c0d7ff202282f38d49a70d79a9
|
data/lib/hephaestus/engine.rb
CHANGED
@@ -13,14 +13,7 @@ module Hephaestus
|
|
13
13
|
|
14
14
|
GIT_SHA = case Rails.env
|
15
15
|
when "production", "staging"
|
16
|
-
|
17
|
-
result = "" if PRECOMPILING # skip if we're just precompiling assets
|
18
|
-
|
19
|
-
result ||= Rails.root.join("GIT_SHA").read if Rails.root.join("GIT_SHA").exist?
|
20
|
-
|
21
|
-
result ||= %x(git rev-parse HEAD) # fallback to git (should only happen locally)
|
22
|
-
|
23
|
-
result || ""
|
16
|
+
ENV["GIT_SHA"]
|
24
17
|
when "development"
|
25
18
|
%x(git rev-parse HEAD)
|
26
19
|
when "test"
|
data/lib/hephaestus/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hephaestus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Garen Torikian
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-11-
|
11
|
+
date: 2024-11-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bootsnap
|