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
data/docs/InlineResponse200.md
DELETED
@@ -1,9 +0,0 @@
|
|
1
|
-
# CloudsmithApi::InlineResponse200
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**country_code** | [**InlineResponse200CountryCode**](InlineResponse200CountryCode.md) | | [optional]
|
7
|
-
**cidr** | [**InlineResponse200CountryCode**](InlineResponse200CountryCode.md) | | [optional]
|
8
|
-
|
9
|
-
|
@@ -1,9 +0,0 @@
|
|
1
|
-
# CloudsmithApi::InlineResponse200CountryCode
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**allow** | **Array<String>** | | [optional]
|
7
|
-
**deny** | **Array<String>** | | [optional]
|
8
|
-
|
9
|
-
|
data/docs/RepositoryGeoIPList.md
DELETED
@@ -1,9 +0,0 @@
|
|
1
|
-
# CloudsmithApi::RepositoryGeoIPList
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**cidr** | **String** | List all CIDR geographic rules within the repository | [optional]
|
7
|
-
**country_code** | **String** | List all GeoIP geographic rules within the repository | [optional]
|
8
|
-
|
9
|
-
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -1,515 +0,0 @@
|
|
1
|
-
require 'socket'
|
2
|
-
require 'time'
|
3
|
-
|
4
|
-
# See Ruby bugs #2618 and #7681. This is a workaround.
|
5
|
-
BEGIN{
|
6
|
-
require 'win32ole'
|
7
|
-
if RUBY_VERSION.to_f < 2.0
|
8
|
-
WIN32OLE.ole_initialize
|
9
|
-
at_exit { WIN32OLE.ole_uninitialize }
|
10
|
-
end
|
11
|
-
}
|
12
|
-
|
13
|
-
# The Sys module provides a namespace only.
|
14
|
-
module Sys
|
15
|
-
|
16
|
-
# The Uname class encapsulates uname (platform) information.
|
17
|
-
class Uname
|
18
|
-
|
19
|
-
# This is the error raised if any of the Sys::Uname methods should fail.
|
20
|
-
class Error < StandardError; end
|
21
|
-
|
22
|
-
fields = %w[
|
23
|
-
boot_device
|
24
|
-
build_number
|
25
|
-
build_type
|
26
|
-
caption
|
27
|
-
code_set
|
28
|
-
country_code
|
29
|
-
creation_class_name
|
30
|
-
cscreation_class_name
|
31
|
-
csd_version
|
32
|
-
cs_name
|
33
|
-
current_time_zone
|
34
|
-
debug
|
35
|
-
description
|
36
|
-
distributed
|
37
|
-
encryption_level
|
38
|
-
foreground_application_boost
|
39
|
-
free_physical_memory
|
40
|
-
free_space_in_paging_files
|
41
|
-
free_virtual_memory
|
42
|
-
install_date
|
43
|
-
last_bootup_time
|
44
|
-
local_date_time
|
45
|
-
locale
|
46
|
-
manufacturer
|
47
|
-
max_number_of_processes
|
48
|
-
max_process_memory_size
|
49
|
-
name
|
50
|
-
number_of_licensed_users
|
51
|
-
number_of_processes
|
52
|
-
number_of_users
|
53
|
-
organization
|
54
|
-
os_language
|
55
|
-
os_product_suite
|
56
|
-
os_type
|
57
|
-
other_type_description
|
58
|
-
plus_product_id
|
59
|
-
plus_version_number
|
60
|
-
primary
|
61
|
-
product_type
|
62
|
-
quantum_length
|
63
|
-
quantum_type
|
64
|
-
registered_user
|
65
|
-
serial_number
|
66
|
-
service_pack_major_version
|
67
|
-
service_pack_minor_version
|
68
|
-
size_stored_in_paging_files
|
69
|
-
status
|
70
|
-
suite_mask
|
71
|
-
system_device
|
72
|
-
system_directory
|
73
|
-
system_drive
|
74
|
-
total_swap_space_size
|
75
|
-
total_virtual_memory_size
|
76
|
-
total_visible_memory_size
|
77
|
-
version
|
78
|
-
windows_directory
|
79
|
-
]
|
80
|
-
|
81
|
-
# The UnameStruct is used to store platform information for some methods.
|
82
|
-
UnameStruct = Struct.new("UnameStruct", *fields)
|
83
|
-
|
84
|
-
# Returns the version plus patch information of the operating system,
|
85
|
-
# separated by a hyphen, e.g. "2915-Service Pack 2".
|
86
|
-
#--
|
87
|
-
# The instance name is unpredictable, so we have to resort to using
|
88
|
-
# the 'InstancesOf' method to get the data we need, rather than
|
89
|
-
# including it as part of the connection.
|
90
|
-
#
|
91
|
-
def self.version(host=Socket.gethostname)
|
92
|
-
cs = "winmgmts://#{host}/root/cimv2"
|
93
|
-
begin
|
94
|
-
wmi = WIN32OLE.connect(cs)
|
95
|
-
rescue WIN32OLERuntimeError => e
|
96
|
-
raise Error, e
|
97
|
-
else
|
98
|
-
wmi.InstancesOf("Win32_OperatingSystem").each{ |ole|
|
99
|
-
str = "#{ole.Version} #{ole.BuildNumber}-"
|
100
|
-
str << "#{ole.ServicePackMajorVersion}"
|
101
|
-
return str
|
102
|
-
}
|
103
|
-
end
|
104
|
-
end
|
105
|
-
|
106
|
-
# Returns the operating system name, e.g. "Microsoft Windows XP Home"
|
107
|
-
#
|
108
|
-
def self.sysname(host=Socket.gethostname)
|
109
|
-
cs = "winmgmts:{impersonationLevel=impersonate,(security)}"
|
110
|
-
cs << "//#{host}/root/cimv2"
|
111
|
-
begin
|
112
|
-
wmi = WIN32OLE.connect(cs)
|
113
|
-
rescue WIN32OLERuntimeError => e
|
114
|
-
raise Error, e
|
115
|
-
else
|
116
|
-
wmi.InstancesOf("Win32_OperatingSystem").each{ |ole|
|
117
|
-
return ole.Caption
|
118
|
-
}
|
119
|
-
end
|
120
|
-
end
|
121
|
-
|
122
|
-
# Returns the nodename. This is usually, but not necessarily, the
|
123
|
-
# same as the system's hostname.
|
124
|
-
#
|
125
|
-
def self.nodename(host=Socket.gethostname)
|
126
|
-
cs = "winmgmts:{impersonationLevel=impersonate,(security)}"
|
127
|
-
cs << "//#{host}/root/cimv2"
|
128
|
-
begin
|
129
|
-
wmi = WIN32OLE.connect(cs)
|
130
|
-
rescue WIN32OLERuntimeError => e
|
131
|
-
raise Error, e
|
132
|
-
else
|
133
|
-
wmi.InstancesOf("Win32_OperatingSystem").each{ |ole|
|
134
|
-
return ole.CSName
|
135
|
-
}
|
136
|
-
end
|
137
|
-
end
|
138
|
-
|
139
|
-
# Returns the CPU architecture, e.g. "x86"
|
140
|
-
#
|
141
|
-
def self.architecture(cpu_num=0, host=Socket.gethostname)
|
142
|
-
cs = "winmgmts:{impersonationLevel=impersonate,(security)}"
|
143
|
-
cs << "//#{host}/root/cimv2:Win32_Processor='cpu#{cpu_num}'"
|
144
|
-
begin
|
145
|
-
wmi = WIN32OLE.connect(cs)
|
146
|
-
rescue WIN32OLERuntimeError => e
|
147
|
-
raise Error, e
|
148
|
-
else
|
149
|
-
case wmi.Architecture
|
150
|
-
when 0
|
151
|
-
"x86"
|
152
|
-
when 1
|
153
|
-
"mips"
|
154
|
-
when 2
|
155
|
-
"alpha"
|
156
|
-
when 3
|
157
|
-
"powerpc"
|
158
|
-
when 6
|
159
|
-
"ia64"
|
160
|
-
when 9
|
161
|
-
"x86_64"
|
162
|
-
else
|
163
|
-
"unknown"
|
164
|
-
end
|
165
|
-
end
|
166
|
-
end
|
167
|
-
|
168
|
-
# Returns the machine hardware type. e.g. "i686".
|
169
|
-
#--
|
170
|
-
# This may or may not return the expected value because some CPU types
|
171
|
-
# were unknown to the OS when the OS was originally released. It
|
172
|
-
# appears that MS doesn't necessarily patch this, either.
|
173
|
-
#
|
174
|
-
def self.machine(cpu_num=0, host=Socket.gethostname)
|
175
|
-
cs = "winmgmts:{impersonationLevel=impersonate,(security)}"
|
176
|
-
cs << "//#{host}/root/cimv2:Win32_Processor='cpu#{cpu_num}'"
|
177
|
-
begin
|
178
|
-
wmi = WIN32OLE.connect(cs)
|
179
|
-
rescue WIN32OLERuntimeError => e
|
180
|
-
raise Error, e
|
181
|
-
else
|
182
|
-
# Convert a family number into the equivalent string
|
183
|
-
case wmi.Family
|
184
|
-
when 1
|
185
|
-
return "Other"
|
186
|
-
when 2
|
187
|
-
return "Unknown"
|
188
|
-
when 3
|
189
|
-
return "8086"
|
190
|
-
when 4
|
191
|
-
return "80286"
|
192
|
-
when 5
|
193
|
-
return "80386"
|
194
|
-
when 6
|
195
|
-
return "80486"
|
196
|
-
when 7
|
197
|
-
return "8087"
|
198
|
-
when 8
|
199
|
-
return "80287"
|
200
|
-
when 9
|
201
|
-
return "80387"
|
202
|
-
when 10
|
203
|
-
return "80487"
|
204
|
-
when 11
|
205
|
-
return "Pentium brand"
|
206
|
-
when 12
|
207
|
-
return "Pentium Pro"
|
208
|
-
when 13
|
209
|
-
return "Pentium II"
|
210
|
-
when 14
|
211
|
-
return "Pentium processor with MMX technology"
|
212
|
-
when 15
|
213
|
-
return "Celeron"
|
214
|
-
when 16
|
215
|
-
return "Pentium II Xeon"
|
216
|
-
when 17
|
217
|
-
return "Pentium III"
|
218
|
-
when 18
|
219
|
-
return "M1 Family"
|
220
|
-
when 19
|
221
|
-
return "M2 Family"
|
222
|
-
when 24
|
223
|
-
return "K5 Family"
|
224
|
-
when 25
|
225
|
-
return "K6 Family"
|
226
|
-
when 26
|
227
|
-
return "K6-2"
|
228
|
-
when 27
|
229
|
-
return "K6-3"
|
230
|
-
when 28
|
231
|
-
return "AMD Athlon Processor Family"
|
232
|
-
when 29
|
233
|
-
return "AMD Duron Processor"
|
234
|
-
when 30
|
235
|
-
return "AMD2900 Family"
|
236
|
-
when 31
|
237
|
-
return "K6-2+"
|
238
|
-
when 32
|
239
|
-
return "Power PC Family"
|
240
|
-
when 33
|
241
|
-
return "Power PC 601"
|
242
|
-
when 34
|
243
|
-
return "Power PC 603"
|
244
|
-
when 35
|
245
|
-
return "Power PC 603+"
|
246
|
-
when 36
|
247
|
-
return "Power PC 604"
|
248
|
-
when 37
|
249
|
-
return "Power PC 620"
|
250
|
-
when 38
|
251
|
-
return "Power PC X704"
|
252
|
-
when 39
|
253
|
-
return "Power PC 750"
|
254
|
-
when 48
|
255
|
-
return "Alpha Family"
|
256
|
-
when 49
|
257
|
-
return "Alpha 21064"
|
258
|
-
when 50
|
259
|
-
return "Alpha 21066"
|
260
|
-
when 51
|
261
|
-
return "Alpha 21164"
|
262
|
-
when 52
|
263
|
-
return "Alpha 21164PC"
|
264
|
-
when 53
|
265
|
-
return "Alpha 21164a"
|
266
|
-
when 54
|
267
|
-
return "Alpha 21264"
|
268
|
-
when 55
|
269
|
-
return "Alpha 21364"
|
270
|
-
when 64
|
271
|
-
return "MIPS Family"
|
272
|
-
when 65
|
273
|
-
return "MIPS R4000"
|
274
|
-
when 66
|
275
|
-
return "MIPS R4200"
|
276
|
-
when 67
|
277
|
-
return "MIPS R4400"
|
278
|
-
when 68
|
279
|
-
return "MIPS R4600"
|
280
|
-
when 69
|
281
|
-
return "MIPS R10000"
|
282
|
-
when 80
|
283
|
-
return "SPARC Family"
|
284
|
-
when 81
|
285
|
-
return "SuperSPARC"
|
286
|
-
when 82
|
287
|
-
return "microSPARC II"
|
288
|
-
when 83
|
289
|
-
return "microSPARC IIep"
|
290
|
-
when 84
|
291
|
-
return "UltraSPARC"
|
292
|
-
when 85
|
293
|
-
return "UltraSPARC II"
|
294
|
-
when 86
|
295
|
-
return "UltraSPARC IIi"
|
296
|
-
when 87
|
297
|
-
return "UltraSPARC III"
|
298
|
-
when 88
|
299
|
-
return "UltraSPARC IIIi"
|
300
|
-
when 96
|
301
|
-
return "68040"
|
302
|
-
when 97
|
303
|
-
return "68xxx Family"
|
304
|
-
when 98
|
305
|
-
return "68000"
|
306
|
-
when 99
|
307
|
-
return "68010"
|
308
|
-
when 100
|
309
|
-
return "68020"
|
310
|
-
when 101
|
311
|
-
return "68030"
|
312
|
-
when 112
|
313
|
-
return "Hobbit Family"
|
314
|
-
when 120
|
315
|
-
return "Crusoe TM5000 Family"
|
316
|
-
when 121
|
317
|
-
return "Crusoe TM3000 Family"
|
318
|
-
when 122
|
319
|
-
return "Efficeon TM8000 Family"
|
320
|
-
when 128
|
321
|
-
return "Weitek"
|
322
|
-
when 130
|
323
|
-
return "Itanium Processor"
|
324
|
-
when 131
|
325
|
-
return "AMD Athlon 64 Processor Family"
|
326
|
-
when 132
|
327
|
-
return "AMD Opteron Processor Family"
|
328
|
-
when 144
|
329
|
-
return "PA-RISC Family"
|
330
|
-
when 145
|
331
|
-
return "PA-RISC 8500"
|
332
|
-
when 146
|
333
|
-
return "PA-RISC 8000"
|
334
|
-
when 147
|
335
|
-
return "PA-RISC 7300LC"
|
336
|
-
when 148
|
337
|
-
return "PA-RISC 7200"
|
338
|
-
when 149
|
339
|
-
return "PA-RISC 7100LC"
|
340
|
-
when 150
|
341
|
-
return "PA-RISC 7100"
|
342
|
-
when 160
|
343
|
-
return "V30 Family"
|
344
|
-
when 176
|
345
|
-
return "Pentium III Xeon"
|
346
|
-
when 177
|
347
|
-
return "Pentium III Processor with Intel SpeedStep Technology"
|
348
|
-
when 178
|
349
|
-
return "Pentium 4"
|
350
|
-
when 179
|
351
|
-
return "Intel Xeon"
|
352
|
-
when 180
|
353
|
-
return "AS400 Family"
|
354
|
-
when 181
|
355
|
-
return "Intel Xeon processor MP"
|
356
|
-
when 182
|
357
|
-
return "AMD AthlonXP Family"
|
358
|
-
when 183
|
359
|
-
return "AMD AthlonMP Family"
|
360
|
-
when 184
|
361
|
-
return "Intel Itanium 2"
|
362
|
-
when 185
|
363
|
-
return "AMD Opteron Family"
|
364
|
-
when 190
|
365
|
-
return "K7"
|
366
|
-
when 198
|
367
|
-
return "Intel Core i7-2760QM"
|
368
|
-
when 200
|
369
|
-
return "IBM390 Family"
|
370
|
-
when 201
|
371
|
-
return "G4"
|
372
|
-
when 202
|
373
|
-
return "G5"
|
374
|
-
when 203
|
375
|
-
return "G6"
|
376
|
-
when 204
|
377
|
-
return "z/Architecture Base"
|
378
|
-
when 250
|
379
|
-
return "i860"
|
380
|
-
when 251
|
381
|
-
return "i960"
|
382
|
-
when 260
|
383
|
-
return "SH-3"
|
384
|
-
when 261
|
385
|
-
return "SH-4"
|
386
|
-
when 280
|
387
|
-
return "ARM"
|
388
|
-
when 281
|
389
|
-
return "StrongARM"
|
390
|
-
when 300
|
391
|
-
return "6x86"
|
392
|
-
when 301
|
393
|
-
return "MediaGX"
|
394
|
-
when 302
|
395
|
-
return "MII"
|
396
|
-
when 320
|
397
|
-
return "WinChip"
|
398
|
-
when 350
|
399
|
-
return "DSP"
|
400
|
-
when 500
|
401
|
-
return "Video Processor"
|
402
|
-
else
|
403
|
-
return "Unknown"
|
404
|
-
end
|
405
|
-
end
|
406
|
-
end
|
407
|
-
|
408
|
-
# Returns the release number, e.g. 5.1.2600.
|
409
|
-
#
|
410
|
-
def self.release(host=Socket.gethostname)
|
411
|
-
cs = "winmgmts://#{host}/root/cimv2"
|
412
|
-
begin
|
413
|
-
wmi = WIN32OLE.connect(cs)
|
414
|
-
rescue WIN32OLERuntimeError => e
|
415
|
-
raise Error, e
|
416
|
-
else
|
417
|
-
wmi.InstancesOf("Win32_OperatingSystem").each{ |ole|
|
418
|
-
return ole.Version
|
419
|
-
}
|
420
|
-
end
|
421
|
-
end
|
422
|
-
|
423
|
-
# Returns a struct of type UnameStruct that contains sysname, nodename,
|
424
|
-
# machine, version, and release, as well as a plethora of other fields.
|
425
|
-
# Please see the MSDN documentation for what each of these fields mean.
|
426
|
-
#
|
427
|
-
def self.uname(host=Socket.gethostname)
|
428
|
-
cs = "winmgmts://#{host}/root/cimv2"
|
429
|
-
begin
|
430
|
-
wmi = WIN32OLE.connect(cs)
|
431
|
-
rescue WIN32OLERuntimeError => e
|
432
|
-
raise Error, e
|
433
|
-
else
|
434
|
-
wmi.InstancesOf("Win32_OperatingSystem").each{ |os|
|
435
|
-
return UnameStruct.new(
|
436
|
-
os.BootDevice,
|
437
|
-
os.BuildNumber,
|
438
|
-
os.BuildType,
|
439
|
-
os.Caption,
|
440
|
-
os.CodeSet,
|
441
|
-
os.CountryCode,
|
442
|
-
os.CreationClassName,
|
443
|
-
os.CSCreationClassName,
|
444
|
-
os.CSDVersion,
|
445
|
-
os.CSName,
|
446
|
-
os.CurrentTimeZone,
|
447
|
-
os.Debug,
|
448
|
-
os.Description,
|
449
|
-
os.Distributed,
|
450
|
-
os.EncryptionLevel,
|
451
|
-
os.ForegroundApplicationBoost,
|
452
|
-
self.convert(os.FreePhysicalMemory),
|
453
|
-
self.convert(os.FreeSpaceInPagingFiles),
|
454
|
-
self.convert(os.FreeVirtualMemory),
|
455
|
-
self.parse_ms_date(os.InstallDate),
|
456
|
-
self.parse_ms_date(os.LastBootUpTime),
|
457
|
-
self.parse_ms_date(os.LocalDateTime),
|
458
|
-
os.Locale,
|
459
|
-
os.Manufacturer,
|
460
|
-
os.MaxNumberOfProcesses,
|
461
|
-
self.convert(os.MaxProcessMemorySize),
|
462
|
-
os.Name,
|
463
|
-
os.NumberOfLicensedUsers,
|
464
|
-
os.NumberOfProcesses,
|
465
|
-
os.NumberOfUsers,
|
466
|
-
os.Organization,
|
467
|
-
os.OSLanguage,
|
468
|
-
os.OSProductSuite,
|
469
|
-
os.OSType,
|
470
|
-
os.OtherTypeDescription,
|
471
|
-
os.PlusProductID,
|
472
|
-
os.PlusVersionNumber,
|
473
|
-
os.Primary,
|
474
|
-
os.ProductType,
|
475
|
-
os.respond_to?(:QuantumLength) ? os.QuantumLength : nil,
|
476
|
-
os.respond_to?(:QuantumType) ? os.QuantumType : nil,
|
477
|
-
os.RegisteredUser,
|
478
|
-
os.SerialNumber,
|
479
|
-
os.ServicePackMajorVersion,
|
480
|
-
os.ServicePackMinorVersion,
|
481
|
-
self.convert(os.SizeStoredInPagingFiles),
|
482
|
-
os.Status,
|
483
|
-
os.SuiteMask,
|
484
|
-
os.SystemDevice,
|
485
|
-
os.SystemDirectory,
|
486
|
-
os.SystemDrive,
|
487
|
-
self.convert(os.TotalSwapSpaceSize),
|
488
|
-
self.convert(os.TotalVirtualMemorySize),
|
489
|
-
self.convert(os.TotalVisibleMemorySize),
|
490
|
-
os.Version,
|
491
|
-
os.WindowsDirectory
|
492
|
-
)
|
493
|
-
}
|
494
|
-
end
|
495
|
-
end
|
496
|
-
|
497
|
-
private
|
498
|
-
|
499
|
-
# Converts a string in the format '20040703074625.015625-360' into a
|
500
|
-
# Ruby Time object.
|
501
|
-
#
|
502
|
-
def self.parse_ms_date(str)
|
503
|
-
return if str.nil?
|
504
|
-
return Time.parse(str.split('.')[0])
|
505
|
-
end
|
506
|
-
|
507
|
-
# There is a bug in win32ole where uint64 types are returned as a
|
508
|
-
# String rather than a Fixnum/Bignum. This deals with that for now.
|
509
|
-
#
|
510
|
-
def self.convert(str)
|
511
|
-
return nil if str.nil? # Don't turn nil into 0
|
512
|
-
return str.to_i
|
513
|
-
end
|
514
|
-
end
|
515
|
-
end
|
@@ -1 +0,0 @@
|
|
1
|
-
require_relative 'sys/uname'
|
@@ -1,75 +0,0 @@
|
|
1
|
-
##############################################################################
|
2
|
-
# sys_platform_spec.rb
|
3
|
-
#
|
4
|
-
# Test suite for the Sys::Platform class.
|
5
|
-
##############################################################################
|
6
|
-
require 'rspec'
|
7
|
-
require 'sys/uname'
|
8
|
-
require 'rbconfig'
|
9
|
-
|
10
|
-
RSpec.describe Sys::Platform do
|
11
|
-
|
12
|
-
before(:context) do
|
13
|
-
@host_os = RbConfig::CONFIG['host_os']
|
14
|
-
@windows = @host_os =~ /mingw|mswin|windows/i ? true : false
|
15
|
-
end
|
16
|
-
|
17
|
-
example "the VERSION constant is set to the expected value" do
|
18
|
-
expect(Sys::Platform::VERSION).to eql('1.2.2')
|
19
|
-
expect(Sys::Platform::VERSION).to be_frozen
|
20
|
-
end
|
21
|
-
|
22
|
-
example "the ARCH constant is defined" do
|
23
|
-
expect(Sys::Platform::ARCH).to be_kind_of(Symbol)
|
24
|
-
end
|
25
|
-
|
26
|
-
example "the OS constant is defined" do
|
27
|
-
expect(Sys::Platform::OS).to be_kind_of(Symbol)
|
28
|
-
end
|
29
|
-
|
30
|
-
example "the IMPL constant is defined" do
|
31
|
-
expect(Sys::Platform::IMPL).to be_kind_of(Symbol)
|
32
|
-
end
|
33
|
-
|
34
|
-
example "the IMPL returns an expected value", :if => @windows do
|
35
|
-
expect(Sys::Platform::IMPL).to include([:mingw, :mswin])
|
36
|
-
end
|
37
|
-
|
38
|
-
example "the mac? method is defined and returns a boolean" do
|
39
|
-
expect(Sys::Platform).to respond_to(:mac?)
|
40
|
-
expect(Sys::Platform.mac?).to eql(true).or eql(false)
|
41
|
-
end
|
42
|
-
|
43
|
-
example "the windows? method is defined and returns a boolean" do
|
44
|
-
expect(Sys::Platform).to respond_to(:windows?)
|
45
|
-
expect(Sys::Platform.windows?).to eql(true).or eql(false)
|
46
|
-
end
|
47
|
-
|
48
|
-
example "the windows? method returns the expected value" do
|
49
|
-
expect(Sys::Platform.windows?).to eql(@windows)
|
50
|
-
end
|
51
|
-
|
52
|
-
example "the unix? method is defined and returns a boolean" do
|
53
|
-
expect(Sys::Platform).to respond_to(:unix?)
|
54
|
-
expect(Sys::Platform.unix?).to eql(true).or eql(false)
|
55
|
-
end
|
56
|
-
|
57
|
-
example "the unix? method returns the expected value" do
|
58
|
-
expect(Sys::Platform.unix?).not_to eql(@windows)
|
59
|
-
end
|
60
|
-
|
61
|
-
example "the solaris? method is defined and returns a boolean" do
|
62
|
-
expect(Sys::Platform).to respond_to(:solaris?)
|
63
|
-
expect(Sys::Platform.solaris?).to eql(true).or eql(false)
|
64
|
-
end
|
65
|
-
|
66
|
-
example "the linux? method is defined and returns a boolean" do
|
67
|
-
expect(Sys::Platform).to respond_to(:linux?)
|
68
|
-
expect(Sys::Platform.linux?).to eql(true).or eql(false)
|
69
|
-
end
|
70
|
-
|
71
|
-
example "the bsd? method is defined and returns a boolean" do
|
72
|
-
expect(Sys::Platform).to respond_to(:bsd?)
|
73
|
-
expect(Sys::Platform.bsd?).to eql(true).or eql(false)
|
74
|
-
end
|
75
|
-
end
|
File without changes
|
File without changes
|
File without changes
|
data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/data/unicode.data
RENAMED
File without changes
|
data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/lib/addressable/idna.rb
RENAMED
File without changes
|
data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/lib/addressable.rb
RENAMED
File without changes
|
File without changes
|
File without changes
|
data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/spec/spec_helper.rb
RENAMED
File without changes
|
data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/tasks/clobber.rake
RENAMED
File without changes
|
File without changes
|
File without changes
|
data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/tasks/metrics.rake
RENAMED
File without changes
|
data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/tasks/profile.rake
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|