pebblebed 0.4.8 → 0.4.9

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: 2c4f02f22d36e635fa1b9e4cd2ad2147e4109838
4
- data.tar.gz: dccd0074c577c00bf41bab362c87d2e7160775cd
3
+ metadata.gz: 66d63b2ec1484d233a764f03cf51005664d76732
4
+ data.tar.gz: 813c21e4be50a45fbd302ab4b7faf19bfef16ef0
5
5
  SHA512:
6
- metadata.gz: 176311055e595f13967ca1e717c5b2cefd30bcb5540ac4c8b044dd21bc0e62de4e7d65a06ac7636aec135742faad4bca937b8ccaaa1de5b3e90cd9d9fd0d02ae
7
- data.tar.gz: 38df5252016a82d768f2ed22d94d59d7d43180add7ee719d7d19dff3fe7b34a1e5d827b828a739954b3009dd15066763c0f1a940e60af658d9c2d5ba4437b943
6
+ metadata.gz: 256195a3fa2efaeca8fccbe4eaabdf009eda29009f58a80014b98c58aa218d63bb37f69d0baa9fb358da7773ed2e2d9dc73685a15baa2fe6e5d5d5cf5e9a8352
7
+ data.tar.gz: 45a82affe2e587aa9fcf0e33dfd682659497a440e444f66b12fab4204bb17041df6fcd0d072569bd1d2702261f2af37131f43fea4f79b92504786a40da8e6b78
@@ -1,5 +1,6 @@
1
1
  # A wrapper for all low level http client stuff
2
2
 
3
+ require 'resolv'
3
4
  require 'uri'
4
5
  require 'excon'
5
6
  require 'yajl/json_gem'
@@ -298,7 +299,7 @@ module Pebblebed
298
299
  else
299
300
  uri = URI.parse(url)
300
301
  end
301
- ip = IPSocket.getaddress(uri.host)
302
+ ip = Resolv.getaddress(uri.host)
302
303
  "#{uri.scheme}://#{ip}:#{uri.port}"
303
304
  end
304
305
 
@@ -1,3 +1,3 @@
1
1
  module Pebblebed
2
- VERSION = "0.4.8"
2
+ VERSION = "0.4.9"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pebblebed
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.8
4
+ version: 0.4.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Katrina Owen
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-05-27 00:00:00.000000000 Z
12
+ date: 2018-05-31 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec