tunemygc 1.0.20 → 1.0.21
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tunemygc/agent.rb +4 -0
- data/lib/tunemygc/syncer.rb +2 -2
- 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: 0835ea9c7b907e38b0d816dd64d73cdea16215c0
|
4
|
+
data.tar.gz: 426c1f8515ba83dd3c021beb85ade70346f71ccc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d910a5911e19f611c4c6331d546019527d2ecb5987dcc91b644c00d55a21e1b915c71ce4fb47378d37067719e8f380e2e8bb25ed963e23663c0a4de509c9445b
|
7
|
+
data.tar.gz: f32c86c4b5303ecd93a32256d210ef5afd8d30b019c7d7c8fcfe82e2090fa0a9d479a203abbe73c11133f4aa5111fc1892ef4b9b1739e7cdb7b3d4faba4a8688
|
data/lib/tunemygc/agent.rb
CHANGED
data/lib/tunemygc/syncer.rb
CHANGED
@@ -4,7 +4,7 @@ require 'tunemygc/network'
|
|
4
4
|
|
5
5
|
module TuneMyGc
|
6
6
|
class Syncer
|
7
|
-
ENVIRONMENT = [ENV['RUBY_GC_TOKEN'], RUBY_VERSION,
|
7
|
+
ENVIRONMENT = [ENV['RUBY_GC_TOKEN'], RUBY_VERSION, TuneMyGc.rails_version, ENV.select {|k,v| k =~ /RUBY_GC_/ }, TuneMyGc::VERSION, GC::OPTS, GC::INTERNAL_CONSTANTS].freeze
|
8
8
|
|
9
9
|
attr_reader :uri, :client
|
10
10
|
|
@@ -64,7 +64,7 @@ module TuneMyGc
|
|
64
64
|
TuneMyGc.log "Invalid application token. Please generate one with 'bundle exec tunemygc <a_valid_email_address>' and set the RUBY_GC_TOKEN environment variable"
|
65
65
|
return false
|
66
66
|
elsif Net::HTTPNotImplemented === response
|
67
|
-
TuneMyGc.log "Ruby version #{RUBY_VERSION} or Rails version #{
|
67
|
+
TuneMyGc.log "Ruby version #{RUBY_VERSION} or Rails version #{TuneMyGc.rails_version} not supported. Failed to sync #{snapshots} snapshots"
|
68
68
|
return false
|
69
69
|
elsif Net::HTTPUpgradeRequired === response
|
70
70
|
TuneMyGc.log "Agent version #{response.body} required - please upgrade. Failed to sync #{snapshots} snapshots"
|
data/lib/tunemygc/version.rb
CHANGED