url_tokenizer 1.1.3 → 1.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/url_tokenizer/wowza.rb +6 -4
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8184a52e7f3e497e444b12a011dbc15a75970c4b
|
4
|
+
data.tar.gz: 255ee09df27f9f4c9d48f45cb378540f3c4bf59d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ebee59503b6e4c16b168cf4ffcf73273deeb0c07efc65b1c913a62813d8267f698de57878ecf25cbe68a381797f473b00fac2a69fbde9f777bff1632b3ca44d
|
7
|
+
data.tar.gz: 0357a3504d3ffd143fd4f7223d911bb1aa0d873ef505c1956ea894745c93c9b094d38fb7a04b49abcd64d86b79bdffd93c98c6a4115c53a57473a3462439e456
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.4
|
data/lib/url_tokenizer/wowza.rb
CHANGED
@@ -35,10 +35,12 @@ module UrlTokenizer
|
|
35
35
|
end
|
36
36
|
|
37
37
|
def encode_query(url, provider_options)
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
38
|
+
pieces = build_query(provider_options).split('&')
|
39
|
+
pieces << key
|
40
|
+
|
41
|
+
query = pieces.compact.sort.join '&'
|
42
|
+
|
43
|
+
string_to_tokenize = "#{ url }?#{ query }"
|
42
44
|
|
43
45
|
build_query provider_options.merge(
|
44
46
|
wowzatokenhash: digest(string_to_tokenize)
|