cloudsmith-api 2.0.1 → 2.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +7 -7
- data/README.md +59 -12
- data/build.json +1 -1
- data/docs/AllocatedLimitRaw.md +11 -0
- data/docs/Eula.md +1 -1
- data/docs/HexPackageUpload.md +75 -0
- data/docs/HexPackageUploadRequest.md +10 -0
- data/docs/History.md +1 -1
- data/docs/HistoryFieldset.md +1 -1
- data/docs/HistoryFieldsetRaw.md +10 -0
- data/docs/NestedLicensePolicy.md +17 -0
- data/docs/NestedVulnerabilityPolicy.md +17 -0
- data/docs/NestedVulnerabilityScanResults.md +14 -0
- data/docs/OrganizationGroupSync.md +1 -1
- data/docs/OrganizationGroupSyncRequest.md +1 -1
- data/docs/OrganizationPackageLicensePolicy.md +16 -0
- data/docs/OrganizationPackageLicensePolicyRequest.md +13 -0
- data/docs/OrganizationPackageLicensePolicyRequestPatch.md +13 -0
- data/docs/OrganizationPackageVulnerabilityPolicy.md +16 -0
- data/docs/OrganizationPackageVulnerabilityPolicyRequest.md +13 -0
- data/docs/OrganizationPackageVulnerabilityPolicyRequestPatch.md +13 -0
- data/docs/OrgsApi.md +1087 -247
- data/docs/PackageDependencies.md +1 -1
- data/docs/PackageLicensePolicyViolationLog.md +11 -0
- data/docs/PackageLicensePolicyViolationLogCursorPage.md +10 -0
- data/docs/PackageTagRequest.md +1 -1
- data/docs/PackageVulnerabilityPolicyViolationLog.md +12 -0
- data/docs/PackageVulnerabilityPolicyViolationLogCursorPage.md +10 -0
- data/docs/PackagesApi.md +127 -4
- data/docs/ReposApi.md +196 -10
- data/docs/RepositoryGeoIpCidr.md +9 -0
- data/docs/RepositoryGeoIpCountryCode.md +9 -0
- data/docs/RepositoryGeoIpRules.md +9 -0
- data/docs/RepositoryGeoIpRulesRequest.md +9 -0
- data/docs/RepositoryGeoIpRulesRequestPatch.md +9 -0
- data/docs/RepositoryGeoIpTestAddress.md +8 -0
- data/docs/RepositoryGeoIpTestAddressResponse.md +8 -0
- data/docs/RepositoryGeoIpTestAddressResponseDict.md +11 -0
- data/docs/RepositoryToken.md +2 -2
- data/docs/RepositoryTokenRefresh.md +2 -2
- data/docs/RepositoryTokenRefreshRequest.md +1 -1
- data/docs/RepositoryTokenRequest.md +1 -1
- data/docs/RepositoryTokenRequestPatch.md +1 -1
- data/docs/RepositoryWebhook.md +1 -1
- data/docs/{RespositoryGeoIPEnableDisable.md → RespositoryGeoIpEnableDisable.md} +1 -1
- data/docs/{RespositoryGeoIPEnableDisableRequest.md → RespositoryGeoIpEnableDisableRequest.md} +1 -1
- data/docs/ServiceTeams.md +1 -1
- data/docs/StatusBasic.md +1 -1
- data/docs/StorageAllocatedLimit.md +12 -0
- data/docs/StorageAllocatedLimitRaw.md +12 -0
- data/docs/StorageUsage.md +11 -0
- data/docs/StorageUsageRaw.md +11 -0
- data/docs/UsageFieldset.md +1 -1
- data/docs/UsageLimits.md +1 -1
- data/docs/UsageLimitsRaw.md +9 -0
- data/docs/UsageRaw.md +10 -0
- data/docs/VulnerabilitiesApi.md +8 -8
- data/docs/VulnerabilityScanResults.md +1 -1
- data/docs/VulnerabilityScanResultsList.md +1 -1
- data/lib/cloudsmith-api/api/orgs_api.rb +1289 -451
- data/lib/cloudsmith-api/api/packages_api.rb +127 -4
- data/lib/cloudsmith-api/api/repos_api.rb +197 -11
- data/lib/cloudsmith-api/api/vulnerabilities_api.rb +13 -13
- data/lib/cloudsmith-api/models/allocated_limit_raw.rb +211 -0
- data/lib/cloudsmith-api/models/eula.rb +0 -5
- data/lib/cloudsmith-api/models/hex_package_upload.rb +850 -0
- data/lib/cloudsmith-api/models/hex_package_upload_request.rb +210 -0
- data/lib/cloudsmith-api/models/history.rb +1 -1
- data/lib/cloudsmith-api/models/history_fieldset.rb +1 -1
- data/lib/cloudsmith-api/models/history_fieldset_raw.rb +217 -0
- data/lib/cloudsmith-api/models/nested_license_policy.rb +272 -0
- data/lib/cloudsmith-api/models/nested_vulnerability_policy.rb +302 -0
- data/lib/cloudsmith-api/models/nested_vulnerability_scan_results.rb +287 -0
- data/lib/cloudsmith-api/models/organization_group_sync.rb +34 -1
- data/lib/cloudsmith-api/models/organization_group_sync_request.rb +34 -1
- data/lib/cloudsmith-api/models/organization_package_license_policy.rb +268 -0
- data/lib/cloudsmith-api/models/organization_package_license_policy_request.rb +241 -0
- data/lib/cloudsmith-api/models/organization_package_license_policy_request_patch.rb +231 -0
- data/lib/cloudsmith-api/models/organization_package_vulnerability_policy.rb +298 -0
- data/lib/cloudsmith-api/models/organization_package_vulnerability_policy_request.rb +271 -0
- data/lib/cloudsmith-api/models/organization_package_vulnerability_policy_request_patch.rb +266 -0
- data/lib/cloudsmith-api/models/package_dependencies.rb +0 -5
- data/lib/cloudsmith-api/models/package_license_policy_violation_log.rb +228 -0
- data/lib/cloudsmith-api/models/package_license_policy_violation_log_cursor_page.rb +209 -0
- data/lib/cloudsmith-api/models/package_tag_request.rb +37 -1
- data/lib/cloudsmith-api/models/package_vulnerability_policy_violation_log.rb +242 -0
- data/lib/cloudsmith-api/models/package_vulnerability_policy_violation_log_cursor_page.rb +209 -0
- data/lib/cloudsmith-api/models/{inline_response_200_country_code.rb → repository_geo_ip_cidr.rb} +13 -1
- data/lib/cloudsmith-api/models/repository_geo_ip_country_code.rb +209 -0
- data/lib/cloudsmith-api/models/repository_geo_ip_rules.rb +203 -0
- data/lib/cloudsmith-api/models/repository_geo_ip_rules_request.rb +203 -0
- data/lib/cloudsmith-api/models/{repository_geo_ip_list.rb → repository_geo_ip_rules_request_patch.rb} +3 -5
- data/lib/cloudsmith-api/models/{inline_response_200.rb → repository_geo_ip_test_address.rb} +16 -17
- data/lib/cloudsmith-api/models/repository_geo_ip_test_address_response.rb +192 -0
- data/lib/cloudsmith-api/models/repository_geo_ip_test_address_response_dict.rb +235 -0
- data/lib/cloudsmith-api/models/repository_token.rb +2 -1
- data/lib/cloudsmith-api/models/repository_token_refresh.rb +2 -1
- data/lib/cloudsmith-api/models/repository_token_refresh_request.rb +1 -1
- data/lib/cloudsmith-api/models/repository_token_request.rb +1 -1
- data/lib/cloudsmith-api/models/repository_token_request_patch.rb +1 -1
- data/lib/cloudsmith-api/models/repository_webhook.rb +1 -0
- data/lib/cloudsmith-api/models/respository_geo_ip_enable_disable.rb +1 -1
- data/lib/cloudsmith-api/models/respository_geo_ip_enable_disable_request.rb +1 -1
- data/lib/cloudsmith-api/models/service_teams.rb +5 -0
- data/lib/cloudsmith-api/models/status_basic.rb +1 -1
- data/lib/cloudsmith-api/models/storage_allocated_limit.rb +220 -0
- data/lib/cloudsmith-api/models/storage_allocated_limit_raw.rb +220 -0
- data/lib/cloudsmith-api/models/storage_usage.rb +211 -0
- data/lib/cloudsmith-api/models/storage_usage_raw.rb +211 -0
- data/lib/cloudsmith-api/models/usage_fieldset.rb +1 -1
- data/lib/cloudsmith-api/models/usage_limits.rb +1 -1
- data/lib/cloudsmith-api/models/usage_limits_raw.rb +203 -0
- data/lib/cloudsmith-api/models/usage_raw.rb +202 -0
- data/lib/cloudsmith-api/models/vulnerability_scan_results.rb +1 -0
- data/lib/cloudsmith-api/models/vulnerability_scan_results_list.rb +1 -0
- data/lib/cloudsmith-api/version.rb +1 -1
- data/lib/cloudsmith-api.rb +31 -3
- data/spec/api/orgs_api_spec.rb +190 -0
- data/spec/api/packages_api_spec.rb +30 -2
- data/spec/api/repos_api_spec.rb +47 -5
- data/spec/api/vulnerabilities_api_spec.rb +3 -3
- data/spec/models/allocated_limit_raw_spec.rb +59 -0
- data/spec/models/hex_package_upload_request_spec.rb +53 -0
- data/spec/models/hex_package_upload_spec.rb +447 -0
- data/spec/models/history_fieldset_raw_spec.rb +53 -0
- data/spec/models/nested_license_policy_spec.rb +95 -0
- data/spec/models/nested_vulnerability_policy_spec.rb +99 -0
- data/spec/models/nested_vulnerability_scan_results_spec.rb +81 -0
- data/spec/models/organization_group_sync_request_spec.rb +4 -0
- data/spec/models/organization_group_sync_spec.rb +4 -0
- data/spec/models/organization_package_license_policy_request_patch_spec.rb +71 -0
- data/spec/models/organization_package_license_policy_request_spec.rb +71 -0
- data/spec/models/organization_package_license_policy_spec.rb +89 -0
- data/spec/models/organization_package_vulnerability_policy_request_patch_spec.rb +75 -0
- data/spec/models/organization_package_vulnerability_policy_request_spec.rb +75 -0
- data/spec/models/organization_package_vulnerability_policy_spec.rb +93 -0
- data/spec/models/package_license_policy_violation_log_cursor_page_spec.rb +53 -0
- data/spec/models/package_license_policy_violation_log_spec.rb +59 -0
- data/spec/models/package_tag_request_spec.rb +4 -0
- data/spec/models/package_vulnerability_policy_violation_log_cursor_page_spec.rb +53 -0
- data/spec/models/package_vulnerability_policy_violation_log_spec.rb +65 -0
- data/spec/models/{inline_response_200_country_code_spec.rb → repository_geo_ip_cidr_spec.rb} +6 -6
- data/spec/models/repository_geo_ip_country_code_spec.rb +47 -0
- data/spec/models/repository_geo_ip_rules_request_patch_spec.rb +47 -0
- data/spec/models/{inline_response_200_spec.rb → repository_geo_ip_rules_request_spec.rb} +8 -8
- data/spec/models/{repository_geo_ip_list_spec.rb → repository_geo_ip_rules_spec.rb} +6 -6
- data/spec/models/repository_geo_ip_test_address_response_dict_spec.rb +59 -0
- data/spec/models/repository_geo_ip_test_address_response_spec.rb +41 -0
- data/spec/models/repository_geo_ip_test_address_spec.rb +41 -0
- data/spec/models/respository_geo_ip_enable_disable_request_spec.rb +6 -6
- data/spec/models/respository_geo_ip_enable_disable_spec.rb +6 -6
- data/spec/models/storage_allocated_limit_raw_spec.rb +65 -0
- data/spec/models/storage_allocated_limit_spec.rb +65 -0
- data/spec/models/storage_usage_raw_spec.rb +59 -0
- data/spec/models/storage_usage_spec.rb +59 -0
- data/spec/models/usage_limits_raw_spec.rb +47 -0
- data/spec/models/usage_raw_spec.rb +53 -0
- data/vendor/bundle/ruby/2.6.0/cache/addressable-2.8.4.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rspec-core-3.12.2.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rspec-expectations-3.12.3.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rspec-mocks-3.12.5.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/sys-uname-1.2.3.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/autotest-fsevent-0.2.20/gem_make.out +1 -1
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.15.5/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.6.3/gem_make.out +1 -1
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.6.3/mkmf.log +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/CHANGELOG.md +22 -2
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/Rakefile +2 -1
- data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.4/addressable.gemspec +28 -0
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/lib/addressable/idna/native.rb +8 -2
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/lib/addressable/idna/pure.rb +10 -182
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/lib/addressable/template.rb +9 -10
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/lib/addressable/uri.rb +112 -96
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/lib/addressable/version.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/spec/addressable/idna_spec.rb +6 -5
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/spec/addressable/template_spec.rb +60 -264
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/spec/addressable/uri_spec.rb +56 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/json-2.6.3/ext/json/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/json-2.6.3/ext/json/ext/generator/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/json-2.6.3/ext/json/ext/parser/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/Changelog.md +16 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/README.md +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/configuration.rb +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/example_status_persister.rb +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/formatters/exception_presenter.rb +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/formatters/html_snippet_extractor.rb +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/metadata_filter.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/project_initializer/spec/spec_helper.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/reporter.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/version.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/Changelog.md +20 -5
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/expectations/failure_aggregator.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/expectations/version.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/aliased_matcher.rb +3 -3
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/compound.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/exist.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/include.rb +9 -2
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/composable.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/dsl.rb +7 -7
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/Changelog.md +36 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/any_instance/proxy.rb +12 -3
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/argument_list_matcher.rb +3 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/matchers/receive.rb +2 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/minitest_integration.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/mutate_const.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/proxy.rb +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/verifying_double.rb +2 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/verifying_proxy.rb +4 -3
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/version.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.2 → sys-uname-1.2.3}/CHANGES.md +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/sys-uname-1.2.3/Gemfile +2 -0
- data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.2 → sys-uname-1.2.3}/README.md +21 -6
- data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.2 → sys-uname-1.2.3}/Rakefile +4 -2
- data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.2 → sys-uname-1.2.3}/doc/uname.rdoc +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.2 → sys-uname-1.2.3}/lib/sys/platform.rb +17 -13
- data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.2 → sys-uname-1.2.3}/lib/sys/uname.rb +3 -1
- data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.2 → sys-uname-1.2.3}/lib/sys/unix/uname.rb +20 -35
- data/vendor/bundle/ruby/2.6.0/gems/sys-uname-1.2.3/lib/sys/windows/uname.rb +499 -0
- data/vendor/bundle/ruby/2.6.0/gems/sys-uname-1.2.3/lib/sys-uname.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/sys-uname-1.2.3/spec/spec_helper.rb +12 -0
- data/vendor/bundle/ruby/2.6.0/gems/sys-uname-1.2.3/spec/sys_platform_spec.rb +69 -0
- data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.2 → sys-uname-1.2.3}/spec/sys_uname_spec.rb +140 -136
- data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.2 → sys-uname-1.2.3}/sys-uname.gemspec +11 -7
- data/vendor/bundle/ruby/2.6.0/specifications/{addressable-2.8.1.gemspec → addressable-2.8.4.gemspec} +3 -3
- data/vendor/bundle/ruby/2.6.0/specifications/{rspec-core-3.12.0.gemspec → rspec-core-3.12.2.gemspec} +5 -5
- data/vendor/bundle/ruby/2.6.0/specifications/{rspec-expectations-3.12.1.gemspec → rspec-expectations-3.12.3.gemspec} +5 -5
- data/vendor/bundle/ruby/2.6.0/specifications/{rspec-mocks-3.12.1.gemspec → rspec-mocks-3.12.5.gemspec} +7 -7
- data/vendor/bundle/ruby/2.6.0/specifications/{sys-uname-1.2.2.gemspec → sys-uname-1.2.3.gemspec} +8 -4
- metadata +364 -250
- data/docs/InlineResponse200.md +0 -9
- data/docs/InlineResponse200CountryCode.md +0 -9
- data/docs/RepositoryGeoIPList.md +0 -9
- data/vendor/bundle/ruby/2.6.0/cache/addressable-2.8.1.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rspec-core-3.12.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rspec-expectations-3.12.1.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rspec-mocks-3.12.1.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/sys-uname-1.2.2.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/sys-uname-1.2.2/Gemfile +0 -7
- data/vendor/bundle/ruby/2.6.0/gems/sys-uname-1.2.2/lib/sys/windows/uname.rb +0 -515
- data/vendor/bundle/ruby/2.6.0/gems/sys-uname-1.2.2/lib/sys-uname.rb +0 -1
- data/vendor/bundle/ruby/2.6.0/gems/sys-uname-1.2.2/spec/sys_platform_spec.rb +0 -75
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/Gemfile +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/LICENSE.txt +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/README.md +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/data/unicode.data +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/lib/addressable/idna.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/lib/addressable.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/spec/addressable/net_http_compat_spec.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/spec/addressable/security_spec.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/spec/spec_helper.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/tasks/clobber.rake +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/tasks/gem.rake +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/tasks/git.rake +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/tasks/metrics.rake +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/tasks/profile.rake +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/tasks/rspec.rake +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/tasks/yard.rake +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/.document +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/.yardopts +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/LICENSE.md +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/exe/rspec +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/autorun.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/backtrace_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/bisect/coordinator.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/bisect/example_minimizer.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/bisect/fork_runner.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/bisect/server.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/bisect/shell_command.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/bisect/shell_runner.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/bisect/utilities.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/configuration_options.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/did_you_mean.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/drb.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/dsl.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/example.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/example_group.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/filter_manager.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/flat_map.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/formatters/base_bisect_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/formatters/base_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/formatters/base_text_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/formatters/bisect_drb_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/formatters/bisect_progress_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/formatters/console_codes.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/formatters/deprecation_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/formatters/documentation_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/formatters/failure_list_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/formatters/fallback_message_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/formatters/helpers.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/formatters/html_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/formatters/html_printer.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/formatters/json_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/formatters/profile_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/formatters/progress_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/formatters/protocol.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/formatters/snippet_extractor.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/formatters/syntax_highlighter.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/formatters.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/hooks.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/invocations.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/memoized_helpers.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/metadata.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/minitest_assertions_adapter.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/mocking_adapters/flexmock.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/mocking_adapters/mocha.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/mocking_adapters/null.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/mocking_adapters/rr.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/mocking_adapters/rspec.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/notifications.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/option_parser.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/ordering.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/output_wrapper.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/pending.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/profiler.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/project_initializer/.rspec +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/project_initializer.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/rake_task.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/ruby_project.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/runner.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/sandbox.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/set.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/shared_context.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/shared_example_group.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/shell_escape.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/test_unit_assertions_adapter.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/warnings.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/world.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/.document +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/.yardopts +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/LICENSE.md +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/README.md +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/expectations/block_snippet_extractor.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/expectations/configuration.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/expectations/expectation_target.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/expectations/fail_with.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/expectations/handler.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/expectations/minitest_integration.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/expectations/syntax.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/expectations.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/all.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/base_matcher.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/be.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/be_between.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/be_instance_of.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/be_kind_of.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/be_within.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/change.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/contain_exactly.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/count_expectation.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/cover.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/eq.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/eql.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/equal.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/has.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/have_attributes.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/match.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/operators.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/output.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/raise_error.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/respond_to.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/satisfy.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/start_or_end_with.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/throw_symbol.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/yield.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/english_phrasing.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/expecteds_for_multiple_diffs.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/fail_matchers.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/generated_descriptions.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/matcher_delegator.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/matcher_protocol.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/.document +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/.yardopts +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/LICENSE.md +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/README.md +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/any_instance/chain.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/any_instance/error_generator.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/any_instance/expect_chain_chain.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/any_instance/expectation_chain.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/any_instance/message_chains.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/any_instance/recorder.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/any_instance/stub_chain.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/any_instance/stub_chain_chain.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/any_instance.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/argument_matchers.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/configuration.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/error_generator.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/example_methods.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/instance_method_stasher.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/marshal_extension.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/matchers/expectation_customization.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/matchers/have_received.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/matchers/receive_message_chain.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/matchers/receive_messages.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/message_chain.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/message_expectation.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/method_double.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/method_reference.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/object_reference.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/order_group.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/space.rb +1 -1
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/standalone.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/syntax.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/targets.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/test_double.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/verifying_message_expectation.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.2 → sys-uname-1.2.3}/LICENSE +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.2 → sys-uname-1.2.3}/MANIFEST.md +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.2 → sys-uname-1.2.3}/certs/djberg96_pub.pem +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.2 → sys-uname-1.2.3}/examples/uname_test.rb +0 -0
@@ -0,0 +1,272 @@
|
|
1
|
+
=begin
|
2
|
+
#Cloudsmith API (v1)
|
3
|
+
|
4
|
+
#The API to the Cloudsmith Service
|
5
|
+
|
6
|
+
OpenAPI spec version: v1
|
7
|
+
Contact: support@cloudsmith.io
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.26
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
|
15
|
+
module CloudsmithApi
|
16
|
+
class NestedLicensePolicy
|
17
|
+
attr_accessor :allow_unknown_licenses
|
18
|
+
|
19
|
+
attr_accessor :created_at
|
20
|
+
|
21
|
+
attr_accessor :description
|
22
|
+
|
23
|
+
attr_accessor :name
|
24
|
+
|
25
|
+
attr_accessor :on_violation_quarantine
|
26
|
+
|
27
|
+
attr_accessor :package_query_string
|
28
|
+
|
29
|
+
attr_accessor :slug_perm
|
30
|
+
|
31
|
+
attr_accessor :spdx_identifiers
|
32
|
+
|
33
|
+
attr_accessor :updated_at
|
34
|
+
|
35
|
+
attr_accessor :url
|
36
|
+
|
37
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
38
|
+
def self.attribute_map
|
39
|
+
{
|
40
|
+
:'allow_unknown_licenses' => :'allow_unknown_licenses',
|
41
|
+
:'created_at' => :'created_at',
|
42
|
+
:'description' => :'description',
|
43
|
+
:'name' => :'name',
|
44
|
+
:'on_violation_quarantine' => :'on_violation_quarantine',
|
45
|
+
:'package_query_string' => :'package_query_string',
|
46
|
+
:'slug_perm' => :'slug_perm',
|
47
|
+
:'spdx_identifiers' => :'spdx_identifiers',
|
48
|
+
:'updated_at' => :'updated_at',
|
49
|
+
:'url' => :'url'
|
50
|
+
}
|
51
|
+
end
|
52
|
+
|
53
|
+
# Attribute type mapping.
|
54
|
+
def self.swagger_types
|
55
|
+
{
|
56
|
+
:'allow_unknown_licenses' => :'BOOLEAN',
|
57
|
+
:'created_at' => :'DateTime',
|
58
|
+
:'description' => :'String',
|
59
|
+
:'name' => :'String',
|
60
|
+
:'on_violation_quarantine' => :'BOOLEAN',
|
61
|
+
:'package_query_string' => :'String',
|
62
|
+
:'slug_perm' => :'String',
|
63
|
+
:'spdx_identifiers' => :'Array<String>',
|
64
|
+
:'updated_at' => :'DateTime',
|
65
|
+
:'url' => :'String'
|
66
|
+
}
|
67
|
+
end
|
68
|
+
|
69
|
+
# Initializes the object
|
70
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
71
|
+
def initialize(attributes = {})
|
72
|
+
return unless attributes.is_a?(Hash)
|
73
|
+
|
74
|
+
# convert string to symbol for hash key
|
75
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
76
|
+
|
77
|
+
if attributes.has_key?(:'allow_unknown_licenses')
|
78
|
+
self.allow_unknown_licenses = attributes[:'allow_unknown_licenses']
|
79
|
+
end
|
80
|
+
|
81
|
+
if attributes.has_key?(:'created_at')
|
82
|
+
self.created_at = attributes[:'created_at']
|
83
|
+
end
|
84
|
+
|
85
|
+
if attributes.has_key?(:'description')
|
86
|
+
self.description = attributes[:'description']
|
87
|
+
end
|
88
|
+
|
89
|
+
if attributes.has_key?(:'name')
|
90
|
+
self.name = attributes[:'name']
|
91
|
+
end
|
92
|
+
|
93
|
+
if attributes.has_key?(:'on_violation_quarantine')
|
94
|
+
self.on_violation_quarantine = attributes[:'on_violation_quarantine']
|
95
|
+
end
|
96
|
+
|
97
|
+
if attributes.has_key?(:'package_query_string')
|
98
|
+
self.package_query_string = attributes[:'package_query_string']
|
99
|
+
end
|
100
|
+
|
101
|
+
if attributes.has_key?(:'slug_perm')
|
102
|
+
self.slug_perm = attributes[:'slug_perm']
|
103
|
+
end
|
104
|
+
|
105
|
+
if attributes.has_key?(:'spdx_identifiers')
|
106
|
+
if (value = attributes[:'spdx_identifiers']).is_a?(Array)
|
107
|
+
self.spdx_identifiers = value
|
108
|
+
end
|
109
|
+
end
|
110
|
+
|
111
|
+
if attributes.has_key?(:'updated_at')
|
112
|
+
self.updated_at = attributes[:'updated_at']
|
113
|
+
end
|
114
|
+
|
115
|
+
if attributes.has_key?(:'url')
|
116
|
+
self.url = attributes[:'url']
|
117
|
+
end
|
118
|
+
end
|
119
|
+
|
120
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
121
|
+
# @return Array for valid properties with the reasons
|
122
|
+
def list_invalid_properties
|
123
|
+
invalid_properties = Array.new
|
124
|
+
if @spdx_identifiers.nil?
|
125
|
+
invalid_properties.push('invalid value for "spdx_identifiers", spdx_identifiers cannot be nil.')
|
126
|
+
end
|
127
|
+
|
128
|
+
invalid_properties
|
129
|
+
end
|
130
|
+
|
131
|
+
# Check to see if the all the properties in the model are valid
|
132
|
+
# @return true if the model is valid
|
133
|
+
def valid?
|
134
|
+
return false if @spdx_identifiers.nil?
|
135
|
+
true
|
136
|
+
end
|
137
|
+
|
138
|
+
# Checks equality by comparing each attribute.
|
139
|
+
# @param [Object] Object to be compared
|
140
|
+
def ==(o)
|
141
|
+
return true if self.equal?(o)
|
142
|
+
self.class == o.class &&
|
143
|
+
allow_unknown_licenses == o.allow_unknown_licenses &&
|
144
|
+
created_at == o.created_at &&
|
145
|
+
description == o.description &&
|
146
|
+
name == o.name &&
|
147
|
+
on_violation_quarantine == o.on_violation_quarantine &&
|
148
|
+
package_query_string == o.package_query_string &&
|
149
|
+
slug_perm == o.slug_perm &&
|
150
|
+
spdx_identifiers == o.spdx_identifiers &&
|
151
|
+
updated_at == o.updated_at &&
|
152
|
+
url == o.url
|
153
|
+
end
|
154
|
+
|
155
|
+
# @see the `==` method
|
156
|
+
# @param [Object] Object to be compared
|
157
|
+
def eql?(o)
|
158
|
+
self == o
|
159
|
+
end
|
160
|
+
|
161
|
+
# Calculates hash code according to all attributes.
|
162
|
+
# @return [Fixnum] Hash code
|
163
|
+
def hash
|
164
|
+
[allow_unknown_licenses, created_at, description, name, on_violation_quarantine, package_query_string, slug_perm, spdx_identifiers, updated_at, url].hash
|
165
|
+
end
|
166
|
+
|
167
|
+
# Builds the object from hash
|
168
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
169
|
+
# @return [Object] Returns the model itself
|
170
|
+
def build_from_hash(attributes)
|
171
|
+
return nil unless attributes.is_a?(Hash)
|
172
|
+
self.class.swagger_types.each_pair do |key, type|
|
173
|
+
if type =~ /\AArray<(.*)>/i
|
174
|
+
# check to ensure the input is an array given that the attribute
|
175
|
+
# is documented as an array but the input is not
|
176
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
177
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
178
|
+
end
|
179
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
180
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
181
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
182
|
+
end
|
183
|
+
|
184
|
+
self
|
185
|
+
end
|
186
|
+
|
187
|
+
# Deserializes the data based on type
|
188
|
+
# @param string type Data type
|
189
|
+
# @param string value Value to be deserialized
|
190
|
+
# @return [Object] Deserialized data
|
191
|
+
def _deserialize(type, value)
|
192
|
+
case type.to_sym
|
193
|
+
when :DateTime
|
194
|
+
DateTime.parse(value)
|
195
|
+
when :Date
|
196
|
+
Date.parse(value)
|
197
|
+
when :String
|
198
|
+
value.to_s
|
199
|
+
when :Integer
|
200
|
+
value.to_i
|
201
|
+
when :Float
|
202
|
+
value.to_f
|
203
|
+
when :BOOLEAN
|
204
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
205
|
+
true
|
206
|
+
else
|
207
|
+
false
|
208
|
+
end
|
209
|
+
when :Object
|
210
|
+
# generic object (usually a Hash), return directly
|
211
|
+
value
|
212
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
213
|
+
inner_type = Regexp.last_match[:inner_type]
|
214
|
+
value.map { |v| _deserialize(inner_type, v) }
|
215
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
216
|
+
k_type = Regexp.last_match[:k_type]
|
217
|
+
v_type = Regexp.last_match[:v_type]
|
218
|
+
{}.tap do |hash|
|
219
|
+
value.each do |k, v|
|
220
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
221
|
+
end
|
222
|
+
end
|
223
|
+
else # model
|
224
|
+
temp_model = CloudsmithApi.const_get(type).new
|
225
|
+
temp_model.build_from_hash(value)
|
226
|
+
end
|
227
|
+
end
|
228
|
+
|
229
|
+
# Returns the string representation of the object
|
230
|
+
# @return [String] String presentation of the object
|
231
|
+
def to_s
|
232
|
+
to_hash.to_s
|
233
|
+
end
|
234
|
+
|
235
|
+
# to_body is an alias to to_hash (backward compatibility)
|
236
|
+
# @return [Hash] Returns the object in the form of hash
|
237
|
+
def to_body
|
238
|
+
to_hash
|
239
|
+
end
|
240
|
+
|
241
|
+
# Returns the object in the form of hash
|
242
|
+
# @return [Hash] Returns the object in the form of hash
|
243
|
+
def to_hash
|
244
|
+
hash = {}
|
245
|
+
self.class.attribute_map.each_pair do |attr, param|
|
246
|
+
value = self.send(attr)
|
247
|
+
next if value.nil?
|
248
|
+
hash[param] = _to_hash(value)
|
249
|
+
end
|
250
|
+
hash
|
251
|
+
end
|
252
|
+
|
253
|
+
# Outputs non-array value in the form of hash
|
254
|
+
# For object, use to_hash. Otherwise, just return the value
|
255
|
+
# @param [Object] value Any valid value
|
256
|
+
# @return [Hash] Returns the value in the form of hash
|
257
|
+
def _to_hash(value)
|
258
|
+
if value.is_a?(Array)
|
259
|
+
value.compact.map { |v| _to_hash(v) }
|
260
|
+
elsif value.is_a?(Hash)
|
261
|
+
{}.tap do |hash|
|
262
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
263
|
+
end
|
264
|
+
elsif value.respond_to? :to_hash
|
265
|
+
value.to_hash
|
266
|
+
else
|
267
|
+
value
|
268
|
+
end
|
269
|
+
end
|
270
|
+
|
271
|
+
end
|
272
|
+
end
|
@@ -0,0 +1,302 @@
|
|
1
|
+
=begin
|
2
|
+
#Cloudsmith API (v1)
|
3
|
+
|
4
|
+
#The API to the Cloudsmith Service
|
5
|
+
|
6
|
+
OpenAPI spec version: v1
|
7
|
+
Contact: support@cloudsmith.io
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.26
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
|
15
|
+
module CloudsmithApi
|
16
|
+
class NestedVulnerabilityPolicy
|
17
|
+
# Denotes whether vulnerabilities detected by a security scan with an unknown severity are permitted by this policy.
|
18
|
+
attr_accessor :allow_unknown_severity
|
19
|
+
|
20
|
+
attr_accessor :created_at
|
21
|
+
|
22
|
+
attr_accessor :description
|
23
|
+
|
24
|
+
attr_accessor :min_severity
|
25
|
+
|
26
|
+
attr_accessor :name
|
27
|
+
|
28
|
+
attr_accessor :on_violation_quarantine
|
29
|
+
|
30
|
+
attr_accessor :package_query_string
|
31
|
+
|
32
|
+
attr_accessor :slug_perm
|
33
|
+
|
34
|
+
attr_accessor :updated_at
|
35
|
+
|
36
|
+
attr_accessor :url
|
37
|
+
|
38
|
+
class EnumAttributeValidator
|
39
|
+
attr_reader :datatype
|
40
|
+
attr_reader :allowable_values
|
41
|
+
|
42
|
+
def initialize(datatype, allowable_values)
|
43
|
+
@allowable_values = allowable_values.map do |value|
|
44
|
+
case datatype.to_s
|
45
|
+
when /Integer/i
|
46
|
+
value.to_i
|
47
|
+
when /Float/i
|
48
|
+
value.to_f
|
49
|
+
else
|
50
|
+
value
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
def valid?(value)
|
56
|
+
!value || allowable_values.include?(value)
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
60
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
61
|
+
def self.attribute_map
|
62
|
+
{
|
63
|
+
:'allow_unknown_severity' => :'allow_unknown_severity',
|
64
|
+
:'created_at' => :'created_at',
|
65
|
+
:'description' => :'description',
|
66
|
+
:'min_severity' => :'min_severity',
|
67
|
+
:'name' => :'name',
|
68
|
+
:'on_violation_quarantine' => :'on_violation_quarantine',
|
69
|
+
:'package_query_string' => :'package_query_string',
|
70
|
+
:'slug_perm' => :'slug_perm',
|
71
|
+
:'updated_at' => :'updated_at',
|
72
|
+
:'url' => :'url'
|
73
|
+
}
|
74
|
+
end
|
75
|
+
|
76
|
+
# Attribute type mapping.
|
77
|
+
def self.swagger_types
|
78
|
+
{
|
79
|
+
:'allow_unknown_severity' => :'BOOLEAN',
|
80
|
+
:'created_at' => :'DateTime',
|
81
|
+
:'description' => :'String',
|
82
|
+
:'min_severity' => :'String',
|
83
|
+
:'name' => :'String',
|
84
|
+
:'on_violation_quarantine' => :'BOOLEAN',
|
85
|
+
:'package_query_string' => :'String',
|
86
|
+
:'slug_perm' => :'String',
|
87
|
+
:'updated_at' => :'DateTime',
|
88
|
+
:'url' => :'String'
|
89
|
+
}
|
90
|
+
end
|
91
|
+
|
92
|
+
# Initializes the object
|
93
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
94
|
+
def initialize(attributes = {})
|
95
|
+
return unless attributes.is_a?(Hash)
|
96
|
+
|
97
|
+
# convert string to symbol for hash key
|
98
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
99
|
+
|
100
|
+
if attributes.has_key?(:'allow_unknown_severity')
|
101
|
+
self.allow_unknown_severity = attributes[:'allow_unknown_severity']
|
102
|
+
end
|
103
|
+
|
104
|
+
if attributes.has_key?(:'created_at')
|
105
|
+
self.created_at = attributes[:'created_at']
|
106
|
+
end
|
107
|
+
|
108
|
+
if attributes.has_key?(:'description')
|
109
|
+
self.description = attributes[:'description']
|
110
|
+
end
|
111
|
+
|
112
|
+
if attributes.has_key?(:'min_severity')
|
113
|
+
self.min_severity = attributes[:'min_severity']
|
114
|
+
else
|
115
|
+
self.min_severity = 'Critical'
|
116
|
+
end
|
117
|
+
|
118
|
+
if attributes.has_key?(:'name')
|
119
|
+
self.name = attributes[:'name']
|
120
|
+
end
|
121
|
+
|
122
|
+
if attributes.has_key?(:'on_violation_quarantine')
|
123
|
+
self.on_violation_quarantine = attributes[:'on_violation_quarantine']
|
124
|
+
end
|
125
|
+
|
126
|
+
if attributes.has_key?(:'package_query_string')
|
127
|
+
self.package_query_string = attributes[:'package_query_string']
|
128
|
+
end
|
129
|
+
|
130
|
+
if attributes.has_key?(:'slug_perm')
|
131
|
+
self.slug_perm = attributes[:'slug_perm']
|
132
|
+
end
|
133
|
+
|
134
|
+
if attributes.has_key?(:'updated_at')
|
135
|
+
self.updated_at = attributes[:'updated_at']
|
136
|
+
end
|
137
|
+
|
138
|
+
if attributes.has_key?(:'url')
|
139
|
+
self.url = attributes[:'url']
|
140
|
+
end
|
141
|
+
end
|
142
|
+
|
143
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
144
|
+
# @return Array for valid properties with the reasons
|
145
|
+
def list_invalid_properties
|
146
|
+
invalid_properties = Array.new
|
147
|
+
invalid_properties
|
148
|
+
end
|
149
|
+
|
150
|
+
# Check to see if the all the properties in the model are valid
|
151
|
+
# @return true if the model is valid
|
152
|
+
def valid?
|
153
|
+
min_severity_validator = EnumAttributeValidator.new('String', ['Low', 'Medium', 'High', 'Critical'])
|
154
|
+
return false unless min_severity_validator.valid?(@min_severity)
|
155
|
+
true
|
156
|
+
end
|
157
|
+
|
158
|
+
# Custom attribute writer method checking allowed values (enum).
|
159
|
+
# @param [Object] min_severity Object to be assigned
|
160
|
+
def min_severity=(min_severity)
|
161
|
+
validator = EnumAttributeValidator.new('String', ['Low', 'Medium', 'High', 'Critical'])
|
162
|
+
unless validator.valid?(min_severity)
|
163
|
+
fail ArgumentError, 'invalid value for "min_severity", must be one of #{validator.allowable_values}.'
|
164
|
+
end
|
165
|
+
@min_severity = min_severity
|
166
|
+
end
|
167
|
+
|
168
|
+
# Checks equality by comparing each attribute.
|
169
|
+
# @param [Object] Object to be compared
|
170
|
+
def ==(o)
|
171
|
+
return true if self.equal?(o)
|
172
|
+
self.class == o.class &&
|
173
|
+
allow_unknown_severity == o.allow_unknown_severity &&
|
174
|
+
created_at == o.created_at &&
|
175
|
+
description == o.description &&
|
176
|
+
min_severity == o.min_severity &&
|
177
|
+
name == o.name &&
|
178
|
+
on_violation_quarantine == o.on_violation_quarantine &&
|
179
|
+
package_query_string == o.package_query_string &&
|
180
|
+
slug_perm == o.slug_perm &&
|
181
|
+
updated_at == o.updated_at &&
|
182
|
+
url == o.url
|
183
|
+
end
|
184
|
+
|
185
|
+
# @see the `==` method
|
186
|
+
# @param [Object] Object to be compared
|
187
|
+
def eql?(o)
|
188
|
+
self == o
|
189
|
+
end
|
190
|
+
|
191
|
+
# Calculates hash code according to all attributes.
|
192
|
+
# @return [Fixnum] Hash code
|
193
|
+
def hash
|
194
|
+
[allow_unknown_severity, created_at, description, min_severity, name, on_violation_quarantine, package_query_string, slug_perm, updated_at, url].hash
|
195
|
+
end
|
196
|
+
|
197
|
+
# Builds the object from hash
|
198
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
199
|
+
# @return [Object] Returns the model itself
|
200
|
+
def build_from_hash(attributes)
|
201
|
+
return nil unless attributes.is_a?(Hash)
|
202
|
+
self.class.swagger_types.each_pair do |key, type|
|
203
|
+
if type =~ /\AArray<(.*)>/i
|
204
|
+
# check to ensure the input is an array given that the attribute
|
205
|
+
# is documented as an array but the input is not
|
206
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
207
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
208
|
+
end
|
209
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
210
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
211
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
212
|
+
end
|
213
|
+
|
214
|
+
self
|
215
|
+
end
|
216
|
+
|
217
|
+
# Deserializes the data based on type
|
218
|
+
# @param string type Data type
|
219
|
+
# @param string value Value to be deserialized
|
220
|
+
# @return [Object] Deserialized data
|
221
|
+
def _deserialize(type, value)
|
222
|
+
case type.to_sym
|
223
|
+
when :DateTime
|
224
|
+
DateTime.parse(value)
|
225
|
+
when :Date
|
226
|
+
Date.parse(value)
|
227
|
+
when :String
|
228
|
+
value.to_s
|
229
|
+
when :Integer
|
230
|
+
value.to_i
|
231
|
+
when :Float
|
232
|
+
value.to_f
|
233
|
+
when :BOOLEAN
|
234
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
235
|
+
true
|
236
|
+
else
|
237
|
+
false
|
238
|
+
end
|
239
|
+
when :Object
|
240
|
+
# generic object (usually a Hash), return directly
|
241
|
+
value
|
242
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
243
|
+
inner_type = Regexp.last_match[:inner_type]
|
244
|
+
value.map { |v| _deserialize(inner_type, v) }
|
245
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
246
|
+
k_type = Regexp.last_match[:k_type]
|
247
|
+
v_type = Regexp.last_match[:v_type]
|
248
|
+
{}.tap do |hash|
|
249
|
+
value.each do |k, v|
|
250
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
251
|
+
end
|
252
|
+
end
|
253
|
+
else # model
|
254
|
+
temp_model = CloudsmithApi.const_get(type).new
|
255
|
+
temp_model.build_from_hash(value)
|
256
|
+
end
|
257
|
+
end
|
258
|
+
|
259
|
+
# Returns the string representation of the object
|
260
|
+
# @return [String] String presentation of the object
|
261
|
+
def to_s
|
262
|
+
to_hash.to_s
|
263
|
+
end
|
264
|
+
|
265
|
+
# to_body is an alias to to_hash (backward compatibility)
|
266
|
+
# @return [Hash] Returns the object in the form of hash
|
267
|
+
def to_body
|
268
|
+
to_hash
|
269
|
+
end
|
270
|
+
|
271
|
+
# Returns the object in the form of hash
|
272
|
+
# @return [Hash] Returns the object in the form of hash
|
273
|
+
def to_hash
|
274
|
+
hash = {}
|
275
|
+
self.class.attribute_map.each_pair do |attr, param|
|
276
|
+
value = self.send(attr)
|
277
|
+
next if value.nil?
|
278
|
+
hash[param] = _to_hash(value)
|
279
|
+
end
|
280
|
+
hash
|
281
|
+
end
|
282
|
+
|
283
|
+
# Outputs non-array value in the form of hash
|
284
|
+
# For object, use to_hash. Otherwise, just return the value
|
285
|
+
# @param [Object] value Any valid value
|
286
|
+
# @return [Hash] Returns the value in the form of hash
|
287
|
+
def _to_hash(value)
|
288
|
+
if value.is_a?(Array)
|
289
|
+
value.compact.map { |v| _to_hash(v) }
|
290
|
+
elsif value.is_a?(Hash)
|
291
|
+
{}.tap do |hash|
|
292
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
293
|
+
end
|
294
|
+
elsif value.respond_to? :to_hash
|
295
|
+
value.to_hash
|
296
|
+
else
|
297
|
+
value
|
298
|
+
end
|
299
|
+
end
|
300
|
+
|
301
|
+
end
|
302
|
+
end
|