roo_on_rails 1.18.0 → 1.19.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/lib/roo_on_rails/railties/new_relic.rb +5 -1
- data/lib/roo_on_rails/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 70e6ae53825362d05a01b32b115700151a67c521
|
4
|
+
data.tar.gz: 62533bd3d864845ac6d12ba9ffd0542f97c1190b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 64657f21e77a5fc055491a7e82f7b3d8ee13018a515a5ff94089a57551d0d8571049069ba27b2528aca5894efa0c3d185f6a54d03eb5d2411379ccd425ae669a
|
7
|
+
data.tar.gz: 62550c09f3256819deb5208581e557a51cd7d9526227a2cd7eb71211254e5d02028d9a7eacaa668693c35f2f0d82fa564ef40f3dfeed98d403e517ecc8bfab0e
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,16 @@
|
|
2
2
|
|
3
3
|
_A description of your awesome changes here!_
|
4
4
|
|
5
|
+
# v1.19.0 (2018-01-23)
|
6
|
+
|
7
|
+
Bug fix:
|
8
|
+
|
9
|
+
- Avoid New Relic initialization warning by following Rails initializer behaviour
|
10
|
+
|
11
|
+
Features:
|
12
|
+
|
13
|
+
- Allow disabling New Relic synchronous startup by setting `NEW_RELIC_SYNC_STARTUP=false`
|
14
|
+
|
5
15
|
# v1.18.0 (2018-01-11)
|
6
16
|
|
7
17
|
Features:
|
@@ -19,8 +19,12 @@ module RooOnRails
|
|
19
19
|
abort "Aborting: newrelic.yml detected in '#{path.parent.realpath}', should not exist"
|
20
20
|
end
|
21
21
|
|
22
|
+
sync_startup = (ENV.fetch('NEW_RELIC_SYNC_STARTUP', 'YES') =~ /\A(YES|TRUE|ON|1)\Z/i)
|
23
|
+
|
22
24
|
require 'newrelic_rpm'
|
23
|
-
|
25
|
+
unless Rails.env.test?
|
26
|
+
::NewRelic::Control.instance.init_plugin(sync_startup: sync_startup)
|
27
|
+
end
|
24
28
|
end
|
25
29
|
end
|
26
30
|
end
|
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.19.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-01-
|
11
|
+
date: 2018-01-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dotenv-rails
|