vcautils 0.7 → 0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/compute.rb +2 -2
- data/lib/vca.rb +5 -10
- data/lib/vchs.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YmQ3NTMzMWU1MTlkZmJkMGRjMDBkZjcyMDM1NmQ5NjYyZThkOGQ1NQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
Y2Q5YjYzYjVmNDQxY2EzZjJjMmNmMjhlZTA5N2Y5YTQ5OWUwMjY1Nw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MjA1NzM4NTJlOGIwZWE0NGM1NDBlMzZmNmE5ZTcxODhkOTc3ZjYzY2MwYjlk
|
10
|
+
Y2FmY2ZiNGNiNDc2YzkxYjkxNTI5ZGJhNjk0OGMyODYwOTkxNDQxMGU4MWQ0
|
11
|
+
M2MzMGQwYmU3ZDNiNjk3YmJhYzYxYmM3ZWUzODAwYzkyZjkyMmY=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NDcyOWRhZWFlZDZmZDk5MzI1NmI4OTNhMWMxMDk0ZjllMTEwZjllODBiZjY3
|
14
|
+
MTM4MmI2MWRkYWY4NGM2MjllOTE1NjMyNDhiNzg4MWIwNGEzYTc3NjMxYjE2
|
15
|
+
ZjhhZThlOWRjY2M1OWI4YzA2MGEwMjgxYWUzYWUyZTYzNjMyZWQ=
|
data/lib/compute.rb
CHANGED
@@ -10,8 +10,8 @@
|
|
10
10
|
|
11
11
|
|
12
12
|
#################################################################################
|
13
|
-
####
|
14
|
-
#### It leverages the
|
13
|
+
#### compute.rb is the front end program that presents a CLI interface ####
|
14
|
+
#### It leverages the compute-be.rb library ####
|
15
15
|
#################################################################################
|
16
16
|
|
17
17
|
|
data/lib/vca.rb
CHANGED
@@ -1,5 +1,3 @@
|
|
1
|
-
|
2
|
-
|
3
1
|
#################################################################################
|
4
2
|
#### Massimo Re Ferre' ####
|
5
3
|
#### www.it20.info ####
|
@@ -10,8 +8,8 @@
|
|
10
8
|
|
11
9
|
|
12
10
|
#################################################################################
|
13
|
-
####
|
14
|
-
#### It leverages the
|
11
|
+
#### vca.rb is the front end program (CLI) for the vca platform ####
|
12
|
+
#### It leverages the vca-be.rb library ####
|
15
13
|
#################################################################################
|
16
14
|
|
17
15
|
|
@@ -273,7 +271,6 @@ case $input0.chomp
|
|
273
271
|
|
274
272
|
|
275
273
|
|
276
|
-
##### This is done ########
|
277
274
|
when 'servicegroups'
|
278
275
|
servicegroupsarray = billing.servicegroups(token, serviceroot)
|
279
276
|
if mode == "developer" then puts JSON.pretty_generate(servicegroupsarray) end
|
@@ -302,7 +299,6 @@ case $input0.chomp
|
|
302
299
|
|
303
300
|
|
304
301
|
|
305
|
-
##### This is done ########
|
306
302
|
when 'billedcosts'
|
307
303
|
if $input1
|
308
304
|
servicegroupexists = false
|
@@ -339,7 +335,7 @@ case $input0.chomp
|
|
339
335
|
|
340
336
|
|
341
337
|
|
342
|
-
#####
|
338
|
+
##### TO BE TESTED #####
|
343
339
|
when 'billedusage'
|
344
340
|
if $input1
|
345
341
|
servicegroupexists = false
|
@@ -363,7 +359,6 @@ case $input0.chomp
|
|
363
359
|
|
364
360
|
|
365
361
|
|
366
|
-
##### This is done ########
|
367
362
|
when 'billablecosts'
|
368
363
|
if $input1
|
369
364
|
servicegroupexists = false
|
@@ -399,7 +394,7 @@ case $input0.chomp
|
|
399
394
|
|
400
395
|
|
401
396
|
|
402
|
-
#####
|
397
|
+
##### TO BE TESTED ########
|
403
398
|
when 'billableusage'
|
404
399
|
if $input1
|
405
400
|
instanceexists = false
|
@@ -434,7 +429,7 @@ case $input0.chomp
|
|
434
429
|
|
435
430
|
|
436
431
|
|
437
|
-
|
432
|
+
##### This allows for free form REST queries ########
|
438
433
|
when 'custom'
|
439
434
|
if $input1
|
440
435
|
customresult = misc.customquery(token, serviceroot, $input1, $input2)
|
data/lib/vchs.rb
CHANGED
@@ -8,8 +8,8 @@
|
|
8
8
|
|
9
9
|
|
10
10
|
#################################################################################
|
11
|
-
####
|
12
|
-
####
|
11
|
+
#### vchs.rb is the front end program (CLI) for the vchs platform ####
|
12
|
+
#### It leverages the vchs-be.rb library ####
|
13
13
|
#################################################################################
|
14
14
|
|
15
15
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vcautils
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '0.
|
4
|
+
version: '0.8'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Massimo Re Ferrè
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-09-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|