url_tokenizer 1.4.2 → 1.4.3
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/fastly_query_string.rb +2 -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: c7070484a1bcc11dad7b86b9365da2c8102d4422
|
4
|
+
data.tar.gz: 7452c8312db96f0a0d338b15b70f287f15d22c1e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ebf34917feb1232dfd931be7ef981d81f673b2e963399f2123506d021051d58d9e6cd92f95080a9bb6d46727ecb9c5bb3ca15b423986a44aafabd96315cd1666
|
7
|
+
data.tar.gz: 412317d4ad1b05393ebc552ef5616252e2795dd44fb0820eaa975216c006828ba5bf67c8c0efb232b609f10ec78267d6141048a762ba5b92328200a1ed3c0bb7
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.4.
|
1
|
+
1.4.3
|
@@ -13,8 +13,9 @@ module UrlTokenizer
|
|
13
13
|
|
14
14
|
token = digest [string_to_tokenize(uri), expiration].compact.join
|
15
15
|
token = [expiration, token].compact.join '_'
|
16
|
+
token = "token=#{token}"
|
16
17
|
|
17
|
-
params = parse_query_string(uri).merge(
|
18
|
+
params = parse_query_string(uri).merge(cdntoken: token)
|
18
19
|
|
19
20
|
uri.query = build_query params
|
20
21
|
uri.to_s
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: url_tokenizer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Paramonov
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-11-
|
11
|
+
date: 2017-11-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: facets
|