tunemygc 1.0.29 → 1.0.30

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: 2b3322396eb70abeaba2e2969162a556867e35ab
4
- data.tar.gz: 8486c6c7519dde4351a08f0c90da2e8436c78657
3
+ metadata.gz: 4c69038c984fb1266f0ac84cf2ee27fdbf88d5a3
4
+ data.tar.gz: 8f47bbb25c94954e4c0c1ca446ab5602e9c7e0fc
5
5
  SHA512:
6
- metadata.gz: 9046496070056457ab63fff97229aa3169ecc01817b52cb30236df1ea8bfe0bc3b310b550d77233c2a110b6bfd7aca6b70ca729b828bfa7848443fc5a19574c3
7
- data.tar.gz: e1c1662903bd5441e8684d1aeacdc7fbd09c4ffba56b29c31d68b33b638032dea7bdbebd83eea78b7e62033f9645816683b6eebe472f4fc65dea1e9244c6fc14
6
+ metadata.gz: c61b633def260021b522047110cc12c02755c1b4991ab25b30a050824840927a52c026cac40dc79eea292b39b5762828cc9881d6278a7ddc52a7cfbbd9238031
7
+ data.tar.gz: 191171930dce7f76ba6e029773eaccf1b3c9b5fce7f1c02ee70208d3842700a89953f9c2f9235272ccd4931d61e39a50ffc6e6426baf989d450da95066f2b540
@@ -93,10 +93,12 @@ module TuneMyGc
93
93
  end
94
94
 
95
95
  def process_config_callback(response)
96
+ report_url = nil
96
97
  config = client.get(URI(response.body).path)
97
- ActiveSupport::JSON.decode(config.body).merge('report' => response.body.gsub(/\.json$/, ''))
98
+ ActiveSupport::JSON.decode(config.body).merge('report' => report_url)
99
+ report_url = response.body.gsub(/\.json$/, '')
98
100
  rescue Exception => e
99
- TuneMyGc.log "Failed to process config callback url #{response.body} (error: #{e})"
101
+ TuneMyGc.log "Please visit #{report_url} to view your configuration and other Garbage Collector insights"
100
102
  return false
101
103
  end
102
104
  end
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  module TuneMyGc
4
- VERSION = "1.0.29"
4
+ VERSION = "1.0.30"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tunemygc
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.29
4
+ version: 1.0.30
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bear Metal
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-04 00:00:00.000000000 Z
11
+ date: 2015-03-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: certified