rumination 0.16 → 0.16.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rumination/deploy/class_methods.rb +7 -0
- data/lib/rumination/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: caaab82093abcb14610c71a4fac452a6b564e913
|
4
|
+
data.tar.gz: 656a3a9585c32e95b3ebdd85b17f231ac4efe505
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 50d9d078adaf347c272ccb427d69da661d2041d88ed64577a5166d42ce171c97e734cfe8b322f98a5f8a915585628d790414e32e8289bc05d021503ee9db2198
|
7
|
+
data.tar.gz: 5bdf702f8ffa4352700951fce5866fb2120fd80e5c9fd81aca0e01d3feb38c775c1e669b8cd02b60b18b2021834dfabd18ffee63bd8497291df2043830d6fe3f
|
@@ -25,6 +25,9 @@ module Rumination
|
|
25
25
|
env["LETSENCRYPT_HOST"] = config.virtual_host
|
26
26
|
env["LETSENCRYPT_EMAIL"] = config.letsencrypt_email
|
27
27
|
end
|
28
|
+
if ENV["NEWRELIC_KEY"]
|
29
|
+
env["NEWRELIC_NAME"] = project_with_target_name
|
30
|
+
end
|
28
31
|
env = env.merge(config.docker_env || {})
|
29
32
|
env
|
30
33
|
end
|
@@ -53,6 +56,10 @@ module Rumination
|
|
53
56
|
end
|
54
57
|
end
|
55
58
|
|
59
|
+
def project_with_target_name
|
60
|
+
"#{compose_project_name} (#{target})"
|
61
|
+
end
|
62
|
+
|
56
63
|
def files_to_copy_on_bootstrap
|
57
64
|
(config.bootstrap && config.bootstrap.copy_files) || []
|
58
65
|
end
|
data/lib/rumination/version.rb
CHANGED