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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b391acf5cc630f905fe9ec0b2b9b8a41bfa050ca
4
- data.tar.gz: a68c5fb3a6643330809dc6aaf427633779dd7567
3
+ metadata.gz: a24bee1480f3f5e009ab732d5a0af9b1994fea05
4
+ data.tar.gz: a03462df7c7a34d56e9589ecc193b1a76c310f1a
5
5
  SHA512:
6
- metadata.gz: af084a3c29b82a20a92bf651b89e84edeef63e55b4478b766c03d484abcfcbc8e04ea3efe91f832719b755d3a4198515b76b1394d2d3336ca34fe1ef9c14e5f4
7
- data.tar.gz: 271ce8ede89bb27f105a46aceb0808959b0e9b7ffcfd7e62d9a39f946afa8ff28a5d3b1882d431e3575080d659e30a48568220830188ace72e5df81a11ab724d
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 a UX server
244
- * `manually` versus an atomic clock site (check Internet) by using your workstation GUI
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.
@@ -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") unless @objects
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)
@@ -1,3 +1,3 @@
1
1
  module AkamaiCCU
2
- VERSION = "1.3.8"
2
+ VERSION = "1.3.9"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: akamai_ccu
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.8
4
+ version: 1.3.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - costajob