distributed-press-api-client 0.5.0rc2 → 0.5.0rc3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/distributed_press/v1/social/client.rb +1 -1
- data/lib/distributed_press/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5e02ff077d2abf2abdfc55a7d71e425c4b1a951558b036dbb247dfc369518cf1
|
4
|
+
data.tar.gz: 0ec16a94b2363883abca06b6bdd46d8f593bbc01cc32801c40d8951b0d6815a3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4d3e9f5f978c5761c416f9817b598c320c68315609f626cdfccc13c765b5b198d1fd0d0765614ac65db613abc47891209ada12015e9f05bce0f3c37e4c3afaa6
|
7
|
+
data.tar.gz: 06d08f6ca0419ff3a0b33b682bf8d99e15c0a93cd9e7c49a0df226287040e768d5e020634d35d58bf58090826f6fba903bde17b26c6d805569b1acaa4b0b82c9
|
@@ -12,7 +12,7 @@ require_relative 'signed_headers'
|
|
12
12
|
# Retro-compatibility for URI < 0.12
|
13
13
|
unless URI.respond_to?(:encode_uri_component)
|
14
14
|
URI.class_eval do
|
15
|
-
def encode_uri_component(str, enc = nil)
|
15
|
+
def self.encode_uri_component(str, enc = nil)
|
16
16
|
encode_www_form_component(str, enc || Encoding::UTF_8).gsub('+', '%20')
|
17
17
|
end
|
18
18
|
end
|