idcfcloud 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +0 -6
- data/lib/idcf/cli/conf/conf.yml +0 -6
- data/lib/idcf/cli/controller/compute.rb +0 -1
- data/lib/idcf/cli/version.rb +1 -1
- metadata +15 -17
- data/lib/idcf/cli/controller/cdn.rb +0 -40
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 1bb8951e3b1a60a866848d111e0d0ffb8ac77361699e274535ae7e03ef89c073
|
4
|
+
data.tar.gz: d15bbe63302c6c86d7608671496e1260d7e9261c0a9dbc65ad74d0d998bcc554
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 412d830d40d6e08627ca5a6493e3a0a309df6bf3e887b417336f7e18fc67968b542793f55ff4fe1e8884db6334912dea5e74d00f123c258b09c0ac26404a8951
|
7
|
+
data.tar.gz: 96a3e9bf2aad0f5509f22a40b2b78446d1f7177b4f6ddbe799efd1956dae45ae3ff5d1ca172bbf39b93afe905c99329be3bc3b71eb36b6f822180a6518b51791
|
data/README.md
CHANGED
@@ -70,8 +70,6 @@ idcfcloud your list_billing_history --json-path '$.data[?(@.month=="2017-10")]'
|
|
70
70
|
|
71
71
|
[ILB](#ilb)
|
72
72
|
|
73
|
-
[CDN](#cdn)
|
74
|
-
|
75
73
|
[DNS](#dns)
|
76
74
|
|
77
75
|
[Your](#your)
|
@@ -126,10 +124,6 @@ sslalgorithms_ids
|
|
126
124
|
$ idcfcloud ilb sslalgorithms_ids
|
127
125
|
```
|
128
126
|
|
129
|
-
### CDN<a name="cdn"></a>
|
130
|
-
|
131
|
-
https://www.idcf.jp/help/cache/docs/pdf/cache_api.pdf?cl=rd_0046
|
132
|
-
|
133
127
|
### DNS<a name="dns"></a>
|
134
128
|
|
135
129
|
http://docs.idcf.jp/cloud/dns/#s_fid=4FEB16B56007BA5C-0BFB42ABA668ADA8
|
data/lib/idcf/cli/conf/conf.yml
CHANGED
data/lib/idcf/cli/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: idcfcloud
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- IDC Frontier Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-10-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -192,22 +192,22 @@ dependencies:
|
|
192
192
|
name: inifile
|
193
193
|
requirement: !ruby/object:Gem::Requirement
|
194
194
|
requirements:
|
195
|
-
- - "~>"
|
196
|
-
- !ruby/object:Gem::Version
|
197
|
-
version: '3.0'
|
198
195
|
- - ">="
|
199
196
|
- !ruby/object:Gem::Version
|
200
197
|
version: 3.0.0
|
198
|
+
- - "~>"
|
199
|
+
- !ruby/object:Gem::Version
|
200
|
+
version: '3.0'
|
201
201
|
type: :runtime
|
202
202
|
prerelease: false
|
203
203
|
version_requirements: !ruby/object:Gem::Requirement
|
204
204
|
requirements:
|
205
|
-
- - "~>"
|
206
|
-
- !ruby/object:Gem::Version
|
207
|
-
version: '3.0'
|
208
205
|
- - ">="
|
209
206
|
- !ruby/object:Gem::Version
|
210
207
|
version: 3.0.0
|
208
|
+
- - "~>"
|
209
|
+
- !ruby/object:Gem::Version
|
210
|
+
version: '3.0'
|
211
211
|
- !ruby/object:Gem::Dependency
|
212
212
|
name: jsonpath
|
213
213
|
requirement: !ruby/object:Gem::Requirement
|
@@ -226,22 +226,22 @@ dependencies:
|
|
226
226
|
name: kosi
|
227
227
|
requirement: !ruby/object:Gem::Requirement
|
228
228
|
requirements:
|
229
|
-
- - "~>"
|
230
|
-
- !ruby/object:Gem::Version
|
231
|
-
version: '1.0'
|
232
229
|
- - ">="
|
233
230
|
- !ruby/object:Gem::Version
|
234
231
|
version: 1.0.0
|
232
|
+
- - "~>"
|
233
|
+
- !ruby/object:Gem::Version
|
234
|
+
version: '1.0'
|
235
235
|
type: :runtime
|
236
236
|
prerelease: false
|
237
237
|
version_requirements: !ruby/object:Gem::Requirement
|
238
238
|
requirements:
|
239
|
-
- - "~>"
|
240
|
-
- !ruby/object:Gem::Version
|
241
|
-
version: '1.0'
|
242
239
|
- - ">="
|
243
240
|
- !ruby/object:Gem::Version
|
244
241
|
version: 1.0.0
|
242
|
+
- - "~>"
|
243
|
+
- !ruby/object:Gem::Version
|
244
|
+
version: '1.0'
|
245
245
|
- !ruby/object:Gem::Dependency
|
246
246
|
name: open_uri_redirections
|
247
247
|
requirement: !ruby/object:Gem::Requirement
|
@@ -292,7 +292,6 @@ files:
|
|
292
292
|
- lib/idcf/cli/conf/conf.yml
|
293
293
|
- lib/idcf/cli/conf/const.rb
|
294
294
|
- lib/idcf/cli/controller/base.rb
|
295
|
-
- lib/idcf/cli/controller/cdn.rb
|
296
295
|
- lib/idcf/cli/controller/compute.rb
|
297
296
|
- lib/idcf/cli/controller/dns.rb
|
298
297
|
- lib/idcf/cli/controller/extend/command.rb
|
@@ -371,8 +370,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
371
370
|
- !ruby/object:Gem::Version
|
372
371
|
version: '0'
|
373
372
|
requirements: []
|
374
|
-
|
375
|
-
rubygems_version: 2.4.5.1
|
373
|
+
rubygems_version: 3.0.1
|
376
374
|
signing_key:
|
377
375
|
specification_version: 4
|
378
376
|
summary: IDCF Cli tools
|
@@ -1,40 +0,0 @@
|
|
1
|
-
require_relative './base'
|
2
|
-
require 'idcf/faraday_middleware/cdn_signature'
|
3
|
-
|
4
|
-
module Idcf
|
5
|
-
module Cli
|
6
|
-
module Controller
|
7
|
-
# CDN
|
8
|
-
class Cdn < Base
|
9
|
-
default_command :help
|
10
|
-
|
11
|
-
class_option :version,
|
12
|
-
desc: 'API Version'
|
13
|
-
|
14
|
-
class << self
|
15
|
-
def description
|
16
|
-
'Contents Cache Service'
|
17
|
-
end
|
18
|
-
end
|
19
|
-
|
20
|
-
protected
|
21
|
-
|
22
|
-
# signeture
|
23
|
-
#
|
24
|
-
# @return String
|
25
|
-
def signature
|
26
|
-
Idcf::FaradayMiddleware::CdnSignature
|
27
|
-
end
|
28
|
-
|
29
|
-
# raise api error msg
|
30
|
-
#
|
31
|
-
# @param res [Faraday::Responce]
|
32
|
-
# @return [String]
|
33
|
-
def raise_api_error_msg(res)
|
34
|
-
"HTTP status code: #{res.status}, " \
|
35
|
-
"Error message: #{res.body['messages']}, "
|
36
|
-
end
|
37
|
-
end
|
38
|
-
end
|
39
|
-
end
|
40
|
-
end
|