sunstone 1.4.1 → 1.4.2

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: 4f63c60a5044180a68a0770ee88a513a91ac5134
4
- data.tar.gz: 56a919ab836e477338b600753e76c7562f630191
3
+ metadata.gz: ef0d6f8a5dd996a87e21b86b638db230a9842f53
4
+ data.tar.gz: 06a574abd642f44a109774cae26764e852eaef66
5
5
  SHA512:
6
- metadata.gz: deefd362ef1eb979335db897e8f55e30e4fe3e15065d98097e42936e61f4afece459dca42b058583db5f1fe6b7771b41c001bca788226cd6043edb458355b435
7
- data.tar.gz: 11a2b914a14e171b5e6c6f3ddcf04c3bec772611d0ba75cae19128fb83080679085edf766d9a10547be87b0a4f718e460886c0705e8832e9c25b933a101d4ac1
6
+ metadata.gz: ee1cb3892767964dbd134a69f927f3b2f0a4206d8e7f256a58f61518a5314be574e8b15d869b9bddf8ac6b3e0d9eed826598fcdf1909b63228f31eb078230e67
7
+ data.tar.gz: 3dbfd06a90644e1e9da16b6f2d65510c0c23ff62a5aeb55e80dd2074a3416d2a09bba01cb4c7edae69020a839051f0695a9abbf481bad7a190ea32fcce038001
@@ -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")
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "sunstone"
3
- s.version = '1.4.1'
3
+ s.version = '1.4.2'
4
4
  s.authors = ["Jon Bracy"]
5
5
  s.email = ["jonbracy@gmail.com"]
6
6
  s.homepage = "http://sunstonerb.com"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sunstone
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.1
4
+ version: 1.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jon Bracy