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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 17fe4b5d020b7d151715d986ad3653c40791ec45
4
- data.tar.gz: 58ea98854871e3133169a6eb2fa2efb0defb8d80
3
+ metadata.gz: 8a50376f5efc673abd107afa6b670e37d560f43d
4
+ data.tar.gz: 66fd91ac73d483e745e64e3d398f139445161ccb
5
5
  SHA512:
6
- metadata.gz: 91b32891c422ecf16fddc1bf2381effe51587b306b5862a3f33d4471a272709ff6886d62b4a14959b75dd30fea073c81ea5bdba10940645d2d0b22e14cd5dc81
7
- data.tar.gz: 781db86331a4f1f50ab2614999eed6eb60deba79dbaf12399f5999e4622f17bb39a6d494f215571ce842c6cf2c7e5f9d04dd0ec0f34f84e17c68b54a8e41805b
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("callback")}"
13
+ TuneMyGc.log "==== Recommended GC configs from #{config.delete("report")}"
14
14
  write_env("Speed")
15
15
  end
16
16
  end
@@ -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('callback' => response.body)
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
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  module TuneMyGc
4
- VERSION = "1.0.8"
4
+ VERSION = "1.0.9"
5
5
  end
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.8
4
+ version: 1.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bear Metal