cloudsmith-api 0.49.94 → 0.49.98
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +5 -5
- data/README.md +10 -5
- data/build.json +1 -1
- data/docs/ReposApi.md +194 -4
- data/docs/ReposCreate.md +16 -0
- data/docs/ReposPartialUpdate.md +16 -0
- data/docs/Repository.md +6 -6
- data/lib/cloudsmith-api.rb +2 -0
- data/lib/cloudsmith-api/api/repos_api.rb +170 -4
- data/lib/cloudsmith-api/models/repos_create.rb +284 -0
- data/lib/cloudsmith-api/models/repos_partial_update.rb +269 -0
- data/lib/cloudsmith-api/models/repository.rb +9 -19
- data/lib/cloudsmith-api/version.rb +1 -1
- data/spec/api/repos_api_spec.rb +41 -2
- data/spec/models/repos_create_spec.rb +90 -0
- data/spec/models/repos_partial_update_spec.rb +90 -0
- data/vendor/bundle/ruby/2.6.0/cache/autotest-fsevent-0.2.17.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/hashdiff-1.0.1.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rspec-expectations-3.9.1.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/sys-uname-1.2.1.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{autotest-fsevent-0.2.15 → autotest-fsevent-0.2.17}/gem.build_complete +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{autotest-fsevent-0.2.15 → autotest-fsevent-0.2.17}/gem_make.out +5 -5
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.12.2/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.3.0/gem_make.out +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{autotest-fsevent-0.2.15 → autotest-fsevent-0.2.17}/CHANGELOG.md +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/{autotest-fsevent-0.2.15 → autotest-fsevent-0.2.17}/LICENSE.txt +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{autotest-fsevent-0.2.15 → autotest-fsevent-0.2.17}/README.md +20 -15
- data/vendor/bundle/ruby/2.6.0/gems/{autotest-fsevent-0.2.15 → autotest-fsevent-0.2.17}/ext/fsevent/Makefile +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{autotest-fsevent-0.2.15 → autotest-fsevent-0.2.17}/ext/fsevent/extconf.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{autotest-fsevent-0.2.15 → autotest-fsevent-0.2.17}/ext/fsevent/fsevent.dll +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{autotest-fsevent-0.2.15 → autotest-fsevent-0.2.17}/ext/fsevent/fsevent.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{autotest-fsevent-0.2.15 → autotest-fsevent-0.2.17}/ext/fsevent/fsevent_sleep.c +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{autotest-fsevent-0.2.15 → autotest-fsevent-0.2.17}/ext/fsevent/make +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{autotest-fsevent-0.2.15 → autotest-fsevent-0.2.17}/ext/fsevent/nmake.bat +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{autotest-fsevent-0.2.15 → autotest-fsevent-0.2.17}/lib/autotest-fsevent.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{autotest-fsevent-0.2.15 → autotest-fsevent-0.2.17}/lib/autotest-fsevent/version.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{autotest-fsevent-0.2.15 → autotest-fsevent-0.2.17}/lib/autotest/fsevent.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/autotest-fsevent-0.2.17/post-install.txt +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/{autotest-fsevent-0.2.15 → autotest-fsevent-0.2.17}/prebuilt/fsevent_sleep +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.12.2/ext/ffi_c/Makefile +3 -3
- data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/.gitignore +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/.rspec +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/.rubocop.yml +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/.travis.yml +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/.yardopts +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/Gemfile +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/LICENSE +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/README.md +17 -13
- data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/Rakefile +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/changelog.md +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/hashdiff.gemspec +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/lib/hashdiff.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/lib/hashdiff/compare_hashes.rb +14 -1
- data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/lib/hashdiff/diff.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/lib/hashdiff/lcs.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/lib/hashdiff/lcs_compare_arrays.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/lib/hashdiff/linear_compare_array.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/lib/hashdiff/patch.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/lib/hashdiff/util.rb +2 -1
- data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/lib/hashdiff/version.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/spec/hashdiff/best_diff_spec.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/spec/hashdiff/diff_array_spec.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/spec/hashdiff/diff_spec.rb +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/spec/hashdiff/lcs_spec.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/spec/hashdiff/linear_compare_array_spec.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/spec/hashdiff/patch_spec.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/hashdiff-1.0.1/spec/hashdiff/readme_spec.rb +15 -0
- data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/spec/hashdiff/util_spec.rb +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/spec/spec_helper.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/.document +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/.yardopts +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/Changelog.md +10 -2
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/LICENSE.md +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/README.md +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/expectations.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/expectations/block_snippet_extractor.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/expectations/configuration.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/expectations/expectation_target.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/expectations/fail_with.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/expectations/failure_aggregator.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/expectations/handler.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/expectations/minitest_integration.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/expectations/syntax.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/expectations/version.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/matchers.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/matchers/aliased_matcher.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/matchers/built_in.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/matchers/built_in/all.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/matchers/built_in/base_matcher.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/matchers/built_in/be.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/matchers/built_in/be_between.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/matchers/built_in/be_instance_of.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/matchers/built_in/be_kind_of.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/matchers/built_in/be_within.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/matchers/built_in/change.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/matchers/built_in/compound.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/matchers/built_in/contain_exactly.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/matchers/built_in/cover.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/matchers/built_in/eq.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/matchers/built_in/eql.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/matchers/built_in/equal.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/matchers/built_in/exist.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/matchers/built_in/has.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/matchers/built_in/have_attributes.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/matchers/built_in/include.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/matchers/built_in/match.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/matchers/built_in/operators.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/matchers/built_in/output.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/matchers/built_in/raise_error.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/matchers/built_in/respond_to.rb +28 -3
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/matchers/built_in/satisfy.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/matchers/built_in/start_or_end_with.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/matchers/built_in/throw_symbol.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/matchers/built_in/yield.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/matchers/composable.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/matchers/dsl.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/matchers/english_phrasing.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/matchers/expecteds_for_multiple_diffs.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/matchers/fail_matchers.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/matchers/generated_descriptions.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/matchers/matcher_delegator.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/matchers/matcher_protocol.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.0 → sys-uname-1.2.1}/CHANGES.rdoc +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/sys-uname-1.2.1/LICENSE +177 -0
- data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.0 → sys-uname-1.2.1}/MANIFEST.rdoc +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.0 → sys-uname-1.2.1}/README.rdoc +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.0 → sys-uname-1.2.1}/Rakefile +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.0 → sys-uname-1.2.1}/certs/djberg96_pub.pem +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.0 → sys-uname-1.2.1}/doc/uname.rdoc +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.0 → sys-uname-1.2.1}/examples/uname_test.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.0 → sys-uname-1.2.1}/lib/sys-uname.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.0 → sys-uname-1.2.1}/lib/sys/platform.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.0 → sys-uname-1.2.1}/lib/sys/uname.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.0 → sys-uname-1.2.1}/lib/sys/unix/uname.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.0 → sys-uname-1.2.1}/lib/sys/windows/uname.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.0 → sys-uname-1.2.1}/spec/sys_platform_spec.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.0 → sys-uname-1.2.1}/spec/sys_uname_spec.rb +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.0 → sys-uname-1.2.1}/sys-uname.gemspec +1 -1
- data/vendor/bundle/ruby/2.6.0/specifications/autotest-fsevent-0.2.17.gemspec +49 -0
- data/vendor/bundle/ruby/2.6.0/specifications/{hashdiff-1.0.0.gemspec → hashdiff-1.0.1.gemspec} +6 -6
- data/vendor/bundle/ruby/2.6.0/specifications/{rspec-expectations-3.9.0.gemspec → rspec-expectations-3.9.1.gemspec} +5 -5
- data/vendor/bundle/ruby/2.6.0/specifications/{sys-uname-1.2.0.gemspec → sys-uname-1.2.1.gemspec} +3 -3
- metadata +214 -212
- data/vendor/bundle/ruby/2.6.0/cache/autotest-fsevent-0.2.15.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/hashdiff-1.0.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rspec-expectations-3.9.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/sys-uname-1.2.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/autotest-fsevent-0.2.15/.gitignore +0 -5
- data/vendor/bundle/ruby/2.6.0/gems/autotest-fsevent-0.2.15/.ruby-version +0 -1
- data/vendor/bundle/ruby/2.6.0/gems/autotest-fsevent-0.2.15/autotest-fsevent.gemspec +0 -30
- data/vendor/bundle/ruby/2.6.0/gems/autotest-fsevent-0.2.15/gems.locked +0 -32
- data/vendor/bundle/ruby/2.6.0/gems/autotest-fsevent-0.2.15/gems.rb +0 -4
- data/vendor/bundle/ruby/2.6.0/gems/autotest-fsevent-0.2.15/post-install.txt +0 -14
- data/vendor/bundle/ruby/2.6.0/gems/autotest-fsevent-0.2.15/rakefile.rb +0 -12
- data/vendor/bundle/ruby/2.6.0/gems/autotest-fsevent-0.2.15/spec/lib/autotest-fsevent/version_spec.rb +0 -7
- data/vendor/bundle/ruby/2.6.0/gems/autotest-fsevent-0.2.15/spec/spec_helper.rb +0 -6
- data/vendor/bundle/ruby/2.6.0/specifications/autotest-fsevent-0.2.15.gemspec +0 -45
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -31,8 +31,8 @@ rubyhdrdir = $(includedir)/$(RUBY_VERSION_NAME)
|
|
31
31
|
vendorarchdir = $(vendorlibdir)/$(sitearch)
|
32
32
|
vendorlibdir = $(vendordir)/$(ruby_version)
|
33
33
|
vendordir = $(rubylibprefix)/vendor_ruby
|
34
|
-
sitearchdir = $(DESTDIR)./.gem.
|
35
|
-
sitelibdir = $(DESTDIR)./.gem.
|
34
|
+
sitearchdir = $(DESTDIR)./.gem.20200330-915-6uljrp
|
35
|
+
sitelibdir = $(DESTDIR)./.gem.20200330-915-6uljrp
|
36
36
|
sitedir = $(rubylibprefix)/site_ruby
|
37
37
|
rubyarchdir = $(rubylibdir)/$(arch)
|
38
38
|
rubylibdir = $(rubylibprefix)/$(ruby_version)
|
@@ -141,7 +141,7 @@ LIBS = $(LIBRUBYARG_SHARED) -lffi -lffi -lm -lc
|
|
141
141
|
ORIG_SRCS = AbstractMemory.c ArrayType.c Buffer.c Call.c ClosurePool.c DynamicLibrary.c Function.c FunctionInfo.c LastError.c LongDouble.c MappedType.c MemoryPointer.c MethodHandle.c Platform.c Pointer.c Struct.c StructByValue.c StructLayout.c Thread.c Type.c Types.c Variadic.c ffi.c
|
142
142
|
SRCS = $(ORIG_SRCS)
|
143
143
|
OBJS = AbstractMemory.o ArrayType.o Buffer.o Call.o ClosurePool.o DynamicLibrary.o Function.o FunctionInfo.o LastError.o LongDouble.o MappedType.o MemoryPointer.o MethodHandle.o Platform.o Pointer.o Struct.o StructByValue.o StructLayout.o Thread.o Type.o Types.o Variadic.o ffi.o
|
144
|
-
HDRS = $(srcdir)/
|
144
|
+
HDRS = $(srcdir)/ArrayType.h $(srcdir)/Platform.h $(srcdir)/LongDouble.h $(srcdir)/Pointer.h $(srcdir)/ClosurePool.h $(srcdir)/Struct.h $(srcdir)/Types.h $(srcdir)/MemoryPointer.h $(srcdir)/DynamicLibrary.h $(srcdir)/AbstractMemory.h $(srcdir)/rbffi.h $(srcdir)/compat.h $(srcdir)/Call.h $(srcdir)/MethodHandle.h $(srcdir)/Type.h $(srcdir)/StructByValue.h $(srcdir)/LastError.h $(srcdir)/Thread.h $(srcdir)/Function.h $(srcdir)/extconf.h $(srcdir)/rbffi_endian.h $(srcdir)/MappedType.h
|
145
145
|
LOCAL_HDRS =
|
146
146
|
TARGET = ffi_c
|
147
147
|
TARGET_NAME = ffi_c
|
File without changes
|
File without changes
|
@@ -1,4 +1,6 @@
|
|
1
1
|
require: rubocop-rspec
|
2
|
+
AllCops:
|
3
|
+
TargetRubyVersion: 2.0 # always the lowest version we support
|
2
4
|
Metrics/PerceivedComplexity:
|
3
5
|
Enabled: false
|
4
6
|
Metrics/CyclomaticComplexity:
|
@@ -26,3 +28,5 @@ Style/RedundantFreeze:
|
|
26
28
|
Enabled: false
|
27
29
|
RSpec/ExampleLength:
|
28
30
|
Enabled: false
|
31
|
+
RSpec/DescribeClass:
|
32
|
+
Enabled: false
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -32,7 +32,7 @@ Hashdiff answers the question above using an opinionated approach:
|
|
32
32
|
|
33
33
|
To use the gem, add the following to your Gemfile:
|
34
34
|
|
35
|
-
```
|
35
|
+
```Ruby
|
36
36
|
gem 'hashdiff'
|
37
37
|
```
|
38
38
|
|
@@ -95,8 +95,8 @@ Hashdiff.unpatch!(b, diff).should == a
|
|
95
95
|
### Options
|
96
96
|
|
97
97
|
There are eight options available: `:delimiter`, `:similarity`,
|
98
|
-
`:strict`, `:numeric_tolerance`, `:strip`, `:case_insensitive`,
|
99
|
-
and `:use_lcs`
|
98
|
+
`:strict`, `:indifferent`, `:numeric_tolerance`, `:strip`, `:case_insensitive`,
|
99
|
+
`:array_path` and `:use_lcs`
|
100
100
|
|
101
101
|
#### `:delimiter`
|
102
102
|
|
@@ -106,7 +106,7 @@ You can specify `:delimiter` to be something other than the default dot. For exa
|
|
106
106
|
a = {a:{x:2, y:3, z:4}, b:{x:3, z:45}}
|
107
107
|
b = {a:{y:3}, b:{y:3, z:30}}
|
108
108
|
|
109
|
-
diff = Hashdiff.diff(a, b, :
|
109
|
+
diff = Hashdiff.diff(a, b, delimiter: '\t')
|
110
110
|
diff.should == [['-', 'a\tx', 2], ['-', 'a\tz', 4], ['-', 'b\tx', 3], ['~', 'b\tz', 45, 30], ['+', 'b\ty', 3]]
|
111
111
|
```
|
112
112
|
|
@@ -118,6 +118,10 @@ In cases where you have similar hash objects in arrays, you can pass a custom va
|
|
118
118
|
|
119
119
|
The `:strict` option, which defaults to `true`, specifies whether numeric types are compared on type as well as value. By default, an Integer will never be equal to a Float (e.g. 4 != 4.0). Setting `:strict` to false makes the comparison looser (e.g. 4 == 4.0).
|
120
120
|
|
121
|
+
#### `:indifferent`
|
122
|
+
|
123
|
+
The `:indifferent` option, which defaults to `false`, specifies whether to treat hash keys indifferently. Setting `:indifferent` to true has the effect of ignoring differences between symbol keys (ie. {a: 1} ~= {'a' => 1})
|
124
|
+
|
121
125
|
#### `:numeric_tolerance`
|
122
126
|
|
123
127
|
The :numeric_tolerance option allows for a small numeric tolerance.
|
@@ -126,7 +130,7 @@ The :numeric_tolerance option allows for a small numeric tolerance.
|
|
126
130
|
a = {x:5, y:3.75, z:7}
|
127
131
|
b = {x:6, y:3.76, z:7}
|
128
132
|
|
129
|
-
diff = Hashdiff.diff(a, b, :
|
133
|
+
diff = Hashdiff.diff(a, b, numeric_tolerance: 0.1)
|
130
134
|
diff.should == [["~", "x", 5, 6]]
|
131
135
|
```
|
132
136
|
|
@@ -138,7 +142,7 @@ The :strip option strips all strings before comparing.
|
|
138
142
|
a = {x:5, s:'foo '}
|
139
143
|
b = {x:6, s:'foo'}
|
140
144
|
|
141
|
-
diff = Hashdiff.diff(a, b, :
|
145
|
+
diff = Hashdiff.diff(a, b, numeric_tolerance: 0.1, strip: true)
|
142
146
|
diff.should == [["~", "x", 5, 6]]
|
143
147
|
```
|
144
148
|
|
@@ -150,7 +154,7 @@ The :case_insensitive option makes string comparisons ignore case.
|
|
150
154
|
a = {x:5, s:'FooBar'}
|
151
155
|
b = {x:6, s:'foobar'}
|
152
156
|
|
153
|
-
diff = Hashdiff.diff(a, b, :
|
157
|
+
diff = Hashdiff.diff(a, b, numeric_tolerance: 0.1, case_insensitive: true)
|
154
158
|
diff.should == [["~", "x", 5, 6]]
|
155
159
|
```
|
156
160
|
|
@@ -164,7 +168,7 @@ is useful for `patch!` when used on hashes without string keys.
|
|
164
168
|
a = {x:5}
|
165
169
|
b = {'x'=>6}
|
166
170
|
|
167
|
-
diff = Hashdiff.diff(a, b, :
|
171
|
+
diff = Hashdiff.diff(a, b, array_path: true)
|
168
172
|
diff.should == [['-', [:x], 5], ['+', ['x'], 6]]
|
169
173
|
```
|
170
174
|
|
@@ -173,7 +177,7 @@ For cases where there are arrays in paths their index will be added to the path.
|
|
173
177
|
a = {x:[0,1]}
|
174
178
|
b = {x:[0,2]}
|
175
179
|
|
176
|
-
diff = Hashdiff.diff(a, b, :
|
180
|
+
diff = Hashdiff.diff(a, b, array_path: true)
|
177
181
|
diff.should == [["-", [:x, 1], 1], ["+", [:x, 1], 2]]
|
178
182
|
```
|
179
183
|
|
@@ -183,7 +187,7 @@ This shouldn't cause problems if you are comparing an array with a hash:
|
|
183
187
|
a = {x:{0=>1}}
|
184
188
|
b = {x:[1]}
|
185
189
|
|
186
|
-
diff = Hashdiff.diff(a, b, :
|
190
|
+
diff = Hashdiff.diff(a, b, array_path: true)
|
187
191
|
diff.should == [["~", [:x], {0=>1}, [1]]]
|
188
192
|
```
|
189
193
|
|
@@ -205,7 +209,7 @@ Note, currently the :similarity option has no effect when :use_lcs is false.
|
|
205
209
|
a = {x: [0, 1, 2]}
|
206
210
|
b = {x: [0, 2, 2, 3]}
|
207
211
|
|
208
|
-
diff = Hashdiff.diff(a, b, :
|
212
|
+
diff = Hashdiff.diff(a, b, use_lcs: false)
|
209
213
|
diff.should == [["~", "x[1]", 1, 2], ["+", "x[3]", 3]]
|
210
214
|
```
|
211
215
|
|
@@ -255,11 +259,11 @@ An order difference alone between two arrays can create too many diffs to be use
|
|
255
259
|
a = {a:'car', b:['boat', 'plane'] }
|
256
260
|
b = {a:'car', b:['plane', 'boat'] }
|
257
261
|
|
258
|
-
Hashdiff.diff(a, b)
|
262
|
+
Hashdiff.diff(a, b).should == [["+", "b[0]", "plane"], ["-", "b[2]", "plane"]]
|
259
263
|
|
260
264
|
b[:b].sort!
|
261
265
|
|
262
|
-
Hashdiff.diff(a, b)
|
266
|
+
Hashdiff.diff(a, b).should == []
|
263
267
|
```
|
264
268
|
|
265
269
|
## Maintainers
|
File without changes
|
@@ -23,7 +23,7 @@ Gem::Specification.new do |s|
|
|
23
23
|
|
24
24
|
s.add_development_dependency('bluecloth')
|
25
25
|
s.add_development_dependency('rspec', '~> 2.0')
|
26
|
-
s.add_development_dependency('rubocop')
|
26
|
+
s.add_development_dependency('rubocop', '~> 0.49.1') # last version that works with ruby 2.0
|
27
27
|
s.add_development_dependency('rubocop-rspec')
|
28
28
|
s.add_development_dependency('yard')
|
29
29
|
|
File without changes
|
data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/lib/hashdiff/compare_hashes.rb
RENAMED
@@ -10,6 +10,15 @@ module Hashdiff
|
|
10
10
|
|
11
11
|
obj1_keys = obj1.keys
|
12
12
|
obj2_keys = obj2.keys
|
13
|
+
obj1_lookup = {}
|
14
|
+
obj2_lookup = {}
|
15
|
+
|
16
|
+
if opts[:indifferent]
|
17
|
+
obj1_lookup = obj1_keys.each_with_object({}) { |k, h| h[k.to_s] = k }
|
18
|
+
obj2_lookup = obj2_keys.each_with_object({}) { |k, h| h[k.to_s] = k }
|
19
|
+
obj1_keys = obj1_keys.map { |k| k.is_a?(Symbol) ? k.to_s : k }
|
20
|
+
obj2_keys = obj2_keys.map { |k| k.is_a?(Symbol) ? k.to_s : k }
|
21
|
+
end
|
13
22
|
|
14
23
|
added_keys = (obj2_keys - obj1_keys).sort_by(&:to_s)
|
15
24
|
common_keys = (obj1_keys & obj2_keys).sort_by(&:to_s)
|
@@ -19,6 +28,7 @@ module Hashdiff
|
|
19
28
|
|
20
29
|
# add deleted properties
|
21
30
|
deleted_keys.each do |k|
|
31
|
+
k = opts[:indifferent] ? obj1_lookup[k] : k
|
22
32
|
change_key = Hashdiff.prefix_append_key(opts[:prefix], k, opts)
|
23
33
|
custom_result = Hashdiff.custom_compare(opts[:comparison], change_key, obj1[k], nil)
|
24
34
|
|
@@ -33,13 +43,16 @@ module Hashdiff
|
|
33
43
|
common_keys.each do |k|
|
34
44
|
prefix = Hashdiff.prefix_append_key(opts[:prefix], k, opts)
|
35
45
|
|
36
|
-
|
46
|
+
k1 = opts[:indifferent] ? obj1_lookup[k] : k
|
47
|
+
k2 = opts[:indifferent] ? obj2_lookup[k] : k
|
48
|
+
result.concat(Hashdiff.diff(obj1[k1], obj2[k2], opts.merge(prefix: prefix)))
|
37
49
|
end
|
38
50
|
|
39
51
|
# added properties
|
40
52
|
added_keys.each do |k|
|
41
53
|
change_key = Hashdiff.prefix_append_key(opts[:prefix], k, opts)
|
42
54
|
|
55
|
+
k = opts[:indifferent] ? obj2_lookup[k] : k
|
43
56
|
custom_result = Hashdiff.custom_compare(opts[:comparison], change_key, nil, obj2[k])
|
44
57
|
|
45
58
|
if custom_result
|
@@ -9,6 +9,7 @@ module Hashdiff
|
|
9
9
|
# @param [Array, Hash] obj2
|
10
10
|
# @param [Hash] options the options to use when comparing
|
11
11
|
# * :strict (Boolean) [true] whether numeric values will be compared on type as well as value. Set to false to allow comparing Integer, Float, BigDecimal to each other
|
12
|
+
# * :indifferent (Boolean) [false] whether to treat hash keys indifferently. Set to true to ignore differences between symbol keys (ie. {a: 1} ~= {'a' => 1})
|
12
13
|
# * :delimiter (String) ['.'] the delimiter used when returning nested key references
|
13
14
|
# * :numeric_tolerance (Numeric) [0] should be a positive numeric value. Value by which numeric differences must be greater than. By default, numeric values are compared exactly; with the :tolerance option, the difference between numeric values must be greater than the given value.
|
14
15
|
# * :strip (Boolean) [false] whether or not to call #strip on strings before comparing
|
@@ -52,6 +53,7 @@ module Hashdiff
|
|
52
53
|
# @param [Array, Hash] obj2
|
53
54
|
# @param [Hash] options the options to use when comparing
|
54
55
|
# * :strict (Boolean) [true] whether numeric values will be compared on type as well as value. Set to false to allow comparing Integer, Float, BigDecimal to each other
|
56
|
+
# * :indifferent (Boolean) [false] whether to treat hash keys indifferently. Set to true to ignore differences between symbol keys (ie. {a: 1} ~= {'a' => 1})
|
55
57
|
# * :similarity (Numeric) [0.8] should be between (0, 1]. Meaningful if there are similar hashes in arrays. See {best_diff}.
|
56
58
|
# * :delimiter (String) ['.'] the delimiter used when returning nested key references
|
57
59
|
# * :numeric_tolerance (Numeric) [0] should be a positive numeric value. Value by which numeric differences must be greater than. By default, numeric values are compared exactly; with the :tolerance option, the difference between numeric values must be greater than the given value.
|
@@ -79,6 +81,7 @@ module Hashdiff
|
|
79
81
|
similarity: 0.8,
|
80
82
|
delimiter: '.',
|
81
83
|
strict: true,
|
84
|
+
indifferent: false,
|
82
85
|
strip: false,
|
83
86
|
numeric_tolerance: 0,
|
84
87
|
array_path: false,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -16,7 +16,7 @@ module Hashdiff
|
|
16
16
|
|
17
17
|
diffs = count_diff diff(obja, objb, opts)
|
18
18
|
|
19
|
-
(1 - diffs
|
19
|
+
(1 - diffs / (count_a + count_b).to_f) >= opts[:similarity]
|
20
20
|
end
|
21
21
|
|
22
22
|
# @private
|
@@ -107,6 +107,7 @@ module Hashdiff
|
|
107
107
|
# check if objects are comparable
|
108
108
|
def self.comparable?(obj1, obj2, strict = true)
|
109
109
|
return true if (obj1.is_a?(Array) || obj1.is_a?(Hash)) && obj2.is_a?(obj1.class)
|
110
|
+
return true if (obj2.is_a?(Array) || obj2.is_a?(Hash)) && obj1.is_a?(obj2.class)
|
110
111
|
return true if !strict && obj1.is_a?(Numeric) && obj2.is_a?(Numeric)
|
111
112
|
|
112
113
|
obj1.is_a?(obj2.class) && obj2.is_a?(obj1.class)
|
data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/spec/hashdiff/best_diff_spec.rb
RENAMED
File without changes
|
File without changes
|
data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/spec/hashdiff/diff_spec.rb
RENAMED
@@ -49,6 +49,11 @@ describe Hashdiff do
|
|
49
49
|
diff.should == []
|
50
50
|
end
|
51
51
|
|
52
|
+
it 'ignores string vs symbol differences, when indifferent is true' do
|
53
|
+
diff = described_class.diff({ 'a' => 2, :b => 2 }, { :a => 2, 'b' => 2, :c => 3 }, indifferent: true)
|
54
|
+
diff.should == [['+', 'c', 3]]
|
55
|
+
end
|
56
|
+
|
52
57
|
it 'is able to diff changes in hash value' do
|
53
58
|
diff = described_class.diff({ 'a' => 2, 'b' => 3, 'c' => ' hello' }, 'a' => 2, 'b' => 4, 'c' => 'hello')
|
54
59
|
diff.should == [['~', 'b', 3, 4], ['~', 'c', ' hello', 'hello']]
|
data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/spec/hashdiff/lcs_spec.rb
RENAMED
File without changes
|
File without changes
|
data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/spec/hashdiff/patch_spec.rb
RENAMED
File without changes
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'spec_helper'
|
4
|
+
|
5
|
+
describe 'README.md' do
|
6
|
+
it 'has correct examples' do
|
7
|
+
File.read('README.md').scan(/```ruby(.*?)```/m).flatten(1).each do |block|
|
8
|
+
begin
|
9
|
+
eval block # rubocop:disable Security/Eval
|
10
|
+
rescue Exception => e # rubocop:disable Lint/RescueException
|
11
|
+
raise "README.md code block:\n#{block}\n\nhas error:\n#{e}"
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/spec/hashdiff/util_spec.rb
RENAMED
@@ -68,6 +68,7 @@ describe Hashdiff do
|
|
68
68
|
it 'compares different objects without tolerance' do
|
69
69
|
expect(described_class.compare_values('hats', 'ninjas')).to be false
|
70
70
|
end
|
71
|
+
|
71
72
|
it 'compares other objects with tolerance' do
|
72
73
|
expect(described_class.compare_values('hats', 'ninjas', numeric_tolerance: 0.01)).to be false
|
73
74
|
end
|
@@ -92,4 +93,24 @@ describe Hashdiff do
|
|
92
93
|
expect(described_class.compare_values('horse', 'Horse', case_insensitive: true)).to be true
|
93
94
|
end
|
94
95
|
end
|
96
|
+
|
97
|
+
describe '.comparable?' do
|
98
|
+
it 'identifies hashes as comparable' do
|
99
|
+
expect(described_class.comparable?({}, {})).to be true
|
100
|
+
end
|
101
|
+
|
102
|
+
it 'identifies a subclass of Hash to be comparable with a Hash' do
|
103
|
+
other = Class.new(Hash)
|
104
|
+
expect(described_class.comparable?(other.new, {})).to be true
|
105
|
+
end
|
106
|
+
|
107
|
+
it 'identifies a Hash to be comparable with a subclass of Hash' do
|
108
|
+
other = Class.new(Hash)
|
109
|
+
expect(described_class.comparable?({}, other.new)).to be true
|
110
|
+
end
|
111
|
+
|
112
|
+
it 'does not identify a Numeric as comparable with a Hash' do
|
113
|
+
expect(described_class.comparable?(1, {})).to be false
|
114
|
+
end
|
115
|
+
end
|
95
116
|
end
|
File without changes
|
data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/.document
RENAMED
File without changes
|
data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/.yardopts
RENAMED
File without changes
|
@@ -1,5 +1,13 @@
|
|
1
|
-
### 3.9.
|
2
|
-
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v3.
|
1
|
+
### 3.9.1 / 2020-03-13
|
2
|
+
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v3.9.0...v3.9.1)
|
3
|
+
|
4
|
+
Bug Fixes:
|
5
|
+
|
6
|
+
* Issue an improved warning when using `respond_to(...).with(n).arguments` and ignore
|
7
|
+
the warning when using with `have_attributes(...)`. (Jon Rowe, #1164)
|
8
|
+
|
9
|
+
### 3.9.0 / 2019-10-08
|
10
|
+
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v3.8.6...v3.9.0)
|
3
11
|
|
4
12
|
Enhancements:
|
5
13
|
|
data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/LICENSE.md
RENAMED
File without changes
|
data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/README.md
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|