vcautils 0.7 → 0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (5) hide show
  1. checksums.yaml +8 -8
  2. data/lib/compute.rb +2 -2
  3. data/lib/vca.rb +5 -10
  4. data/lib/vchs.rb +2 -2
  5. metadata +2 -2
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MDBhZDI5Y2FjYzczNWM4MDQxNzM1NzYyNTdkMzU4MzI1OWIwYmU3Mw==
4
+ YmQ3NTMzMWU1MTlkZmJkMGRjMDBkZjcyMDM1NmQ5NjYyZThkOGQ1NQ==
5
5
  data.tar.gz: !binary |-
6
- NThkYjYzZmJjYjU3ZDNlOTY4NGViNjk0YzE2ZmY5MDEwYzNjNWNlYg==
6
+ Y2Q5YjYzYjVmNDQxY2EzZjJjMmNmMjhlZTA5N2Y5YTQ5OWUwMjY1Nw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MjUzY2IzYzc3ODhhOTlmNTgzYmYwY2JmMTVhMzJmYzBlNTI3NTBmOGE0OTNk
10
- NjdhYjQwMjgxNjgzMjQ3NDBlYTE0MzkwOWQzNWI2YWVlOWJiYTM3YjMwYzkx
11
- NTliODNkMzkzMDc2MjAxZjA1NGZkNmYxMmIwMzYwOTQ0ZGJkYzc=
9
+ MjA1NzM4NTJlOGIwZWE0NGM1NDBlMzZmNmE5ZTcxODhkOTc3ZjYzY2MwYjlk
10
+ Y2FmY2ZiNGNiNDc2YzkxYjkxNTI5ZGJhNjk0OGMyODYwOTkxNDQxMGU4MWQ0
11
+ M2MzMGQwYmU3ZDNiNjk3YmJhYzYxYmM3ZWUzODAwYzkyZjkyMmY=
12
12
  data.tar.gz: !binary |-
13
- Y2RjYzVhMjkyM2M0OWEzOTAyOTJkOWYyMDVhNTJjNTQ5ZTQ1NmFhYzQ5MGNi
14
- OGY5N2FkYzQ3YzRhZDNlYjI0MzVjMTllYjcxYmE4OWY2MTViYmZlYTkzMWI5
15
- NmUxMDFmZjhlYWExMWFjMjY3YWQ5YjMxNWFkZjI0YzJkNGE0N2Y=
13
+ NDcyOWRhZWFlZDZmZDk5MzI1NmI4OTNhMWMxMDk0ZjllMTEwZjllODBiZjY3
14
+ MTM4MmI2MWRkYWY4NGM2MjllOTE1NjMyNDhiNzg4MWIwNGEzYTc3NjMxYjE2
15
+ ZjhhZThlOWRjY2M1OWI4YzA2MGEwMjgxYWUzYWUyZTYzNjMyZWQ=
@@ -10,8 +10,8 @@
10
10
 
11
11
 
12
12
  #################################################################################
13
- #### vcacompute.rb is the front end program that presents a CLI interface ####
14
- #### It leverages the vcautils library ####
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
- #### vcaondemand.rb is the front end program that presents a CLI interface ####
14
- #### It leverages the vcautils library ####
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
- ##### vCA RESPONDS WITH "NOT IMPLEMENTED" ########
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
- ##### doesn't work ########
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)
@@ -8,8 +8,8 @@
8
8
 
9
9
 
10
10
  #################################################################################
11
- #### vcasubscriptions.rb is the front end program for vCA Subscription ####
12
- #### It leverages the vcautils library ####
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.7'
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-07-29 00:00:00.000000000 Z
11
+ date: 2015-09-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty