tunemygc 1.0.60 → 1.0.61
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/tunemygc/network.rb +7 -2
- data/lib/tunemygc/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4aef0f979f4a6d2a9dd419fb8af4f6ab356a5d54
|
4
|
+
data.tar.gz: 74b4b869497bfee42c2c14d06cc3c348010e52a6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c0ffd615e1e0fa14967247605c3d964517a21b53eac8f5563f4df53783f2779bffda84867ebbb601d7a3f3c24f76b53a18d9ea7cb34109dc84a0b368ac26f662
|
7
|
+
data.tar.gz: b4d11f31019f5655c93393faf74ef37298deef5a5978b0c46e65b0d3928d111be71910892c543c90d8647868a9a380bb5a6bacffe48f5bb9ccc1f58b38e444be
|
data/Gemfile.lock
CHANGED
data/lib/tunemygc/network.rb
CHANGED
@@ -4,8 +4,13 @@ require 'net/http'
|
|
4
4
|
require 'timeout'
|
5
5
|
require 'openssl'
|
6
6
|
|
7
|
-
|
8
|
-
|
7
|
+
# Ruby 2.1.x versions don't have OpenSSL::OPENSSL_LIBRARY_VERSION defined
|
8
|
+
ssl_version_const = OpenSSL.const_defined?(:OPENSSL_LIBRARY_VERSION) ? :OPENSSL_LIBRARY_VERSION : :OPENSSL_VERSION
|
9
|
+
ssl_version = OpenSSL.const_get(ssl_version_const).scan(/\d+\.\d+\.\d+/)[0]
|
10
|
+
if ssl_version.nil?
|
11
|
+
TuneMyGc.log "!!! could not determine OpenSSL version !!!"
|
12
|
+
elsif ssl_version < "1.0.1"
|
13
|
+
TuneMyGc.log "!!! and openssl version > 1.0.1 is required for syncing data with the configuration service !!!"
|
9
14
|
end
|
10
15
|
|
11
16
|
module TuneMyGc
|
data/lib/tunemygc/version.rb
CHANGED
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.
|
4
|
+
version: 1.0.61
|
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-
|
11
|
+
date: 2015-07-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -193,7 +193,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
193
193
|
version: '0'
|
194
194
|
requirements: []
|
195
195
|
rubyforge_project:
|
196
|
-
rubygems_version: 2.
|
196
|
+
rubygems_version: 2.2.2
|
197
197
|
signing_key:
|
198
198
|
specification_version: 4
|
199
199
|
summary: TuneMyGC - optimal MRI Ruby 2.1+ Garbage Collection
|