cloudsmith-api 2.0.11 → 2.0.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +4 -4
- data/README.md +23 -5
- data/build.json +1 -1
- data/docs/AlpinePackageUpload.md +7 -0
- data/docs/CargoPackageUpload.md +7 -0
- data/docs/CocoapodsPackageUpload.md +7 -0
- data/docs/ComposerPackageUpload.md +7 -0
- data/docs/ConanPackageUpload.md +7 -0
- data/docs/CondaPackageUpload.md +7 -0
- data/docs/CranPackageUpload.md +7 -0
- data/docs/DartPackageUpload.md +7 -0
- data/docs/DebPackageUpload.md +7 -0
- data/docs/DockerPackageUpload.md +7 -0
- data/docs/GoPackageUpload.md +7 -0
- data/docs/HelmPackageUpload.md +7 -0
- data/docs/HexPackageUpload.md +7 -0
- data/docs/LuarocksPackageUpload.md +7 -0
- data/docs/MavenPackageUpload.md +7 -0
- data/docs/NpmPackageUpload.md +7 -0
- data/docs/NugetPackageUpload.md +7 -0
- data/docs/OrganizationMembership.md +1 -1
- data/docs/OrgsApi.md +358 -0
- data/docs/P2PackageUpload.md +7 -0
- data/docs/Package.md +7 -0
- data/docs/PackageCopy.md +7 -0
- data/docs/PackageMove.md +7 -0
- data/docs/PackageQuarantine.md +7 -0
- data/docs/PackageResync.md +7 -0
- data/docs/PackageStatus.md +7 -0
- data/docs/PackageTag.md +7 -0
- data/docs/PackagesApi.md +4 -4
- data/docs/ProviderSettings.md +14 -0
- data/docs/ProviderSettingsRequest.md +12 -0
- data/docs/ProviderSettingsRequestPatch.md +12 -0
- data/docs/PythonPackageUpload.md +7 -0
- data/docs/RawPackageUpload.md +7 -0
- data/docs/ReposApi.md +377 -0
- data/docs/RpmPackageUpload.md +7 -0
- data/docs/RubyPackageUpload.md +7 -0
- data/docs/StatusBasic.md +1 -1
- data/docs/SwiftPackageUpload.md +8 -1
- data/docs/SwiftPackageUploadRequest.md +1 -0
- data/docs/SwiftUpstream.md +23 -0
- data/docs/SwiftUpstreamRequest.md +20 -0
- data/docs/SwiftUpstreamRequestPatch.md +20 -0
- data/docs/TerraformPackageUpload.md +7 -0
- data/docs/VagrantPackageUpload.md +7 -0
- data/lib/cloudsmith-api/api/orgs_api.rb +358 -0
- data/lib/cloudsmith-api/api/packages_api.rb +4 -4
- data/lib/cloudsmith-api/api/repos_api.rb +395 -0
- data/lib/cloudsmith-api/models/alpine_package_upload.rb +64 -1
- data/lib/cloudsmith-api/models/cargo_package_upload.rb +64 -1
- data/lib/cloudsmith-api/models/cocoapods_package_upload.rb +64 -1
- data/lib/cloudsmith-api/models/composer_package_upload.rb +64 -1
- data/lib/cloudsmith-api/models/conan_package_upload.rb +64 -1
- data/lib/cloudsmith-api/models/conda_package_upload.rb +64 -1
- data/lib/cloudsmith-api/models/cran_package_upload.rb +64 -1
- data/lib/cloudsmith-api/models/dart_package_upload.rb +64 -1
- data/lib/cloudsmith-api/models/deb_package_upload.rb +64 -1
- data/lib/cloudsmith-api/models/docker_package_upload.rb +64 -1
- data/lib/cloudsmith-api/models/go_package_upload.rb +64 -1
- data/lib/cloudsmith-api/models/helm_package_upload.rb +64 -1
- data/lib/cloudsmith-api/models/hex_package_upload.rb +64 -1
- data/lib/cloudsmith-api/models/luarocks_package_upload.rb +64 -1
- data/lib/cloudsmith-api/models/maven_package_upload.rb +64 -1
- data/lib/cloudsmith-api/models/npm_package_upload.rb +64 -1
- data/lib/cloudsmith-api/models/nuget_package_upload.rb +64 -1
- data/lib/cloudsmith-api/models/organization_membership.rb +1 -1
- data/lib/cloudsmith-api/models/p2_package_upload.rb +64 -1
- data/lib/cloudsmith-api/models/package.rb +64 -1
- data/lib/cloudsmith-api/models/package_copy.rb +64 -1
- data/lib/cloudsmith-api/models/package_move.rb +64 -1
- data/lib/cloudsmith-api/models/package_quarantine.rb +64 -1
- data/lib/cloudsmith-api/models/package_resync.rb +64 -1
- data/lib/cloudsmith-api/models/package_status.rb +64 -1
- data/lib/cloudsmith-api/models/package_tag.rb +64 -1
- data/lib/cloudsmith-api/models/provider_settings.rb +272 -0
- data/lib/cloudsmith-api/models/provider_settings_request.rb +252 -0
- data/lib/cloudsmith-api/models/provider_settings_request_patch.rb +227 -0
- data/lib/cloudsmith-api/models/python_package_upload.rb +64 -1
- data/lib/cloudsmith-api/models/raw_package_upload.rb +64 -1
- data/lib/cloudsmith-api/models/rpm_package_upload.rb +64 -1
- data/lib/cloudsmith-api/models/ruby_package_upload.rb +64 -1
- data/lib/cloudsmith-api/models/status_basic.rb +1 -1
- data/lib/cloudsmith-api/models/swift_package_upload.rb +69 -1
- data/lib/cloudsmith-api/models/swift_package_upload_request.rb +16 -1
- data/lib/cloudsmith-api/models/swift_upstream.rb +393 -0
- data/lib/cloudsmith-api/models/swift_upstream_request.rb +365 -0
- data/lib/cloudsmith-api/models/swift_upstream_request_patch.rb +355 -0
- data/lib/cloudsmith-api/models/terraform_package_upload.rb +64 -1
- data/lib/cloudsmith-api/models/vagrant_package_upload.rb +64 -1
- data/lib/cloudsmith-api/version.rb +1 -1
- data/lib/cloudsmith-api.rb +6 -0
- data/spec/api/orgs_api_spec.rb +81 -0
- data/spec/api/packages_api_spec.rb +2 -2
- data/spec/api/repos_api_spec.rb +87 -0
- data/spec/models/alpine_package_upload_spec.rb +42 -0
- data/spec/models/cargo_package_upload_spec.rb +42 -0
- data/spec/models/cocoapods_package_upload_spec.rb +42 -0
- data/spec/models/composer_package_upload_spec.rb +42 -0
- data/spec/models/conan_package_upload_spec.rb +42 -0
- data/spec/models/conda_package_upload_spec.rb +42 -0
- data/spec/models/cran_package_upload_spec.rb +42 -0
- data/spec/models/dart_package_upload_spec.rb +42 -0
- data/spec/models/deb_package_upload_spec.rb +42 -0
- data/spec/models/docker_package_upload_spec.rb +42 -0
- data/spec/models/go_package_upload_spec.rb +42 -0
- data/spec/models/helm_package_upload_spec.rb +42 -0
- data/spec/models/hex_package_upload_spec.rb +42 -0
- data/spec/models/luarocks_package_upload_spec.rb +42 -0
- data/spec/models/maven_package_upload_spec.rb +42 -0
- data/spec/models/npm_package_upload_spec.rb +42 -0
- data/spec/models/nuget_package_upload_spec.rb +42 -0
- data/spec/models/p2_package_upload_spec.rb +42 -0
- data/spec/models/package_copy_spec.rb +42 -0
- data/spec/models/package_move_spec.rb +42 -0
- data/spec/models/package_quarantine_spec.rb +42 -0
- data/spec/models/package_resync_spec.rb +42 -0
- data/spec/models/package_spec.rb +42 -0
- data/spec/models/package_status_spec.rb +42 -0
- data/spec/models/package_tag_spec.rb +42 -0
- data/spec/models/provider_settings_request_patch_spec.rb +65 -0
- data/spec/models/provider_settings_request_spec.rb +65 -0
- data/spec/models/provider_settings_spec.rb +77 -0
- data/spec/models/python_package_upload_spec.rb +42 -0
- data/spec/models/raw_package_upload_spec.rb +42 -0
- data/spec/models/rpm_package_upload_spec.rb +42 -0
- data/spec/models/ruby_package_upload_spec.rb +42 -0
- data/spec/models/swift_package_upload_request_spec.rb +6 -0
- data/spec/models/swift_package_upload_spec.rb +42 -0
- data/spec/models/swift_upstream_request_patch_spec.rb +121 -0
- data/spec/models/swift_upstream_request_spec.rb +121 -0
- data/spec/models/swift_upstream_spec.rb +139 -0
- data/spec/models/terraform_package_upload_spec.rb +42 -0
- data/spec/models/vagrant_package_upload_spec.rb +42 -0
- data/vendor/bundle/ruby/2.6.0/cache/bigdecimal-3.1.7.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/json-2.7.2.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/public_suffix-5.0.5.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/autotest-fsevent-0.2.21/gem_make.out +1 -1
- data/vendor/bundle/ruby/2.6.0/{gems/bigdecimal-3.1.6/ext/bigdecimal → extensions/x86_64-linux/2.6.0/bigdecimal-3.1.7}/bigdecimal.so +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/gem_make.out +6 -6
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/mkmf.log +10 -10
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.16.3/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.16.3/mkmf.log +1 -1
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{json-2.7.1 → json-2.7.2}/gem_make.out +5 -5
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.7.2/json/ext/generator.so +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.7.2/json/ext/parser.so +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{json-2.7.1 → json-2.7.2}/mkmf.log +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/bigdecimal.c +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/bigdecimal.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6/lib → bigdecimal-3.1.7/ext/bigdecimal}/bigdecimal.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/missing.o +0 -0
- data/vendor/bundle/ruby/2.6.0/{extensions/x86_64-linux/2.6.0/bigdecimal-3.1.6 → gems/bigdecimal-3.1.7/lib}/bigdecimal.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.16.3/ext/ffi_c/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/README.md +0 -9
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/generator/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/generator/generator.c +36 -6
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.2/ext/json/ext/generator/generator.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.2/ext/json/ext/generator/generator.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/parser/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/parser/parser.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.2/ext/json/ext/parser/parser.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/ostruct.rb +5 -2
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/common.rb +2 -1
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.2/lib/json/ext/generator.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.2/lib/json/ext/parser.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/generic_object.rb +6 -2
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/version.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/CHANGELOG.md +7 -1
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/LICENSE.txt +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/README.md +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/data/list.txt +239 -80
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/lib/public_suffix/domain.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/lib/public_suffix/errors.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/lib/public_suffix/list.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/lib/public_suffix/rule.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/lib/public_suffix/version.rb +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/lib/public_suffix.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/specifications/{bigdecimal-3.1.6.gemspec → bigdecimal-3.1.7.gemspec} +3 -3
- data/vendor/bundle/ruby/2.6.0/specifications/{json-2.7.1.gemspec → json-2.7.2.gemspec} +0 -0
- data/vendor/bundle/ruby/2.6.0/specifications/{public_suffix-5.0.4.gemspec → public_suffix-5.0.5.gemspec} +4 -4
- metadata +129 -105
- data/vendor/bundle/ruby/2.6.0/cache/bigdecimal-3.1.6.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/json-2.7.1.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/public_suffix-5.0.4.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.7.1/json/ext/generator.so +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.7.1/json/ext/parser.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.1/ext/json/ext/generator/generator.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.1/ext/json/ext/generator/generator.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.1/ext/json/ext/parser/parser.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.1/lib/json/ext/generator.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.1/lib/json/ext/parser.so +0 -0
- /data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/gem.build_complete +0 -0
- /data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{json-2.7.1 → json-2.7.2}/gem.build_complete +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/LICENSE +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/bigdecimal.gemspec +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/.sitearchdir.time +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/bigdecimal.h +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/bits.h +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/extconf.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/feature.h +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/missing/dtoa.c +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/missing.c +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/missing.h +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/static_assert.h +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/lib/bigdecimal/jacobian.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/lib/bigdecimal/ludcmp.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/lib/bigdecimal/math.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/lib/bigdecimal/newton.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/lib/bigdecimal/util.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/lib/bigdecimal.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/sample/linear.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/sample/nlsolve.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/sample/pi.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/CHANGES.md +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/LICENSE +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/fbuffer/fbuffer.h +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/generator/.sitearchdir.-.json.-.ext.time +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/generator/depend +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/generator/extconf.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/generator/generator.h +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/parser/.sitearchdir.-.json.-.ext.time +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/parser/depend +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/parser/extconf.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/parser/parser.c +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/parser/parser.h +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/parser/parser.rl +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/extconf.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/json.gemspec +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/bigdecimal.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/complex.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/core.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/date.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/date_time.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/exception.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/range.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/rational.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/regexp.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/set.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/struct.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/symbol.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/time.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/ext.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/pure/generator.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/pure/parser.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/pure.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/.yardopts +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/2.0-Upgrade.md +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/SECURITY.md +0 -0
@@ -2,7 +2,10 @@
|
|
2
2
|
unless defined?(::JSON::JSON_LOADED) and ::JSON::JSON_LOADED
|
3
3
|
require 'json'
|
4
4
|
end
|
5
|
-
|
5
|
+
begin
|
6
|
+
require 'ostruct'
|
7
|
+
rescue LoadError
|
8
|
+
end
|
6
9
|
|
7
10
|
class OpenStruct
|
8
11
|
|
@@ -48,4 +51,4 @@ class OpenStruct
|
|
48
51
|
def to_json(*args)
|
49
52
|
as_json.to_json(*args)
|
50
53
|
end
|
51
|
-
end
|
54
|
+
end if defined?(::OpenStruct)
|
Binary file
|
Binary file
|
@@ -1,5 +1,9 @@
|
|
1
1
|
#frozen_string_literal: false
|
2
|
-
|
2
|
+
begin
|
3
|
+
require 'ostruct'
|
4
|
+
rescue LoadError
|
5
|
+
warn "JSON::GenericObject requires 'ostruct'. Please install it with `gem install ostruct`."
|
6
|
+
end
|
3
7
|
|
4
8
|
module JSON
|
5
9
|
class GenericObject < OpenStruct
|
@@ -67,5 +71,5 @@ module JSON
|
|
67
71
|
def to_json(*a)
|
68
72
|
as_json.to_json(*a)
|
69
73
|
end
|
70
|
-
end
|
74
|
+
end if defined?(::OpenStruct)
|
71
75
|
end
|
@@ -2,11 +2,17 @@
|
|
2
2
|
|
3
3
|
This project uses [Semantic Versioning 2.0.0](https://semver.org/).
|
4
4
|
|
5
|
+
## 5.0.5
|
6
|
+
|
7
|
+
### Changed
|
8
|
+
|
9
|
+
- Updated definitions.
|
10
|
+
|
5
11
|
## 5.0.4
|
6
12
|
|
7
13
|
### Changed
|
8
14
|
|
9
|
-
- Reduced .gem file size (GH-
|
15
|
+
- Reduced .gem file size (GH-258). [Thanks @ybiquitous]
|
10
16
|
- Updated definitions.
|
11
17
|
|
12
18
|
## 5.0.3
|
@@ -209,7 +209,7 @@ See the [CHANGELOG.md](CHANGELOG.md) file for details.
|
|
209
209
|
|
210
210
|
## License
|
211
211
|
|
212
|
-
Copyright (c) 2009-
|
212
|
+
Copyright (c) 2009-2024 Simone Carletti. This is Free Software distributed under the MIT license.
|
213
213
|
|
214
214
|
The [Public Suffix List source](https://publicsuffix.org/list/) is subject to the terms of the Mozilla Public License, v. 2.0.
|
215
215
|
|