cloudsmith-api 0.53.79 → 0.54.15

Sign up to get free protection for your applications and to get access to all the features.
Files changed (442) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +14 -14
  3. data/README.md +13 -9
  4. data/build.json +1 -1
  5. data/docs/AlpinePackageUpload.md +4 -0
  6. data/docs/ConanPackageUpload.md +4 -0
  7. data/docs/MavenPackageUpload.md +4 -0
  8. data/docs/MetricsApi.md +71 -4
  9. data/docs/Package.md +4 -0
  10. data/docs/PackageCopy.md +4 -0
  11. data/docs/PackageMove.md +4 -0
  12. data/docs/PackagesApi.md +72 -3
  13. data/docs/PackagesCopy.md +1 -0
  14. data/docs/PackagesMove.md +1 -0
  15. data/docs/PackagesResync.md +8 -0
  16. data/docs/PackagesScan.md +8 -0
  17. data/docs/PackagesTag.md +1 -0
  18. data/docs/PackagesUploadAlpine.md +1 -0
  19. data/docs/PackagesUploadCargo.md +1 -0
  20. data/docs/PackagesUploadCocoapods.md +1 -0
  21. data/docs/PackagesUploadComposer.md +1 -0
  22. data/docs/PackagesUploadConan.md +1 -0
  23. data/docs/PackagesUploadCran.md +1 -0
  24. data/docs/PackagesUploadDart.md +1 -0
  25. data/docs/PackagesUploadDeb.md +1 -0
  26. data/docs/PackagesUploadDocker.md +1 -0
  27. data/docs/PackagesUploadGo.md +1 -0
  28. data/docs/PackagesUploadHelm.md +1 -0
  29. data/docs/PackagesUploadLuarocks.md +1 -0
  30. data/docs/PackagesUploadMaven.md +1 -0
  31. data/docs/PackagesUploadNpm.md +1 -0
  32. data/docs/PackagesUploadNuget.md +1 -0
  33. data/docs/PackagesUploadPython.md +1 -0
  34. data/docs/PackagesUploadRaw.md +1 -0
  35. data/docs/PackagesUploadRpm.md +1 -0
  36. data/docs/PackagesUploadRuby.md +1 -0
  37. data/docs/PackagesUploadTerraform.md +1 -0
  38. data/docs/PackagesUploadVagrant.md +1 -0
  39. data/docs/PackagesValidateuploadAlpine.md +1 -0
  40. data/docs/PackagesValidateuploadCargo.md +1 -0
  41. data/docs/PackagesValidateuploadCocoapods.md +1 -0
  42. data/docs/PackagesValidateuploadComposer.md +1 -0
  43. data/docs/PackagesValidateuploadConan.md +1 -0
  44. data/docs/PackagesValidateuploadCran.md +1 -0
  45. data/docs/PackagesValidateuploadDart.md +1 -0
  46. data/docs/PackagesValidateuploadDeb.md +1 -0
  47. data/docs/PackagesValidateuploadDocker.md +1 -0
  48. data/docs/PackagesValidateuploadGo.md +1 -0
  49. data/docs/PackagesValidateuploadHelm.md +1 -0
  50. data/docs/PackagesValidateuploadLuarocks.md +1 -0
  51. data/docs/PackagesValidateuploadMaven.md +1 -0
  52. data/docs/PackagesValidateuploadNpm.md +1 -0
  53. data/docs/PackagesValidateuploadNuget.md +1 -0
  54. data/docs/PackagesValidateuploadPython.md +1 -0
  55. data/docs/PackagesValidateuploadRaw.md +1 -0
  56. data/docs/PackagesValidateuploadRpm.md +1 -0
  57. data/docs/PackagesValidateuploadRuby.md +1 -0
  58. data/docs/PackagesValidateuploadTerraform.md +1 -0
  59. data/docs/PackagesValidateuploadVagrant.md +1 -0
  60. data/docs/RawPackageUpload.md +4 -0
  61. data/docs/VagrantPackageUpload.md +4 -0
  62. data/docs/VulnerabilitiesApi.md +22 -22
  63. data/lib/cloudsmith-api.rb +2 -0
  64. data/lib/cloudsmith-api/api/metrics_api.rb +73 -7
  65. data/lib/cloudsmith-api/api/packages_api.rb +72 -1
  66. data/lib/cloudsmith-api/api/vulnerabilities_api.rb +22 -22
  67. data/lib/cloudsmith-api/models/alpine_package_upload.rb +41 -1
  68. data/lib/cloudsmith-api/models/conan_package_upload.rb +41 -1
  69. data/lib/cloudsmith-api/models/maven_package_upload.rb +41 -1
  70. data/lib/cloudsmith-api/models/package.rb +41 -1
  71. data/lib/cloudsmith-api/models/package_copy.rb +41 -1
  72. data/lib/cloudsmith-api/models/package_move.rb +41 -1
  73. data/lib/cloudsmith-api/models/packages_copy.rb +14 -4
  74. data/lib/cloudsmith-api/models/packages_move.rb +14 -4
  75. data/lib/cloudsmith-api/models/packages_resync.rb +189 -0
  76. data/lib/cloudsmith-api/models/packages_scan.rb +189 -0
  77. data/lib/cloudsmith-api/models/packages_tag.rb +11 -1
  78. data/lib/cloudsmith-api/models/packages_upload_alpine.rb +11 -1
  79. data/lib/cloudsmith-api/models/packages_upload_cargo.rb +11 -1
  80. data/lib/cloudsmith-api/models/packages_upload_cocoapods.rb +11 -1
  81. data/lib/cloudsmith-api/models/packages_upload_composer.rb +11 -1
  82. data/lib/cloudsmith-api/models/packages_upload_conan.rb +11 -1
  83. data/lib/cloudsmith-api/models/packages_upload_cran.rb +11 -1
  84. data/lib/cloudsmith-api/models/packages_upload_dart.rb +11 -1
  85. data/lib/cloudsmith-api/models/packages_upload_deb.rb +11 -1
  86. data/lib/cloudsmith-api/models/packages_upload_docker.rb +11 -1
  87. data/lib/cloudsmith-api/models/packages_upload_go.rb +11 -1
  88. data/lib/cloudsmith-api/models/packages_upload_helm.rb +11 -1
  89. data/lib/cloudsmith-api/models/packages_upload_luarocks.rb +11 -1
  90. data/lib/cloudsmith-api/models/packages_upload_maven.rb +11 -1
  91. data/lib/cloudsmith-api/models/packages_upload_npm.rb +11 -1
  92. data/lib/cloudsmith-api/models/packages_upload_nuget.rb +11 -1
  93. data/lib/cloudsmith-api/models/packages_upload_python.rb +11 -1
  94. data/lib/cloudsmith-api/models/packages_upload_raw.rb +11 -1
  95. data/lib/cloudsmith-api/models/packages_upload_rpm.rb +11 -1
  96. data/lib/cloudsmith-api/models/packages_upload_ruby.rb +11 -1
  97. data/lib/cloudsmith-api/models/packages_upload_terraform.rb +11 -1
  98. data/lib/cloudsmith-api/models/packages_upload_vagrant.rb +11 -1
  99. data/lib/cloudsmith-api/models/packages_validateupload_alpine.rb +11 -1
  100. data/lib/cloudsmith-api/models/packages_validateupload_cargo.rb +11 -1
  101. data/lib/cloudsmith-api/models/packages_validateupload_cocoapods.rb +11 -1
  102. data/lib/cloudsmith-api/models/packages_validateupload_composer.rb +11 -1
  103. data/lib/cloudsmith-api/models/packages_validateupload_conan.rb +11 -1
  104. data/lib/cloudsmith-api/models/packages_validateupload_cran.rb +11 -1
  105. data/lib/cloudsmith-api/models/packages_validateupload_dart.rb +11 -1
  106. data/lib/cloudsmith-api/models/packages_validateupload_deb.rb +11 -1
  107. data/lib/cloudsmith-api/models/packages_validateupload_docker.rb +11 -1
  108. data/lib/cloudsmith-api/models/packages_validateupload_go.rb +11 -1
  109. data/lib/cloudsmith-api/models/packages_validateupload_helm.rb +11 -1
  110. data/lib/cloudsmith-api/models/packages_validateupload_luarocks.rb +11 -1
  111. data/lib/cloudsmith-api/models/packages_validateupload_maven.rb +11 -1
  112. data/lib/cloudsmith-api/models/packages_validateupload_npm.rb +11 -1
  113. data/lib/cloudsmith-api/models/packages_validateupload_nuget.rb +11 -1
  114. data/lib/cloudsmith-api/models/packages_validateupload_python.rb +11 -1
  115. data/lib/cloudsmith-api/models/packages_validateupload_raw.rb +11 -1
  116. data/lib/cloudsmith-api/models/packages_validateupload_rpm.rb +11 -1
  117. data/lib/cloudsmith-api/models/packages_validateupload_ruby.rb +11 -1
  118. data/lib/cloudsmith-api/models/packages_validateupload_terraform.rb +11 -1
  119. data/lib/cloudsmith-api/models/packages_validateupload_vagrant.rb +11 -1
  120. data/lib/cloudsmith-api/models/raw_package_upload.rb +41 -1
  121. data/lib/cloudsmith-api/models/vagrant_package_upload.rb +41 -1
  122. data/lib/cloudsmith-api/version.rb +1 -1
  123. data/spec/api/metrics_api_spec.rb +18 -1
  124. data/spec/api/packages_api_spec.rb +16 -0
  125. data/spec/api/vulnerabilities_api_spec.rb +11 -11
  126. data/spec/models/alpine_package_upload_spec.rb +24 -0
  127. data/spec/models/conan_package_upload_spec.rb +24 -0
  128. data/spec/models/maven_package_upload_spec.rb +24 -0
  129. data/spec/models/package_copy_spec.rb +24 -0
  130. data/spec/models/package_move_spec.rb +24 -0
  131. data/spec/models/package_spec.rb +24 -0
  132. data/spec/models/packages_copy_spec.rb +6 -0
  133. data/spec/models/packages_move_spec.rb +6 -0
  134. data/spec/models/packages_resync_spec.rb +42 -0
  135. data/spec/models/packages_scan_spec.rb +42 -0
  136. data/spec/models/packages_tag_spec.rb +6 -0
  137. data/spec/models/packages_upload_alpine_spec.rb +6 -0
  138. data/spec/models/packages_upload_cargo_spec.rb +6 -0
  139. data/spec/models/packages_upload_cocoapods_spec.rb +6 -0
  140. data/spec/models/packages_upload_composer_spec.rb +6 -0
  141. data/spec/models/packages_upload_conan_spec.rb +6 -0
  142. data/spec/models/packages_upload_cran_spec.rb +6 -0
  143. data/spec/models/packages_upload_dart_spec.rb +6 -0
  144. data/spec/models/packages_upload_deb_spec.rb +6 -0
  145. data/spec/models/packages_upload_docker_spec.rb +6 -0
  146. data/spec/models/packages_upload_go_spec.rb +6 -0
  147. data/spec/models/packages_upload_helm_spec.rb +6 -0
  148. data/spec/models/packages_upload_luarocks_spec.rb +6 -0
  149. data/spec/models/packages_upload_maven_spec.rb +6 -0
  150. data/spec/models/packages_upload_npm_spec.rb +6 -0
  151. data/spec/models/packages_upload_nuget_spec.rb +6 -0
  152. data/spec/models/packages_upload_python_spec.rb +6 -0
  153. data/spec/models/packages_upload_raw_spec.rb +6 -0
  154. data/spec/models/packages_upload_rpm_spec.rb +6 -0
  155. data/spec/models/packages_upload_ruby_spec.rb +6 -0
  156. data/spec/models/packages_upload_terraform_spec.rb +6 -0
  157. data/spec/models/packages_upload_vagrant_spec.rb +6 -0
  158. data/spec/models/packages_validateupload_alpine_spec.rb +6 -0
  159. data/spec/models/packages_validateupload_cargo_spec.rb +6 -0
  160. data/spec/models/packages_validateupload_cocoapods_spec.rb +6 -0
  161. data/spec/models/packages_validateupload_composer_spec.rb +6 -0
  162. data/spec/models/packages_validateupload_conan_spec.rb +6 -0
  163. data/spec/models/packages_validateupload_cran_spec.rb +6 -0
  164. data/spec/models/packages_validateupload_dart_spec.rb +6 -0
  165. data/spec/models/packages_validateupload_deb_spec.rb +6 -0
  166. data/spec/models/packages_validateupload_docker_spec.rb +6 -0
  167. data/spec/models/packages_validateupload_go_spec.rb +6 -0
  168. data/spec/models/packages_validateupload_helm_spec.rb +6 -0
  169. data/spec/models/packages_validateupload_luarocks_spec.rb +6 -0
  170. data/spec/models/packages_validateupload_maven_spec.rb +6 -0
  171. data/spec/models/packages_validateupload_npm_spec.rb +6 -0
  172. data/spec/models/packages_validateupload_nuget_spec.rb +6 -0
  173. data/spec/models/packages_validateupload_python_spec.rb +6 -0
  174. data/spec/models/packages_validateupload_raw_spec.rb +6 -0
  175. data/spec/models/packages_validateupload_rpm_spec.rb +6 -0
  176. data/spec/models/packages_validateupload_ruby_spec.rb +6 -0
  177. data/spec/models/packages_validateupload_terraform_spec.rb +6 -0
  178. data/spec/models/packages_validateupload_vagrant_spec.rb +6 -0
  179. data/spec/models/raw_package_upload_spec.rb +24 -0
  180. data/spec/models/vagrant_package_upload_spec.rb +24 -0
  181. data/vendor/bundle/ruby/2.6.0/cache/rspec-3.10.0.gem +0 -0
  182. data/vendor/bundle/ruby/2.6.0/cache/rspec-core-3.10.0.gem +0 -0
  183. data/vendor/bundle/ruby/2.6.0/cache/rspec-expectations-3.10.0.gem +0 -0
  184. data/vendor/bundle/ruby/2.6.0/cache/rspec-mocks-3.10.0.gem +0 -0
  185. data/vendor/bundle/ruby/2.6.0/cache/rspec-support-3.10.0.gem +0 -0
  186. data/vendor/bundle/ruby/2.6.0/cache/sys-uname-1.2.2.gem +0 -0
  187. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/autotest-fsevent-0.2.17/gem_make.out +1 -1
  188. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.13.1/gem_make.out +2 -2
  189. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.3.1/gem_make.out +1 -1
  190. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.13.1/ext/ffi_c/Makefile +3 -3
  191. data/vendor/bundle/ruby/2.6.0/gems/{rspec-3.9.0 → rspec-3.10.0}/LICENSE.md +0 -0
  192. data/vendor/bundle/ruby/2.6.0/gems/{rspec-3.9.0 → rspec-3.10.0}/README.md +0 -0
  193. data/vendor/bundle/ruby/2.6.0/gems/{rspec-3.9.0 → rspec-3.10.0}/lib/rspec.rb +0 -0
  194. data/vendor/bundle/ruby/2.6.0/gems/{rspec-3.9.0 → rspec-3.10.0}/lib/rspec/version.rb +1 -1
  195. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/.document +0 -0
  196. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/.yardopts +0 -0
  197. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/Changelog.md +10 -0
  198. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/LICENSE.md +0 -0
  199. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/README.md +0 -0
  200. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/exe/rspec +0 -0
  201. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/lib/rspec/autorun.rb +0 -0
  202. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/lib/rspec/core.rb +0 -0
  203. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/lib/rspec/core/backtrace_formatter.rb +0 -0
  204. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/lib/rspec/core/bisect/coordinator.rb +0 -0
  205. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/lib/rspec/core/bisect/example_minimizer.rb +0 -0
  206. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/lib/rspec/core/bisect/fork_runner.rb +0 -0
  207. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/lib/rspec/core/bisect/server.rb +0 -0
  208. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/lib/rspec/core/bisect/shell_command.rb +0 -0
  209. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/lib/rspec/core/bisect/shell_runner.rb +0 -0
  210. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/lib/rspec/core/bisect/utilities.rb +0 -0
  211. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/lib/rspec/core/configuration.rb +6 -0
  212. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/lib/rspec/core/configuration_options.rb +0 -0
  213. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/lib/rspec/core/did_you_mean.rb +0 -0
  214. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/lib/rspec/core/drb.rb +7 -0
  215. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/lib/rspec/core/dsl.rb +0 -0
  216. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/lib/rspec/core/example.rb +0 -0
  217. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/lib/rspec/core/example_group.rb +0 -0
  218. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/lib/rspec/core/example_status_persister.rb +0 -0
  219. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/lib/rspec/core/filter_manager.rb +0 -0
  220. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/lib/rspec/core/flat_map.rb +0 -0
  221. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/lib/rspec/core/formatters.rb +0 -0
  222. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/lib/rspec/core/formatters/base_bisect_formatter.rb +0 -0
  223. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/lib/rspec/core/formatters/base_formatter.rb +0 -0
  224. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/lib/rspec/core/formatters/base_text_formatter.rb +0 -0
  225. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/lib/rspec/core/formatters/bisect_drb_formatter.rb +0 -0
  226. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/lib/rspec/core/formatters/bisect_progress_formatter.rb +0 -0
  227. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/lib/rspec/core/formatters/console_codes.rb +0 -0
  228. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/lib/rspec/core/formatters/deprecation_formatter.rb +0 -0
  229. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/lib/rspec/core/formatters/documentation_formatter.rb +0 -0
  230. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/lib/rspec/core/formatters/exception_presenter.rb +7 -5
  231. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/lib/rspec/core/formatters/failure_list_formatter.rb +0 -0
  232. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/lib/rspec/core/formatters/fallback_message_formatter.rb +0 -0
  233. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/lib/rspec/core/formatters/helpers.rb +0 -0
  234. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/lib/rspec/core/formatters/html_formatter.rb +0 -0
  235. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/lib/rspec/core/formatters/html_printer.rb +0 -0
  236. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/lib/rspec/core/formatters/html_snippet_extractor.rb +0 -0
  237. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/lib/rspec/core/formatters/json_formatter.rb +0 -0
  238. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/lib/rspec/core/formatters/profile_formatter.rb +0 -0
  239. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/lib/rspec/core/formatters/progress_formatter.rb +0 -0
  240. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/lib/rspec/core/formatters/protocol.rb +0 -0
  241. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/lib/rspec/core/formatters/snippet_extractor.rb +0 -0
  242. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/lib/rspec/core/formatters/syntax_highlighter.rb +0 -0
  243. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/lib/rspec/core/hooks.rb +0 -0
  244. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/lib/rspec/core/invocations.rb +1 -1
  245. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/lib/rspec/core/memoized_helpers.rb +0 -0
  246. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/lib/rspec/core/metadata.rb +0 -0
  247. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/lib/rspec/core/metadata_filter.rb +0 -0
  248. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/lib/rspec/core/minitest_assertions_adapter.rb +0 -0
  249. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/lib/rspec/core/mocking_adapters/flexmock.rb +0 -0
  250. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/lib/rspec/core/mocking_adapters/mocha.rb +0 -0
  251. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/lib/rspec/core/mocking_adapters/null.rb +0 -0
  252. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/lib/rspec/core/mocking_adapters/rr.rb +0 -0
  253. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/lib/rspec/core/mocking_adapters/rspec.rb +0 -0
  254. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/lib/rspec/core/notifications.rb +0 -0
  255. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/lib/rspec/core/option_parser.rb +5 -0
  256. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/lib/rspec/core/ordering.rb +0 -0
  257. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/lib/rspec/core/output_wrapper.rb +0 -0
  258. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/lib/rspec/core/pending.rb +0 -0
  259. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/lib/rspec/core/profiler.rb +0 -0
  260. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/lib/rspec/core/project_initializer.rb +0 -0
  261. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/lib/rspec/core/project_initializer/.rspec +0 -0
  262. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/lib/rspec/core/project_initializer/spec/spec_helper.rb +0 -0
  263. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/lib/rspec/core/rake_task.rb +0 -0
  264. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/lib/rspec/core/reporter.rb +0 -0
  265. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/lib/rspec/core/ruby_project.rb +0 -0
  266. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/lib/rspec/core/runner.rb +12 -4
  267. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/lib/rspec/core/sandbox.rb +0 -0
  268. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/lib/rspec/core/set.rb +0 -0
  269. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/lib/rspec/core/shared_context.rb +0 -0
  270. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/lib/rspec/core/shared_example_group.rb +0 -0
  271. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/lib/rspec/core/shell_escape.rb +0 -0
  272. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/lib/rspec/core/test_unit_assertions_adapter.rb +0 -0
  273. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/lib/rspec/core/version.rb +1 -1
  274. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/lib/rspec/core/warnings.rb +0 -0
  275. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.9.3 → rspec-core-3.10.0}/lib/rspec/core/world.rb +0 -0
  276. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.2 → rspec-expectations-3.10.0}/.document +0 -0
  277. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.2 → rspec-expectations-3.10.0}/.yardopts +0 -0
  278. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.2 → rspec-expectations-3.10.0}/Changelog.md +43 -2
  279. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.2 → rspec-expectations-3.10.0}/LICENSE.md +0 -0
  280. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.2 → rspec-expectations-3.10.0}/README.md +4 -4
  281. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.2 → rspec-expectations-3.10.0}/lib/rspec/expectations.rb +0 -0
  282. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.2 → rspec-expectations-3.10.0}/lib/rspec/expectations/block_snippet_extractor.rb +0 -0
  283. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.2 → rspec-expectations-3.10.0}/lib/rspec/expectations/configuration.rb +15 -0
  284. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.2 → rspec-expectations-3.10.0}/lib/rspec/expectations/expectation_target.rb +0 -0
  285. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.2 → rspec-expectations-3.10.0}/lib/rspec/expectations/fail_with.rb +0 -0
  286. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.2 → rspec-expectations-3.10.0}/lib/rspec/expectations/failure_aggregator.rb +19 -1
  287. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.2 → rspec-expectations-3.10.0}/lib/rspec/expectations/handler.rb +18 -6
  288. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.2 → rspec-expectations-3.10.0}/lib/rspec/expectations/minitest_integration.rb +0 -0
  289. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.2 → rspec-expectations-3.10.0}/lib/rspec/expectations/syntax.rb +0 -0
  290. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.2 → rspec-expectations-3.10.0}/lib/rspec/expectations/version.rb +1 -1
  291. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.2 → rspec-expectations-3.10.0}/lib/rspec/matchers.rb +43 -40
  292. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.2 → rspec-expectations-3.10.0}/lib/rspec/matchers/aliased_matcher.rb +0 -0
  293. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.2 → rspec-expectations-3.10.0}/lib/rspec/matchers/built_in.rb +2 -1
  294. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.2 → rspec-expectations-3.10.0}/lib/rspec/matchers/built_in/all.rb +0 -0
  295. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.2 → rspec-expectations-3.10.0}/lib/rspec/matchers/built_in/base_matcher.rb +0 -0
  296. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.2 → rspec-expectations-3.10.0}/lib/rspec/matchers/built_in/be.rb +10 -107
  297. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.2 → rspec-expectations-3.10.0}/lib/rspec/matchers/built_in/be_between.rb +0 -0
  298. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.2 → rspec-expectations-3.10.0}/lib/rspec/matchers/built_in/be_instance_of.rb +0 -0
  299. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.2 → rspec-expectations-3.10.0}/lib/rspec/matchers/built_in/be_kind_of.rb +0 -0
  300. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.2 → rspec-expectations-3.10.0}/lib/rspec/matchers/built_in/be_within.rb +2 -2
  301. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.2 → rspec-expectations-3.10.0}/lib/rspec/matchers/built_in/change.rb +0 -0
  302. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.2 → rspec-expectations-3.10.0}/lib/rspec/matchers/built_in/compound.rb +0 -0
  303. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.2 → rspec-expectations-3.10.0}/lib/rspec/matchers/built_in/contain_exactly.rb +0 -0
  304. data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.0/lib/rspec/matchers/built_in/count_expectation.rb +169 -0
  305. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.2 → rspec-expectations-3.10.0}/lib/rspec/matchers/built_in/cover.rb +0 -0
  306. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.2 → rspec-expectations-3.10.0}/lib/rspec/matchers/built_in/eq.rb +0 -0
  307. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.2 → rspec-expectations-3.10.0}/lib/rspec/matchers/built_in/eql.rb +0 -0
  308. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.2 → rspec-expectations-3.10.0}/lib/rspec/matchers/built_in/equal.rb +0 -0
  309. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.2 → rspec-expectations-3.10.0}/lib/rspec/matchers/built_in/exist.rb +0 -0
  310. data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.0/lib/rspec/matchers/built_in/has.rb +167 -0
  311. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.2 → rspec-expectations-3.10.0}/lib/rspec/matchers/built_in/have_attributes.rb +0 -0
  312. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.2 → rspec-expectations-3.10.0}/lib/rspec/matchers/built_in/include.rb +72 -15
  313. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.2 → rspec-expectations-3.10.0}/lib/rspec/matchers/built_in/match.rb +0 -0
  314. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.2 → rspec-expectations-3.10.0}/lib/rspec/matchers/built_in/operators.rb +0 -0
  315. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.2 → rspec-expectations-3.10.0}/lib/rspec/matchers/built_in/output.rb +0 -0
  316. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.2 → rspec-expectations-3.10.0}/lib/rspec/matchers/built_in/raise_error.rb +42 -13
  317. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.2 → rspec-expectations-3.10.0}/lib/rspec/matchers/built_in/respond_to.rb +46 -45
  318. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.2 → rspec-expectations-3.10.0}/lib/rspec/matchers/built_in/satisfy.rb +0 -0
  319. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.2 → rspec-expectations-3.10.0}/lib/rspec/matchers/built_in/start_or_end_with.rb +0 -0
  320. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.2 → rspec-expectations-3.10.0}/lib/rspec/matchers/built_in/throw_symbol.rb +0 -0
  321. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.2 → rspec-expectations-3.10.0}/lib/rspec/matchers/built_in/yield.rb +6 -92
  322. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.2 → rspec-expectations-3.10.0}/lib/rspec/matchers/composable.rb +0 -0
  323. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.2 → rspec-expectations-3.10.0}/lib/rspec/matchers/dsl.rb +0 -0
  324. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.2 → rspec-expectations-3.10.0}/lib/rspec/matchers/english_phrasing.rb +1 -1
  325. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.2 → rspec-expectations-3.10.0}/lib/rspec/matchers/expecteds_for_multiple_diffs.rb +0 -0
  326. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.2 → rspec-expectations-3.10.0}/lib/rspec/matchers/fail_matchers.rb +0 -0
  327. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.2 → rspec-expectations-3.10.0}/lib/rspec/matchers/generated_descriptions.rb +0 -0
  328. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.2 → rspec-expectations-3.10.0}/lib/rspec/matchers/matcher_delegator.rb +0 -0
  329. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.2 → rspec-expectations-3.10.0}/lib/rspec/matchers/matcher_protocol.rb +0 -0
  330. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.9.1 → rspec-mocks-3.10.0}/.document +0 -0
  331. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.9.1 → rspec-mocks-3.10.0}/.yardopts +0 -0
  332. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.9.1 → rspec-mocks-3.10.0}/Changelog.md +10 -0
  333. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.9.1 → rspec-mocks-3.10.0}/LICENSE.md +0 -0
  334. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.9.1 → rspec-mocks-3.10.0}/README.md +5 -5
  335. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.9.1 → rspec-mocks-3.10.0}/lib/rspec/mocks.rb +4 -1
  336. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.9.1 → rspec-mocks-3.10.0}/lib/rspec/mocks/any_instance.rb +0 -0
  337. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.9.1 → rspec-mocks-3.10.0}/lib/rspec/mocks/any_instance/chain.rb +0 -0
  338. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.9.1 → rspec-mocks-3.10.0}/lib/rspec/mocks/any_instance/error_generator.rb +0 -0
  339. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.9.1 → rspec-mocks-3.10.0}/lib/rspec/mocks/any_instance/expect_chain_chain.rb +0 -0
  340. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.9.1 → rspec-mocks-3.10.0}/lib/rspec/mocks/any_instance/expectation_chain.rb +0 -0
  341. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.9.1 → rspec-mocks-3.10.0}/lib/rspec/mocks/any_instance/message_chains.rb +0 -0
  342. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.9.1 → rspec-mocks-3.10.0}/lib/rspec/mocks/any_instance/proxy.rb +0 -0
  343. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.9.1 → rspec-mocks-3.10.0}/lib/rspec/mocks/any_instance/recorder.rb +0 -0
  344. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.9.1 → rspec-mocks-3.10.0}/lib/rspec/mocks/any_instance/stub_chain.rb +0 -0
  345. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.9.1 → rspec-mocks-3.10.0}/lib/rspec/mocks/any_instance/stub_chain_chain.rb +0 -0
  346. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.9.1 → rspec-mocks-3.10.0}/lib/rspec/mocks/argument_list_matcher.rb +0 -0
  347. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.9.1 → rspec-mocks-3.10.0}/lib/rspec/mocks/argument_matchers.rb +0 -0
  348. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.9.1 → rspec-mocks-3.10.0}/lib/rspec/mocks/configuration.rb +0 -0
  349. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.9.1 → rspec-mocks-3.10.0}/lib/rspec/mocks/error_generator.rb +0 -0
  350. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.9.1 → rspec-mocks-3.10.0}/lib/rspec/mocks/example_methods.rb +0 -0
  351. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.9.1 → rspec-mocks-3.10.0}/lib/rspec/mocks/instance_method_stasher.rb +0 -0
  352. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.9.1 → rspec-mocks-3.10.0}/lib/rspec/mocks/marshal_extension.rb +0 -0
  353. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.9.1 → rspec-mocks-3.10.0}/lib/rspec/mocks/matchers/expectation_customization.rb +0 -0
  354. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.9.1 → rspec-mocks-3.10.0}/lib/rspec/mocks/matchers/have_received.rb +0 -0
  355. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.9.1 → rspec-mocks-3.10.0}/lib/rspec/mocks/matchers/receive.rb +0 -0
  356. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.9.1 → rspec-mocks-3.10.0}/lib/rspec/mocks/matchers/receive_message_chain.rb +0 -0
  357. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.9.1 → rspec-mocks-3.10.0}/lib/rspec/mocks/matchers/receive_messages.rb +0 -0
  358. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.9.1 → rspec-mocks-3.10.0}/lib/rspec/mocks/message_chain.rb +0 -0
  359. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.9.1 → rspec-mocks-3.10.0}/lib/rspec/mocks/message_expectation.rb +2 -2
  360. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.9.1 → rspec-mocks-3.10.0}/lib/rspec/mocks/method_double.rb +0 -0
  361. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.9.1 → rspec-mocks-3.10.0}/lib/rspec/mocks/method_reference.rb +0 -0
  362. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.9.1 → rspec-mocks-3.10.0}/lib/rspec/mocks/minitest_integration.rb +0 -0
  363. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.9.1 → rspec-mocks-3.10.0}/lib/rspec/mocks/mutate_const.rb +0 -0
  364. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.9.1 → rspec-mocks-3.10.0}/lib/rspec/mocks/object_reference.rb +0 -0
  365. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.9.1 → rspec-mocks-3.10.0}/lib/rspec/mocks/order_group.rb +0 -0
  366. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.9.1 → rspec-mocks-3.10.0}/lib/rspec/mocks/proxy.rb +0 -0
  367. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.9.1 → rspec-mocks-3.10.0}/lib/rspec/mocks/space.rb +0 -0
  368. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.9.1 → rspec-mocks-3.10.0}/lib/rspec/mocks/standalone.rb +0 -0
  369. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.9.1 → rspec-mocks-3.10.0}/lib/rspec/mocks/syntax.rb +0 -0
  370. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.9.1 → rspec-mocks-3.10.0}/lib/rspec/mocks/targets.rb +0 -0
  371. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.9.1 → rspec-mocks-3.10.0}/lib/rspec/mocks/test_double.rb +0 -0
  372. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.9.1 → rspec-mocks-3.10.0}/lib/rspec/mocks/verifying_double.rb +0 -0
  373. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.9.1 → rspec-mocks-3.10.0}/lib/rspec/mocks/verifying_message_expectation.rb +0 -0
  374. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.9.1 → rspec-mocks-3.10.0}/lib/rspec/mocks/verifying_proxy.rb +0 -0
  375. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.9.1 → rspec-mocks-3.10.0}/lib/rspec/mocks/version.rb +1 -1
  376. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.9.3 → rspec-support-3.10.0}/Changelog.md +12 -0
  377. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.9.3 → rspec-support-3.10.0}/LICENSE.md +0 -0
  378. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.9.3 → rspec-support-3.10.0}/README.md +2 -2
  379. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.9.3 → rspec-support-3.10.0}/lib/rspec/support.rb +0 -0
  380. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.9.3 → rspec-support-3.10.0}/lib/rspec/support/caller_filter.rb +1 -1
  381. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.9.3 → rspec-support-3.10.0}/lib/rspec/support/comparable_version.rb +1 -1
  382. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.9.3 → rspec-support-3.10.0}/lib/rspec/support/differ.rb +0 -0
  383. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.9.3 → rspec-support-3.10.0}/lib/rspec/support/directory_maker.rb +0 -0
  384. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.9.3 → rspec-support-3.10.0}/lib/rspec/support/encoded_string.rb +0 -0
  385. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.9.3 → rspec-support-3.10.0}/lib/rspec/support/fuzzy_matcher.rb +0 -0
  386. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.9.3 → rspec-support-3.10.0}/lib/rspec/support/hunk_generator.rb +0 -0
  387. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.9.3 → rspec-support-3.10.0}/lib/rspec/support/matcher_definition.rb +0 -0
  388. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.9.3 → rspec-support-3.10.0}/lib/rspec/support/method_signature_verifier.rb +2 -2
  389. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.9.3 → rspec-support-3.10.0}/lib/rspec/support/mutex.rb +0 -0
  390. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.9.3 → rspec-support-3.10.0}/lib/rspec/support/object_formatter.rb +0 -0
  391. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.9.3 → rspec-support-3.10.0}/lib/rspec/support/recursive_const_methods.rb +0 -0
  392. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.9.3 → rspec-support-3.10.0}/lib/rspec/support/reentrant_mutex.rb +0 -0
  393. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.9.3 → rspec-support-3.10.0}/lib/rspec/support/ruby_features.rb +4 -4
  394. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.9.3 → rspec-support-3.10.0}/lib/rspec/support/source.rb +10 -0
  395. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.9.3 → rspec-support-3.10.0}/lib/rspec/support/source/location.rb +0 -0
  396. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.9.3 → rspec-support-3.10.0}/lib/rspec/support/source/node.rb +0 -0
  397. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.9.3 → rspec-support-3.10.0}/lib/rspec/support/source/token.rb +0 -0
  398. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.9.3 → rspec-support-3.10.0}/lib/rspec/support/spec.rb +1 -0
  399. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.9.3 → rspec-support-3.10.0}/lib/rspec/support/spec/deprecation_helpers.rb +0 -0
  400. data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.0/lib/rspec/support/spec/diff_helpers.rb +31 -0
  401. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.9.3 → rspec-support-3.10.0}/lib/rspec/support/spec/formatting_support.rb +0 -0
  402. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.9.3 → rspec-support-3.10.0}/lib/rspec/support/spec/in_sub_process.rb +1 -3
  403. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.9.3 → rspec-support-3.10.0}/lib/rspec/support/spec/library_wide_checks.rb +0 -0
  404. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.9.3 → rspec-support-3.10.0}/lib/rspec/support/spec/shell_out.rb +19 -8
  405. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.9.3 → rspec-support-3.10.0}/lib/rspec/support/spec/stderr_splitter.rb +0 -0
  406. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.9.3 → rspec-support-3.10.0}/lib/rspec/support/spec/string_matcher.rb +0 -1
  407. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.9.3 → rspec-support-3.10.0}/lib/rspec/support/spec/with_isolated_directory.rb +0 -0
  408. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.9.3 → rspec-support-3.10.0}/lib/rspec/support/spec/with_isolated_stderr.rb +0 -0
  409. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.9.3 → rspec-support-3.10.0}/lib/rspec/support/version.rb +1 -1
  410. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.9.3 → rspec-support-3.10.0}/lib/rspec/support/warnings.rb +0 -0
  411. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.9.3 → rspec-support-3.10.0}/lib/rspec/support/with_keywords_when_needed.rb +0 -0
  412. data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.1/CHANGES.rdoc → sys-uname-1.2.2/CHANGES.md} +41 -35
  413. data/vendor/bundle/ruby/2.6.0/gems/sys-uname-1.2.2/Gemfile +7 -0
  414. data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.1 → sys-uname-1.2.2}/LICENSE +0 -0
  415. data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.1/MANIFEST.rdoc → sys-uname-1.2.2/MANIFEST.md} +2 -1
  416. data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.1/README.rdoc → sys-uname-1.2.2/README.md} +22 -20
  417. data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.1 → sys-uname-1.2.2}/Rakefile +2 -2
  418. data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.1 → sys-uname-1.2.2}/certs/djberg96_pub.pem +0 -0
  419. data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.1 → sys-uname-1.2.2}/doc/uname.rdoc +1 -1
  420. data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.1 → sys-uname-1.2.2}/examples/uname_test.rb +0 -0
  421. data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.1 → sys-uname-1.2.2}/lib/sys-uname.rb +0 -0
  422. data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.1 → sys-uname-1.2.2}/lib/sys/platform.rb +0 -0
  423. data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.1 → sys-uname-1.2.2}/lib/sys/uname.rb +1 -1
  424. data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.1 → sys-uname-1.2.2}/lib/sys/unix/uname.rb +0 -0
  425. data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.1 → sys-uname-1.2.2}/lib/sys/windows/uname.rb +0 -0
  426. data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.1 → sys-uname-1.2.2}/spec/sys_platform_spec.rb +1 -1
  427. data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.1 → sys-uname-1.2.2}/spec/sys_uname_spec.rb +2 -2
  428. data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.1 → sys-uname-1.2.2}/sys-uname.gemspec +5 -4
  429. data/vendor/bundle/ruby/2.6.0/specifications/{rspec-3.9.0.gemspec → rspec-3.10.0.gemspec} +13 -13
  430. data/vendor/bundle/ruby/2.6.0/specifications/{rspec-core-3.9.3.gemspec → rspec-core-3.10.0.gemspec} +8 -8
  431. data/vendor/bundle/ruby/2.6.0/specifications/{rspec-expectations-3.9.2.gemspec → rspec-expectations-3.10.0.gemspec} +8 -8
  432. data/vendor/bundle/ruby/2.6.0/specifications/{rspec-mocks-3.9.1.gemspec → rspec-mocks-3.10.0.gemspec} +11 -11
  433. data/vendor/bundle/ruby/2.6.0/specifications/{rspec-support-3.9.3.gemspec → rspec-support-3.10.0.gemspec} +5 -5
  434. data/vendor/bundle/ruby/2.6.0/specifications/{sys-uname-1.2.1.gemspec → sys-uname-1.2.2.gemspec} +12 -9
  435. metadata +355 -344
  436. data/vendor/bundle/ruby/2.6.0/cache/rspec-3.9.0.gem +0 -0
  437. data/vendor/bundle/ruby/2.6.0/cache/rspec-core-3.9.3.gem +0 -0
  438. data/vendor/bundle/ruby/2.6.0/cache/rspec-expectations-3.9.2.gem +0 -0
  439. data/vendor/bundle/ruby/2.6.0/cache/rspec-mocks-3.9.1.gem +0 -0
  440. data/vendor/bundle/ruby/2.6.0/cache/rspec-support-3.9.3.gem +0 -0
  441. data/vendor/bundle/ruby/2.6.0/cache/sys-uname-1.2.1.gem +0 -0
  442. data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/has.rb +0 -103
@@ -9,13 +9,20 @@ module RSpec
9
9
  class RaiseError
10
10
  include Composable
11
11
 
12
- def initialize(expected_error_or_message=nil, expected_message=nil, &block)
12
+ # Used as a sentinel value to be able to tell when the user did not pass an
13
+ # argument. We can't use `nil` for that because we need to warn when `nil` is
14
+ # passed in a different way. It's an Object, not a Module, since Module's `===`
15
+ # does not evaluate to true when compared to itself.
16
+ UndefinedValue = Object.new.freeze
17
+
18
+ def initialize(expected_error_or_message, expected_message, &block)
13
19
  @block = block
14
20
  @actual_error = nil
15
- @warn_about_bare_error = expected_error_or_message.nil?
21
+ @warn_about_bare_error = UndefinedValue === expected_error_or_message
22
+ @warn_about_nil_error = expected_error_or_message.nil?
16
23
 
17
24
  case expected_error_or_message
18
- when nil
25
+ when nil, UndefinedValue
19
26
  @expected_error = Exception
20
27
  @expected_message = expected_message
21
28
  when String
@@ -58,8 +65,11 @@ module RSpec
58
65
  end
59
66
  end
60
67
 
61
- warn_about_bare_error if warning_about_bare_error && !negative_expectation
62
- eval_block if !negative_expectation && ready_to_eval_block?
68
+ unless negative_expectation
69
+ warn_about_bare_error! if warn_about_bare_error?
70
+ warn_about_nil_error! if warn_about_nil_error?
71
+ eval_block if ready_to_eval_block?
72
+ end
63
73
 
64
74
  expectation_matched?
65
75
  end
@@ -67,7 +77,7 @@ module RSpec
67
77
 
68
78
  # @private
69
79
  def does_not_match?(given_proc)
70
- warn_for_false_positives
80
+ warn_for_negative_false_positives!
71
81
  !matches?(given_proc, :negative_expectation) && Proc === given_proc
72
82
  end
73
83
 
@@ -131,29 +141,35 @@ module RSpec
131
141
  values_match?(@expected_message, @actual_error.message.to_s)
132
142
  end
133
143
 
134
- def warn_for_false_positives
144
+ def warn_for_negative_false_positives!
135
145
  expression = if expecting_specific_exception? && @expected_message
136
146
  "`expect { }.not_to raise_error(SpecificErrorClass, message)`"
137
147
  elsif expecting_specific_exception?
138
148
  "`expect { }.not_to raise_error(SpecificErrorClass)`"
139
149
  elsif @expected_message
140
150
  "`expect { }.not_to raise_error(message)`"
151
+ elsif @warn_about_nil_error
152
+ "`expect { }.not_to raise_error(nil)`"
141
153
  end
142
154
 
143
155
  return unless expression
144
156
 
145
- warn_about_negative_false_positive expression
157
+ warn_about_negative_false_positive! expression
146
158
  end
147
159
 
148
160
  def handle_warning(message)
149
161
  RSpec::Expectations.configuration.false_positives_handler.call(message)
150
162
  end
151
163
 
152
- def warning_about_bare_error
164
+ def warn_about_bare_error?
153
165
  @warn_about_bare_error && @block.nil?
154
166
  end
155
167
 
156
- def warn_about_bare_error
168
+ def warn_about_nil_error?
169
+ @warn_about_nil_error
170
+ end
171
+
172
+ def warn_about_bare_error!
157
173
  handle_warning("Using the `raise_error` matcher without providing a specific " \
158
174
  "error or message risks false positives, since `raise_error` " \
159
175
  "will match when Ruby raises a `NoMethodError`, `NameError` or " \
@@ -166,11 +182,24 @@ module RSpec
166
182
  "_positives = :nothing`")
167
183
  end
168
184
 
169
- def warn_about_negative_false_positive(expression)
185
+ def warn_about_nil_error!
186
+ handle_warning("Using the `raise_error` matcher with a `nil` error is probably " \
187
+ "unintentional, it risks false positives, since `raise_error` " \
188
+ "will match when Ruby raises a `NoMethodError`, `NameError` or " \
189
+ "`ArgumentError`, potentially allowing the expectation to pass " \
190
+ "without even executing the method you are intending to call. " \
191
+ "#{warning}"\
192
+ "Instead consider providing a specific error class or message. " \
193
+ "This message can be suppressed by setting: " \
194
+ "`RSpec::Expectations.configuration.on_potential_false" \
195
+ "_positives = :nothing`")
196
+ end
197
+
198
+ def warn_about_negative_false_positive!(expression)
170
199
  handle_warning("Using #{expression} risks false positives, since literally " \
171
200
  "any other error would cause the expectation to pass, " \
172
- "including those raised by Ruby (e.g. NoMethodError, NameError " \
173
- "and ArgumentError), meaning the code you are intending to test " \
201
+ "including those raised by Ruby (e.g. `NoMethodError`, `NameError` " \
202
+ "and `ArgumentError`), meaning the code you are intending to test " \
174
203
  "may not even get reached. Instead consider using " \
175
204
  "`expect { }.not_to raise_error` or `expect { }.to raise_error" \
176
205
  "(DifferentSpecificErrorClass)`. This message can be suppressed by " \
@@ -1,7 +1,5 @@
1
1
  RSpec::Support.require_rspec_support "method_signature_verifier"
2
2
 
3
- # TODO: Refactor this file to be under our class length
4
- # rubocop:disable ClassLength
5
3
  module RSpec
6
4
  module Matchers
7
5
  module BuiltIn
@@ -118,49 +116,15 @@ module RSpec
118
116
  end
119
117
  end
120
118
 
121
- def setup_method_signature_expectation
122
- expectation = Support::MethodSignatureExpectation.new
123
-
124
- if @expected_arity.is_a?(Range)
125
- expectation.min_count = @expected_arity.min
126
- expectation.max_count = @expected_arity.max
127
- else
128
- expectation.min_count = @expected_arity
129
- end
130
-
131
- expectation.keywords = @expected_keywords
132
- expectation.expect_unlimited_arguments = @unlimited_arguments
133
- expectation.expect_arbitrary_keywords = @arbitrary_keywords
134
-
135
- expectation
136
- end
137
-
138
119
  def matches_arity?(actual, name)
139
- expectation = setup_method_signature_expectation
140
-
141
- return true if expectation.empty?
142
-
143
- begin
144
- Support::StrictSignatureVerifier.new(method_signature_for(actual, name)).
145
- with_expectation(expectation).valid?
146
- rescue NameError
147
- return true if @ignoring_method_signature_failure
148
- raise ArgumentError, "The #{matcher_name} matcher requires that " \
149
- "the actual object define the method(s) in " \
150
- "order to check arity, but the method " \
151
- "`#{name}` is not defined. Remove the arity " \
152
- "check or define the method to continue."
153
- end
154
- end
155
-
156
- def method_signature_for(actual, name)
157
- method_handle = Support.method_handle_for(actual, name)
158
-
159
- if name == :new && method_handle.owner === ::Class && ::Class === actual
160
- Support::MethodSignature.new(actual.instance_method(:initialize))
161
- else
162
- Support::MethodSignature.new(method_handle)
163
- end
120
+ ArityCheck.new(@expected_arity, @expected_keywords, @arbitrary_keywords, @unlimited_arguments).matches?(actual, name)
121
+ rescue NameError
122
+ return true if @ignoring_method_signature_failure
123
+ raise ArgumentError, "The #{matcher_name} matcher requires that " \
124
+ "the actual object define the method(s) in " \
125
+ "order to check arity, but the method " \
126
+ "`#{name}` is not defined. Remove the arity " \
127
+ "check or define the method to continue."
164
128
  end
165
129
 
166
130
  def with_arity
@@ -192,8 +156,45 @@ module RSpec
192
156
  def pp_names
193
157
  @names.length == 1 ? "##{@names.first}" : description_of(@names)
194
158
  end
159
+
160
+ # @private
161
+ class ArityCheck
162
+ def initialize(expected_arity, expected_keywords, arbitrary_keywords, unlimited_arguments)
163
+ expectation = Support::MethodSignatureExpectation.new
164
+
165
+ if expected_arity.is_a?(Range)
166
+ expectation.min_count = expected_arity.min
167
+ expectation.max_count = expected_arity.max
168
+ else
169
+ expectation.min_count = expected_arity
170
+ end
171
+
172
+ expectation.keywords = expected_keywords
173
+ expectation.expect_unlimited_arguments = unlimited_arguments
174
+ expectation.expect_arbitrary_keywords = arbitrary_keywords
175
+ @expectation = expectation
176
+ end
177
+
178
+ def matches?(actual, name)
179
+ return true if @expectation.empty?
180
+ verifier_for(actual, name).with_expectation(@expectation).valid?
181
+ end
182
+
183
+ def verifier_for(actual, name)
184
+ Support::StrictSignatureVerifier.new(method_signature_for(actual, name))
185
+ end
186
+
187
+ def method_signature_for(actual, name)
188
+ method_handle = Support.method_handle_for(actual, name)
189
+
190
+ if name == :new && method_handle.owner === ::Class && ::Class === actual
191
+ Support::MethodSignature.new(actual.instance_method(:initialize))
192
+ else
193
+ Support::MethodSignature.new(method_handle)
194
+ end
195
+ end
196
+ end
195
197
  end
196
198
  end
197
199
  end
198
200
  end
199
- # rubocop:enable ClassLength
@@ -1,3 +1,5 @@
1
+ require 'rspec/matchers/built_in/count_expectation'
2
+
1
3
  RSpec::Support.require_rspec_support 'method_signature_verifier'
2
4
 
3
5
  module RSpec
@@ -97,64 +99,12 @@ module RSpec
97
99
  # Provides the implementation for `yield_control`.
98
100
  # Not intended to be instantiated directly.
99
101
  class YieldControl < BaseMatcher
100
- def initialize
101
- @expectation_type = @expected_yields_count = nil
102
- end
103
-
104
- # @api public
105
- # Specifies that the method is expected to yield once.
106
- def once
107
- exactly(1)
108
- self
109
- end
110
-
111
- # @api public
112
- # Specifies that the method is expected to yield twice.
113
- def twice
114
- exactly(2)
115
- self
116
- end
117
-
118
- # @api public
119
- # Specifies that the method is expected to yield thrice.
120
- def thrice
121
- exactly(3)
122
- self
123
- end
124
-
125
- # @api public
126
- # Specifies that the method is expected to yield the given number of times.
127
- def exactly(number)
128
- set_expected_yields_count(:==, number)
129
- self
130
- end
131
-
132
- # @api public
133
- # Specifies the maximum number of times the method is expected to yield
134
- def at_most(number)
135
- set_expected_yields_count(:<=, number)
136
- self
137
- end
138
-
139
- # @api public
140
- # Specifies the minimum number of times the method is expected to yield
141
- def at_least(number)
142
- set_expected_yields_count(:>=, number)
143
- self
144
- end
145
-
146
- # @api public
147
- # No-op. Provides syntactic sugar.
148
- def times
149
- self
150
- end
151
-
102
+ include CountExpectation
152
103
  # @private
153
104
  def matches?(block)
154
105
  @probe = YieldProbe.probe(block)
155
106
  return false unless @probe.has_block?
156
- return @probe.num_yields > 0 unless @expectation_type
157
- @probe.num_yields.__send__(@expectation_type, @expected_yields_count)
107
+ expected_count_matches?(@probe.num_yields)
158
108
  end
159
109
 
160
110
  # @private
@@ -181,46 +131,10 @@ module RSpec
181
131
 
182
132
  private
183
133
 
184
- def set_expected_yields_count(relativity, n)
185
- raise "Multiple count constraints are not supported" if @expectation_type
186
-
187
- @expectation_type = relativity
188
- @expected_yields_count = count_constraint_to_number(n)
189
- end
190
-
191
- def count_constraint_to_number(n)
192
- case n
193
- when Numeric then n
194
- when :once then 1
195
- when :twice then 2
196
- when :thrice then 3
197
- else
198
- raise ArgumentError, "Expected a number, :once, :twice or :thrice," \
199
- " but got #{n}"
200
- end
201
- end
202
-
203
134
  def failure_reason
204
135
  return ' but was not a block' unless @probe.has_block?
205
- "#{human_readable_expectation_type}#{human_readable_count(@expected_yields_count)}" \
206
- " but yielded#{human_readable_count(@probe.num_yields)}"
207
- end
208
-
209
- def human_readable_expectation_type
210
- case @expectation_type
211
- when :<= then ' at most'
212
- when :>= then ' at least'
213
- else ''
214
- end
215
- end
216
-
217
- def human_readable_count(count)
218
- case count
219
- when nil then ''
220
- when 1 then ' once'
221
- when 2 then ' twice'
222
- else " #{count} times"
223
- end
136
+ return "#{count_expectation_description} but did not yield" if @probe.num_yields == 0
137
+ count_failure_reason('yielded')
224
138
  end
225
139
  end
226
140
 
@@ -24,7 +24,7 @@ module RSpec
24
24
  # list([]) #=> ""
25
25
  #
26
26
  def self.list(obj)
27
- return " #{RSpec::Support::ObjectFormatter.format(obj)}" if !obj || Struct === obj
27
+ return " #{RSpec::Support::ObjectFormatter.format(obj)}" if !obj || Struct === obj || Hash === obj
28
28
  items = Array(obj).map { |w| RSpec::Support::ObjectFormatter.format(w) }
29
29
  case items.length
30
30
  when 0
@@ -1,3 +1,13 @@
1
+ ### 3.10.0 / 2020-10-30
2
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.9.1...v3.10.0)
3
+
4
+ Enhancements:
5
+ * Add the ability to set a custom error generator in `MessageExpectation`.
6
+ This will allow rspec-expectations to inject a custom failure message.
7
+ (Benoit Tigeot and Nicolas Zermati, #1312)
8
+ * Return the result of the block passed to `RSpec::Mocks.with_temporary_scope`
9
+ when block run. (@expeehaa, #1329)
10
+
1
11
  ### 3.9.1 / 2019-12-31
2
12
  [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.9.0...v3.9.1)
3
13
 
@@ -1,4 +1,4 @@
1
- # RSpec Mocks [![Build Status](https://secure.travis-ci.org/rspec/rspec-mocks.svg?branch=master)](http://travis-ci.org/rspec/rspec-mocks) [![Code Climate](https://codeclimate.com/github/rspec/rspec-mocks.svg)](https://codeclimate.com/github/rspec/rspec-mocks)
1
+ # RSpec Mocks [![Build Status](https://secure.travis-ci.org/rspec/rspec-mocks.svg?branch=main)](http://travis-ci.org/rspec/rspec-mocks) [![Code Climate](https://codeclimate.com/github/rspec/rspec-mocks.svg)](https://codeclimate.com/github/rspec/rspec-mocks)
2
2
  rspec-mocks is a test-double framework for rspec with support for method stubs,
3
3
  fakes, and message expectations on generated test-doubles and real objects
4
4
  alike.
@@ -8,12 +8,12 @@ alike.
8
8
  gem install rspec # for rspec-core, rspec-expectations, rspec-mocks
9
9
  gem install rspec-mocks # for rspec-mocks only
10
10
 
11
- Want to run against the `master` branch? You'll need to include the dependent
11
+ Want to run against the `main` branch? You'll need to include the dependent
12
12
  RSpec repos as well. Add the following to your `Gemfile`:
13
13
 
14
14
  ```ruby
15
15
  %w[rspec-core rspec-expectations rspec-mocks rspec-support].each do |lib|
16
- gem lib, :git => "https://github.com/rspec/#{lib}.git", :branch => 'master'
16
+ gem lib, :git => "https://github.com/rspec/#{lib}.git", :branch => 'main'
17
17
  end
18
18
  ```
19
19
  ## Contributing
@@ -53,7 +53,7 @@ book = instance_double("Book", :pages => 250)
53
53
  Verifying doubles have some clever tricks to enable you to both test in
54
54
  isolation without your dependencies loaded while still being able to validate
55
55
  them against real objects. More detail is available in [their
56
- documentation](https://github.com/rspec/rspec-mocks/blob/master/features/verifying_doubles).
56
+ documentation](https://github.com/rspec/rspec-mocks/blob/main/features/verifying_doubles).
57
57
 
58
58
  Verifying doubles can also accept custom identifiers, just like double(), e.g.:
59
59
 
@@ -403,7 +403,7 @@ your code.
403
403
  ## Stubbing and Hiding Constants
404
404
 
405
405
  See the [mutating constants
406
- README](https://github.com/rspec/rspec-mocks/blob/master/features/mutating_constants/README.md)
406
+ README](https://github.com/rspec/rspec-mocks/blob/main/features/mutating_constants/README.md)
407
407
  for info on this feature.
408
408
 
409
409
  ## Use `before(:example)`, not `before(:context)`
@@ -87,12 +87,15 @@ module RSpec
87
87
 
88
88
  # Call the passed block and verify mocks after it has executed. This allows
89
89
  # mock usage in arbitrary places, such as a `before(:all)` hook.
90
+ #
91
+ # @return [Object] the return value from the block
90
92
  def self.with_temporary_scope
91
93
  setup
92
94
 
93
95
  begin
94
- yield
96
+ result = yield
95
97
  verify
98
+ result
96
99
  ensure
97
100
  teardown
98
101
  end