tunemygc 1.0.9 → 1.0.10

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: 8a50376f5efc673abd107afa6b670e37d560f43d
4
- data.tar.gz: 66fd91ac73d483e745e64e3d398f139445161ccb
3
+ metadata.gz: 5cf345a3f3fee7944f9153d93f1d1b2f2a2abccc
4
+ data.tar.gz: 44dbecb439473adbee6fead6cf0e4e7d2b37ba5b
5
5
  SHA512:
6
- metadata.gz: d6c66ad4ad56087f040f008b2e51774579952a58ccb1f961174e5b291c8ef8c0ddb06fb4357552260dd03068299cf46e803cef374fbaf64fcd6301f3f9833582
7
- data.tar.gz: 210b5606de396a35f4ce8d84515b8878fe2d82fca200af810265464caf1a85b82eaed7a9c1d6136cf59e46787fc127dd2e2c0bc7faa216b1a98cee68681e3bc2
6
+ metadata.gz: e469376a146a5ac73167da151ed1dccb1ce1d07369e8993a190d98c1bcfb810d56d856a3e8cd44cffff6e9cb40cbeea36fc738c616aef1168d9d2c2a3a2f2d22
7
+ data.tar.gz: 21f0f200aadc7b95c7a2876708adc792a8e95fdee7d66718b47f5fa4bf8a6a28aecff0a9cbe9965fc58539ff88ebd689b48ff9800e183669cd5cf7d057d91733
data/README.md CHANGED
@@ -115,7 +115,7 @@ An instrumented process dumps a reccommended config to the Rails logger.
115
115
 
116
116
  ``` sh
117
117
  [TuneMyGC] Syncing 688 snapshots
118
- [TuneMyGC] ==== Recommended GC configs from https://tunemygc.com/configs/d739119e4abc38d42e183d1361991818.json
118
+ [TuneMyGC] ==== Recommended GC configs from https://tunemygc.com/configs/d739119e4abc38d42e183d1361991818
119
119
  [TuneMyGC] export RUBY_GC_HEAP_INIT_SLOTS=382429
120
120
  [TuneMyGC] export RUBY_GC_HEAP_FREE_SLOTS=603850
121
121
  [TuneMyGC] export RUBY_GC_HEAP_GROWTH_FACTOR=1.2
@@ -26,7 +26,7 @@ module TuneMyGc
26
26
  if ENV['RUBY_GC_SPY']
27
27
  ENV['RUBY_GC_SPY'].classify
28
28
  else
29
- :ActionController
29
+ 'ActionController'
30
30
  end
31
31
  end
32
32
 
@@ -39,7 +39,7 @@ module TuneMyGc
39
39
  end
40
40
 
41
41
  def environment(snapshotter)
42
- ENVIRONMENT.dup.concat([snapshotter.stat_keys, TuneMyGc.spy])
42
+ ENVIRONMENT.dup.concat([snapshotter.stat_keys, TuneMyGc.spy.underscore])
43
43
  end
44
44
 
45
45
  private
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  module TuneMyGc
4
- VERSION = "1.0.9"
4
+ VERSION = "1.0.10"
5
5
  end
data/test/test_agent.rb CHANGED
@@ -12,7 +12,7 @@ class TestAgent < TuneMyGcTestCase
12
12
  end
13
13
 
14
14
  def test_spy
15
- assert_equal :ActionController, TuneMyGc.spy
15
+ assert_equal 'ActionController', TuneMyGc.spy
16
16
  ENV['RUBY_GC_SPY'] = "minitest"
17
17
  assert_equal 'Minitest', TuneMyGc.spy
18
18
  ensure
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tunemygc
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.9
4
+ version: 1.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bear Metal