sunstone 1.4.1 → 1.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/sunstone/connection.rb +4 -3
- data/sunstone.gemspec +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: ef0d6f8a5dd996a87e21b86b638db230a9842f53
|
4
|
+
data.tar.gz: 06a574abd642f44a109774cae26764e852eaef66
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee1cb3892767964dbd134a69f927f3b2f0a4206d8e7f256a58f61518a5314be574e8b15d869b9bddf8ac6b3e0d9eed826598fcdf1909b63228f31eb078230e67
|
7
|
+
data.tar.gz: 3dbfd06a90644e1e9da16b6f2d65510c0c23ff62a5aeb55e80dd2074a3416d2a09bba01cb4c7edae69020a839051f0695a9abbf481bad7a190ea32fcce038001
|
data/lib/sunstone/connection.rb
CHANGED
@@ -35,8 +35,8 @@ module Sunstone
|
|
35
35
|
self.send(:"#{key}=", config[key])
|
36
36
|
end
|
37
37
|
|
38
|
-
@connection = Net::HTTP.new(host, port)
|
39
|
-
@connection.use_ssl = use_ssl
|
38
|
+
# @connection = Net::HTTP.new(host, port)
|
39
|
+
# @connection.use_ssl = use_ssl
|
40
40
|
end
|
41
41
|
|
42
42
|
# Ping the Sunstone. If everything is configured and operating correctly
|
@@ -115,7 +115,8 @@ module Sunstone
|
|
115
115
|
end
|
116
116
|
|
117
117
|
return_value = nil
|
118
|
-
@connection.request(request) do |response|
|
118
|
+
# @connection.request(request) do |response|
|
119
|
+
Net::HTTP.new(host, port).request(request) do |response|
|
119
120
|
|
120
121
|
if response['API-Version-Deprecated']
|
121
122
|
logger.warn("DEPRECATION WARNING: API v#{API_VERSION} is being phased out")
|
data/sunstone.gemspec
CHANGED