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.
Files changed (158) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +5 -5
  3. data/README.md +10 -5
  4. data/build.json +1 -1
  5. data/docs/ReposApi.md +194 -4
  6. data/docs/ReposCreate.md +16 -0
  7. data/docs/ReposPartialUpdate.md +16 -0
  8. data/docs/Repository.md +6 -6
  9. data/lib/cloudsmith-api.rb +2 -0
  10. data/lib/cloudsmith-api/api/repos_api.rb +170 -4
  11. data/lib/cloudsmith-api/models/repos_create.rb +284 -0
  12. data/lib/cloudsmith-api/models/repos_partial_update.rb +269 -0
  13. data/lib/cloudsmith-api/models/repository.rb +9 -19
  14. data/lib/cloudsmith-api/version.rb +1 -1
  15. data/spec/api/repos_api_spec.rb +41 -2
  16. data/spec/models/repos_create_spec.rb +90 -0
  17. data/spec/models/repos_partial_update_spec.rb +90 -0
  18. data/vendor/bundle/ruby/2.6.0/cache/autotest-fsevent-0.2.17.gem +0 -0
  19. data/vendor/bundle/ruby/2.6.0/cache/hashdiff-1.0.1.gem +0 -0
  20. data/vendor/bundle/ruby/2.6.0/cache/rspec-expectations-3.9.1.gem +0 -0
  21. data/vendor/bundle/ruby/2.6.0/cache/sys-uname-1.2.1.gem +0 -0
  22. 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
  23. 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
  24. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.12.2/gem_make.out +2 -2
  25. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.3.0/gem_make.out +1 -1
  26. data/vendor/bundle/ruby/2.6.0/gems/{autotest-fsevent-0.2.15 → autotest-fsevent-0.2.17}/CHANGELOG.md +10 -0
  27. data/vendor/bundle/ruby/2.6.0/gems/{autotest-fsevent-0.2.15 → autotest-fsevent-0.2.17}/LICENSE.txt +0 -0
  28. data/vendor/bundle/ruby/2.6.0/gems/{autotest-fsevent-0.2.15 → autotest-fsevent-0.2.17}/README.md +20 -15
  29. data/vendor/bundle/ruby/2.6.0/gems/{autotest-fsevent-0.2.15 → autotest-fsevent-0.2.17}/ext/fsevent/Makefile +0 -0
  30. data/vendor/bundle/ruby/2.6.0/gems/{autotest-fsevent-0.2.15 → autotest-fsevent-0.2.17}/ext/fsevent/extconf.rb +0 -0
  31. data/vendor/bundle/ruby/2.6.0/gems/{autotest-fsevent-0.2.15 → autotest-fsevent-0.2.17}/ext/fsevent/fsevent.dll +0 -0
  32. data/vendor/bundle/ruby/2.6.0/gems/{autotest-fsevent-0.2.15 → autotest-fsevent-0.2.17}/ext/fsevent/fsevent.so +0 -0
  33. 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
  34. data/vendor/bundle/ruby/2.6.0/gems/{autotest-fsevent-0.2.15 → autotest-fsevent-0.2.17}/ext/fsevent/make +0 -0
  35. data/vendor/bundle/ruby/2.6.0/gems/{autotest-fsevent-0.2.15 → autotest-fsevent-0.2.17}/ext/fsevent/nmake.bat +0 -0
  36. data/vendor/bundle/ruby/2.6.0/gems/{autotest-fsevent-0.2.15 → autotest-fsevent-0.2.17}/lib/autotest-fsevent.rb +0 -0
  37. 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
  38. data/vendor/bundle/ruby/2.6.0/gems/{autotest-fsevent-0.2.15 → autotest-fsevent-0.2.17}/lib/autotest/fsevent.rb +0 -0
  39. data/vendor/bundle/ruby/2.6.0/gems/autotest-fsevent-0.2.17/post-install.txt +5 -0
  40. data/vendor/bundle/ruby/2.6.0/gems/{autotest-fsevent-0.2.15 → autotest-fsevent-0.2.17}/prebuilt/fsevent_sleep +0 -0
  41. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.12.2/ext/ffi_c/Makefile +3 -3
  42. data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/.gitignore +0 -0
  43. data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/.rspec +0 -0
  44. data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/.rubocop.yml +4 -0
  45. data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/.travis.yml +0 -0
  46. data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/.yardopts +0 -0
  47. data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/Gemfile +0 -0
  48. data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/LICENSE +0 -0
  49. data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/README.md +17 -13
  50. data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/Rakefile +0 -0
  51. data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/changelog.md +4 -0
  52. data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/hashdiff.gemspec +1 -1
  53. data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/lib/hashdiff.rb +0 -0
  54. data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/lib/hashdiff/compare_hashes.rb +14 -1
  55. data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/lib/hashdiff/diff.rb +3 -0
  56. data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/lib/hashdiff/lcs.rb +0 -0
  57. data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/lib/hashdiff/lcs_compare_arrays.rb +0 -0
  58. data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/lib/hashdiff/linear_compare_array.rb +0 -0
  59. data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/lib/hashdiff/patch.rb +0 -0
  60. data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/lib/hashdiff/util.rb +2 -1
  61. data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/lib/hashdiff/version.rb +1 -1
  62. data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/spec/hashdiff/best_diff_spec.rb +0 -0
  63. data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/spec/hashdiff/diff_array_spec.rb +0 -0
  64. data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/spec/hashdiff/diff_spec.rb +5 -0
  65. data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/spec/hashdiff/lcs_spec.rb +0 -0
  66. 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
  67. data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/spec/hashdiff/patch_spec.rb +0 -0
  68. data/vendor/bundle/ruby/2.6.0/gems/hashdiff-1.0.1/spec/hashdiff/readme_spec.rb +15 -0
  69. data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/spec/hashdiff/util_spec.rb +21 -0
  70. data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/spec/spec_helper.rb +0 -0
  71. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/.document +0 -0
  72. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/.yardopts +0 -0
  73. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/Changelog.md +10 -2
  74. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/LICENSE.md +0 -0
  75. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/README.md +0 -0
  76. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/expectations.rb +0 -0
  77. 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
  78. 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
  79. 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
  80. 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
  81. 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
  82. 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
  83. 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
  84. 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
  85. 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
  86. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/matchers.rb +0 -0
  87. 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
  88. 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
  89. 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
  90. 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
  91. 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
  92. 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
  93. 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
  94. 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
  95. 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
  96. 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
  97. 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
  98. 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
  99. 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
  100. 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
  101. 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
  102. 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
  103. 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
  104. 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
  105. 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
  106. 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
  107. 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
  108. 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
  109. 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
  110. 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
  111. 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
  112. 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
  113. 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
  114. 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
  115. 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
  116. 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
  117. 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
  118. 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
  119. 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
  120. 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
  121. 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
  122. 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
  123. 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
  124. data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.0 → sys-uname-1.2.1}/CHANGES.rdoc +3 -0
  125. data/vendor/bundle/ruby/2.6.0/gems/sys-uname-1.2.1/LICENSE +177 -0
  126. data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.0 → sys-uname-1.2.1}/MANIFEST.rdoc +0 -0
  127. data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.0 → sys-uname-1.2.1}/README.rdoc +0 -0
  128. data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.0 → sys-uname-1.2.1}/Rakefile +0 -0
  129. data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.0 → sys-uname-1.2.1}/certs/djberg96_pub.pem +0 -0
  130. data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.0 → sys-uname-1.2.1}/doc/uname.rdoc +0 -0
  131. data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.0 → sys-uname-1.2.1}/examples/uname_test.rb +0 -0
  132. data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.0 → sys-uname-1.2.1}/lib/sys-uname.rb +0 -0
  133. data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.0 → sys-uname-1.2.1}/lib/sys/platform.rb +0 -0
  134. data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.0 → sys-uname-1.2.1}/lib/sys/uname.rb +1 -1
  135. 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
  136. 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
  137. 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
  138. 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
  139. data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.0 → sys-uname-1.2.1}/sys-uname.gemspec +1 -1
  140. data/vendor/bundle/ruby/2.6.0/specifications/autotest-fsevent-0.2.17.gemspec +49 -0
  141. data/vendor/bundle/ruby/2.6.0/specifications/{hashdiff-1.0.0.gemspec → hashdiff-1.0.1.gemspec} +6 -6
  142. data/vendor/bundle/ruby/2.6.0/specifications/{rspec-expectations-3.9.0.gemspec → rspec-expectations-3.9.1.gemspec} +5 -5
  143. data/vendor/bundle/ruby/2.6.0/specifications/{sys-uname-1.2.0.gemspec → sys-uname-1.2.1.gemspec} +3 -3
  144. metadata +214 -212
  145. data/vendor/bundle/ruby/2.6.0/cache/autotest-fsevent-0.2.15.gem +0 -0
  146. data/vendor/bundle/ruby/2.6.0/cache/hashdiff-1.0.0.gem +0 -0
  147. data/vendor/bundle/ruby/2.6.0/cache/rspec-expectations-3.9.0.gem +0 -0
  148. data/vendor/bundle/ruby/2.6.0/cache/sys-uname-1.2.0.gem +0 -0
  149. data/vendor/bundle/ruby/2.6.0/gems/autotest-fsevent-0.2.15/.gitignore +0 -5
  150. data/vendor/bundle/ruby/2.6.0/gems/autotest-fsevent-0.2.15/.ruby-version +0 -1
  151. data/vendor/bundle/ruby/2.6.0/gems/autotest-fsevent-0.2.15/autotest-fsevent.gemspec +0 -30
  152. data/vendor/bundle/ruby/2.6.0/gems/autotest-fsevent-0.2.15/gems.locked +0 -32
  153. data/vendor/bundle/ruby/2.6.0/gems/autotest-fsevent-0.2.15/gems.rb +0 -4
  154. data/vendor/bundle/ruby/2.6.0/gems/autotest-fsevent-0.2.15/post-install.txt +0 -14
  155. data/vendor/bundle/ruby/2.6.0/gems/autotest-fsevent-0.2.15/rakefile.rb +0 -12
  156. data/vendor/bundle/ruby/2.6.0/gems/autotest-fsevent-0.2.15/spec/lib/autotest-fsevent/version_spec.rb +0 -7
  157. data/vendor/bundle/ruby/2.6.0/gems/autotest-fsevent-0.2.15/spec/spec_helper.rb +0 -6
  158. data/vendor/bundle/ruby/2.6.0/specifications/autotest-fsevent-0.2.15.gemspec +0 -45
@@ -1,5 +1,5 @@
1
1
  class Autotest
2
2
  module FSEvent
3
- VERSION = "0.2.15"
3
+ VERSION = "0.2.17"
4
4
  end
5
5
  end
@@ -0,0 +1,5 @@
1
+ In order to use autotest-fsevent, install either the comprehensive ZenTest
2
+ gem or the lightweight autotest-standalone gem and then add the following
3
+ line to your ~/.autotest file:
4
+
5
+ require 'autotest/fsevent'
@@ -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.20200326-911-pz38ps
35
- sitelibdir = $(DESTDIR)./.gem.20200326-911-pz38ps
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)/Platform.h $(srcdir)/Call.h $(srcdir)/StructByValue.h $(srcdir)/ArrayType.h $(srcdir)/Pointer.h $(srcdir)/extconf.h $(srcdir)/MemoryPointer.h $(srcdir)/Struct.h $(srcdir)/DynamicLibrary.h $(srcdir)/rbffi.h $(srcdir)/Types.h $(srcdir)/compat.h $(srcdir)/LastError.h $(srcdir)/MethodHandle.h $(srcdir)/LongDouble.h $(srcdir)/rbffi_endian.h $(srcdir)/Thread.h $(srcdir)/AbstractMemory.h $(srcdir)/Function.h $(srcdir)/Type.h $(srcdir)/MappedType.h $(srcdir)/ClosurePool.h
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
@@ -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
@@ -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
- ```ruby
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`, `:array_path`
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, :delimiter => '\t')
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, :numeric_tolerance => 0.1)
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, :comparison => { :numeric_tolerance => 0.1, :strip => true })
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, :comparison => { :numeric_tolerance => 0.1, :case_insensitive => true })
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, :array_path => true)
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, :array_path => true)
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, :array_path => true)
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, :use_lcs => false)
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) => [["+", "b[0]", "plane"], ["-", "b[2]", "plane"]]
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
@@ -1,5 +1,9 @@
1
1
  # Change Log
2
2
 
3
+ ## v1.0.1 2020-02-25
4
+
5
+ * Add indifferent option
6
+
3
7
  ## v1.0.0 2019-06-06
4
8
 
5
9
  * Fix typo in readme (#72 @koic)
@@ -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
 
@@ -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
- result.concat(Hashdiff.diff(obj1[k], obj2[k], opts.merge(prefix: prefix)))
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,
@@ -16,7 +16,7 @@ module Hashdiff
16
16
 
17
17
  diffs = count_diff diff(obja, objb, opts)
18
18
 
19
- (1 - diffs.to_f / (count_a + count_b).to_f) >= opts[:similarity]
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)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Hashdiff
4
- VERSION = '1.0.0'.freeze
4
+ VERSION = '1.0.1'.freeze
5
5
  end
@@ -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']]
@@ -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
@@ -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
@@ -1,5 +1,13 @@
1
- ### 3.9.0 / 2019-10-02
2
- [Full Changelog](http://github.com/rspec/rspec-expectations/compare/v3.8.5...v3.9.0)
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
 
@@ -2,7 +2,7 @@ module RSpec
2
2
  module Expectations
3
3
  # @private
4
4
  module Version
5
- STRING = '3.9.0'
5
+ STRING = '3.9.1'
6
6
  end
7
7
  end
8
8
  end