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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 60f476d93ded963ff9e752fbb06aed9b943e3f17
4
- data.tar.gz: 2413ad1eb82ab7193b1ebc1a659b8de70090b6f7
3
+ metadata.gz: caaab82093abcb14610c71a4fac452a6b564e913
4
+ data.tar.gz: 656a3a9585c32e95b3ebdd85b17f231ac4efe505
5
5
  SHA512:
6
- metadata.gz: f9e02a8fdb8c00d9fa7628ce10843db5aae556a6bf662fa0b6de1b64858e9933cd615934593db3cd6d7bd9a9b77c7fa6499afe7958cebdabfc6b158912050008
7
- data.tar.gz: 0a445072c382b18c7a8a92dcc743785196ef91c5494f8de566a741e69f47684d412cef23ab7db1a3617ed4d348b58073dd2603dd9056954b268e911126c0c52d
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
@@ -1,3 +1,3 @@
1
1
  module Rumination
2
- VERSION = "0.16"
2
+ VERSION = "0.16.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rumination
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.16'
4
+ version: 0.16.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Artem Baguinski