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 +4 -4
- data/lib/pebblebed/http.rb +2 -1
- data/lib/pebblebed/version.rb +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: 66d63b2ec1484d233a764f03cf51005664d76732
|
4
|
+
data.tar.gz: 813c21e4be50a45fbd302ab4b7faf19bfef16ef0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 256195a3fa2efaeca8fccbe4eaabdf009eda29009f58a80014b98c58aa218d63bb37f69d0baa9fb358da7773ed2e2d9dc73685a15baa2fe6e5d5d5cf5e9a8352
|
7
|
+
data.tar.gz: 45a82affe2e587aa9fcf0e33dfd682659497a440e444f66b12fab4204bb17041df6fcd0d072569bd1d2702261f2af37131f43fea4f79b92504786a40da8e6b78
|
data/lib/pebblebed/http.rb
CHANGED
@@ -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 =
|
302
|
+
ip = Resolv.getaddress(uri.host)
|
302
303
|
"#{uri.scheme}://#{ip}:#{uri.port}"
|
303
304
|
end
|
304
305
|
|
data/lib/pebblebed/version.rb
CHANGED
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.
|
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-
|
12
|
+
date: 2018-05-31 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|