akamai-edgeauth 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/akamai/edgeauth.rb +3 -3
- 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: 3c168d1a62fef4a46c52e11622b51ea922afef99
|
4
|
+
data.tar.gz: 44c6086affcb003cbfa04a6af7cbcbc1e3cf95db
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f78c50b31c81faf505db9142e868e9c52847985756a1a214d635b393bc9524b182770ce7beaa2428055c66061aab885dd8a98941ce53b83ec0afc0caf3fc21c7
|
7
|
+
data.tar.gz: 36341c9a282da7ad03a8a10264cb6d8616132e44357f202bbbbdb43b036bb541b34e3576d6d2d4ae6cd93214b1f41a1524eee11115a580b910c98e69f5ae8e9e
|
data/lib/akamai/edgeauth.rb
CHANGED
@@ -144,7 +144,7 @@ module Akamai
|
|
144
144
|
new_token = Array.new
|
145
145
|
|
146
146
|
if ip
|
147
|
-
new_token.push('ip=%s' % _escapeEarly(ip))
|
147
|
+
new_token.push('ip=%s' % _escapeEarly(@ip))
|
148
148
|
end
|
149
149
|
if start_time
|
150
150
|
new_token.push('st=%s' % start_time)
|
@@ -155,10 +155,10 @@ module Akamai
|
|
155
155
|
new_token.push('acl=%s' % path)
|
156
156
|
end
|
157
157
|
if session_id
|
158
|
-
new_token.push('id=%s' % _escapeEarly(session_id))
|
158
|
+
new_token.push('id=%s' % _escapeEarly(@session_id))
|
159
159
|
end
|
160
160
|
if payload
|
161
|
-
new_token.push('data=%s' % _escapeEarly(payload))
|
161
|
+
new_token.push('data=%s' % _escapeEarly(@payload))
|
162
162
|
end
|
163
163
|
|
164
164
|
hash_code = new_token.clone
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: akamai-edgeauth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Astin Choi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-06-15 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Akamai-EdgeAuth is Akamai Edge Authorization Token for Ruby 2.0+
|
14
14
|
email: asciineo@gmail.com
|