sunstone 1.4.3 → 1.4.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sunstone/connection.rb +3 -7
- data/sunstone.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8c75ef60510578fe67066f13b9b058e53d65f68d
|
4
|
+
data.tar.gz: 988273638a2b965e9f0b1ad9ad71cd75304c4346
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 072d3bce9c16beeebb849cb3df93d42d2926f8f74fa4bf8cae95024199d7c47d77a9c1f3644b85384cb607dafaf5c19a07e7e52f94e4d522360b3de68c82269f
|
7
|
+
data.tar.gz: 4b047f31f71789407c93a64b1d7ede1b24855ab04cda430739a0e0ae486f360b862c4278a858175c1aa22a1f7e76cd04a8e7d8eb274cc58ce4d1252c525865e6
|
data/lib/sunstone/connection.rb
CHANGED
@@ -35,10 +35,8 @@ module Sunstone
|
|
35
35
|
self.send(:"#{key}=", config[key])
|
36
36
|
end
|
37
37
|
|
38
|
-
@
|
39
|
-
@
|
40
|
-
# @connection = Net::HTTP.new(host, port)
|
41
|
-
# @connection.use_ssl = use_ssl
|
38
|
+
@connection = Net::HTTP.new(host, port)
|
39
|
+
@connection.use_ssl = use_ssl
|
42
40
|
end
|
43
41
|
|
44
42
|
# Ping the Sunstone. If everything is configured and operating correctly
|
@@ -117,9 +115,7 @@ module Sunstone
|
|
117
115
|
end
|
118
116
|
|
119
117
|
return_value = nil
|
120
|
-
|
121
|
-
Net::HTTP.new(@host, @port).request(request) do |response|
|
122
|
-
|
118
|
+
@connection.request(request) do |response|
|
123
119
|
if response['API-Version-Deprecated']
|
124
120
|
logger.warn("DEPRECATION WARNING: API v#{API_VERSION} is being phased out")
|
125
121
|
end
|
data/sunstone.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sunstone
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jon Bracy
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-09-
|
11
|
+
date: 2014-09-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|