roo_on_rails 1.21.0 → 1.22.0

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
- SHA256:
3
- metadata.gz: 04d813efb65227f43263c1802588635add6d27bb2a5c98c81c924ead208ef09d
4
- data.tar.gz: c91116b30b641039133e69dd4c85e02d7df6c24e16f25841d36064037facf420
2
+ SHA1:
3
+ metadata.gz: f4bdfa1e78b2609d11ea89b81b9b4ad5bf90cb0e
4
+ data.tar.gz: cad9c0d2188628a2d9890fe32bbd85617d4dc484
5
5
  SHA512:
6
- metadata.gz: 9f49df0cd62c25ee965d761888a244f195b45eecc6237eeadf12359410c0833628a4e2b6b2575ebc43d0ab75fc4d1a613b5d2ee6ccab2c70fbc5d5183fb81ad6
7
- data.tar.gz: 3a0fb95d6e34690932380b5a06de448bc12ba449b17988bd0ed8c0a641f42a09950780869d57019f2e6e49646d37a4180aaaeb1c417a608a20276eddc99a1e95
6
+ metadata.gz: 41af6cea9b8333be7155b4d02a1ffd36689ae998f777b0de362e109dd5c8316f91459f28b1be7ccf1eb4d40e4d40efe9fe0661612f1fc3daba63d3daf9e14bfc
7
+ data.tar.gz: 030d2a8ae57900f3f74792275a539101dbde166bc48edd938fb5b18a38dfba4be50c0f52166130b635f7dce69a431fcff928998417278e58773d1dc3b4ad9989
@@ -1,3 +1,9 @@
1
+ # v1.22.0 (2018-08-29)
2
+
3
+ Features:
4
+
5
+ - Allows specifiying `BASE_NEW_RELIC_APP_NAME` instead of `NEW_RELIC_APP_NAME`, which reports to New Relic per Hopper service.
6
+
1
7
  # v1.21.0 (2018-03-27)
2
8
 
3
9
  Features:
@@ -12,6 +12,15 @@ module RooOnRails
12
12
 
13
13
  abort 'Aborting: NEW_RELIC_LICENSE_KEY is required' if license_key.nil?
14
14
 
15
+ # Report application stats to a per-service (worker, web) New Relic app, and to a main
16
+ # application for all services.
17
+ base_name = ENV['BASE_NEW_RELIC_APP_NAME']
18
+ service_name = ENV['HOPPER_SERVICE_NAME']
19
+ if !base_name.blank? && ENV['NEW_RELIC_APP_NAME'].blank?
20
+ task_app_name = service_name.present? ? "#{base_name} - #{service_name}" : nil
21
+ ENV['NEW_RELIC_APP_NAME'] = [task_app_name, base_name].compact.join(';')
22
+ end
23
+
15
24
  path = %w(newrelic.yml config/newrelic.yml).map do |p|
16
25
  Pathname.new(p)
17
26
  end.find(&:exist?)
@@ -1,3 +1,3 @@
1
1
  module RooOnRails
2
- VERSION = '1.21.0'.freeze
2
+ VERSION = '1.22.0'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: roo_on_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.21.0
4
+ version: 1.22.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julien Letessier
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-07-05 00:00:00.000000000 Z
11
+ date: 2018-09-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dotenv-rails
@@ -502,7 +502,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
502
502
  version: '0'
503
503
  requirements: []
504
504
  rubyforge_project:
505
- rubygems_version: 2.7.0
505
+ rubygems_version: 2.6.11
506
506
  signing_key:
507
507
  specification_version: 4
508
508
  summary: Scaffolding for building services