vsphere-automation-cis 0.4.5 → 0.4.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (195) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +20 -0
  3. data/lib/vsphere-automation-cis/version.rb +1 -1
  4. metadata +6 -286
  5. data/Gemfile +0 -13
  6. data/Gemfile.lock +0 -78
  7. data/README.md +0 -180
  8. data/Rakefile +0 -18
  9. data/docs/CisSessionCreateResult.md +0 -8
  10. data/docs/CisSessionInfo.md +0 -10
  11. data/docs/CisSessionResult.md +0 -8
  12. data/docs/CisTaggingCategoryAddToUsedBy.md +0 -8
  13. data/docs/CisTaggingCategoryCreate.md +0 -8
  14. data/docs/CisTaggingCategoryCreateResult.md +0 -8
  15. data/docs/CisTaggingCategoryCreateSpec.md +0 -12
  16. data/docs/CisTaggingCategoryListResult.md +0 -8
  17. data/docs/CisTaggingCategoryListUsedCategories.md +0 -8
  18. data/docs/CisTaggingCategoryListUsedCategoriesResult.md +0 -8
  19. data/docs/CisTaggingCategoryModel.md +0 -13
  20. data/docs/CisTaggingCategoryModelCardinality.md +0 -7
  21. data/docs/CisTaggingCategoryRemoveFromUsedBy.md +0 -8
  22. data/docs/CisTaggingCategoryResult.md +0 -8
  23. data/docs/CisTaggingCategoryUpdate.md +0 -8
  24. data/docs/CisTaggingCategoryUpdateSpec.md +0 -11
  25. data/docs/CisTaggingTagAddToUsedBy.md +0 -8
  26. data/docs/CisTaggingTagAssociationAttach.md +0 -8
  27. data/docs/CisTaggingTagAssociationAttachMultipleTagsToObject.md +0 -9
  28. data/docs/CisTaggingTagAssociationAttachMultipleTagsToObjectResult.md +0 -8
  29. data/docs/CisTaggingTagAssociationAttachTagToMultipleObjects.md +0 -8
  30. data/docs/CisTaggingTagAssociationAttachTagToMultipleObjectsResult.md +0 -8
  31. data/docs/CisTaggingTagAssociationBatchResult.md +0 -9
  32. data/docs/CisTaggingTagAssociationDetach.md +0 -8
  33. data/docs/CisTaggingTagAssociationDetachMultipleTagsFromObject.md +0 -9
  34. data/docs/CisTaggingTagAssociationDetachMultipleTagsFromObjectResult.md +0 -8
  35. data/docs/CisTaggingTagAssociationDetachTagFromMultipleObjects.md +0 -8
  36. data/docs/CisTaggingTagAssociationDetachTagFromMultipleObjectsResult.md +0 -8
  37. data/docs/CisTaggingTagAssociationListAttachableTags.md +0 -8
  38. data/docs/CisTaggingTagAssociationListAttachableTagsResult.md +0 -8
  39. data/docs/CisTaggingTagAssociationListAttachedObjectsOnTags.md +0 -8
  40. data/docs/CisTaggingTagAssociationListAttachedObjectsOnTagsResult.md +0 -8
  41. data/docs/CisTaggingTagAssociationListAttachedObjectsResult.md +0 -8
  42. data/docs/CisTaggingTagAssociationListAttachedTags.md +0 -8
  43. data/docs/CisTaggingTagAssociationListAttachedTagsOnObjects.md +0 -8
  44. data/docs/CisTaggingTagAssociationListAttachedTagsOnObjectsResult.md +0 -8
  45. data/docs/CisTaggingTagAssociationListAttachedTagsResult.md +0 -8
  46. data/docs/CisTaggingTagAssociationObjectToTags.md +0 -9
  47. data/docs/CisTaggingTagAssociationTagToObjects.md +0 -9
  48. data/docs/CisTaggingTagCreate.md +0 -8
  49. data/docs/CisTaggingTagCreateResult.md +0 -8
  50. data/docs/CisTaggingTagCreateSpec.md +0 -11
  51. data/docs/CisTaggingTagListResult.md +0 -8
  52. data/docs/CisTaggingTagListTagsForCategoryResult.md +0 -8
  53. data/docs/CisTaggingTagListUsedTags.md +0 -8
  54. data/docs/CisTaggingTagListUsedTagsResult.md +0 -8
  55. data/docs/CisTaggingTagModel.md +0 -12
  56. data/docs/CisTaggingTagRemoveFromUsedBy.md +0 -8
  57. data/docs/CisTaggingTagResult.md +0 -8
  58. data/docs/CisTaggingTagUpdate.md +0 -8
  59. data/docs/CisTaggingTagUpdateSpec.md +0 -9
  60. data/docs/CisTaskInfo.md +0 -19
  61. data/docs/CisTaskProgress.md +0 -10
  62. data/docs/CisTaskStatus.md +0 -7
  63. data/docs/CisTasksFilterSpec.md +0 -12
  64. data/docs/CisTasksGetSpec.md +0 -9
  65. data/docs/CisTasksListResult.md +0 -8
  66. data/docs/CisTasksListResultValue.md +0 -9
  67. data/docs/CisTasksResult.md +0 -8
  68. data/docs/FilterSpecTargets.md +0 -9
  69. data/docs/SessionApi.md +0 -151
  70. data/docs/TaggingCategoryApi.md +0 -464
  71. data/docs/TaggingTagApi.md +0 -515
  72. data/docs/TaggingTagAssociationApi.md +0 -575
  73. data/docs/TasksApi.md +0 -180
  74. data/docs/VapiStdDynamicID.md +0 -9
  75. data/docs/VapiStdErrorsAlreadyExists.md +0 -9
  76. data/docs/VapiStdErrorsAlreadyExistsError.md +0 -9
  77. data/docs/VapiStdErrorsError.md +0 -9
  78. data/docs/VapiStdErrorsErrorError.md +0 -9
  79. data/docs/VapiStdErrorsInvalidArgument.md +0 -9
  80. data/docs/VapiStdErrorsInvalidArgumentError.md +0 -9
  81. data/docs/VapiStdErrorsNotAllowedInCurrentState.md +0 -9
  82. data/docs/VapiStdErrorsNotAllowedInCurrentStateError.md +0 -9
  83. data/docs/VapiStdErrorsNotFound.md +0 -9
  84. data/docs/VapiStdErrorsNotFoundError.md +0 -9
  85. data/docs/VapiStdErrorsResourceInaccessible.md +0 -9
  86. data/docs/VapiStdErrorsResourceInaccessibleError.md +0 -9
  87. data/docs/VapiStdErrorsServiceUnavailable.md +0 -9
  88. data/docs/VapiStdErrorsServiceUnavailableError.md +0 -9
  89. data/docs/VapiStdErrorsUnauthenticated.md +0 -9
  90. data/docs/VapiStdErrorsUnauthenticatedError.md +0 -9
  91. data/docs/VapiStdErrorsUnauthorized.md +0 -9
  92. data/docs/VapiStdErrorsUnauthorizedError.md +0 -9
  93. data/docs/VapiStdErrorsUnsupported.md +0 -9
  94. data/docs/VapiStdErrorsUnsupportedError.md +0 -9
  95. data/docs/VapiStdLocalizableMessage.md +0 -10
  96. data/git_push.sh +0 -55
  97. data/lib/vsphere-automation-cis/api_client.rb +0 -260
  98. data/lib/vsphere-automation-cis/api_error.rb +0 -34
  99. data/lib/vsphere-automation-cis/configuration.rb +0 -212
  100. data/pkg/vsphere-automation-cis-0.4.1.gem +0 -0
  101. data/pkg/vsphere-automation-cis-0.4.2.gem +0 -0
  102. data/pkg/vsphere-automation-cis-0.4.3.gem +0 -0
  103. data/pkg/vsphere-automation-cis-0.4.4.gem +0 -0
  104. data/pkg/vsphere-automation-cis-0.4.5.gem +0 -0
  105. data/spec/api/session_api_spec.rb +0 -62
  106. data/spec/api/tagging_category_api_spec.rb +0 -132
  107. data/spec/api/tagging_tag_api_spec.rb +0 -143
  108. data/spec/api/tagging_tag_association_api_spec.rb +0 -156
  109. data/spec/api/tasks_api_spec.rb +0 -72
  110. data/spec/api_client_spec.rb +0 -248
  111. data/spec/configuration_spec.rb +0 -38
  112. data/spec/models/cis_session_create_result_spec.rb +0 -37
  113. data/spec/models/cis_session_info_spec.rb +0 -49
  114. data/spec/models/cis_session_result_spec.rb +0 -37
  115. data/spec/models/cis_tagging_category_add_to_used_by_spec.rb +0 -37
  116. data/spec/models/cis_tagging_category_create_result_spec.rb +0 -37
  117. data/spec/models/cis_tagging_category_create_spec.rb +0 -37
  118. data/spec/models/cis_tagging_category_create_spec_spec.rb +0 -61
  119. data/spec/models/cis_tagging_category_list_result_spec.rb +0 -37
  120. data/spec/models/cis_tagging_category_list_used_categories_result_spec.rb +0 -37
  121. data/spec/models/cis_tagging_category_list_used_categories_spec.rb +0 -37
  122. data/spec/models/cis_tagging_category_model_cardinality_spec.rb +0 -31
  123. data/spec/models/cis_tagging_category_model_spec.rb +0 -67
  124. data/spec/models/cis_tagging_category_remove_from_used_by_spec.rb +0 -37
  125. data/spec/models/cis_tagging_category_result_spec.rb +0 -37
  126. data/spec/models/cis_tagging_category_update_spec.rb +0 -37
  127. data/spec/models/cis_tagging_category_update_spec_spec.rb +0 -55
  128. data/spec/models/cis_tagging_tag_add_to_used_by_spec.rb +0 -37
  129. data/spec/models/cis_tagging_tag_association_attach_multiple_tags_to_object_result_spec.rb +0 -37
  130. data/spec/models/cis_tagging_tag_association_attach_multiple_tags_to_object_spec.rb +0 -43
  131. data/spec/models/cis_tagging_tag_association_attach_spec.rb +0 -37
  132. data/spec/models/cis_tagging_tag_association_attach_tag_to_multiple_objects_result_spec.rb +0 -37
  133. data/spec/models/cis_tagging_tag_association_attach_tag_to_multiple_objects_spec.rb +0 -37
  134. data/spec/models/cis_tagging_tag_association_batch_result_spec.rb +0 -43
  135. data/spec/models/cis_tagging_tag_association_detach_multiple_tags_from_object_result_spec.rb +0 -37
  136. data/spec/models/cis_tagging_tag_association_detach_multiple_tags_from_object_spec.rb +0 -43
  137. data/spec/models/cis_tagging_tag_association_detach_spec.rb +0 -37
  138. data/spec/models/cis_tagging_tag_association_detach_tag_from_multiple_objects_result_spec.rb +0 -37
  139. data/spec/models/cis_tagging_tag_association_detach_tag_from_multiple_objects_spec.rb +0 -37
  140. data/spec/models/cis_tagging_tag_association_list_attachable_tags_result_spec.rb +0 -37
  141. data/spec/models/cis_tagging_tag_association_list_attachable_tags_spec.rb +0 -37
  142. data/spec/models/cis_tagging_tag_association_list_attached_objects_on_tags_result_spec.rb +0 -37
  143. data/spec/models/cis_tagging_tag_association_list_attached_objects_on_tags_spec.rb +0 -37
  144. data/spec/models/cis_tagging_tag_association_list_attached_objects_result_spec.rb +0 -37
  145. data/spec/models/cis_tagging_tag_association_list_attached_tags_on_objects_result_spec.rb +0 -37
  146. data/spec/models/cis_tagging_tag_association_list_attached_tags_on_objects_spec.rb +0 -37
  147. data/spec/models/cis_tagging_tag_association_list_attached_tags_result_spec.rb +0 -37
  148. data/spec/models/cis_tagging_tag_association_list_attached_tags_spec.rb +0 -37
  149. data/spec/models/cis_tagging_tag_association_object_to_tags_spec.rb +0 -43
  150. data/spec/models/cis_tagging_tag_association_tag_to_objects_spec.rb +0 -43
  151. data/spec/models/cis_tagging_tag_create_result_spec.rb +0 -37
  152. data/spec/models/cis_tagging_tag_create_spec.rb +0 -37
  153. data/spec/models/cis_tagging_tag_create_spec_spec.rb +0 -55
  154. data/spec/models/cis_tagging_tag_list_result_spec.rb +0 -37
  155. data/spec/models/cis_tagging_tag_list_tags_for_category_result_spec.rb +0 -37
  156. data/spec/models/cis_tagging_tag_list_used_tags_result_spec.rb +0 -37
  157. data/spec/models/cis_tagging_tag_list_used_tags_spec.rb +0 -37
  158. data/spec/models/cis_tagging_tag_model_spec.rb +0 -61
  159. data/spec/models/cis_tagging_tag_remove_from_used_by_spec.rb +0 -37
  160. data/spec/models/cis_tagging_tag_result_spec.rb +0 -37
  161. data/spec/models/cis_tagging_tag_update_spec.rb +0 -37
  162. data/spec/models/cis_tagging_tag_update_spec_spec.rb +0 -43
  163. data/spec/models/cis_task_info_spec.rb +0 -103
  164. data/spec/models/cis_task_progress_spec.rb +0 -49
  165. data/spec/models/cis_task_status_spec.rb +0 -31
  166. data/spec/models/cis_tasks_filter_spec_spec.rb +0 -61
  167. data/spec/models/cis_tasks_get_spec_spec.rb +0 -43
  168. data/spec/models/cis_tasks_list_result_spec.rb +0 -37
  169. data/spec/models/cis_tasks_list_result_value_spec.rb +0 -43
  170. data/spec/models/cis_tasks_result_spec.rb +0 -37
  171. data/spec/models/filter_spec_targets_spec.rb +0 -43
  172. data/spec/models/vapi_std_dynamic_id_spec.rb +0 -43
  173. data/spec/models/vapi_std_errors_already_exists_error_spec.rb +0 -43
  174. data/spec/models/vapi_std_errors_already_exists_spec.rb +0 -43
  175. data/spec/models/vapi_std_errors_error_error_spec.rb +0 -43
  176. data/spec/models/vapi_std_errors_error_spec.rb +0 -43
  177. data/spec/models/vapi_std_errors_invalid_argument_error_spec.rb +0 -43
  178. data/spec/models/vapi_std_errors_invalid_argument_spec.rb +0 -43
  179. data/spec/models/vapi_std_errors_not_allowed_in_current_state_error_spec.rb +0 -43
  180. data/spec/models/vapi_std_errors_not_allowed_in_current_state_spec.rb +0 -43
  181. data/spec/models/vapi_std_errors_not_found_error_spec.rb +0 -43
  182. data/spec/models/vapi_std_errors_not_found_spec.rb +0 -43
  183. data/spec/models/vapi_std_errors_resource_inaccessible_error_spec.rb +0 -43
  184. data/spec/models/vapi_std_errors_resource_inaccessible_spec.rb +0 -43
  185. data/spec/models/vapi_std_errors_service_unavailable_error_spec.rb +0 -43
  186. data/spec/models/vapi_std_errors_service_unavailable_spec.rb +0 -43
  187. data/spec/models/vapi_std_errors_unauthenticated_error_spec.rb +0 -43
  188. data/spec/models/vapi_std_errors_unauthenticated_spec.rb +0 -43
  189. data/spec/models/vapi_std_errors_unauthorized_error_spec.rb +0 -43
  190. data/spec/models/vapi_std_errors_unauthorized_spec.rb +0 -43
  191. data/spec/models/vapi_std_errors_unsupported_error_spec.rb +0 -43
  192. data/spec/models/vapi_std_errors_unsupported_spec.rb +0 -43
  193. data/spec/models/vapi_std_localizable_message_spec.rb +0 -49
  194. data/spec/spec_helper.rb +0 -110
  195. data/vsphere-automation-cis.gemspec +0 -39
@@ -1,43 +0,0 @@
1
- # Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
2
- # SPDX-License-Identifier: MIT
3
-
4
- # DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
5
-
6
- # cis - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
-
8
-
9
- require 'spec_helper'
10
- require 'json'
11
- require 'date'
12
-
13
- # Unit tests for VSphereAutomation::CIS::VapiStdErrorsUnauthorizedError
14
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
15
- # Please update as you see appropriate
16
- describe 'VapiStdErrorsUnauthorizedError' do
17
- before do
18
- # run before each test
19
- @instance = VSphereAutomation::CIS::VapiStdErrorsUnauthorizedError.new
20
- end
21
-
22
- after do
23
- # run after each test
24
- end
25
-
26
- describe 'test an instance of VapiStdErrorsUnauthorizedError' do
27
- it 'should create an instance of VapiStdErrorsUnauthorizedError' do
28
- expect(@instance).to be_instance_of(VSphereAutomation::CIS::VapiStdErrorsUnauthorizedError)
29
- end
30
- end
31
- describe 'test attribute "type"' do
32
- it 'should work' do
33
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
34
- end
35
- end
36
-
37
- describe 'test attribute "value"' do
38
- it 'should work' do
39
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
40
- end
41
- end
42
-
43
- end
@@ -1,43 +0,0 @@
1
- # Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
2
- # SPDX-License-Identifier: MIT
3
-
4
- # DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
5
-
6
- # cis - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
-
8
-
9
- require 'spec_helper'
10
- require 'json'
11
- require 'date'
12
-
13
- # Unit tests for VSphereAutomation::CIS::VapiStdErrorsUnauthorized
14
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
15
- # Please update as you see appropriate
16
- describe 'VapiStdErrorsUnauthorized' do
17
- before do
18
- # run before each test
19
- @instance = VSphereAutomation::CIS::VapiStdErrorsUnauthorized.new
20
- end
21
-
22
- after do
23
- # run after each test
24
- end
25
-
26
- describe 'test an instance of VapiStdErrorsUnauthorized' do
27
- it 'should create an instance of VapiStdErrorsUnauthorized' do
28
- expect(@instance).to be_instance_of(VSphereAutomation::CIS::VapiStdErrorsUnauthorized)
29
- end
30
- end
31
- describe 'test attribute "messages"' do
32
- it 'should work' do
33
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
34
- end
35
- end
36
-
37
- describe 'test attribute "data"' do
38
- it 'should work' do
39
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
40
- end
41
- end
42
-
43
- end
@@ -1,43 +0,0 @@
1
- # Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
2
- # SPDX-License-Identifier: MIT
3
-
4
- # DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
5
-
6
- # cis - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
-
8
-
9
- require 'spec_helper'
10
- require 'json'
11
- require 'date'
12
-
13
- # Unit tests for VSphereAutomation::CIS::VapiStdErrorsUnsupportedError
14
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
15
- # Please update as you see appropriate
16
- describe 'VapiStdErrorsUnsupportedError' do
17
- before do
18
- # run before each test
19
- @instance = VSphereAutomation::CIS::VapiStdErrorsUnsupportedError.new
20
- end
21
-
22
- after do
23
- # run after each test
24
- end
25
-
26
- describe 'test an instance of VapiStdErrorsUnsupportedError' do
27
- it 'should create an instance of VapiStdErrorsUnsupportedError' do
28
- expect(@instance).to be_instance_of(VSphereAutomation::CIS::VapiStdErrorsUnsupportedError)
29
- end
30
- end
31
- describe 'test attribute "type"' do
32
- it 'should work' do
33
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
34
- end
35
- end
36
-
37
- describe 'test attribute "value"' do
38
- it 'should work' do
39
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
40
- end
41
- end
42
-
43
- end
@@ -1,43 +0,0 @@
1
- # Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
2
- # SPDX-License-Identifier: MIT
3
-
4
- # DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
5
-
6
- # cis - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
-
8
-
9
- require 'spec_helper'
10
- require 'json'
11
- require 'date'
12
-
13
- # Unit tests for VSphereAutomation::CIS::VapiStdErrorsUnsupported
14
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
15
- # Please update as you see appropriate
16
- describe 'VapiStdErrorsUnsupported' do
17
- before do
18
- # run before each test
19
- @instance = VSphereAutomation::CIS::VapiStdErrorsUnsupported.new
20
- end
21
-
22
- after do
23
- # run after each test
24
- end
25
-
26
- describe 'test an instance of VapiStdErrorsUnsupported' do
27
- it 'should create an instance of VapiStdErrorsUnsupported' do
28
- expect(@instance).to be_instance_of(VSphereAutomation::CIS::VapiStdErrorsUnsupported)
29
- end
30
- end
31
- describe 'test attribute "messages"' do
32
- it 'should work' do
33
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
34
- end
35
- end
36
-
37
- describe 'test attribute "data"' do
38
- it 'should work' do
39
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
40
- end
41
- end
42
-
43
- end
@@ -1,49 +0,0 @@
1
- # Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
2
- # SPDX-License-Identifier: MIT
3
-
4
- # DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
5
-
6
- # cis - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
-
8
-
9
- require 'spec_helper'
10
- require 'json'
11
- require 'date'
12
-
13
- # Unit tests for VSphereAutomation::CIS::VapiStdLocalizableMessage
14
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
15
- # Please update as you see appropriate
16
- describe 'VapiStdLocalizableMessage' do
17
- before do
18
- # run before each test
19
- @instance = VSphereAutomation::CIS::VapiStdLocalizableMessage.new
20
- end
21
-
22
- after do
23
- # run after each test
24
- end
25
-
26
- describe 'test an instance of VapiStdLocalizableMessage' do
27
- it 'should create an instance of VapiStdLocalizableMessage' do
28
- expect(@instance).to be_instance_of(VSphereAutomation::CIS::VapiStdLocalizableMessage)
29
- end
30
- end
31
- describe 'test attribute "id"' do
32
- it 'should work' do
33
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
34
- end
35
- end
36
-
37
- describe 'test attribute "default_message"' do
38
- it 'should work' do
39
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
40
- end
41
- end
42
-
43
- describe 'test attribute "args"' do
44
- it 'should work' do
45
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
46
- end
47
- end
48
-
49
- end
data/spec/spec_helper.rb DELETED
@@ -1,110 +0,0 @@
1
- # Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
2
- # SPDX-License-Identifier: MIT
3
-
4
- # DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
5
-
6
- # cis - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
-
8
-
9
- # load the gem
10
- require 'vsphere-automation-cis'
11
- require 'webmock/rspec'
12
-
13
- WebMock.disable_net_connect!(allow_localhost: true)
14
-
15
- # The following was generated by the `rspec --init` command. Conventionally, all
16
- # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
17
- # The generated `.rspec` file contains `--require spec_helper` which will cause
18
- # this file to always be loaded, without a need to explicitly require it in any
19
- # files.
20
- #
21
- # Given that it is always loaded, you are encouraged to keep this file as
22
- # light-weight as possible. Requiring heavyweight dependencies from this file
23
- # will add to the boot time of your test suite on EVERY test run, even for an
24
- # individual file that may not need all of that loaded. Instead, consider making
25
- # a separate helper file that requires the additional dependencies and performs
26
- # the additional setup, and require it from the spec files that actually need
27
- # it.
28
- #
29
- # The `.rspec` file also contains a few flags that are not defaults but that
30
- # users commonly want.
31
- #
32
- # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
33
- RSpec.configure do |config|
34
- # rspec-expectations config goes here. You can use an alternate
35
- # assertion/expectation library such as wrong or the stdlib/minitest
36
- # assertions if you prefer.
37
- config.expect_with :rspec do |expectations|
38
- # This option will default to `true` in RSpec 4. It makes the `description`
39
- # and `failure_message` of custom matchers include text for helper methods
40
- # defined using `chain`, e.g.:
41
- # be_bigger_than(2).and_smaller_than(4).description
42
- # # => "be bigger than 2 and smaller than 4"
43
- # ...rather than:
44
- # # => "be bigger than 2"
45
- expectations.include_chain_clauses_in_custom_matcher_descriptions = true
46
- end
47
-
48
- # rspec-mocks config goes here. You can use an alternate test double
49
- # library (such as bogus or mocha) by changing the `mock_with` option here.
50
- config.mock_with :rspec do |mocks|
51
- # Prevents you from mocking or stubbing a method that does not exist on
52
- # a real object. This is generally recommended, and will default to
53
- # `true` in RSpec 4.
54
- mocks.verify_partial_doubles = true
55
- end
56
-
57
- # The settings below are suggested to provide a good initial experience
58
- # with RSpec, but feel free to customize to your heart's content.
59
- =begin
60
- # These two settings work together to allow you to limit a spec run
61
- # to individual examples or groups you care about by tagging them with
62
- # `:focus` metadata. When nothing is tagged with `:focus`, all examples
63
- # get run.
64
- config.filter_run :focus
65
- config.run_all_when_everything_filtered = true
66
-
67
- # Allows RSpec to persist some state between runs in order to support
68
- # the `--only-failures` and `--next-failure` CLI options. We recommend
69
- # you configure your source control system to ignore this file.
70
- config.example_status_persistence_file_path = "spec/examples.txt"
71
-
72
- # Limits the available syntax to the non-monkey patched syntax that is
73
- # recommended. For more details, see:
74
- # - http://rspec.info/blog/2012/06/rspecs-new-expectation-syntax/
75
- # - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
76
- # - http://rspec.info/blog/2014/05/notable-changes-in-rspec-3/#zero-monkey-patching-mode
77
- config.disable_monkey_patching!
78
-
79
- # This setting enables warnings. It's recommended, but in some cases may
80
- # be too noisy due to issues in dependencies.
81
- config.warnings = true
82
-
83
- # Many RSpec users commonly either run the entire suite or an individual
84
- # file, and it's useful to allow more verbose output when running an
85
- # individual spec file.
86
- if config.files_to_run.one?
87
- # Use the documentation formatter for detailed output,
88
- # unless a formatter has already been configured
89
- # (e.g. via a command-line flag).
90
- config.default_formatter = 'doc'
91
- end
92
-
93
- # Print the 10 slowest examples and example groups at the
94
- # end of the spec run, to help surface which specs are running
95
- # particularly slow.
96
- config.profile_examples = 10
97
-
98
- # Run specs in random order to surface order dependencies. If you find an
99
- # order dependency and want to debug it, you can fix the order by providing
100
- # the seed, which is printed after each run.
101
- # --seed 1234
102
- config.order = :random
103
-
104
- # Seed global randomization in this process using the `--seed` CLI option.
105
- # Setting this allows you to use `--seed` to deterministically reproduce
106
- # test failures related to randomization by passing the same `--seed` value
107
- # as the one that triggered the failure.
108
- Kernel.srand config.seed
109
- =end
110
- end
@@ -1,39 +0,0 @@
1
- # -*- encoding: utf-8 -*-
2
-
3
- # Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
4
- # SPDX-License-Identifier: MIT
5
-
6
- # DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
7
-
8
- # cis - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
9
-
10
-
11
- $:.push File.expand_path("../lib", __FILE__)
12
- require "vsphere-automation-cis/version"
13
-
14
- Gem::Specification.new do |s|
15
- s.name = "vsphere-automation-cis"
16
- s.version = VSphereAutomation::CIS::VERSION
17
- s.platform = Gem::Platform::RUBY
18
- s.authors = ["J.R. Garcia"]
19
- s.email = ["jrg@vmware.com"]
20
- s.homepage = "https://github.com/vmware/vsphere-automation-sdk-ruby"
21
- s.summary = "A Ruby SDK for the vSphere REST APIs (CIS)"
22
- s.description = "A Ruby SDK for the vSphere REST APIs (CIS)"
23
- s.license = 'MIT'
24
- s.required_ruby_version = ">= 2.3"
25
- s.add_runtime_dependency 'vsphere-automation-runtime', '~> 0.4.5'
26
-
27
- s.add_development_dependency 'bundler', '~> 2.0'
28
- s.add_development_dependency 'pry', '~> 0.12.2'
29
- s.add_development_dependency 'rake', '~> 12.3'
30
- s.add_development_dependency 'rspec', '~> 3.7'
31
- s.add_development_dependency 'rubocop', '~> 0.73.0'
32
- s.add_development_dependency 'vcr', '~> 5.0'
33
- s.add_development_dependency 'webmock', '~> 3.6'
34
-
35
- s.files = `find *`.split("\n").uniq.sort.select { |f| !f.empty? }
36
- s.test_files = `find spec/*`.split("\n")
37
- s.executables = []
38
- s.require_paths = ["lib"]
39
- end