akamai_ccu 1.3.8 → 1.3.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/lib/akamai_ccu/cli.rb +1 -1
- data/lib/akamai_ccu/version.rb +1 -1
- 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: a24bee1480f3f5e009ab732d5a0af9b1994fea05
|
4
|
+
data.tar.gz: a03462df7c7a34d56e9589ecc193b1a76c310f1a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bef943c60a6fe07f0cb5cb601f550a6f17b617392ba963afd32933f9a9efba331a9e469def5fb5318563ee015997b1f7139ec52ffea76548a41afebae8dbde0f
|
7
|
+
data.tar.gz: 9b0d155906efba022fe14127b091a0679473976f8948a14e74c4cb37f25c33329effd2aaa5d929ee3ecad9739ee7cec211cc17b92cf6c847de901c3432d9ab19
|
data/README.md
CHANGED
@@ -240,12 +240,12 @@ status=400; title=Bad request; detail=Invalid timestamp; request_id=2ce206fd; me
|
|
240
240
|
|
241
241
|
This happens since Akamai APIs only tolerate a clock skew of at most 30 seconds to defend against certain network attacks (described [here](https://community.akamai.com/docs/DOC-1336)).
|
242
242
|
In order to fix this annoying issue please do synchronize you server clock by:
|
243
|
-
* `NTP` if you are on
|
244
|
-
* `manually` versus an atomic clock site
|
243
|
+
* `NTP` versus a stratum 2 server, if you are running on UX OS
|
244
|
+
* `manually` versus an [atomic clock site](https://watches.uhrzeit.org/atomic-clock.php) by using your workstation GUI
|
245
245
|
|
246
246
|
#### No wildcard
|
247
247
|
Do keep in mind CCU V3 APIs doesn't support contents specification by wildcard.
|
248
248
|
|
249
249
|
#### Mixed bulk
|
250
|
-
When specifying contents by bulk on the CLI, you cannot include both CP codes and URLs resources on the same file.
|
250
|
+
When specifying contents by bulk on the CLI, you cannot include both CP codes and URLs resources on the same file.
|
251
251
|
The library tries to detect which mode to use basing on entries kind: mixing them will generate unexpected behaviour.
|
data/lib/akamai_ccu/cli.rb
CHANGED
@@ -21,7 +21,7 @@ module AkamaiCCU
|
|
21
21
|
|
22
22
|
def call
|
23
23
|
parser.parse!(@args)
|
24
|
-
return @logger.warn("specify contents to purge by bulk, CP codes or urls")
|
24
|
+
return @logger.warn("specify contents to purge by bulk, CP codes or urls") if Array(@objects).empty?
|
25
25
|
return @logger.warn("specify path to the secret file either by edgerc or by txt") unless @secret
|
26
26
|
return @logger.warn("specified secret file does not exist") unless File.exist?(@secret)
|
27
27
|
@wrapper_klass.setup(secret)
|
data/lib/akamai_ccu/version.rb
CHANGED