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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ce71b791043ba196b8bab578a4eadafe383af62d
4
- data.tar.gz: 4b4e349346adc59a2c15623c1de0ac2e52c472af
3
+ metadata.gz: c7070484a1bcc11dad7b86b9365da2c8102d4422
4
+ data.tar.gz: 7452c8312db96f0a0d338b15b70f287f15d22c1e
5
5
  SHA512:
6
- metadata.gz: 5330592516c1d0da639877fba4983d39832d639caa65e084dca1d2d2441e0e39f65626fddba752d4978007bbfa53d65410aa9372367eba912b2456802aa8d5a8
7
- data.tar.gz: b2a1e8d5279e1c21090fbe5fbfbde022224f14b05f2de04d12400a1db457ab4d16c882c5e77ac1e986579e2d0d637b5af7b76e509d809416c2a408d0af2df72d
6
+ metadata.gz: ebf34917feb1232dfd931be7ef981d81f673b2e963399f2123506d021051d58d9e6cd92f95080a9bb6d46727ecb9c5bb3ca15b423986a44aafabd96315cd1666
7
+ data.tar.gz: 412317d4ad1b05393ebc552ef5616252e2795dd44fb0820eaa975216c006828ba5bf67c8c0efb232b609f10ec78267d6141048a762ba5b92328200a1ed3c0bb7
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.4.2
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(token: token)
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.2
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-23 00:00:00.000000000 Z
11
+ date: 2017-11-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: facets