hammer_cli_katello 0.14.1 → 0.15.0

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 (39) hide show
  1. checksums.yaml +4 -4
  2. data/lib/hammer_cli_katello/apipie_helper.rb +15 -0
  3. data/lib/hammer_cli_katello/associating_commands.rb +6 -2
  4. data/lib/hammer_cli_katello/commands.rb +7 -0
  5. data/lib/hammer_cli_katello/content_view_purge.rb +1 -1
  6. data/lib/hammer_cli_katello/content_view_version.rb +238 -2
  7. data/lib/hammer_cli_katello/erratum.rb +4 -0
  8. data/lib/hammer_cli_katello/file.rb +4 -6
  9. data/lib/hammer_cli_katello/foreman_search_options_creators.rb +1 -1
  10. data/lib/hammer_cli_katello/id_resolver.rb +2 -0
  11. data/lib/hammer_cli_katello/local_helper.rb +9 -0
  12. data/lib/hammer_cli_katello/module_stream.rb +69 -0
  13. data/lib/hammer_cli_katello/module_stream_profile.rb +0 -0
  14. data/lib/hammer_cli_katello/ostree_branch.rb +4 -0
  15. data/lib/hammer_cli_katello/package_group.rb +4 -0
  16. data/lib/hammer_cli_katello/puppet_module.rb +4 -0
  17. data/lib/hammer_cli_katello/repository.rb +21 -7
  18. data/lib/hammer_cli_katello/repository_scoped_to_product.rb +3 -3
  19. data/lib/hammer_cli_katello/search_options_creators.rb +10 -2
  20. data/lib/hammer_cli_katello/sync_plan.rb +6 -8
  21. data/lib/hammer_cli_katello/version.rb +1 -1
  22. data/lib/hammer_cli_katello.rb +9 -0
  23. data/test/data/3.8/foreman_api.json +1 -1
  24. data/test/data/3.9/foreman_api.json +1 -0
  25. data/test/functional/apipie_helper_test.rb +26 -0
  26. data/test/functional/content_view/publish_test.rb +20 -0
  27. data/test/functional/content_view/version/export_test.rb +87 -0
  28. data/test/functional/content_view/version/import_test.rb +111 -0
  29. data/test/functional/content_view/version/incremental_update_test.rb +0 -0
  30. data/test/functional/local_helper_test.rb +30 -0
  31. data/test/functional/module_stream/info_test.rb +58 -0
  32. data/test/functional/module_stream/list_test.rb +53 -0
  33. data/test/functional/package_group/list_test.rb +14 -9
  34. data/test/functional/sync_plan/create_test.rb +60 -0
  35. data/test/functional/sync_plan/delete_test.rb +46 -0
  36. data/test/functional/sync_plan/update_test.rb +44 -0
  37. data/test/test_helper.rb +1 -1
  38. data/test/unit/search_options_creators_test.rb +4 -1
  39. metadata +30 -9
metadata CHANGED
@@ -1,12 +1,11 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hammer_cli_katello
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.1
4
+ version: 0.15.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Price
8
8
  - Adam Ruzicka
9
- - Anand Agrawal
10
9
  - Andrew Kofink
11
10
  - Brad Buckingham
12
11
  - Bryan Kearney
@@ -26,10 +25,8 @@ authors:
26
25
  - Og Maciel
27
26
  - Partha Aji
28
27
  - Pavel Moravec
29
- - Rahul Bajaj
30
28
  - Roman Plevka
31
29
  - Stephen Benjamin
32
- - Shira Maximov
33
30
  - Tomas Strachota
34
31
  - Tom McKay
35
32
  - Walden Raines
@@ -37,7 +34,7 @@ authors:
37
34
  autorequire:
38
35
  bindir: bin
39
36
  cert_chain: []
40
- date: 2018-09-04 00:00:00.000000000 Z
37
+ date: 2018-10-24 00:00:00.000000000 Z
41
38
  dependencies:
42
39
  - !ruby/object:Gem::Dependency
43
40
  name: hammer_cli_foreman
@@ -45,14 +42,14 @@ dependencies:
45
42
  requirements:
46
43
  - - "~>"
47
44
  - !ruby/object:Gem::Version
48
- version: 0.14.0
45
+ version: 0.15.0
49
46
  type: :runtime
50
47
  prerelease: false
51
48
  version_requirements: !ruby/object:Gem::Requirement
52
49
  requirements:
53
50
  - - "~>"
54
51
  - !ruby/object:Gem::Version
55
- version: 0.14.0
52
+ version: 0.15.0
56
53
  - !ruby/object:Gem::Dependency
57
54
  name: hammer_cli_foreman_tasks
58
55
  requirement: !ruby/object:Gem::Requirement
@@ -232,6 +229,7 @@ files:
232
229
  - config/katello.yml
233
230
  - lib/hammer_cli_katello.rb
234
231
  - lib/hammer_cli_katello/activation_key.rb
232
+ - lib/hammer_cli_katello/apipie_helper.rb
235
233
  - lib/hammer_cli_katello/associating_commands.rb
236
234
  - lib/hammer_cli_katello/capsule.rb
237
235
  - lib/hammer_cli_katello/commands.rb
@@ -270,6 +268,9 @@ files:
270
268
  - lib/hammer_cli_katello/lifecycle_environment.rb
271
269
  - lib/hammer_cli_katello/lifecycle_environment_name_mapping.rb
272
270
  - lib/hammer_cli_katello/lifecycle_environment_name_resolvable.rb
271
+ - lib/hammer_cli_katello/local_helper.rb
272
+ - lib/hammer_cli_katello/module_stream.rb
273
+ - lib/hammer_cli_katello/module_stream_profile.rb
273
274
  - lib/hammer_cli_katello/organization.rb
274
275
  - lib/hammer_cli_katello/organization_options.rb
275
276
  - lib/hammer_cli_katello/ostree_branch.rb
@@ -313,6 +314,7 @@ files:
313
314
  - test/data/3.6/foreman_api.json
314
315
  - test/data/3.7/foreman_api.json
315
316
  - test/data/3.8/foreman_api.json
317
+ - test/data/3.9/foreman_api.json
316
318
  - test/data/Readme.md
317
319
  - test/functional/activation_key/add_host_collection_test.rb
318
320
  - test/functional/activation_key/content_override_test.rb
@@ -322,6 +324,7 @@ files:
322
324
  - test/functional/activation_key/remove_host_collection_test.rb
323
325
  - test/functional/activation_key/subscriptions_test.rb
324
326
  - test/functional/activation_key/update_test.rb
327
+ - test/functional/apipie_helper_test.rb
325
328
  - test/functional/capsule/capsule_helpers.rb
326
329
  - test/functional/capsule/content/add_lifecycle_environment_test.rb
327
330
  - test/functional/capsule/content/cancel_synchronization_test.rb
@@ -358,6 +361,8 @@ files:
358
361
  - test/functional/content_view/remove_content_view_version_test.rb
359
362
  - test/functional/content_view/remove_test.rb
360
363
  - test/functional/content_view/update_test.rb
364
+ - test/functional/content_view/version/export_test.rb
365
+ - test/functional/content_view/version/import_test.rb
361
366
  - test/functional/content_view/version/incremental_update_test.rb
362
367
  - test/functional/content_view/version/list_test.rb
363
368
  - test/functional/content_view/version/promote_test.rb
@@ -408,6 +413,9 @@ files:
408
413
  - test/functional/lifecycle_environment/lifecycle_environment_helpers.rb
409
414
  - test/functional/lifecycle_environment/list_test.rb
410
415
  - test/functional/lifecycle_environment/update_test.rb
416
+ - test/functional/local_helper_test.rb
417
+ - test/functional/module_stream/info_test.rb
418
+ - test/functional/module_stream/list_test.rb
411
419
  - test/functional/organization/organization_helpers.rb
412
420
  - test/functional/package/list_test.rb
413
421
  - test/functional/package_group/list_test.rb
@@ -431,9 +439,12 @@ files:
431
439
  - test/functional/repository/upload_test.rb
432
440
  - test/functional/search_helpers.rb
433
441
  - test/functional/subscription/list_test.rb
442
+ - test/functional/sync_plan/create_test.rb
443
+ - test/functional/sync_plan/delete_test.rb
434
444
  - test/functional/sync_plan/info_test.rb
435
445
  - test/functional/sync_plan/list_test.rb
436
446
  - test/functional/sync_plan/sync_plan_helpers.rb
447
+ - test/functional/sync_plan/update_test.rb
437
448
  - test/functional/test_helper.rb
438
449
  - test/task_helper.rb
439
450
  - test/test_helper.rb
@@ -441,9 +452,9 @@ files:
441
452
  - test/unit/id_resolver_test.rb
442
453
  - test/unit/messages_test.rb
443
454
  - test/unit/search_options_creators_test.rb
444
- homepage: http://github.com/theforeman/hammer-cli-katello
455
+ homepage: https://github.com/Katello/hammer-cli-katello
445
456
  licenses:
446
- - GPL-3
457
+ - GPL-3.0
447
458
  metadata: {}
448
459
  post_install_message:
449
460
  rdoc_options: []
@@ -474,6 +485,7 @@ test_files:
474
485
  - test/data/3.6/foreman_api.json
475
486
  - test/data/3.7/foreman_api.json
476
487
  - test/data/3.8/foreman_api.json
488
+ - test/data/3.9/foreman_api.json
477
489
  - test/data/Readme.md
478
490
  - test/functional/activation_key/add_host_collection_test.rb
479
491
  - test/functional/activation_key/content_override_test.rb
@@ -483,6 +495,7 @@ test_files:
483
495
  - test/functional/activation_key/remove_host_collection_test.rb
484
496
  - test/functional/activation_key/subscriptions_test.rb
485
497
  - test/functional/activation_key/update_test.rb
498
+ - test/functional/apipie_helper_test.rb
486
499
  - test/functional/capsule/capsule_helpers.rb
487
500
  - test/functional/capsule/content/add_lifecycle_environment_test.rb
488
501
  - test/functional/capsule/content/cancel_synchronization_test.rb
@@ -519,6 +532,8 @@ test_files:
519
532
  - test/functional/content_view/remove_content_view_version_test.rb
520
533
  - test/functional/content_view/remove_test.rb
521
534
  - test/functional/content_view/update_test.rb
535
+ - test/functional/content_view/version/export_test.rb
536
+ - test/functional/content_view/version/import_test.rb
522
537
  - test/functional/content_view/version/incremental_update_test.rb
523
538
  - test/functional/content_view/version/list_test.rb
524
539
  - test/functional/content_view/version/promote_test.rb
@@ -569,6 +584,9 @@ test_files:
569
584
  - test/functional/lifecycle_environment/lifecycle_environment_helpers.rb
570
585
  - test/functional/lifecycle_environment/list_test.rb
571
586
  - test/functional/lifecycle_environment/update_test.rb
587
+ - test/functional/local_helper_test.rb
588
+ - test/functional/module_stream/info_test.rb
589
+ - test/functional/module_stream/list_test.rb
572
590
  - test/functional/organization/organization_helpers.rb
573
591
  - test/functional/package/list_test.rb
574
592
  - test/functional/package_group/list_test.rb
@@ -592,9 +610,12 @@ test_files:
592
610
  - test/functional/repository/upload_test.rb
593
611
  - test/functional/search_helpers.rb
594
612
  - test/functional/subscription/list_test.rb
613
+ - test/functional/sync_plan/create_test.rb
614
+ - test/functional/sync_plan/delete_test.rb
595
615
  - test/functional/sync_plan/info_test.rb
596
616
  - test/functional/sync_plan/list_test.rb
597
617
  - test/functional/sync_plan/sync_plan_helpers.rb
618
+ - test/functional/sync_plan/update_test.rb
598
619
  - test/functional/test_helper.rb
599
620
  - test/task_helper.rb
600
621
  - test/test_helper.rb