harbor1_client 0.1.1 → 1.10.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +8 -8
- data/build/generate.sh +8 -0
- data/build/swagger-codegen-cli-ruby-config.json +12 -0
- data/git_push.sh +3 -3
- data/harbor1_client.gemspec +7 -7
- data/lib/harbor1_client/api/chart_repository_api.rb +1 -1
- data/lib/harbor1_client/api/label_api.rb +1 -1
- data/lib/harbor1_client/api/products_api.rb +1 -1
- data/lib/harbor1_client/api/quota_api.rb +1 -1
- data/lib/harbor1_client/api/retention_api.rb +1 -1
- data/lib/harbor1_client/api/robot_account_api.rb +1 -1
- data/lib/harbor1_client/api/scan_api.rb +1 -1
- data/lib/harbor1_client/api/scanners_api.rb +1 -1
- data/lib/harbor1_client/api/system_api.rb +1 -1
- data/lib/harbor1_client/api_client.rb +2 -2
- data/lib/harbor1_client/api_error.rb +1 -1
- data/lib/harbor1_client/configuration.rb +1 -1
- data/lib/harbor1_client/models/access_log.rb +1 -1
- data/lib/harbor1_client/models/action.rb +1 -1
- data/lib/harbor1_client/models/action_1.rb +1 -1
- data/lib/harbor1_client/models/admin_job_schedule.rb +1 -1
- data/lib/harbor1_client/models/admin_job_schedule_obj.rb +1 -1
- data/lib/harbor1_client/models/bad_request_formated_error.rb +1 -1
- data/lib/harbor1_client/models/bool_config_item.rb +1 -1
- data/lib/harbor1_client/models/chart_api_error.rb +1 -1
- data/lib/harbor1_client/models/chart_info_entry.rb +1 -1
- data/lib/harbor1_client/models/chart_info_list.rb +1 -1
- data/lib/harbor1_client/models/chart_metadata.rb +1 -1
- data/lib/harbor1_client/models/chart_version.rb +1 -1
- data/lib/harbor1_client/models/chart_version_details.rb +1 -1
- data/lib/harbor1_client/models/chart_versions.rb +1 -1
- data/lib/harbor1_client/models/component_health_status.rb +1 -1
- data/lib/harbor1_client/models/component_overview_entry.rb +1 -1
- data/lib/harbor1_client/models/configurations.rb +1 -1
- data/lib/harbor1_client/models/configurations_response.rb +3 -3
- data/lib/harbor1_client/models/configurations_scan_all_policy.rb +1 -1
- data/lib/harbor1_client/models/configurations_scan_all_policy_parameter.rb +1 -1
- data/lib/harbor1_client/models/conflict_formated_error.rb +1 -1
- data/lib/harbor1_client/models/cve_whitelist.rb +1 -1
- data/lib/harbor1_client/models/cve_whitelist_item.rb +1 -1
- data/lib/harbor1_client/models/dependency.rb +1 -1
- data/lib/harbor1_client/models/detailed_tag.rb +1 -1
- data/lib/harbor1_client/models/digital_signature.rb +1 -1
- data/lib/harbor1_client/models/email_server_setting.rb +1 -1
- data/lib/harbor1_client/models/endpoint.rb +1 -1
- data/lib/harbor1_client/models/filter_style.rb +1 -1
- data/lib/harbor1_client/models/forbidden_chart_api_error.rb +1 -1
- data/lib/harbor1_client/models/gc_result.rb +1 -1
- data/lib/harbor1_client/models/general_info.rb +1 -1
- data/lib/harbor1_client/models/general_info_clair_vulnerability_status.rb +1 -1
- data/lib/harbor1_client/models/has_admin_role.rb +1 -1
- data/lib/harbor1_client/models/immutable_tag_rule.rb +1 -1
- data/lib/harbor1_client/models/inline_response_200.rb +1 -1
- data/lib/harbor1_client/models/input_secret.rb +1 -1
- data/lib/harbor1_client/models/insufficient_storage_chart_api_error.rb +1 -1
- data/lib/harbor1_client/models/integer_config_item.rb +1 -1
- data/lib/harbor1_client/models/internal_chart_api_error.rb +1 -1
- data/lib/harbor1_client/models/is_default.rb +1 -1
- data/lib/harbor1_client/models/job_status.rb +1 -1
- data/lib/harbor1_client/models/label.rb +1 -1
- data/lib/harbor1_client/models/labels.rb +1 -1
- data/lib/harbor1_client/models/ldap_conf.rb +1 -1
- data/lib/harbor1_client/models/ldap_failed_import_users.rb +1 -1
- data/lib/harbor1_client/models/ldap_import_users.rb +1 -1
- data/lib/harbor1_client/models/ldap_users.rb +1 -1
- data/lib/harbor1_client/models/manifest.rb +1 -1
- data/lib/harbor1_client/models/namespace.rb +1 -1
- data/lib/harbor1_client/models/native_report_summary.rb +1 -1
- data/lib/harbor1_client/models/not_found_chart_api_error.rb +1 -1
- data/lib/harbor1_client/models/overall_health_status.rb +1 -1
- data/lib/harbor1_client/models/password.rb +1 -1
- data/lib/harbor1_client/models/permission.rb +1 -1
- data/lib/harbor1_client/models/ping_registry.rb +1 -1
- data/lib/harbor1_client/models/project.rb +1 -1
- data/lib/harbor1_client/models/project_member.rb +1 -1
- data/lib/harbor1_client/models/project_member_entity.rb +1 -1
- data/lib/harbor1_client/models/project_metadata.rb +1 -1
- data/lib/harbor1_client/models/project_req.rb +1 -1
- data/lib/harbor1_client/models/project_scanner.rb +1 -1
- data/lib/harbor1_client/models/project_summary.rb +1 -1
- data/lib/harbor1_client/models/project_summary_quota.rb +1 -1
- data/lib/harbor1_client/models/put_registry.rb +1 -1
- data/lib/harbor1_client/models/quota.rb +1 -1
- data/lib/harbor1_client/models/quota_ref_object.rb +1 -1
- data/lib/harbor1_client/models/quota_switcher.rb +1 -1
- data/lib/harbor1_client/models/quota_update_req.rb +1 -1
- data/lib/harbor1_client/models/registry.rb +1 -1
- data/lib/harbor1_client/models/registry_credential.rb +1 -1
- data/lib/harbor1_client/models/registry_info.rb +1 -1
- data/lib/harbor1_client/models/replication_execution.rb +1 -1
- data/lib/harbor1_client/models/replication_filter.rb +1 -1
- data/lib/harbor1_client/models/replication_policy.rb +1 -1
- data/lib/harbor1_client/models/replication_task.rb +1 -1
- data/lib/harbor1_client/models/replication_trigger.rb +1 -1
- data/lib/harbor1_client/models/repo_signature.rb +1 -1
- data/lib/harbor1_client/models/report.rb +1 -1
- data/lib/harbor1_client/models/repository.rb +1 -1
- data/lib/harbor1_client/models/repository_description.rb +1 -1
- data/lib/harbor1_client/models/resource.rb +1 -1
- data/lib/harbor1_client/models/resource_list.rb +1 -1
- data/lib/harbor1_client/models/retag_req.rb +1 -1
- data/lib/harbor1_client/models/retention_execution.rb +1 -1
- data/lib/harbor1_client/models/retention_execution_task.rb +1 -1
- data/lib/harbor1_client/models/retention_metadata.rb +1 -1
- data/lib/harbor1_client/models/retention_policy.rb +1 -1
- data/lib/harbor1_client/models/retention_policy_scope.rb +1 -1
- data/lib/harbor1_client/models/retention_rule.rb +1 -1
- data/lib/harbor1_client/models/retention_rule_metadata.rb +1 -1
- data/lib/harbor1_client/models/retention_rule_param_metadata.rb +1 -1
- data/lib/harbor1_client/models/retention_rule_trigger.rb +1 -1
- data/lib/harbor1_client/models/retention_selector.rb +1 -1
- data/lib/harbor1_client/models/retention_selector_metadata.rb +1 -1
- data/lib/harbor1_client/models/robot_account.rb +1 -1
- data/lib/harbor1_client/models/robot_account_access.rb +1 -1
- data/lib/harbor1_client/models/robot_account_create.rb +1 -1
- data/lib/harbor1_client/models/robot_account_post_rep.rb +1 -1
- data/lib/harbor1_client/models/robot_account_update.rb +1 -1
- data/lib/harbor1_client/models/role.rb +1 -1
- data/lib/harbor1_client/models/role_param.rb +1 -1
- data/lib/harbor1_client/models/role_request.rb +1 -1
- data/lib/harbor1_client/models/scan_overview.rb +1 -1
- data/lib/harbor1_client/models/scanner.rb +1 -1
- data/lib/harbor1_client/models/scanner_adapter_metadata.rb +1 -1
- data/lib/harbor1_client/models/scanner_capability.rb +1 -1
- data/lib/harbor1_client/models/scanner_registration.rb +1 -1
- data/lib/harbor1_client/models/scanner_registration_req.rb +1 -1
- data/lib/harbor1_client/models/scanner_registration_settings.rb +1 -1
- data/lib/harbor1_client/models/search.rb +1 -1
- data/lib/harbor1_client/models/search_repository.rb +1 -1
- data/lib/harbor1_client/models/search_result.rb +1 -1
- data/lib/harbor1_client/models/security_report.rb +1 -1
- data/lib/harbor1_client/models/statistic_map.rb +1 -1
- data/lib/harbor1_client/models/stats.rb +1 -1
- data/lib/harbor1_client/models/storage.rb +1 -1
- data/lib/harbor1_client/models/string_config_item.rb +1 -1
- data/lib/harbor1_client/models/system_info.rb +1 -1
- data/lib/harbor1_client/models/tags.rb +1 -1
- data/lib/harbor1_client/models/trigger_settings.rb +1 -1
- data/lib/harbor1_client/models/unauthorized_chart_api_error.rb +1 -1
- data/lib/harbor1_client/models/user.rb +1 -1
- data/lib/harbor1_client/models/user_entity.rb +1 -1
- data/lib/harbor1_client/models/user_group.rb +1 -1
- data/lib/harbor1_client/models/user_profile.rb +1 -1
- data/lib/harbor1_client/models/user_search.rb +1 -1
- data/lib/harbor1_client/models/vuln_namespace_timestamp.rb +1 -1
- data/lib/harbor1_client/models/vulnerability_item.rb +1 -1
- data/lib/harbor1_client/models/vulnerability_summary.rb +1 -1
- data/lib/harbor1_client/models/webhook_job.rb +1 -1
- data/lib/harbor1_client/models/webhook_last_trigger.rb +1 -1
- data/lib/harbor1_client/models/webhook_policy.rb +1 -1
- data/lib/harbor1_client/models/webhook_target_object.rb +1 -1
- data/lib/harbor1_client/version.rb +2 -2
- data/lib/harbor1_client.rb +1 -1
- data/spec/api/chart_repository_api_spec.rb +1 -1
- data/spec/api/label_api_spec.rb +1 -1
- data/spec/api/products_api_spec.rb +1 -1
- data/spec/api/quota_api_spec.rb +1 -1
- data/spec/api/retention_api_spec.rb +1 -1
- data/spec/api/robot_account_api_spec.rb +1 -1
- data/spec/api/scan_api_spec.rb +1 -1
- data/spec/api/scanners_api_spec.rb +1 -1
- data/spec/api/system_api_spec.rb +1 -1
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/access_log_spec.rb +1 -1
- data/spec/models/action_1_spec.rb +1 -1
- data/spec/models/action_spec.rb +1 -1
- data/spec/models/admin_job_schedule_obj_spec.rb +1 -1
- data/spec/models/admin_job_schedule_spec.rb +1 -1
- data/spec/models/bad_request_formated_error_spec.rb +1 -1
- data/spec/models/bool_config_item_spec.rb +1 -1
- data/spec/models/chart_api_error_spec.rb +1 -1
- data/spec/models/chart_info_entry_spec.rb +1 -1
- data/spec/models/chart_info_list_spec.rb +1 -1
- data/spec/models/chart_metadata_spec.rb +1 -1
- data/spec/models/chart_version_details_spec.rb +1 -1
- data/spec/models/chart_version_spec.rb +1 -1
- data/spec/models/chart_versions_spec.rb +1 -1
- data/spec/models/component_health_status_spec.rb +1 -1
- data/spec/models/component_overview_entry_spec.rb +1 -1
- data/spec/models/configurations_response_spec.rb +1 -1
- data/spec/models/configurations_scan_all_policy_parameter_spec.rb +1 -1
- data/spec/models/configurations_scan_all_policy_spec.rb +1 -1
- data/spec/models/configurations_spec.rb +1 -1
- data/spec/models/conflict_formated_error_spec.rb +1 -1
- data/spec/models/cve_whitelist_item_spec.rb +1 -1
- data/spec/models/cve_whitelist_spec.rb +1 -1
- data/spec/models/dependency_spec.rb +1 -1
- data/spec/models/detailed_tag_spec.rb +1 -1
- data/spec/models/digital_signature_spec.rb +1 -1
- data/spec/models/email_server_setting_spec.rb +1 -1
- data/spec/models/endpoint_spec.rb +1 -1
- data/spec/models/filter_style_spec.rb +1 -1
- data/spec/models/forbidden_chart_api_error_spec.rb +1 -1
- data/spec/models/gc_result_spec.rb +1 -1
- data/spec/models/general_info_clair_vulnerability_status_spec.rb +1 -1
- data/spec/models/general_info_spec.rb +1 -1
- data/spec/models/has_admin_role_spec.rb +1 -1
- data/spec/models/immutable_tag_rule_spec.rb +1 -1
- data/spec/models/inline_response_200_spec.rb +1 -1
- data/spec/models/input_secret_spec.rb +1 -1
- data/spec/models/insufficient_storage_chart_api_error_spec.rb +1 -1
- data/spec/models/integer_config_item_spec.rb +1 -1
- data/spec/models/internal_chart_api_error_spec.rb +1 -1
- data/spec/models/is_default_spec.rb +1 -1
- data/spec/models/job_status_spec.rb +1 -1
- data/spec/models/label_spec.rb +1 -1
- data/spec/models/labels_spec.rb +1 -1
- data/spec/models/ldap_conf_spec.rb +1 -1
- data/spec/models/ldap_failed_import_users_spec.rb +1 -1
- data/spec/models/ldap_import_users_spec.rb +1 -1
- data/spec/models/ldap_users_spec.rb +1 -1
- data/spec/models/manifest_spec.rb +1 -1
- data/spec/models/namespace_spec.rb +1 -1
- data/spec/models/native_report_summary_spec.rb +1 -1
- data/spec/models/not_found_chart_api_error_spec.rb +1 -1
- data/spec/models/overall_health_status_spec.rb +1 -1
- data/spec/models/password_spec.rb +1 -1
- data/spec/models/permission_spec.rb +1 -1
- data/spec/models/ping_registry_spec.rb +1 -1
- data/spec/models/project_member_entity_spec.rb +1 -1
- data/spec/models/project_member_spec.rb +1 -1
- data/spec/models/project_metadata_spec.rb +1 -1
- data/spec/models/project_req_spec.rb +1 -1
- data/spec/models/project_scanner_spec.rb +1 -1
- data/spec/models/project_spec.rb +1 -1
- data/spec/models/project_summary_quota_spec.rb +1 -1
- data/spec/models/project_summary_spec.rb +1 -1
- data/spec/models/put_registry_spec.rb +1 -1
- data/spec/models/quota_ref_object_spec.rb +1 -1
- data/spec/models/quota_spec.rb +1 -1
- data/spec/models/quota_switcher_spec.rb +1 -1
- data/spec/models/quota_update_req_spec.rb +1 -1
- data/spec/models/registry_credential_spec.rb +1 -1
- data/spec/models/registry_info_spec.rb +1 -1
- data/spec/models/registry_spec.rb +1 -1
- data/spec/models/replication_execution_spec.rb +1 -1
- data/spec/models/replication_filter_spec.rb +1 -1
- data/spec/models/replication_policy_spec.rb +1 -1
- data/spec/models/replication_task_spec.rb +1 -1
- data/spec/models/replication_trigger_spec.rb +1 -1
- data/spec/models/repo_signature_spec.rb +1 -1
- data/spec/models/report_spec.rb +1 -1
- data/spec/models/repository_description_spec.rb +1 -1
- data/spec/models/repository_spec.rb +1 -1
- data/spec/models/resource_list_spec.rb +1 -1
- data/spec/models/resource_spec.rb +1 -1
- data/spec/models/retag_req_spec.rb +1 -1
- data/spec/models/retention_execution_spec.rb +1 -1
- data/spec/models/retention_execution_task_spec.rb +1 -1
- data/spec/models/retention_metadata_spec.rb +1 -1
- data/spec/models/retention_policy_scope_spec.rb +1 -1
- data/spec/models/retention_policy_spec.rb +1 -1
- data/spec/models/retention_rule_metadata_spec.rb +1 -1
- data/spec/models/retention_rule_param_metadata_spec.rb +1 -1
- data/spec/models/retention_rule_spec.rb +1 -1
- data/spec/models/retention_rule_trigger_spec.rb +1 -1
- data/spec/models/retention_selector_metadata_spec.rb +1 -1
- data/spec/models/retention_selector_spec.rb +1 -1
- data/spec/models/robot_account_access_spec.rb +1 -1
- data/spec/models/robot_account_create_spec.rb +1 -1
- data/spec/models/robot_account_post_rep_spec.rb +1 -1
- data/spec/models/robot_account_spec.rb +1 -1
- data/spec/models/robot_account_update_spec.rb +1 -1
- data/spec/models/role_param_spec.rb +1 -1
- data/spec/models/role_request_spec.rb +1 -1
- data/spec/models/role_spec.rb +1 -1
- data/spec/models/scan_overview_spec.rb +1 -1
- data/spec/models/scanner_adapter_metadata_spec.rb +1 -1
- data/spec/models/scanner_capability_spec.rb +1 -1
- data/spec/models/scanner_registration_req_spec.rb +1 -1
- data/spec/models/scanner_registration_settings_spec.rb +1 -1
- data/spec/models/scanner_registration_spec.rb +1 -1
- data/spec/models/scanner_spec.rb +1 -1
- data/spec/models/search_repository_spec.rb +1 -1
- data/spec/models/search_result_spec.rb +1 -1
- data/spec/models/search_spec.rb +1 -1
- data/spec/models/security_report_spec.rb +1 -1
- data/spec/models/statistic_map_spec.rb +1 -1
- data/spec/models/stats_spec.rb +1 -1
- data/spec/models/storage_spec.rb +1 -1
- data/spec/models/string_config_item_spec.rb +1 -1
- data/spec/models/system_info_spec.rb +1 -1
- data/spec/models/tags_spec.rb +1 -1
- data/spec/models/trigger_settings_spec.rb +1 -1
- data/spec/models/unauthorized_chart_api_error_spec.rb +1 -1
- data/spec/models/user_entity_spec.rb +1 -1
- data/spec/models/user_group_spec.rb +1 -1
- data/spec/models/user_profile_spec.rb +1 -1
- data/spec/models/user_search_spec.rb +1 -1
- data/spec/models/user_spec.rb +1 -1
- data/spec/models/vuln_namespace_timestamp_spec.rb +1 -1
- data/spec/models/vulnerability_item_spec.rb +1 -1
- data/spec/models/vulnerability_summary_spec.rb +1 -1
- data/spec/models/webhook_job_spec.rb +1 -1
- data/spec/models/webhook_last_trigger_spec.rb +1 -1
- data/spec/models/webhook_policy_spec.rb +1 -1
- data/spec/models/webhook_target_object_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +9 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5e5790ee4ee25ff8996fa9a6f02fdeb24f7a2a261dd6d412136ee23dc97b517c
|
4
|
+
data.tar.gz: abed45b7f39f64e82fc27823217b3a5d597f36f7bbdd914f00da22070533a982
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a3dd6d52b8eedb0824ad8f44c587b44a82c5d2a02ea0164ac0106949d5864472dc2b1045b6c0db1b3b4a386d630ec49524530a401fcd4bbca5b3e0c53a2cf0d2
|
7
|
+
data.tar.gz: 31e76951ed64b9eda887289dca9586a45894a552c06b47b3dc4333115b92ebc53d7c51024de14ab8de5af21929016c6e7252cae8086bf95cf3651fd0f63c3ccb
|
data/README.md
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
# harbor1_client
|
2
2
|
|
3
|
-
Harbor1Client - the Ruby gem for the
|
3
|
+
Harbor1Client - the Ruby gem for the Harbor API
|
4
4
|
|
5
|
-
These APIs provide services for manipulating Harbor
|
5
|
+
These APIs provide services for manipulating Harbor project.
|
6
6
|
|
7
7
|
This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
|
8
8
|
|
9
9
|
- API version: 1.10.0
|
10
|
-
- Package version:
|
10
|
+
- Package version: 1.10.8.0
|
11
11
|
- Build package: io.swagger.codegen.languages.RubyClientCodegen
|
12
12
|
|
13
13
|
## Installation
|
@@ -23,21 +23,21 @@ gem build harbor1_client.gemspec
|
|
23
23
|
Then either install the gem locally:
|
24
24
|
|
25
25
|
```shell
|
26
|
-
gem install ./harbor1_client-
|
26
|
+
gem install ./harbor1_client-1.10.8.0.gem
|
27
27
|
```
|
28
|
-
(for development, run `gem install --dev ./harbor1_client-
|
28
|
+
(for development, run `gem install --dev ./harbor1_client-1.10.8.0.gem` to install the development dependencies)
|
29
29
|
|
30
30
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
31
31
|
|
32
32
|
Finally add this to the Gemfile:
|
33
33
|
|
34
|
-
gem 'harbor1_client', '~>
|
34
|
+
gem 'harbor1_client', '~> 1.10.8.0'
|
35
35
|
|
36
36
|
### Install from Git
|
37
37
|
|
38
|
-
If the Ruby gem is hosted at a git repository: https://github.com/
|
38
|
+
If the Ruby gem is hosted at a git repository: https://github.com/GIT_USER_ID/GIT_REPO_ID, then add the following in the Gemfile:
|
39
39
|
|
40
|
-
gem 'harbor1_client', :git => 'https://github.com/
|
40
|
+
gem 'harbor1_client', :git => 'https://github.com/GIT_USER_ID/GIT_REPO_ID.git'
|
41
41
|
|
42
42
|
### Include the Ruby code directly
|
43
43
|
|
data/build/generate.sh
ADDED
@@ -0,0 +1,8 @@
|
|
1
|
+
#!/bin/bash
|
2
|
+
# 1. Create a new git branch
|
3
|
+
# 2. Clean out repo (delete everything except build folder and .git folder)
|
4
|
+
# 3. Update version in swagger-codegen-cli-ruby-config.json
|
5
|
+
# 4. Run this script from the root of the repo ( e.g. "build/generate.sh 1.10.8")
|
6
|
+
# Clean out repo (remove everything except )
|
7
|
+
version=$1
|
8
|
+
docker run -u $(id -u) --rm -v ${PWD}:/local swaggerapi/swagger-codegen-cli generate -i "https://raw.githubusercontent.com/goharbor/harbor/v${version}/api/harbor/swagger.yaml" -l ruby -c /local/build/swagger-codegen-cli-ruby-config.json -o /local/
|
@@ -0,0 +1,12 @@
|
|
1
|
+
{
|
2
|
+
"gemName": "harbor1_client",
|
3
|
+
"moduleName": "Harbor1Client",
|
4
|
+
"gemVersion": "1.10.8.0",
|
5
|
+
"gemLicense": "MIT",
|
6
|
+
"gemRequiredRubyVersion": ">= 1.9",
|
7
|
+
"gemHomepage": "https://github.com/liger1978/ruby-harbor2_client",
|
8
|
+
"gemSummary": "A ruby wrapper for the Harbor swagger APIs",
|
9
|
+
"gemDescription": "A ruby wrapper for the Harbor swagger APIs",
|
10
|
+
"gemAuthor": "Richard Grainger",
|
11
|
+
"gemAuthorEmail": "harbottle@room3d3.com"
|
12
|
+
}
|
data/git_push.sh
CHANGED
@@ -11,17 +11,17 @@ git_repo_id=$2
|
|
11
11
|
release_note=$3
|
12
12
|
|
13
13
|
if [ "$git_user_id" = "" ]; then
|
14
|
-
git_user_id=""
|
14
|
+
git_user_id="GIT_USER_ID"
|
15
15
|
echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
|
16
16
|
fi
|
17
17
|
|
18
18
|
if [ "$git_repo_id" = "" ]; then
|
19
|
-
git_repo_id=""
|
19
|
+
git_repo_id="GIT_REPO_ID"
|
20
20
|
echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
|
21
21
|
fi
|
22
22
|
|
23
23
|
if [ "$release_note" = "" ]; then
|
24
|
-
release_note=""
|
24
|
+
release_note="Minor update"
|
25
25
|
echo "[INFO] No command line input provided. Set \$release_note to $release_note"
|
26
26
|
fi
|
27
27
|
|
data/harbor1_client.gemspec
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
OpenAPI spec version: 1.10.0
|
9
9
|
|
10
10
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
11
|
-
Swagger Codegen version: 2.4.
|
11
|
+
Swagger Codegen version: 2.4.22
|
12
12
|
|
13
13
|
=end
|
14
14
|
|
@@ -19,12 +19,12 @@ Gem::Specification.new do |s|
|
|
19
19
|
s.name = "harbor1_client"
|
20
20
|
s.version = Harbor1Client::VERSION
|
21
21
|
s.platform = Gem::Platform::RUBY
|
22
|
-
s.authors = ["Richard Grainger"
|
23
|
-
s.email = [""]
|
24
|
-
s.homepage = "https://github.com/liger1978/ruby-
|
25
|
-
s.summary = "Harbor
|
26
|
-
s.description = "
|
27
|
-
s.license =
|
22
|
+
s.authors = ["Richard Grainger"]
|
23
|
+
s.email = ["harbottle@room3d3.com"]
|
24
|
+
s.homepage = "https://github.com/liger1978/ruby-harbor2_client"
|
25
|
+
s.summary = "A ruby wrapper for the Harbor swagger APIs"
|
26
|
+
s.description = "A ruby wrapper for the Harbor swagger APIs"
|
27
|
+
s.license = 'MIT'
|
28
28
|
s.required_ruby_version = ">= 1.9"
|
29
29
|
|
30
30
|
s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 1.10.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.22
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -316,7 +316,7 @@ module Harbor1Client
|
|
316
316
|
|
317
317
|
# Sets user agent in HTTP header
|
318
318
|
#
|
319
|
-
# @param [String] user_agent User agent (e.g. swagger-codegen/ruby/0.
|
319
|
+
# @param [String] user_agent User agent (e.g. swagger-codegen/ruby/1.0.0)
|
320
320
|
def user_agent=(user_agent)
|
321
321
|
@user_agent = user_agent
|
322
322
|
@default_headers['User-Agent'] = @user_agent
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 1.10.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.22
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -170,9 +170,9 @@ module Harbor1Client
|
|
170
170
|
:'ldap_url' => :'StringConfigItem',
|
171
171
|
:'ldap_base_dn' => :'StringConfigItem',
|
172
172
|
:'ldap_filter' => :'StringConfigItem',
|
173
|
-
:'ldap_scope' => :'
|
173
|
+
:'ldap_scope' => :'Integer',
|
174
174
|
:'ldap_uid' => :'StringConfigItem',
|
175
|
-
:'ldap_search_dn' => :'
|
175
|
+
:'ldap_search_dn' => :'String',
|
176
176
|
:'ldap_timeout' => :'IntegerConfigItem',
|
177
177
|
:'ldap_group_attribute_name' => :'StringConfigItem',
|
178
178
|
:'ldap_group_base_dn' => :'StringConfigItem',
|