cloudsmith-api 0.51.37 → 0.52.79
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -3
- data/README.md +12 -5
- data/build.json +1 -1
- data/docs/AlpinePackageUpload.md +63 -0
- data/docs/ConanPackageUpload.md +1 -0
- data/docs/EntitlementsCreate.md +1 -1
- data/docs/EntitlementsPartialUpdate.md +1 -1
- data/docs/EntitlementsRefresh.md +1 -1
- data/docs/EntitlmentTokenMetric.md +9 -0
- data/docs/MavenPackageUpload.md +1 -0
- data/docs/MetricsApi.md +83 -0
- data/docs/Package.md +2 -0
- data/docs/PackageCopy.md +2 -0
- data/docs/PackageMove.md +2 -0
- data/docs/PackagesApi.md +107 -41
- data/docs/PackagesCopy.md +1 -1
- data/docs/PackagesMove.md +0 -1
- data/docs/PackagesTag.md +10 -0
- data/docs/PackagesUploadAlpine.md +1 -0
- data/docs/PackagesUploadCargo.md +1 -0
- data/docs/PackagesUploadCocoapods.md +1 -0
- data/docs/PackagesUploadComposer.md +1 -0
- data/docs/PackagesUploadConan.md +3 -0
- data/docs/PackagesUploadCran.md +1 -0
- data/docs/PackagesUploadDart.md +1 -0
- data/docs/PackagesUploadDeb.md +3 -0
- data/docs/PackagesUploadDocker.md +1 -0
- data/docs/PackagesUploadGo.md +1 -0
- data/docs/PackagesUploadHelm.md +1 -0
- data/docs/PackagesUploadLuarocks.md +1 -0
- data/docs/PackagesUploadMaven.md +1 -0
- data/docs/PackagesUploadNpm.md +1 -0
- data/docs/PackagesUploadNuget.md +1 -0
- data/docs/PackagesUploadPython.md +1 -0
- data/docs/PackagesUploadRaw.md +1 -0
- data/docs/PackagesUploadRpm.md +1 -0
- data/docs/PackagesUploadRuby.md +1 -0
- data/docs/PackagesUploadTerraform.md +1 -0
- data/docs/PackagesUploadVagrant.md +1 -0
- data/docs/PackagesValidateuploadAlpine.md +1 -0
- data/docs/PackagesValidateuploadCargo.md +1 -0
- data/docs/PackagesValidateuploadCocoapods.md +1 -0
- data/docs/PackagesValidateuploadComposer.md +1 -0
- data/docs/PackagesValidateuploadConan.md +3 -0
- data/docs/PackagesValidateuploadCran.md +1 -0
- data/docs/PackagesValidateuploadDart.md +1 -0
- data/docs/PackagesValidateuploadDeb.md +3 -0
- data/docs/PackagesValidateuploadDocker.md +1 -0
- data/docs/PackagesValidateuploadGo.md +1 -0
- data/docs/PackagesValidateuploadHelm.md +1 -0
- data/docs/PackagesValidateuploadLuarocks.md +1 -0
- data/docs/PackagesValidateuploadMaven.md +1 -0
- data/docs/PackagesValidateuploadNpm.md +1 -0
- data/docs/PackagesValidateuploadNuget.md +1 -0
- data/docs/PackagesValidateuploadPython.md +1 -0
- data/docs/PackagesValidateuploadRaw.md +1 -0
- data/docs/PackagesValidateuploadRpm.md +1 -0
- data/docs/PackagesValidateuploadRuby.md +1 -0
- data/docs/PackagesValidateuploadTerraform.md +1 -0
- data/docs/PackagesValidateuploadVagrant.md +1 -0
- data/docs/RawPackageUpload.md +1 -0
- data/docs/ReposCreate.md +4 -7
- data/docs/ReposPartialUpdate.md +3 -7
- data/docs/Repository.md +11 -10
- data/docs/RepositoryToken.md +4 -3
- data/docs/RepositoryTokenRefresh.md +4 -3
- data/docs/RepositoryTokenSyncTokens.md +4 -3
- data/docs/RepositoryWebhook.md +1 -0
- data/docs/StorageRegion.md +9 -0
- data/docs/StorageregionsApi.md +122 -0
- data/docs/VagrantPackageUpload.md +1 -0
- data/docs/WebhooksCreate.md +1 -0
- data/docs/WebhooksPartialUpdate.md +1 -0
- data/lib/cloudsmith-api.rb +6 -1
- data/lib/cloudsmith-api/api/metrics_api.rb +95 -0
- data/lib/cloudsmith-api/api/packages_api.rb +119 -56
- data/lib/cloudsmith-api/api/storageregions_api.rb +119 -0
- data/lib/cloudsmith-api/models/alpine_package_upload.rb +743 -0
- data/lib/cloudsmith-api/models/conan_package_upload.rb +11 -1
- data/lib/cloudsmith-api/models/entitlements_create.rb +1 -1
- data/lib/cloudsmith-api/models/entitlements_partial_update.rb +1 -1
- data/lib/cloudsmith-api/models/entitlements_refresh.rb +1 -1
- data/lib/cloudsmith-api/models/entitlment_token_metric.rb +209 -0
- data/lib/cloudsmith-api/models/maven_package_upload.rb +11 -1
- data/lib/cloudsmith-api/models/package.rb +21 -1
- data/lib/cloudsmith-api/models/package_copy.rb +21 -1
- data/lib/cloudsmith-api/models/package_move.rb +21 -1
- data/lib/cloudsmith-api/models/packages_copy.rb +1 -1
- data/lib/cloudsmith-api/models/packages_move.rb +4 -14
- data/lib/cloudsmith-api/models/packages_tag.rb +211 -0
- data/lib/cloudsmith-api/models/packages_upload_alpine.rb +14 -4
- data/lib/cloudsmith-api/models/packages_upload_cargo.rb +14 -4
- data/lib/cloudsmith-api/models/packages_upload_cocoapods.rb +14 -4
- data/lib/cloudsmith-api/models/packages_upload_composer.rb +14 -4
- data/lib/cloudsmith-api/models/packages_upload_conan.rb +34 -4
- data/lib/cloudsmith-api/models/packages_upload_cran.rb +14 -4
- data/lib/cloudsmith-api/models/packages_upload_dart.rb +14 -4
- data/lib/cloudsmith-api/models/packages_upload_deb.rb +34 -4
- data/lib/cloudsmith-api/models/packages_upload_docker.rb +14 -4
- data/lib/cloudsmith-api/models/packages_upload_go.rb +14 -4
- data/lib/cloudsmith-api/models/packages_upload_helm.rb +14 -4
- data/lib/cloudsmith-api/models/packages_upload_luarocks.rb +14 -4
- data/lib/cloudsmith-api/models/packages_upload_maven.rb +11 -1
- data/lib/cloudsmith-api/models/packages_upload_npm.rb +14 -4
- data/lib/cloudsmith-api/models/packages_upload_nuget.rb +14 -4
- data/lib/cloudsmith-api/models/packages_upload_python.rb +14 -4
- data/lib/cloudsmith-api/models/packages_upload_raw.rb +11 -1
- data/lib/cloudsmith-api/models/packages_upload_rpm.rb +14 -4
- data/lib/cloudsmith-api/models/packages_upload_ruby.rb +14 -4
- data/lib/cloudsmith-api/models/packages_upload_terraform.rb +14 -4
- data/lib/cloudsmith-api/models/packages_upload_vagrant.rb +11 -1
- data/lib/cloudsmith-api/models/packages_validateupload_alpine.rb +14 -4
- data/lib/cloudsmith-api/models/packages_validateupload_cargo.rb +14 -4
- data/lib/cloudsmith-api/models/packages_validateupload_cocoapods.rb +14 -4
- data/lib/cloudsmith-api/models/packages_validateupload_composer.rb +14 -4
- data/lib/cloudsmith-api/models/packages_validateupload_conan.rb +34 -4
- data/lib/cloudsmith-api/models/packages_validateupload_cran.rb +14 -4
- data/lib/cloudsmith-api/models/packages_validateupload_dart.rb +14 -4
- data/lib/cloudsmith-api/models/packages_validateupload_deb.rb +34 -4
- data/lib/cloudsmith-api/models/packages_validateupload_docker.rb +14 -4
- data/lib/cloudsmith-api/models/packages_validateupload_go.rb +14 -4
- data/lib/cloudsmith-api/models/packages_validateupload_helm.rb +14 -4
- data/lib/cloudsmith-api/models/packages_validateupload_luarocks.rb +14 -4
- data/lib/cloudsmith-api/models/packages_validateupload_maven.rb +11 -1
- data/lib/cloudsmith-api/models/packages_validateupload_npm.rb +14 -4
- data/lib/cloudsmith-api/models/packages_validateupload_nuget.rb +14 -4
- data/lib/cloudsmith-api/models/packages_validateupload_python.rb +14 -4
- data/lib/cloudsmith-api/models/packages_validateupload_raw.rb +11 -1
- data/lib/cloudsmith-api/models/packages_validateupload_rpm.rb +14 -4
- data/lib/cloudsmith-api/models/packages_validateupload_ruby.rb +14 -4
- data/lib/cloudsmith-api/models/packages_validateupload_terraform.rb +14 -4
- data/lib/cloudsmith-api/models/packages_validateupload_vagrant.rb +11 -1
- data/lib/cloudsmith-api/models/raw_package_upload.rb +11 -1
- data/lib/cloudsmith-api/models/repos_create.rb +17 -57
- data/lib/cloudsmith-api/models/repos_partial_update.rb +4 -44
- data/lib/cloudsmith-api/models/repository.rb +24 -24
- data/lib/cloudsmith-api/models/repository_token.rb +14 -4
- data/lib/cloudsmith-api/models/repository_token_refresh.rb +14 -4
- data/lib/cloudsmith-api/models/repository_token_sync_tokens.rb +14 -4
- data/lib/cloudsmith-api/models/repository_webhook.rb +11 -1
- data/lib/cloudsmith-api/models/{packages_resync.rb → storage_region.rb} +29 -9
- data/lib/cloudsmith-api/models/vagrant_package_upload.rb +11 -1
- data/lib/cloudsmith-api/models/webhooks_create.rb +11 -1
- data/lib/cloudsmith-api/models/webhooks_partial_update.rb +11 -1
- data/lib/cloudsmith-api/version.rb +1 -1
- data/spec/api/metrics_api_spec.rb +53 -0
- data/spec/api/packages_api_spec.rb +32 -18
- data/spec/api/storageregions_api_spec.rb +58 -0
- data/spec/models/alpine_package_upload_spec.rb +372 -0
- data/spec/models/conan_package_upload_spec.rb +6 -0
- data/spec/models/entitlment_token_metric_spec.rb +48 -0
- data/spec/models/maven_package_upload_spec.rb +6 -0
- data/spec/models/package_copy_spec.rb +12 -0
- data/spec/models/package_move_spec.rb +12 -0
- data/spec/models/package_spec.rb +12 -0
- data/spec/models/packages_move_spec.rb +0 -6
- data/spec/models/packages_tag_spec.rb +54 -0
- data/spec/models/packages_upload_alpine_spec.rb +6 -0
- data/spec/models/packages_upload_cargo_spec.rb +6 -0
- data/spec/models/packages_upload_cocoapods_spec.rb +6 -0
- data/spec/models/packages_upload_composer_spec.rb +6 -0
- data/spec/models/packages_upload_conan_spec.rb +18 -0
- data/spec/models/packages_upload_cran_spec.rb +6 -0
- data/spec/models/packages_upload_dart_spec.rb +6 -0
- data/spec/models/packages_upload_deb_spec.rb +18 -0
- data/spec/models/packages_upload_docker_spec.rb +6 -0
- data/spec/models/packages_upload_go_spec.rb +6 -0
- data/spec/models/packages_upload_helm_spec.rb +6 -0
- data/spec/models/packages_upload_luarocks_spec.rb +6 -0
- data/spec/models/packages_upload_maven_spec.rb +6 -0
- data/spec/models/packages_upload_npm_spec.rb +6 -0
- data/spec/models/packages_upload_nuget_spec.rb +6 -0
- data/spec/models/packages_upload_python_spec.rb +6 -0
- data/spec/models/packages_upload_raw_spec.rb +6 -0
- data/spec/models/packages_upload_rpm_spec.rb +6 -0
- data/spec/models/packages_upload_ruby_spec.rb +6 -0
- data/spec/models/packages_upload_terraform_spec.rb +6 -0
- data/spec/models/packages_upload_vagrant_spec.rb +6 -0
- data/spec/models/packages_validateupload_alpine_spec.rb +6 -0
- data/spec/models/packages_validateupload_cargo_spec.rb +6 -0
- data/spec/models/packages_validateupload_cocoapods_spec.rb +6 -0
- data/spec/models/packages_validateupload_composer_spec.rb +6 -0
- data/spec/models/packages_validateupload_conan_spec.rb +18 -0
- data/spec/models/packages_validateupload_cran_spec.rb +6 -0
- data/spec/models/packages_validateupload_dart_spec.rb +6 -0
- data/spec/models/packages_validateupload_deb_spec.rb +18 -0
- data/spec/models/packages_validateupload_docker_spec.rb +6 -0
- data/spec/models/packages_validateupload_go_spec.rb +6 -0
- data/spec/models/packages_validateupload_helm_spec.rb +6 -0
- data/spec/models/packages_validateupload_luarocks_spec.rb +6 -0
- data/spec/models/packages_validateupload_maven_spec.rb +6 -0
- data/spec/models/packages_validateupload_npm_spec.rb +6 -0
- data/spec/models/packages_validateupload_nuget_spec.rb +6 -0
- data/spec/models/packages_validateupload_python_spec.rb +6 -0
- data/spec/models/packages_validateupload_raw_spec.rb +6 -0
- data/spec/models/packages_validateupload_rpm_spec.rb +6 -0
- data/spec/models/packages_validateupload_ruby_spec.rb +6 -0
- data/spec/models/packages_validateupload_terraform_spec.rb +6 -0
- data/spec/models/packages_validateupload_vagrant_spec.rb +6 -0
- data/spec/models/raw_package_upload_spec.rb +6 -0
- data/spec/models/repos_create_spec.rb +3 -21
- data/spec/models/repos_partial_update_spec.rb +0 -24
- data/spec/models/repository_spec.rb +6 -0
- data/spec/models/repository_token_refresh_spec.rb +6 -0
- data/spec/models/repository_token_spec.rb +6 -0
- data/spec/models/repository_token_sync_tokens_spec.rb +6 -0
- data/spec/models/repository_webhook_spec.rb +6 -0
- data/spec/models/{packages_resync_spec.rb → storage_region_spec.rb} +13 -7
- data/spec/models/vagrant_package_upload_spec.rb +6 -0
- data/spec/models/webhooks_create_spec.rb +6 -0
- data/spec/models/webhooks_partial_update_spec.rb +6 -0
- data/vendor/bundle/ruby/2.6.0/cache/diff-lcs-1.4.4.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/json-2.3.1.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/autotest-fsevent-0.2.17/gem_make.out +1 -1
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.13.1/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{json-2.3.0 → json-2.3.1}/gem.build_complete +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{json-2.3.0 → json-2.3.1}/gem_make.out +5 -5
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.3.1/json/ext/generator.so +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.3.1/json/ext/parser.so +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{json-2.3.0 → json-2.3.1}/mkmf.log +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/.rspec +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/Code-of-Conduct.md +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/Contributing.md +118 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/History.md +319 -0
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/License.md +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/Manifest.txt +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/README.rdoc +10 -10
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/Rakefile +39 -22
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/autotest/discover.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/bin/htmldiff +7 -4
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/bin/ldiff +4 -1
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/docs/COPYING.txt +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/docs/artistic.txt +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/lib/diff-lcs.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/lib/diff/lcs.rb +184 -170
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/lib/diff/lcs/array.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/lib/diff/lcs/backports.rb +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/lib/diff/lcs/block.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/lib/diff/lcs/callbacks.rb +15 -12
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/lib/diff/lcs/change.rb +30 -37
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/lib/diff/lcs/htmldiff.rb +17 -16
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/lib/diff/lcs/hunk.rb +156 -74
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/lib/diff/lcs/internals.rb +36 -39
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/lib/diff/lcs/ldiff.rb +46 -42
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/lib/diff/lcs/string.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/spec/change_spec.rb +31 -7
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3/spec/ldiff_spec.rb → diff-lcs-1.4.4/spec/diff_spec.rb} +15 -11
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/fixtures/aX +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/fixtures/bXaX +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/spec/fixtures/ds1.csv +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/spec/fixtures/ds2.csv +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff-c +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff-e +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff-f +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff-u +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/hunk_spec.rb +83 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/issues_spec.rb +154 -0
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/spec/lcs_spec.rb +10 -10
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/ldiff_spec.rb +87 -0
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/spec/patch_spec.rb +93 -99
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/sdiff_spec.rb +214 -0
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/spec/spec_helper.rb +118 -64
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/traverse_balanced_spec.rb +310 -0
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/spec/traverse_sequences_spec.rb +28 -28
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.13.1/ext/ffi_c/Makefile +3 -3
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/.gitignore +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/.travis.yml +2 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/CHANGES.md +33 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/Gemfile +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/README-json-jruby.md +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/README.md +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/Rakefile +8 -87
- data/vendor/bundle/ruby/2.6.0/gems/json-2.3.1/VERSION +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/diagrams/.keep +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/fbuffer/fbuffer.h +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/generator/.sitearchdir.-.json.-.ext.time +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/generator/depend +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/generator/extconf.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/generator/generator.c +71 -1
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/generator/generator.h +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.3.1/ext/json/ext/generator/generator.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/parser/.sitearchdir.-.json.-.ext.time +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/parser/depend +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/parser/extconf.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/parser/parser.c +71 -70
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/parser/parser.h +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/parser/parser.rl +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.3.1/ext/json/ext/parser/parser.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/extconf.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/install.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/ByteListTranscoder.java +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/Generator.java +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/GeneratorMethods.java +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/GeneratorService.java +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/GeneratorState.java +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/OptionsReader.java +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/Parser.java +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/Parser.rl +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/ParserService.java +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/RuntimeInfo.java +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/StringDecoder.java +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/StringEncoder.java +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/Utils.java +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/json-java.gemspec +3 -3
- data/vendor/bundle/ruby/2.6.0/gems/json-2.3.1/json.gemspec +139 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/json_pure.gemspec +8 -13
- data/vendor/bundle/ruby/2.6.0/gems/json-2.3.1/lib/json.rb +412 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/bigdecimal.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/complex.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/core.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/date.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/date_time.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/exception.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/ostruct.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/range.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/rational.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/regexp.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/set.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/struct.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/symbol.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/time.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.3.1/lib/json/common.rb +691 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/ext.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/ext/.keep +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.3.1/lib/json/ext/generator.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.3.1/lib/json/ext/parser.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/generic_object.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/pure.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/pure/generator.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/pure/parser.rb +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/version.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/references/rfc7159.txt +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail10.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail11.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail12.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail13.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail14.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail18.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail19.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail2.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail20.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail21.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail22.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail23.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail24.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail25.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail27.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail28.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail3.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail4.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail5.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail6.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail7.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail8.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail9.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/obsolete_fail1.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/pass1.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/pass15.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/pass16.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/pass17.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/pass2.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/pass26.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/pass3.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/json_addition_test.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/json_common_interface_test.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/json_encoding_test.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/json_ext_parser_test.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/json_fixtures_test.rb +6 -1
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/json_generator_test.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/json_generic_object_test.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/json_parser_test.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/json_string_matching_test.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/test_helper.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tools/diff.sh +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tools/fuzz.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tools/server.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/specifications/{diff-lcs-1.3.gemspec → diff-lcs-1.4.4.gemspec} +11 -13
- data/vendor/bundle/ruby/2.6.0/specifications/{json-2.3.0.gemspec → json-2.3.1.gemspec} +0 -0
- data/vendor/bundle/ruby/2.6.0/specifications/sys-uname-1.2.1.gemspec +1 -1
- metadata +277 -250
- data/docs/PackagesResync.md +0 -8
- data/vendor/bundle/ruby/2.6.0/cache/diff-lcs-1.3.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/json-2.3.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.3.0/json/ext/generator.so +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.3.0/json/ext/parser.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.3/Contributing.md +0 -83
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.3/History.md +0 -220
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.3/autotest/discover.rb +0 -1
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.3/lib/diff-lcs.rb +0 -3
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.3/spec/diff_spec.rb +0 -47
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.3/spec/hunk_spec.rb +0 -72
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.3/spec/issues_spec.rb +0 -49
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.3/spec/sdiff_spec.rb +0 -214
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.3/spec/traverse_balanced_spec.rb +0 -310
- data/vendor/bundle/ruby/2.6.0/gems/json-2.3.0/LICENSE +0 -56
- data/vendor/bundle/ruby/2.6.0/gems/json-2.3.0/VERSION +0 -1
- data/vendor/bundle/ruby/2.6.0/gems/json-2.3.0/ext/json/ext/generator/generator.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.3.0/ext/json/ext/parser/parser.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.3.0/json.gemspec +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.3.0/lib/json.rb +0 -63
- data/vendor/bundle/ruby/2.6.0/gems/json-2.3.0/lib/json/common.rb +0 -456
- data/vendor/bundle/ruby/2.6.0/gems/json-2.3.0/lib/json/ext/generator.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.3.0/lib/json/ext/parser.so +0 -0
data/docs/PackagesResync.md
DELETED
@@ -1,8 +0,0 @@
|
|
1
|
-
# CloudsmithApi::PackagesResync
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**republish** | **BOOLEAN** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional]
|
7
|
-
|
8
|
-
|
Binary file
|
Binary file
|
data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.3.0/json/ext/generator.so
DELETED
Binary file
|
Binary file
|
@@ -1,83 +0,0 @@
|
|
1
|
-
## Contributing
|
2
|
-
|
3
|
-
I value any contribution to Diff::LCS you can provide: a bug report, a feature
|
4
|
-
request, or code contributions. Code contributions to Diff::LCS are especially
|
5
|
-
<del>welcome</del>encouraged. Because Diff::LCS is a complex codebase, there
|
6
|
-
are a few guidelines:
|
7
|
-
|
8
|
-
* Code changes *will not* be accepted without tests. The test suite is
|
9
|
-
written with [RSpec][].
|
10
|
-
* Match my coding style.
|
11
|
-
* Use a thoughtfully-named topic branch that contains your change. Rebase
|
12
|
-
your commits into logical chunks as necessary.
|
13
|
-
* Use [quality commit messages][].
|
14
|
-
* Do not change the version number; when your patch is accepted and a release
|
15
|
-
is made, the version will be updated at that point.
|
16
|
-
* Submit a GitHub pull request with your changes.
|
17
|
-
* New or changed behaviours require appropriate documentation.
|
18
|
-
|
19
|
-
### Test Dependencies
|
20
|
-
|
21
|
-
Diff::LCS uses Ryan Davis’s [Hoe][] to manage the release process, and it adds
|
22
|
-
a number of rake tasks. You will mostly be interested in:
|
23
|
-
|
24
|
-
$ rake
|
25
|
-
|
26
|
-
which runs the tests the same way that:
|
27
|
-
|
28
|
-
$ rake spec
|
29
|
-
$ rake travis
|
30
|
-
|
31
|
-
will do.
|
32
|
-
|
33
|
-
To assist with the installation of the development dependencies, I have
|
34
|
-
provided a Gemfile pointing to the (generated) `diff-lcs.gemspec` file. This
|
35
|
-
will permit you to do:
|
36
|
-
|
37
|
-
$ bundle install
|
38
|
-
|
39
|
-
to get the development dependencies. If you aleady have `hoe` installed, you
|
40
|
-
can accomplish the same thing with:
|
41
|
-
|
42
|
-
$ rake newb
|
43
|
-
|
44
|
-
This task will install any missing dependencies, run the tests/specs, and
|
45
|
-
generate the RDoc.
|
46
|
-
|
47
|
-
You can run tests with code coverage analysis by running:
|
48
|
-
|
49
|
-
$ rake spec:coverage
|
50
|
-
|
51
|
-
### Workflow
|
52
|
-
|
53
|
-
Here's the most direct way to get your work merged into the project:
|
54
|
-
|
55
|
-
* Fork the project.
|
56
|
-
* Clone down your fork (`git clone git://github.com/<username>/diff-lcs.git`).
|
57
|
-
* Create a topic branch to contain your change (`git checkout -b
|
58
|
-
my_awesome_feature`).
|
59
|
-
* Hack away, add tests. Not necessarily in that order.
|
60
|
-
* Make sure everything still passes by running `rake`.
|
61
|
-
* If necessary, rebase your commits into logical chunks, without errors.
|
62
|
-
* Push the branch up (`git push origin my_awesome_feature`).
|
63
|
-
* Create a pull request against halostatue/diff-lcs and describe what your
|
64
|
-
change does and the why you think it should be merged.
|
65
|
-
|
66
|
-
### Contributors
|
67
|
-
|
68
|
-
* Austin Ziegler created Diff::LCS.
|
69
|
-
|
70
|
-
Thanks to everyone else who has contributed to Diff::LCS:
|
71
|
-
|
72
|
-
* Kenichi Kamiya
|
73
|
-
* Michael Granger
|
74
|
-
* Vít Ondruch
|
75
|
-
* Jon Rowe
|
76
|
-
* Koichi Ito
|
77
|
-
* Josef Strzibny
|
78
|
-
* Josh Bronson
|
79
|
-
* Mark Friedgan
|
80
|
-
|
81
|
-
[Rspec]: http://rspec.info/documentation/
|
82
|
-
[quality commit messages]: http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html
|
83
|
-
[Hoe]: https://github.com/seattlerb/hoe
|
@@ -1,220 +0,0 @@
|
|
1
|
-
## 1.3 / 2017-01-18
|
2
|
-
|
3
|
-
* Bugs fixed:
|
4
|
-
|
5
|
-
* Fixed an error for bin/ldiff --version. Fixes [issue #21][].
|
6
|
-
* Force Diff::LCS::Change and Diff::LCS::ContextChange to only perform
|
7
|
-
equality comparisons against themselves. Provided by Kevin Mook in
|
8
|
-
[pull request #29][].
|
9
|
-
* Fix tab expansion in htmldiff, provided by Mark Friedgan in
|
10
|
-
[pull request #25][].
|
11
|
-
* Silence Ruby 2.4 Fixnum deprecation warnings. Fixxues [issue #38][] and
|
12
|
-
[pull request#36][].
|
13
|
-
* Ensure that test dependencies are loaded properly. Fixes [issue #33][]
|
14
|
-
and [pull request #34][].
|
15
|
-
* Fix [issue #1][] with incorrect intuition of patch direction. Tentative
|
16
|
-
fix, but the previous failure cases pass now.
|
17
|
-
|
18
|
-
* Tooling changes:
|
19
|
-
|
20
|
-
* Added SimpleCov and Coveralls support.
|
21
|
-
* Change the homepage (temporarily) to the GitHub repo.
|
22
|
-
* Updated testing and gem infrastructure.
|
23
|
-
* Modernized the specs.
|
24
|
-
|
25
|
-
* Cleaned up documentation.
|
26
|
-
|
27
|
-
* Added a Code of Conduct.
|
28
|
-
|
29
|
-
## 1.2.5 / 2013-11-08
|
30
|
-
|
31
|
-
* Bugs fixed:
|
32
|
-
|
33
|
-
* Comparing arrays flattened them too far, especially with
|
34
|
-
Diff::LCS.sdiff. Fixed by Josh Bronson in [pull request #23][].
|
35
|
-
|
36
|
-
## 1.2.4 / 2013-04-20
|
37
|
-
|
38
|
-
* Bugs fixed:
|
39
|
-
|
40
|
-
* A bug was introduced after 1.1.3 when pruning common sequences at the
|
41
|
-
start of comparison. Paul Kunysch (@pck) fixed this in
|
42
|
-
[pull request #18][]. Thanks!
|
43
|
-
|
44
|
-
* The Rubinius (1.9 mode) bug in [rubinius/rubinius#2268][] has been
|
45
|
-
fixed by the Rubinius team two days after it was filed. Thanks for
|
46
|
-
fixing this so quickly!
|
47
|
-
|
48
|
-
* Switching to Raggi's hoe-gemspec2 for gemspec generation.
|
49
|
-
|
50
|
-
## 1.2.3 / 2013-04-11
|
51
|
-
|
52
|
-
* Bugs Fixed:
|
53
|
-
|
54
|
-
* The new encoding detection for diff output generation (added in 1.2.2)
|
55
|
-
introduced a bug if the left side of the comparison was the empty set.
|
56
|
-
Originally found in [rspec/rspec-expectations#238][] and
|
57
|
-
[rspec/rspec-expectations#239][]. Jon Rowe developed a reasonable
|
58
|
-
heuristic (left side, right side, empty string literal) to avoid this
|
59
|
-
bug.
|
60
|
-
* There is a known issue with Rubinius in 1.9 mode reported in
|
61
|
-
[rubinius/rubinius#2268][] and demonstrated in the Travis CI builds.
|
62
|
-
For all other tested platforms, diff-lcs is considered stable. As soon
|
63
|
-
as a suitably small test-case can be created for the Rubinius team to
|
64
|
-
examine, this will be added to the Rubinius issue around this.
|
65
|
-
|
66
|
-
## 1.2.2 / 2013-03-30
|
67
|
-
|
68
|
-
* Bugs Fixed:
|
69
|
-
|
70
|
-
* Diff::LCS::Hunk could not properly generate a difference for comparison
|
71
|
-
sets that are not US-ASCII-compatible because of the use of literal
|
72
|
-
regular expressions and strings. Jon Rowe found this in
|
73
|
-
[rspec/rspec-expectations#219][] and provided a first pass
|
74
|
-
implementation in [pull request #15][]. I've reworked it because of
|
75
|
-
test failures in Rubinius when running in Ruby 1.9 mode. This coerces
|
76
|
-
the added values to the encoding of the old dataset (as determined by
|
77
|
-
the first piece of the old dataset).
|
78
|
-
* Adding Travis CI testing for Ruby 2.0.
|
79
|
-
|
80
|
-
## 1.2.1 / 2013-02-09
|
81
|
-
|
82
|
-
* Bugs Fixed:
|
83
|
-
|
84
|
-
* As seen in [rspec/rspec-expectations#200][], the release of
|
85
|
-
Diff::LCS 1.2 introduced an unnecessary public API change to
|
86
|
-
Diff::LCS::Hunk (see the change at
|
87
|
-
[rspec/rspec-expectations@3d6fc82c][] for details). The new method name
|
88
|
-
(and behaviour) is more correct, but I should not have renamed the
|
89
|
-
function or should have at least provided an alias. This release
|
90
|
-
restores Diff::LCS::Hunk#unshift as an alias to #merge. Note that the
|
91
|
-
old #unshift behaviour was incorrect and will not be restored.
|
92
|
-
|
93
|
-
## 1.2.0 / 2013-01-21
|
94
|
-
|
95
|
-
* Minor Enhancements:
|
96
|
-
|
97
|
-
* Added special case handling for Diff::LCS.patch so that it handles
|
98
|
-
patches that are empty or contain no changes.
|
99
|
-
* Added two new methods (#patch\_me and #unpatch\_me) to the includable
|
100
|
-
module.
|
101
|
-
|
102
|
-
* Bugs Fixed:
|
103
|
-
|
104
|
-
* Fixed [issue #1][] patch direction detection.
|
105
|
-
* Resolved [issue #2][] by handling `string[string.size, 1]` properly (it
|
106
|
-
returns `""` not `nil`).
|
107
|
-
* Michael Granger (ged) fixed an implementation error in
|
108
|
-
Diff::LCS::Change and added specs in [pull request #8][]. Thanks!
|
109
|
-
* Made the code auto-testable.
|
110
|
-
* Vít Ondruch (voxik) provided the latest version of the GPL2 license
|
111
|
-
file in [pull request #10][]. Thanks!
|
112
|
-
* Fixed a documentation issue with the includable versions of #patch! and
|
113
|
-
#unpatch! where they implied that they would replace the original
|
114
|
-
value. Given that Diff::LCS.patch always returns a copy, the
|
115
|
-
documentation was incorrect and has been corrected. To provide the
|
116
|
-
behaviour that was originally documented, two new methods were added to
|
117
|
-
provide this behaviour. Found by scooter-dangle in [issue #12][].
|
118
|
-
Thanks!
|
119
|
-
|
120
|
-
* Code Style Changes:
|
121
|
-
|
122
|
-
* Removed trailing spaces.
|
123
|
-
* Calling class methods using `.` instead of `::`.
|
124
|
-
* Vít Ondruch (voxik) removed unnecessary shebangs in [pull request #9][].
|
125
|
-
Thanks!
|
126
|
-
* Kenichi Kamiya (kachick) removed some warnings of an unused variable in
|
127
|
-
lucky [pull request #13][]. Thanks!
|
128
|
-
* Embarked on a major refactoring to make the files a little more
|
129
|
-
manageable and understand the code on a deeper level.
|
130
|
-
* Adding to http://travis-ci.org.
|
131
|
-
|
132
|
-
## 1.1.3 / 2011-08-27
|
133
|
-
|
134
|
-
* Converted to 'hoe' for release.
|
135
|
-
* Converted tests to RSpec 2.
|
136
|
-
* Extracted the body of htmldiff into a class available from
|
137
|
-
diff/lcs/htmldiff.
|
138
|
-
* Migrated development and issue tracking to GitHub.
|
139
|
-
* Bugs fixed:
|
140
|
-
|
141
|
-
* Eliminated the explicit use of RubyGems in both bin/htmldiff and
|
142
|
-
bin/ldiff. Resolves [issue #4][].
|
143
|
-
* Eliminated Ruby warnings. Resolves [issue #3][].
|
144
|
-
|
145
|
-
## 1.1.2 / 2004-10-20
|
146
|
-
|
147
|
-
* Fixed a problem reported by Mauricio Fernandez in htmldiff.
|
148
|
-
|
149
|
-
## 1.1.1 / 2004-09-25
|
150
|
-
|
151
|
-
* Fixed bug #891 (Set returned from patch command does not contain last equal
|
152
|
-
part).
|
153
|
-
* Fixed a problem with callback initialisation code (it assumed that all
|
154
|
-
callbacks passed as classes can be initialised; now, it rescues
|
155
|
-
NoMethodError in the event of private :new being called).
|
156
|
-
* Modified the non-initialisable callbacks to have a private #new method.
|
157
|
-
* Moved ldiff core code to Diff::LCS::Ldiff (diff/lcs/ldiff.rb).
|
158
|
-
|
159
|
-
## 1.1.0 / -
|
160
|
-
|
161
|
-
* Eliminated the need for Diff::LCS::Event and removed it.
|
162
|
-
* Added a contextual diff callback, Diff::LCS::ContextDiffCallback.
|
163
|
-
* Implemented patching/unpatching for standard Diff callback output formats
|
164
|
-
with both #diff and #sdiff.
|
165
|
-
* Extensive documentation changes.
|
166
|
-
|
167
|
-
## 1.0.4
|
168
|
-
|
169
|
-
* Fixed a problem with bin/ldiff output, especially for unified format.
|
170
|
-
Newlines that should have been present weren't.
|
171
|
-
* Changed the .tar.gz installer to generate Windows batch files if ones do
|
172
|
-
not exist already. Removed the existing batch files as they didn't work.
|
173
|
-
|
174
|
-
## 1.0.3
|
175
|
-
|
176
|
-
* Fixed a problem with #traverse\_sequences where the first difference from
|
177
|
-
the left sequence might not be appropriately captured.
|
178
|
-
|
179
|
-
## 1.0.2
|
180
|
-
|
181
|
-
* Fixed an issue with ldiff not working because actions were changed from
|
182
|
-
symbols to strings.
|
183
|
-
|
184
|
-
## 1.0.1
|
185
|
-
|
186
|
-
* Minor modifications to the gemspec, the README.
|
187
|
-
* Renamed the diff program to ldiff (as well as the companion batch file) so
|
188
|
-
as to not collide with the standard diff program.
|
189
|
-
* Fixed issues with RubyGems. Requires RubyGems > 0.6.1 or >= 0.6.1 with the
|
190
|
-
latest CVS version.
|
191
|
-
|
192
|
-
## 1.0
|
193
|
-
|
194
|
-
* Initial release based mostly on Perl's Algorithm::Diff.
|
195
|
-
|
196
|
-
[rubinius/rubinius#2268]: https://github.com/rubinius/rubinius/issues/2268
|
197
|
-
[rspec/rspec-expectations#239]: https://github.com/rspec/rspec-expectations/issues/239
|
198
|
-
[rspec/rspec-expectations#238]: https://github.com/rspec/rspec-expectations/issues/238
|
199
|
-
[rspec/rspec-expectations#219]: https://github.com/rspec/rspec-expectations/issues/219
|
200
|
-
[rspec/rspec-expectations@3d6fc82c]: https://github.com/rspec/rspec-expectations/commit/3d6fc82c
|
201
|
-
[rspec/rspec-expectations#200]: https://github.com/rspec/rspec-expectations/pull/200
|
202
|
-
[pull request #36]: https://github.com/halostatue/diff-lcs/pull/36
|
203
|
-
[pull request #34]: https://github.com/halostatue/diff-lcs/pull/34
|
204
|
-
[pull request #29]: https://github.com/halostatue/diff-lcs/pull/29
|
205
|
-
[pull request #25]: https://github.com/halostatue/diff-lcs/pull/25
|
206
|
-
[pull request #23]: https://github.com/halostatue/diff-lcs/pull/23
|
207
|
-
[pull request #18]: https://github.com/halostatue/diff-lcs/pull/18
|
208
|
-
[pull request #15]: https://github.com/halostatue/diff-lcs/pull/15
|
209
|
-
[pull request #13]: https://github.com/halostatue/diff-lcs/pull/13
|
210
|
-
[pull request #10]: https://github.com/halostatue/diff-lcs/pull/10
|
211
|
-
[pull request #9]: https://github.com/halostatue/diff-lcs/pull/9
|
212
|
-
[pull request #8]: https://github.com/halostatue/diff-lcs/pull/8
|
213
|
-
[issue #38]: https://github.com/halostatue/diff-lcs/issues/38
|
214
|
-
[issue #33]: https://github.com/halostatue/diff-lcs/issues/33
|
215
|
-
[issue #21]: https://github.com/halostatue/diff-lcs/issues/21
|
216
|
-
[issue #12]: https://github.com/halostatue/diff-lcs/issues/12
|
217
|
-
[issue #4]: https://github.com/halostatue/diff-lcs/issues/4
|
218
|
-
[issue #3]: https://github.com/halostatue/diff-lcs/issues/3
|
219
|
-
[issue #2]: https://github.com/halostatue/diff-lcs/issues/2
|
220
|
-
[issue #1]: https://github.com/halostatue/diff-lcs/issues/1
|
@@ -1 +0,0 @@
|
|
1
|
-
Autotest.add_discovery { "rspec2" }
|
@@ -1,47 +0,0 @@
|
|
1
|
-
# -*- ruby encoding: utf-8 -*-
|
2
|
-
|
3
|
-
require 'spec_helper'
|
4
|
-
|
5
|
-
describe Diff::LCS, ".diff" do
|
6
|
-
include Diff::LCS::SpecHelper::Matchers
|
7
|
-
|
8
|
-
it "correctly diffs seq1 to seq2" do
|
9
|
-
diff_s1_s2 = Diff::LCS.diff(seq1, seq2)
|
10
|
-
expect(change_diff(correct_forward_diff)).to eq(diff_s1_s2)
|
11
|
-
end
|
12
|
-
|
13
|
-
it "correctly diffs seq2 to seq1" do
|
14
|
-
diff_s2_s1 = Diff::LCS.diff(seq2, seq1)
|
15
|
-
expect(change_diff(correct_backward_diff)).to eq(diff_s2_s1)
|
16
|
-
end
|
17
|
-
|
18
|
-
it "correctly diffs against an empty sequence" do
|
19
|
-
diff = Diff::LCS.diff(word_sequence, [])
|
20
|
-
correct_diff = [
|
21
|
-
[ [ '-', 0, 'abcd' ],
|
22
|
-
[ '-', 1, 'efgh' ],
|
23
|
-
[ '-', 2, 'ijkl' ],
|
24
|
-
[ '-', 3, 'mnopqrstuvwxyz' ] ]
|
25
|
-
]
|
26
|
-
|
27
|
-
expect(change_diff(correct_diff)).to eq(diff)
|
28
|
-
|
29
|
-
diff = Diff::LCS.diff([], word_sequence)
|
30
|
-
correct_diff.each { |hunk| hunk.each { |change| change[0] = '+' } }
|
31
|
-
expect(change_diff(correct_diff)).to eq(diff)
|
32
|
-
end
|
33
|
-
|
34
|
-
it "correctly diffs 'xx' and 'xaxb'" do
|
35
|
-
left = 'xx'
|
36
|
-
right = 'xaxb'
|
37
|
-
expect(Diff::LCS.patch(left, Diff::LCS.diff(left, right))).to eq(right)
|
38
|
-
end
|
39
|
-
|
40
|
-
it "returns an empty diff with (hello, hello)" do
|
41
|
-
expect(Diff::LCS.diff(hello, hello)).to be_empty
|
42
|
-
end
|
43
|
-
|
44
|
-
it "returns an empty diff with (hello_ary, hello_ary)" do
|
45
|
-
expect(Diff::LCS.diff(hello_ary, hello_ary)).to be_empty
|
46
|
-
end
|
47
|
-
end
|
@@ -1,72 +0,0 @@
|
|
1
|
-
# -*- ruby encoding: utf-8 -*-
|
2
|
-
|
3
|
-
require 'spec_helper'
|
4
|
-
|
5
|
-
if String.method_defined?(:encoding)
|
6
|
-
require 'diff/lcs/hunk'
|
7
|
-
|
8
|
-
describe Diff::LCS::Hunk do
|
9
|
-
let(:old_data) { ["Tu avec carté {count} itém has".encode('UTF-16LE')] }
|
10
|
-
let(:new_data) { ["Tu avec carte {count} item has".encode('UTF-16LE')] }
|
11
|
-
let(:pieces) { Diff::LCS.diff old_data, new_data }
|
12
|
-
let(:hunk) { Diff::LCS::Hunk.new(old_data, new_data, pieces[0], 3, 0) }
|
13
|
-
|
14
|
-
it 'produces a unified diff from the two pieces' do
|
15
|
-
expected = (<<-EOD.gsub(/^\s+/,'').encode('UTF-16LE').chomp)
|
16
|
-
@@ -1,2 +1,2 @@
|
17
|
-
-Tu avec carté {count} itém has
|
18
|
-
+Tu avec carte {count} item has
|
19
|
-
EOD
|
20
|
-
|
21
|
-
expect(hunk.diff(:unified)).to eq(expected)
|
22
|
-
end
|
23
|
-
|
24
|
-
it 'produces a context diff from the two pieces' do
|
25
|
-
expected = (<<-EOD.gsub(/^\s+/,'').encode('UTF-16LE').chomp)
|
26
|
-
***************
|
27
|
-
*** 1,2 ****
|
28
|
-
!Tu avec carté {count} itém has
|
29
|
-
--- 1,2 ----
|
30
|
-
!Tu avec carte {count} item has
|
31
|
-
EOD
|
32
|
-
|
33
|
-
expect(hunk.diff(:context)).to eq(expected)
|
34
|
-
end
|
35
|
-
|
36
|
-
it 'produces an old diff from the two pieces' do
|
37
|
-
expected = (<<-EOD.gsub(/^ +/,'').encode('UTF-16LE').chomp)
|
38
|
-
1,2c1,2
|
39
|
-
< Tu avec carté {count} itém has
|
40
|
-
---
|
41
|
-
> Tu avec carte {count} item has
|
42
|
-
|
43
|
-
EOD
|
44
|
-
|
45
|
-
expect(hunk.diff(:old)).to eq(expected)
|
46
|
-
end
|
47
|
-
|
48
|
-
it 'produces a reverse ed diff from the two pieces' do
|
49
|
-
expected = (<<-EOD.gsub(/^ +/,'').encode('UTF-16LE').chomp)
|
50
|
-
c1,2
|
51
|
-
Tu avec carte {count} item has
|
52
|
-
.
|
53
|
-
|
54
|
-
EOD
|
55
|
-
|
56
|
-
expect(hunk.diff(:reverse_ed)).to eq(expected)
|
57
|
-
end
|
58
|
-
|
59
|
-
context 'with empty first data set' do
|
60
|
-
let(:old_data) { [] }
|
61
|
-
|
62
|
-
it 'produces a unified diff' do
|
63
|
-
expected = (<<-EOD.gsub(/^\s+/,'').encode('UTF-16LE').chomp)
|
64
|
-
@@ -1 +1,2 @@
|
65
|
-
+Tu avec carte {count} item has
|
66
|
-
EOD
|
67
|
-
|
68
|
-
expect(hunk.diff(:unified)).to eq(expected)
|
69
|
-
end
|
70
|
-
end
|
71
|
-
end
|
72
|
-
end
|