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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 977ae3b9248ffd6651acdce42ad8e3eccd657833
4
- data.tar.gz: a0edcf92eff3bf7acdf17150c65107b2c04693b7
3
+ metadata.gz: 70e6ae53825362d05a01b32b115700151a67c521
4
+ data.tar.gz: 62533bd3d864845ac6d12ba9ffd0542f97c1190b
5
5
  SHA512:
6
- metadata.gz: b096c595d10954c892b8503c794b5f25be8e3025a772148250301aca35ef13efd3866ecd172932bd1912d630d85982e998d4ecd56c4489da4b995780228c601b
7
- data.tar.gz: 534e4e7f680bf48da43eff5220716e14bc804fec5e026a13079277d332d107b4582d1482cd4c45b544d31dfbc2a5920cd430f266438e056009a6b9f15c1d04aa
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
- ::NewRelic::Agent.manual_start unless Rails.env.test?
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
@@ -1,3 +1,3 @@
1
1
  module RooOnRails
2
- VERSION = '1.18.0'.freeze
2
+ VERSION = '1.19.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.18.0
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 00:00:00.000000000 Z
11
+ date: 2018-01-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dotenv-rails