akamai_ccu 1.4.0 → 1.4.1

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: 90eb919f024235aa67dcf1b4f028e9041179986f
4
- data.tar.gz: b4f679753d318e95e1bf2ee9633c8d29c95063a1
3
+ metadata.gz: 54fe3c8b980c14e50ef78c4789eab9e376609733
4
+ data.tar.gz: c1603bc6a64a685d5ba73eed5c968b3d02888373
5
5
  SHA512:
6
- metadata.gz: c2c87599dcbd0968571ecb7d303244a2f4b4f799520e3a352b4f20a2053bca5648c38bdbe3fca44db011a9d98a87b7e23d1d999acd59219ccf0800125881d359
7
- data.tar.gz: 7d905b042e620911b32817bc6841350cff1a518015e2c028bc9e9a56ddcafc1ab5e89bd6046b7b7f94cddd051d747fb0c7b6a4fe74105c757505bd2935843117
6
+ metadata.gz: 0b04c3c310a4db4c85e17dd638b78be47774b05caec0b4aeb4a3778a6df054aa387a97555b460d97ac128ddc97cc746a89158b766179ccfe24c6f6b2b0f2b103
7
+ data.tar.gz: e1517ac58e83c73cc563a7407da7e0e38824f58343ce370d2cf095a37638bbdec39fde099271de7c604cf2052a7a9affe2209d0c4cf2c08102138a7f44a96111
data/README.md CHANGED
@@ -65,7 +65,7 @@ gem install akamai_ccu
65
65
  This gem requires you have a valid Akamai Luna Control Center account, enabled to add APIs clients.
66
66
  Upon APIs client creation, you'll get the `client token` to be used to generate new APIs credentials data: these consist of a secret key, two token (client and access) and a dedicated host for API authorization.
67
67
  Check Akamai's [official documentation](https://developer.akamai.com/introduction/Conf_Client.html) for more details.
68
- Suffice to say you have two main options to import credentials data:
68
+ You have two main options to import credentials data:
69
69
 
70
70
  #### edgerc
71
71
  You can generate (using a script or by hand) an INI file named `.edgerc`:
@@ -117,7 +117,7 @@ AkamaiCCU::Wrapper.setup(secret)
117
117
 
118
118
  #### Edge network
119
119
  Purging actions runs on the `staging` network by default.
120
- Switch to production by just appending a shebang `!` on the method name.
120
+ Switch to `production` network by just appending a shebang `!` on the method name.
121
121
 
122
122
  #### Invalidating
123
123
  The CCU V3 APIs allow for invalidating contents by URLs or content provider (CP) codes: currently only the former relies on the Fast Purge Utility.
@@ -154,7 +154,7 @@ You can use the CLI by:
154
154
  Calling the help for the specific action:
155
155
  ```shell
156
156
  ccu_invalidate -h
157
- Usage: invalidate --edgerc=./.edgerc --production --cp="12345, 98765"
157
+ Usage: ccu_invalidate --edgerc=./.edgerc --production --cp="12345, 98765"
158
158
  -e, --edgerc=EDGERC Load secret by .edgerc file
159
159
  -t, --txt=TXT Load secret by TXT file
160
160
  -c, --cp=CP Specify contents by provider (CP) codes
@@ -54,7 +54,7 @@ module AkamaiCCU
54
54
 
55
55
  private def parser
56
56
  OptionParser.new do |opts|
57
- opts.banner = %Q{Usage: #{@action} --edgerc=./.edgerc --production --cp="12345, 98765"}
57
+ opts.banner = %Q{Usage: ccu_#{@action} --edgerc=./.edgerc --production --cp="12345, 98765"}
58
58
 
59
59
  opts.on("-eEDGERC", "--edgerc=EDGERC", "Load secret by .edgerc file") do |secret|
60
60
  @secret = File.expand_path(secret)
@@ -1,3 +1,3 @@
1
1
  module AkamaiCCU
2
- VERSION = "1.4.0"
2
+ VERSION = "1.4.1"
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.4.0
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - costajob