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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 19a81dd297a5d49bca7656a3435afcab2f1d5b07
4
- data.tar.gz: 4eaadb65d6437bf7b66b8612667e8143f5a756d1
3
+ metadata.gz: 4aef0f979f4a6d2a9dd419fb8af4f6ab356a5d54
4
+ data.tar.gz: 74b4b869497bfee42c2c14d06cc3c348010e52a6
5
5
  SHA512:
6
- metadata.gz: 3c9d12546b5ce55fad71198fc4c56e617382f6dd4acb61de9e88326cf12dfb7bf7ce19f8cf72369e2b3319328f6e3801a5d10710dece8dc4358f49c70bb608a1
7
- data.tar.gz: 21627845ef4763508e52aa467d927f77108a6a64165eab486f9452d96640549f337d504e071ea4dd17267d103b4d0d9d399d51f772d604197f4beb320e959749
6
+ metadata.gz: c0ffd615e1e0fa14967247605c3d964517a21b53eac8f5563f4df53783f2779bffda84867ebbb601d7a3f3c24f76b53a18d9ea7cb34109dc84a0b368ac26f662
7
+ data.tar.gz: b4d11f31019f5655c93393faf74ef37298deef5a5978b0c46e65b0d3928d111be71910892c543c90d8647868a9a380bb5a6bacffe48f5bb9ccc1f58b38e444be
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- tunemygc (1.0.59)
4
+ tunemygc (1.0.61)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -4,8 +4,13 @@ require 'net/http'
4
4
  require 'timeout'
5
5
  require 'openssl'
6
6
 
7
- if OpenSSL::VERSION < "1.0.1"
8
- TuneMyGc.log "!!! and openssl version > 1.0.1 is required for syncing data with the configuration service !!! "
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
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  module TuneMyGc
4
- VERSION = "1.0.60"
4
+ VERSION = "1.0.61"
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.60
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-06-18 00:00:00.000000000 Z
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.4.5
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