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 +5 -5
- data/CHANGELOG.md +6 -0
- data/lib/roo_on_rails/railties/new_relic.rb +9 -0
- data/lib/roo_on_rails/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: f4bdfa1e78b2609d11ea89b81b9b4ad5bf90cb0e
|
4
|
+
data.tar.gz: cad9c0d2188628a2d9890fe32bbd85617d4dc484
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 41af6cea9b8333be7155b4d02a1ffd36689ae998f777b0de362e109dd5c8316f91459f28b1be7ccf1eb4d40e4d40efe9fe0661612f1fc3daba63d3daf9e14bfc
|
7
|
+
data.tar.gz: 030d2a8ae57900f3f74792275a539101dbde166bc48edd938fb5b18a38dfba4be50c0f52166130b635f7dce69a431fcff928998417278e58773d1dc3b4ad9989
|
data/CHANGELOG.md
CHANGED
@@ -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?)
|
data/lib/roo_on_rails/version.rb
CHANGED
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.
|
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-
|
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.
|
505
|
+
rubygems_version: 2.6.11
|
506
506
|
signing_key:
|
507
507
|
specification_version: 4
|
508
508
|
summary: Scaffolding for building services
|