tunemygc 1.0.49 → 1.0.50

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f64a8df2641487e0f2e437e55248574f21767dc7
4
- data.tar.gz: b47de1dd1e22f8aee7dc05ab31b1d1cb224bfdfd
3
+ metadata.gz: 7ceaf0a2f19963e135724638974dd29b4f77c659
4
+ data.tar.gz: d526aea2a3f4c648656069be8c10fe0e7f6633d0
5
5
  SHA512:
6
- metadata.gz: f5942561a984cd4bd57b2687f8bbde059264ef243b4807a5c2ed192944f49b4e65389e62c109ab109372104e6fa7782c10cf74c46c1737bded29109721b02247
7
- data.tar.gz: e3c448aa1f782eeaf7d062b5e651b813650c728cc186299d928ee36ef09cd21d35124dcdb510d71c618a0e0b0eb5a9753bee2df9a895beae622a2666dd487e79
6
+ metadata.gz: a81a48b579ef74e2125da004fc45e9eafbfbc14e71564368717463c928d197a49fdafe0f4a72ea5d1ee353cb833cbfc465f829d43c465106ac423acb05554577
7
+ data.tar.gz: 1a56f4aa6bea981a54b0799c50959b2ff96396a2dd97ac1d2349b42e9f50718013596c3291408403ccc83907df577850554498241c85ce17e7090e7d41e33aac
@@ -17,7 +17,7 @@ module TuneMyGc
17
17
  end
18
18
 
19
19
  def check_uninstall
20
- if ENV["RUBY_GC_TUNE"]
20
+ if ENV["RUBY_GC_TUNE"] && ENV["RUBY_GC_TUNE"] != ""
21
21
  @limit ||= parse_gc_tune
22
22
  @processed += 1
23
23
  if @processed == @limit
@@ -22,7 +22,7 @@ module TuneMyGc
22
22
  end
23
23
 
24
24
  def self.current
25
- if ENV['RUBY_GC_SPY']
25
+ if ENV['RUBY_GC_SPY'] && ENV['RUBY_GC_SPY'] != ""
26
26
  ENV['RUBY_GC_SPY'].split(",").map do |spy|
27
27
  @spies[spy] || raise(NotImplementedError, "TuneMyGC spy #{spy} not supported. Valid spies are #{@spies.keys}")
28
28
  end
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  module TuneMyGc
4
- VERSION = "1.0.49"
4
+ VERSION = "1.0.50"
5
5
  end
data/lib/tunemygc.rb CHANGED
@@ -17,7 +17,7 @@ module TuneMyGc
17
17
  end
18
18
  end
19
19
 
20
- if ENV["RUBY_GC_TUNE"]
20
+ if ENV["RUBY_GC_TUNE"] && ENV["RUBY_GC_TUNE"] != ""
21
21
  if TuneMyGc.rails?
22
22
  puts "[TuneMyGC] Rails detected, loading railtie"
23
23
  require 'tunemygc/railtie'
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.49
4
+ version: 1.0.50
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bear Metal