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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4fcccb0a88b158bc24bc53cab4cb73d0a05c0ef1
4
- data.tar.gz: 2af3e200c3e9dbdb92528add3cc87b0d43d074d1
3
+ metadata.gz: 8c75ef60510578fe67066f13b9b058e53d65f68d
4
+ data.tar.gz: 988273638a2b965e9f0b1ad9ad71cd75304c4346
5
5
  SHA512:
6
- metadata.gz: 60f87c572887cb612b3d7f8ba5c28fe896f1ea7f8f5c111d21e68435bb30892ecc50ca924b81306134d1bc898b01e3d4ae566291e967e51373441f6c2814d7ab
7
- data.tar.gz: 7a339a60eec91ffc08bfd329a6adcbec1d3ecf271827d98bad692bdc1185eacc4abed7835028ad17a26c216b99804b0e6d32c0e69c26d87b8709f9b902024aee
6
+ metadata.gz: 072d3bce9c16beeebb849cb3df93d42d2926f8f74fa4bf8cae95024199d7c47d77a9c1f3644b85384cb607dafaf5c19a07e7e52f94e4d522360b3de68c82269f
7
+ data.tar.gz: 4b047f31f71789407c93a64b1d7ede1b24855ab04cda430739a0e0ae486f360b862c4278a858175c1aa22a1f7e76cd04a8e7d8eb274cc58ce4d1252c525865e6
@@ -35,10 +35,8 @@ module Sunstone
35
35
  self.send(:"#{key}=", config[key])
36
36
  end
37
37
 
38
- @host = host
39
- @port = port
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
- # @connection.request(request) do |response|
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
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "sunstone"
3
- s.version = '1.4.3'
3
+ s.version = '1.4.4'
4
4
  s.authors = ["Jon Bracy"]
5
5
  s.email = ["jonbracy@gmail.com"]
6
6
  s.homepage = "http://sunstonerb.com"
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.3
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-23 00:00:00.000000000 Z
11
+ date: 2014-09-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake