tunemygc 1.0.8 → 1.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tunemygc/configurator.rb +1 -1
- data/lib/tunemygc/syncer.rb +1 -1
- data/lib/tunemygc/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8a50376f5efc673abd107afa6b670e37d560f43d
|
4
|
+
data.tar.gz: 66fd91ac73d483e745e64e3d398f139445161ccb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d6c66ad4ad56087f040f008b2e51774579952a58ccb1f961174e5b291c8ef8c0ddb06fb4357552260dd03068299cf46e803cef374fbaf64fcd6301f3f9833582
|
7
|
+
data.tar.gz: 210b5606de396a35f4ce8d84515b8878fe2d82fca200af810265464caf1a85b82eaed7a9c1d6136cf59e46787fc127dd2e2c0bc7faa216b1a98cee68681e3bc2
|
@@ -10,7 +10,7 @@ module TuneMyGc
|
|
10
10
|
|
11
11
|
def configure
|
12
12
|
if Hash === config && !config.empty?
|
13
|
-
TuneMyGc.log "==== Recommended GC configs from #{config.delete("
|
13
|
+
TuneMyGc.log "==== Recommended GC configs from #{config.delete("report")}"
|
14
14
|
write_env("Speed")
|
15
15
|
end
|
16
16
|
end
|
data/lib/tunemygc/syncer.rb
CHANGED
@@ -97,7 +97,7 @@ module TuneMyGc
|
|
97
97
|
|
98
98
|
def process_config_callback(response)
|
99
99
|
config = client.get(URI(response.body).path)
|
100
|
-
ActiveSupport::JSON.decode(config.body).merge('
|
100
|
+
ActiveSupport::JSON.decode(config.body).merge('report' => response.body.gsub(/\.json$/, ''))
|
101
101
|
rescue Exception => e
|
102
102
|
TuneMyGc.log "Failed to process config callback url #{response.body} (error: #{e})"
|
103
103
|
return false
|
data/lib/tunemygc/version.rb
CHANGED