cloudsmith-api 2.0.21 → 2.0.22

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 (600) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +12 -10
  3. data/README.md +35 -6
  4. data/build.json +1 -1
  5. data/docs/AlpinePackageUpload.md +1 -0
  6. data/docs/CargoPackageUpload.md +1 -0
  7. data/docs/CocoapodsPackageUpload.md +1 -0
  8. data/docs/ComposerPackageUpload.md +1 -0
  9. data/docs/ConanPackageUpload.md +1 -0
  10. data/docs/CondaPackageUpload.md +1 -0
  11. data/docs/CondaUpstream.md +25 -0
  12. data/docs/CondaUpstreamRequest.md +20 -0
  13. data/docs/CondaUpstreamRequestPatch.md +20 -0
  14. data/docs/CranPackageUpload.md +1 -0
  15. data/docs/DartPackageUpload.md +1 -0
  16. data/docs/DebPackageUpload.md +1 -0
  17. data/docs/DockerPackageUpload.md +1 -0
  18. data/docs/DynamicMapping.md +9 -0
  19. data/docs/GoPackageUpload.md +1 -0
  20. data/docs/HelmPackageUpload.md +1 -0
  21. data/docs/HexPackageUpload.md +1 -0
  22. data/docs/HuggingfacePackageUpload.md +88 -0
  23. data/docs/HuggingfacePackageUploadRequest.md +10 -0
  24. data/docs/HuggingfaceUpstream.md +25 -0
  25. data/docs/HuggingfaceUpstreamRequest.md +20 -0
  26. data/docs/HuggingfaceUpstreamRequestPatch.md +20 -0
  27. data/docs/LuarocksPackageUpload.md +1 -0
  28. data/docs/MavenPackageUpload.md +1 -0
  29. data/docs/NpmPackageUpload.md +1 -0
  30. data/docs/NugetPackageUpload.md +1 -0
  31. data/docs/OrgsApi.md +151 -14
  32. data/docs/P2PackageUpload.md +1 -0
  33. data/docs/Package.md +1 -0
  34. data/docs/PackageCopy.md +1 -0
  35. data/docs/PackageLicense.md +11 -0
  36. data/docs/PackageLicenseRequestPatch.md +12 -0
  37. data/docs/PackageMove.md +1 -0
  38. data/docs/PackageQuarantine.md +1 -0
  39. data/docs/PackageResync.md +1 -0
  40. data/docs/PackageTag.md +1 -0
  41. data/docs/PackagesApi.md +202 -0
  42. data/docs/ProviderSettings.md +2 -1
  43. data/docs/ProviderSettingsWrite.md +16 -0
  44. data/docs/ProviderSettingsWriteRequest.md +14 -0
  45. data/docs/ProviderSettingsWriteRequestPatch.md +14 -0
  46. data/docs/PythonPackageUpload.md +1 -0
  47. data/docs/RawPackageUpload.md +1 -0
  48. data/docs/ReposApi.md +1169 -367
  49. data/docs/RpmPackageUpload.md +1 -0
  50. data/docs/RubyPackageUpload.md +1 -0
  51. data/docs/StatusBasic.md +1 -1
  52. data/docs/SwiftPackageUpload.md +1 -0
  53. data/docs/TerraformPackageUpload.md +1 -0
  54. data/docs/VagrantPackageUpload.md +1 -0
  55. data/docs/Vulnerability.md +1 -0
  56. data/lib/cloudsmith-api/api/orgs_api.rb +150 -15
  57. data/lib/cloudsmith-api/api/packages_api.rb +194 -0
  58. data/lib/cloudsmith-api/api/repos_api.rb +1469 -679
  59. data/lib/cloudsmith-api/models/alpine_package_upload.rb +10 -1
  60. data/lib/cloudsmith-api/models/cargo_package_upload.rb +10 -1
  61. data/lib/cloudsmith-api/models/cocoapods_package_upload.rb +10 -1
  62. data/lib/cloudsmith-api/models/composer_package_upload.rb +10 -1
  63. data/lib/cloudsmith-api/models/conan_package_upload.rb +10 -1
  64. data/lib/cloudsmith-api/models/conda_package_upload.rb +10 -1
  65. data/lib/cloudsmith-api/models/conda_upstream.rb +426 -0
  66. data/lib/cloudsmith-api/models/conda_upstream_request.rb +365 -0
  67. data/lib/cloudsmith-api/models/conda_upstream_request_patch.rb +355 -0
  68. data/lib/cloudsmith-api/models/cran_package_upload.rb +10 -1
  69. data/lib/cloudsmith-api/models/dart_package_upload.rb +10 -1
  70. data/lib/cloudsmith-api/models/deb_package_upload.rb +10 -1
  71. data/lib/cloudsmith-api/models/docker_package_upload.rb +10 -1
  72. data/lib/cloudsmith-api/models/dynamic_mapping.rb +206 -0
  73. data/lib/cloudsmith-api/models/go_package_upload.rb +10 -1
  74. data/lib/cloudsmith-api/models/helm_package_upload.rb +10 -1
  75. data/lib/cloudsmith-api/models/hex_package_upload.rb +10 -1
  76. data/lib/cloudsmith-api/models/huggingface_package_upload.rb +972 -0
  77. data/lib/cloudsmith-api/models/huggingface_package_upload_request.rb +210 -0
  78. data/lib/cloudsmith-api/models/huggingface_upstream.rb +426 -0
  79. data/lib/cloudsmith-api/models/huggingface_upstream_request.rb +365 -0
  80. data/lib/cloudsmith-api/models/huggingface_upstream_request_patch.rb +355 -0
  81. data/lib/cloudsmith-api/models/luarocks_package_upload.rb +10 -1
  82. data/lib/cloudsmith-api/models/maven_package_upload.rb +10 -1
  83. data/lib/cloudsmith-api/models/npm_package_upload.rb +10 -1
  84. data/lib/cloudsmith-api/models/nuget_package_upload.rb +10 -1
  85. data/lib/cloudsmith-api/models/p2_package_upload.rb +10 -1
  86. data/lib/cloudsmith-api/models/package.rb +10 -1
  87. data/lib/cloudsmith-api/models/package_copy.rb +10 -1
  88. data/lib/cloudsmith-api/models/package_license.rb +252 -0
  89. data/lib/cloudsmith-api/models/package_license_request_patch.rb +270 -0
  90. data/lib/cloudsmith-api/models/package_move.rb +10 -1
  91. data/lib/cloudsmith-api/models/package_quarantine.rb +10 -1
  92. data/lib/cloudsmith-api/models/package_resync.rb +10 -1
  93. data/lib/cloudsmith-api/models/package_tag.rb +10 -1
  94. data/lib/cloudsmith-api/models/provider_settings.rb +12 -7
  95. data/lib/cloudsmith-api/models/provider_settings_write.rb +289 -0
  96. data/lib/cloudsmith-api/models/{provider_settings_request.rb → provider_settings_write_request.rb} +25 -8
  97. data/lib/cloudsmith-api/models/{provider_settings_request_patch.rb → provider_settings_write_request_patch.rb} +25 -3
  98. data/lib/cloudsmith-api/models/python_package_upload.rb +10 -1
  99. data/lib/cloudsmith-api/models/raw_package_upload.rb +10 -1
  100. data/lib/cloudsmith-api/models/rpm_package_upload.rb +10 -1
  101. data/lib/cloudsmith-api/models/ruby_package_upload.rb +10 -1
  102. data/lib/cloudsmith-api/models/status_basic.rb +1 -1
  103. data/lib/cloudsmith-api/models/swift_package_upload.rb +10 -1
  104. data/lib/cloudsmith-api/models/terraform_package_upload.rb +10 -1
  105. data/lib/cloudsmith-api/models/vagrant_package_upload.rb +10 -1
  106. data/lib/cloudsmith-api/models/vulnerability.rb +13 -1
  107. data/lib/cloudsmith-api/version.rb +1 -1
  108. data/lib/cloudsmith-api.rb +14 -2
  109. data/spec/api/orgs_api_spec.rb +36 -6
  110. data/spec/api/packages_api_spec.rb +44 -0
  111. data/spec/api/repos_api_spec.rb +174 -0
  112. data/spec/models/alpine_package_upload_spec.rb +6 -0
  113. data/spec/models/cargo_package_upload_spec.rb +6 -0
  114. data/spec/models/cocoapods_package_upload_spec.rb +6 -0
  115. data/spec/models/composer_package_upload_spec.rb +6 -0
  116. data/spec/models/conan_package_upload_spec.rb +6 -0
  117. data/spec/models/conda_package_upload_spec.rb +6 -0
  118. data/spec/models/conda_upstream_request_patch_spec.rb +121 -0
  119. data/spec/models/conda_upstream_request_spec.rb +121 -0
  120. data/spec/models/conda_upstream_spec.rb +155 -0
  121. data/spec/models/cran_package_upload_spec.rb +6 -0
  122. data/spec/models/dart_package_upload_spec.rb +6 -0
  123. data/spec/models/deb_package_upload_spec.rb +6 -0
  124. data/spec/models/docker_package_upload_spec.rb +6 -0
  125. data/spec/models/dynamic_mapping_spec.rb +47 -0
  126. data/spec/models/go_package_upload_spec.rb +6 -0
  127. data/spec/models/helm_package_upload_spec.rb +6 -0
  128. data/spec/models/hex_package_upload_spec.rb +6 -0
  129. data/spec/models/huggingface_package_upload_request_spec.rb +53 -0
  130. data/spec/models/huggingface_package_upload_spec.rb +525 -0
  131. data/spec/models/huggingface_upstream_request_patch_spec.rb +121 -0
  132. data/spec/models/huggingface_upstream_request_spec.rb +121 -0
  133. data/spec/models/huggingface_upstream_spec.rb +155 -0
  134. data/spec/models/luarocks_package_upload_spec.rb +6 -0
  135. data/spec/models/maven_package_upload_spec.rb +6 -0
  136. data/spec/models/npm_package_upload_spec.rb +6 -0
  137. data/spec/models/nuget_package_upload_spec.rb +6 -0
  138. data/spec/models/p2_package_upload_spec.rb +6 -0
  139. data/spec/models/package_copy_spec.rb +6 -0
  140. data/spec/models/package_license_request_patch_spec.rb +73 -0
  141. data/spec/models/package_license_spec.rb +63 -0
  142. data/spec/models/package_move_spec.rb +6 -0
  143. data/spec/models/package_quarantine_spec.rb +6 -0
  144. data/spec/models/package_resync_spec.rb +6 -0
  145. data/spec/models/package_spec.rb +6 -0
  146. data/spec/models/package_tag_spec.rb +6 -0
  147. data/spec/models/provider_settings_spec.rb +6 -0
  148. data/spec/models/{provider_settings_request_spec.rb → provider_settings_write_request_patch_spec.rb} +18 -6
  149. data/spec/models/{provider_settings_request_patch_spec.rb → provider_settings_write_request_spec.rb} +18 -6
  150. data/spec/models/provider_settings_write_spec.rb +89 -0
  151. data/spec/models/python_package_upload_spec.rb +6 -0
  152. data/spec/models/raw_package_upload_spec.rb +6 -0
  153. data/spec/models/rpm_package_upload_spec.rb +6 -0
  154. data/spec/models/ruby_package_upload_spec.rb +6 -0
  155. data/spec/models/swift_package_upload_spec.rb +6 -0
  156. data/spec/models/terraform_package_upload_spec.rb +6 -0
  157. data/spec/models/vagrant_package_upload_spec.rb +6 -0
  158. data/spec/models/vulnerability_spec.rb +6 -0
  159. data/vendor/bundle/ruby/2.6.0/cache/autotest-fsevent-0.3.0.gem +0 -0
  160. data/vendor/bundle/ruby/2.6.0/cache/bigdecimal-3.2.3.gem +0 -0
  161. data/vendor/bundle/ruby/2.6.0/cache/ethon-0.15.0.gem +0 -0
  162. data/vendor/bundle/ruby/2.6.0/cache/hashdiff-1.2.1.gem +0 -0
  163. data/vendor/bundle/ruby/2.6.0/cache/memoist-0.16.2.gem +0 -0
  164. data/vendor/bundle/ruby/2.6.0/cache/rexml-3.4.4.gem +0 -0
  165. data/vendor/bundle/ruby/2.6.0/cache/rspec-support-3.13.6.gem +0 -0
  166. data/vendor/bundle/ruby/2.6.0/cache/sys-uname-1.4.0.gem +0 -0
  167. data/vendor/bundle/ruby/2.6.0/cache/typhoeus-1.5.0.gem +0 -0
  168. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{autotest-fsevent-0.2.22 → autotest-fsevent-0.3.0}/gem_make.out +5 -5
  169. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/bigdecimal-3.2.3/bigdecimal.so +0 -0
  170. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{bigdecimal-3.2.2 → bigdecimal-3.2.3}/gem_make.out +67 -72
  171. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{bigdecimal-3.2.2 → bigdecimal-3.2.3}/mkmf.log +8 -193
  172. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.17.2/gem_make.out +2 -2
  173. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.17.2/mkmf.log +1 -1
  174. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.7.6/gem_make.out +2 -2
  175. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.7.6/mkmf.log +1 -1
  176. data/vendor/bundle/ruby/2.6.0/gems/{autotest-fsevent-0.2.22 → autotest-fsevent-0.3.0}/CHANGELOG.md +35 -29
  177. data/vendor/bundle/ruby/2.6.0/gems/{autotest-fsevent-0.2.22 → autotest-fsevent-0.3.0}/README.md +1 -7
  178. data/vendor/bundle/ruby/2.6.0/gems/{autotest-fsevent-0.2.22 → autotest-fsevent-0.3.0}/lib/autotest-fsevent/version.rb +1 -1
  179. data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.2.2 → bigdecimal-3.2.3}/ext/bigdecimal/Makefile +3 -3
  180. data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.2.2 → bigdecimal-3.2.3}/ext/bigdecimal/bigdecimal.c +721 -2269
  181. data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.2.2 → bigdecimal-3.2.3}/ext/bigdecimal/bigdecimal.h +4 -25
  182. data/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.3/ext/bigdecimal/bigdecimal.o +0 -0
  183. data/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.3/ext/bigdecimal/bigdecimal.so +0 -0
  184. data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.2.2 → bigdecimal-3.2.3}/ext/bigdecimal/bits.h +3 -0
  185. data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.2.2 → bigdecimal-3.2.3}/ext/bigdecimal/extconf.rb +3 -7
  186. data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.2.2 → bigdecimal-3.2.3}/ext/bigdecimal/missing.h +1 -93
  187. data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.2.2 → bigdecimal-3.2.3}/ext/bigdecimal/missing.o +0 -0
  188. data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.2.2 → bigdecimal-3.2.3}/lib/bigdecimal/math.rb +9 -6
  189. data/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.3/lib/bigdecimal.rb +329 -0
  190. data/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.3/lib/bigdecimal.so +0 -0
  191. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/.github/workflows/ruby.yml +2 -2
  192. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/CHANGELOG.md +0 -3
  193. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/README.md +0 -23
  194. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/lib/ethon/curls/classes.rb +2 -12
  195. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/lib/ethon/curls/options.rb +3 -4
  196. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/lib/ethon/easy/callbacks.rb +1 -2
  197. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/lib/ethon/easy/informations.rb +0 -3
  198. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/lib/ethon/easy/response_callbacks.rb +1 -6
  199. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/lib/ethon/version.rb +1 -1
  200. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/spec/ethon/easy/callbacks_spec.rb +0 -22
  201. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/spec/ethon/easy/informations_spec.rb +0 -6
  202. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/spec/ethon/easy/mirror_spec.rb +1 -1
  203. data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/spec/ethon/easy/operations_spec.rb +0 -3
  204. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.17.2/ext/ffi_c/Makefile +2 -2
  205. data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.2.0 → hashdiff-1.2.1}/Gemfile +1 -1
  206. data/vendor/bundle/ruby/2.6.0/gems/hashdiff-1.2.1/changelog.md +127 -0
  207. data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.2.0 → hashdiff-1.2.1}/lib/hashdiff/version.rb +1 -1
  208. data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/ext/json/ext/generator/Makefile +2 -2
  209. data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/ext/json/ext/parser/Makefile +2 -2
  210. data/vendor/bundle/ruby/2.6.0/gems/memoist-0.16.2/.gitignore +17 -0
  211. data/vendor/bundle/ruby/2.6.0/gems/memoist-0.16.2/.travis.yml +21 -0
  212. data/vendor/bundle/ruby/2.6.0/gems/memoist-0.16.2/CHANGELOG.md +130 -0
  213. data/vendor/bundle/ruby/2.6.0/gems/memoist-0.16.2/Gemfile +4 -0
  214. data/vendor/bundle/ruby/2.6.0/gems/memoist-0.16.2/LICENSE.md +20 -0
  215. data/vendor/bundle/ruby/2.6.0/gems/memoist-0.16.2/README.md +157 -0
  216. data/vendor/bundle/ruby/2.6.0/gems/memoist-0.16.2/Rakefile +12 -0
  217. data/vendor/bundle/ruby/2.6.0/gems/memoist-0.16.2/lib/memoist/version.rb +5 -0
  218. data/vendor/bundle/ruby/2.6.0/gems/memoist-0.16.2/lib/memoist.rb +238 -0
  219. data/vendor/bundle/ruby/2.6.0/gems/memoist-0.16.2/memoist.gemspec +46 -0
  220. data/vendor/bundle/ruby/2.6.0/gems/memoist-0.16.2/script/benchmark.rb +48 -0
  221. data/vendor/bundle/ruby/2.6.0/gems/memoist-0.16.2/test/memoist_test.rb +563 -0
  222. data/vendor/bundle/ruby/2.6.0/gems/memoist-0.16.2/test/test_helper.rb +3 -0
  223. data/vendor/bundle/ruby/2.6.0/gems/{rexml-3.4.1 → rexml-3.4.4}/NEWS.md +145 -1
  224. data/vendor/bundle/ruby/2.6.0/gems/{rexml-3.4.1 → rexml-3.4.4}/lib/rexml/attribute.rb +7 -8
  225. data/vendor/bundle/ruby/2.6.0/gems/{rexml-3.4.1 → rexml-3.4.4}/lib/rexml/cdata.rb +1 -1
  226. data/vendor/bundle/ruby/2.6.0/gems/{rexml-3.4.1 → rexml-3.4.4}/lib/rexml/child.rb +2 -3
  227. data/vendor/bundle/ruby/2.6.0/gems/{rexml-3.4.1 → rexml-3.4.4}/lib/rexml/comment.rb +1 -1
  228. data/vendor/bundle/ruby/2.6.0/gems/{rexml-3.4.1 → rexml-3.4.4}/lib/rexml/doctype.rb +3 -8
  229. data/vendor/bundle/ruby/2.6.0/gems/{rexml-3.4.1 → rexml-3.4.4}/lib/rexml/document.rb +21 -5
  230. data/vendor/bundle/ruby/2.6.0/gems/{rexml-3.4.1 → rexml-3.4.4}/lib/rexml/element.rb +53 -59
  231. data/vendor/bundle/ruby/2.6.0/gems/{rexml-3.4.1 → rexml-3.4.4}/lib/rexml/encoding.rb +3 -6
  232. data/vendor/bundle/ruby/2.6.0/gems/{rexml-3.4.1 → rexml-3.4.4}/lib/rexml/functions.rb +3 -3
  233. data/vendor/bundle/ruby/2.6.0/gems/{rexml-3.4.1 → rexml-3.4.4}/lib/rexml/instruction.rb +1 -1
  234. data/vendor/bundle/ruby/2.6.0/gems/{rexml-3.4.1 → rexml-3.4.4}/lib/rexml/namespace.rb +4 -4
  235. data/vendor/bundle/ruby/2.6.0/gems/{rexml-3.4.1 → rexml-3.4.4}/lib/rexml/node.rb +2 -2
  236. data/vendor/bundle/ruby/2.6.0/gems/{rexml-3.4.1 → rexml-3.4.4}/lib/rexml/parsers/baseparser.rb +143 -81
  237. data/vendor/bundle/ruby/2.6.0/gems/{rexml-3.4.1 → rexml-3.4.4}/lib/rexml/parsers/xpathparser.rb +4 -4
  238. data/vendor/bundle/ruby/2.6.0/gems/{rexml-3.4.1 → rexml-3.4.4}/lib/rexml/quickpath.rb +19 -18
  239. data/vendor/bundle/ruby/2.6.0/gems/{rexml-3.4.1 → rexml-3.4.4}/lib/rexml/rexml.rb +1 -1
  240. data/vendor/bundle/ruby/2.6.0/gems/{rexml-3.4.1 → rexml-3.4.4}/lib/rexml/security.rb +2 -2
  241. data/vendor/bundle/ruby/2.6.0/gems/{rexml-3.4.1 → rexml-3.4.4}/lib/rexml/source.rb +7 -2
  242. data/vendor/bundle/ruby/2.6.0/gems/{rexml-3.4.1 → rexml-3.4.4}/lib/rexml/text.rb +14 -17
  243. data/vendor/bundle/ruby/2.6.0/gems/{rexml-3.4.1 → rexml-3.4.4}/lib/rexml/validation/relaxng.rb +27 -26
  244. data/vendor/bundle/ruby/2.6.0/gems/{rexml-3.4.1 → rexml-3.4.4}/lib/rexml/validation/validation.rb +8 -8
  245. data/vendor/bundle/ruby/2.6.0/gems/{rexml-3.4.1 → rexml-3.4.4}/lib/rexml/xpath.rb +2 -13
  246. data/vendor/bundle/ruby/2.6.0/gems/{rexml-3.4.1 → rexml-3.4.4}/lib/rexml/xpath_parser.rb +44 -42
  247. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.4 → rspec-support-3.13.6}/Changelog.md +18 -1
  248. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.4 → rspec-support-3.13.6}/lib/rspec/support/differ.rb +0 -1
  249. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.4 → rspec-support-3.13.6}/lib/rspec/support/method_signature_verifier.rb +35 -10
  250. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.4 → rspec-support-3.13.6}/lib/rspec/support/version.rb +1 -1
  251. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.4 → rspec-support-3.13.6}/lib/rspec/support.rb +1 -0
  252. data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.3.1 → sys-uname-1.4.0}/CHANGES.md +5 -0
  253. data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.3.1 → sys-uname-1.4.0}/README.md +8 -0
  254. data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.3.1 → sys-uname-1.4.0}/Rakefile +4 -1
  255. data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.3.1 → sys-uname-1.4.0}/doc/uname.rdoc +1 -1
  256. data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.3.1 → sys-uname-1.4.0}/lib/sys/uname.rb +1 -1
  257. data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.3.1 → sys-uname-1.4.0}/lib/sys/unix/uname.rb +10 -0
  258. data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.3.1 → sys-uname-1.4.0}/lib/sys/windows/uname.rb +10 -0
  259. data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.3.1 → sys-uname-1.4.0}/spec/sys_platform_spec.rb +1 -1
  260. data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.3.1 → sys-uname-1.4.0}/spec/sys_uname_spec.rb +75 -3
  261. data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.3.1 → sys-uname-1.4.0}/sys-uname.gemspec +5 -2
  262. data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.4.1 → typhoeus-1.5.0}/CHANGELOG.md +43 -1
  263. data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.4.1 → typhoeus-1.5.0}/lib/typhoeus/expectation.rb +4 -2
  264. data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.4.1 → typhoeus-1.5.0}/lib/typhoeus/request/responseable.rb +1 -1
  265. data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.4.1 → typhoeus-1.5.0}/lib/typhoeus/version.rb +1 -1
  266. data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.4.1 → typhoeus-1.5.0}/typhoeus.gemspec +14 -4
  267. data/vendor/bundle/ruby/2.6.0/specifications/{autotest-fsevent-0.2.22.gemspec → autotest-fsevent-0.3.0.gemspec} +4 -5
  268. data/vendor/bundle/ruby/2.6.0/specifications/{bigdecimal-3.2.2.gemspec → bigdecimal-3.2.3.gemspec} +2 -2
  269. data/vendor/bundle/ruby/2.6.0/specifications/{ethon-0.16.0.gemspec → ethon-0.15.0.gemspec} +3 -3
  270. data/vendor/bundle/ruby/2.6.0/specifications/{hashdiff-1.2.0.gemspec → hashdiff-1.2.1.gemspec} +3 -3
  271. data/vendor/bundle/ruby/2.6.0/specifications/memoist-0.16.2.gemspec +36 -0
  272. data/vendor/bundle/ruby/2.6.0/specifications/{rexml-3.4.1.gemspec → rexml-3.4.4.gemspec} +4 -4
  273. data/vendor/bundle/ruby/2.6.0/specifications/{rspec-support-3.13.4.gemspec → rspec-support-3.13.6.gemspec} +4 -4
  274. data/vendor/bundle/ruby/2.6.0/specifications/{sys-uname-1.3.1.gemspec → sys-uname-1.4.0.gemspec} +6 -4
  275. data/vendor/bundle/ruby/2.6.0/specifications/{typhoeus-1.4.1.gemspec → typhoeus-1.5.0.gemspec} +8 -6
  276. metadata +431 -416
  277. data/docs/ProviderSettingsRequest.md +0 -12
  278. data/docs/ProviderSettingsRequestPatch.md +0 -12
  279. data/vendor/bundle/ruby/2.6.0/cache/autotest-fsevent-0.2.22.gem +0 -0
  280. data/vendor/bundle/ruby/2.6.0/cache/bigdecimal-3.2.2.gem +0 -0
  281. data/vendor/bundle/ruby/2.6.0/cache/ethon-0.16.0.gem +0 -0
  282. data/vendor/bundle/ruby/2.6.0/cache/hashdiff-1.2.0.gem +0 -0
  283. data/vendor/bundle/ruby/2.6.0/cache/rexml-3.4.1.gem +0 -0
  284. data/vendor/bundle/ruby/2.6.0/cache/rspec-support-3.13.4.gem +0 -0
  285. data/vendor/bundle/ruby/2.6.0/cache/sys-uname-1.3.1.gem +0 -0
  286. data/vendor/bundle/ruby/2.6.0/cache/typhoeus-1.4.1.gem +0 -0
  287. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/bigdecimal-3.2.2/bigdecimal.so +0 -0
  288. data/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.2/ext/bigdecimal/bigdecimal.o +0 -0
  289. data/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.2/ext/bigdecimal/bigdecimal.so +0 -0
  290. data/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.2/lib/bigdecimal.rb +0 -5
  291. data/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.2.2/lib/bigdecimal.so +0 -0
  292. data/vendor/bundle/ruby/2.6.0/gems/hashdiff-1.2.0/changelog.md +0 -123
  293. data/vendor/bundle/ruby/2.6.0/gems/typhoeus-1.4.1/.github/workflows/ci.yml +0 -30
  294. data/vendor/bundle/ruby/2.6.0/gems/typhoeus-1.4.1/.github/workflows/experimental.yml +0 -33
  295. data/vendor/bundle/ruby/2.6.0/gems/typhoeus-1.4.1/.gitignore +0 -8
  296. data/vendor/bundle/ruby/2.6.0/gems/typhoeus-1.4.1/.rspec +0 -4
  297. data/vendor/bundle/ruby/2.6.0/gems/typhoeus-1.4.1/Gemfile +0 -36
  298. data/vendor/bundle/ruby/2.6.0/gems/typhoeus-1.4.1/Guardfile +0 -9
  299. data/vendor/bundle/ruby/2.6.0/gems/typhoeus-1.4.1/Rakefile +0 -38
  300. data/vendor/bundle/ruby/2.6.0/gems/typhoeus-1.4.1/perf/profile.rb +0 -14
  301. data/vendor/bundle/ruby/2.6.0/gems/typhoeus-1.4.1/perf/vs_nethttp.rb +0 -64
  302. data/vendor/bundle/ruby/2.6.0/gems/typhoeus-1.4.1/spec/rack/typhoeus/middleware/params_decoder/helper_spec.rb +0 -156
  303. data/vendor/bundle/ruby/2.6.0/gems/typhoeus-1.4.1/spec/rack/typhoeus/middleware/params_decoder_spec.rb +0 -31
  304. data/vendor/bundle/ruby/2.6.0/gems/typhoeus-1.4.1/spec/spec_helper.rb +0 -29
  305. data/vendor/bundle/ruby/2.6.0/gems/typhoeus-1.4.1/spec/support/localhost_server.rb +0 -94
  306. data/vendor/bundle/ruby/2.6.0/gems/typhoeus-1.4.1/spec/support/memory_cache.rb +0 -15
  307. data/vendor/bundle/ruby/2.6.0/gems/typhoeus-1.4.1/spec/support/server.rb +0 -116
  308. data/vendor/bundle/ruby/2.6.0/gems/typhoeus-1.4.1/spec/typhoeus/adapters/faraday_spec.rb +0 -339
  309. data/vendor/bundle/ruby/2.6.0/gems/typhoeus-1.4.1/spec/typhoeus/cache/dalli_spec.rb +0 -41
  310. data/vendor/bundle/ruby/2.6.0/gems/typhoeus-1.4.1/spec/typhoeus/cache/redis_spec.rb +0 -41
  311. data/vendor/bundle/ruby/2.6.0/gems/typhoeus-1.4.1/spec/typhoeus/config_spec.rb +0 -15
  312. data/vendor/bundle/ruby/2.6.0/gems/typhoeus-1.4.1/spec/typhoeus/easy_factory_spec.rb +0 -143
  313. data/vendor/bundle/ruby/2.6.0/gems/typhoeus-1.4.1/spec/typhoeus/errors/no_stub_spec.rb +0 -13
  314. data/vendor/bundle/ruby/2.6.0/gems/typhoeus-1.4.1/spec/typhoeus/expectation_spec.rb +0 -280
  315. data/vendor/bundle/ruby/2.6.0/gems/typhoeus-1.4.1/spec/typhoeus/hydra/addable_spec.rb +0 -22
  316. data/vendor/bundle/ruby/2.6.0/gems/typhoeus-1.4.1/spec/typhoeus/hydra/before_spec.rb +0 -98
  317. data/vendor/bundle/ruby/2.6.0/gems/typhoeus-1.4.1/spec/typhoeus/hydra/block_connection_spec.rb +0 -18
  318. data/vendor/bundle/ruby/2.6.0/gems/typhoeus-1.4.1/spec/typhoeus/hydra/cacheable_spec.rb +0 -88
  319. data/vendor/bundle/ruby/2.6.0/gems/typhoeus-1.4.1/spec/typhoeus/hydra/memoizable_spec.rb +0 -53
  320. data/vendor/bundle/ruby/2.6.0/gems/typhoeus-1.4.1/spec/typhoeus/hydra/queueable_spec.rb +0 -98
  321. data/vendor/bundle/ruby/2.6.0/gems/typhoeus-1.4.1/spec/typhoeus/hydra/runnable_spec.rb +0 -137
  322. data/vendor/bundle/ruby/2.6.0/gems/typhoeus-1.4.1/spec/typhoeus/hydra/stubbable_spec.rb +0 -48
  323. data/vendor/bundle/ruby/2.6.0/gems/typhoeus-1.4.1/spec/typhoeus/hydra_spec.rb +0 -22
  324. data/vendor/bundle/ruby/2.6.0/gems/typhoeus-1.4.1/spec/typhoeus/pool_spec.rb +0 -137
  325. data/vendor/bundle/ruby/2.6.0/gems/typhoeus-1.4.1/spec/typhoeus/request/actions_spec.rb +0 -19
  326. data/vendor/bundle/ruby/2.6.0/gems/typhoeus-1.4.1/spec/typhoeus/request/before_spec.rb +0 -93
  327. data/vendor/bundle/ruby/2.6.0/gems/typhoeus-1.4.1/spec/typhoeus/request/block_connection_spec.rb +0 -75
  328. data/vendor/bundle/ruby/2.6.0/gems/typhoeus-1.4.1/spec/typhoeus/request/cacheable_spec.rb +0 -94
  329. data/vendor/bundle/ruby/2.6.0/gems/typhoeus-1.4.1/spec/typhoeus/request/callbacks_spec.rb +0 -91
  330. data/vendor/bundle/ruby/2.6.0/gems/typhoeus-1.4.1/spec/typhoeus/request/marshal_spec.rb +0 -60
  331. data/vendor/bundle/ruby/2.6.0/gems/typhoeus-1.4.1/spec/typhoeus/request/memoizable_spec.rb +0 -34
  332. data/vendor/bundle/ruby/2.6.0/gems/typhoeus-1.4.1/spec/typhoeus/request/operations_spec.rb +0 -101
  333. data/vendor/bundle/ruby/2.6.0/gems/typhoeus-1.4.1/spec/typhoeus/request/responseable_spec.rb +0 -13
  334. data/vendor/bundle/ruby/2.6.0/gems/typhoeus-1.4.1/spec/typhoeus/request/stubbable_spec.rb +0 -45
  335. data/vendor/bundle/ruby/2.6.0/gems/typhoeus-1.4.1/spec/typhoeus/request_spec.rb +0 -256
  336. data/vendor/bundle/ruby/2.6.0/gems/typhoeus-1.4.1/spec/typhoeus/response/header_spec.rb +0 -147
  337. data/vendor/bundle/ruby/2.6.0/gems/typhoeus-1.4.1/spec/typhoeus/response/informations_spec.rb +0 -323
  338. data/vendor/bundle/ruby/2.6.0/gems/typhoeus-1.4.1/spec/typhoeus/response/status_spec.rb +0 -256
  339. data/vendor/bundle/ruby/2.6.0/gems/typhoeus-1.4.1/spec/typhoeus/response_spec.rb +0 -100
  340. data/vendor/bundle/ruby/2.6.0/gems/typhoeus-1.4.1/spec/typhoeus_spec.rb +0 -105
  341. /data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{autotest-fsevent-0.2.22 → autotest-fsevent-0.3.0}/gem.build_complete +0 -0
  342. /data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{bigdecimal-3.2.2 → bigdecimal-3.2.3}/gem.build_complete +0 -0
  343. /data/vendor/bundle/ruby/2.6.0/gems/{autotest-fsevent-0.2.22 → autotest-fsevent-0.3.0}/LICENSE.txt +0 -0
  344. /data/vendor/bundle/ruby/2.6.0/gems/{autotest-fsevent-0.2.22 → autotest-fsevent-0.3.0}/ext/fsevent/Makefile +0 -0
  345. /data/vendor/bundle/ruby/2.6.0/gems/{autotest-fsevent-0.2.22 → autotest-fsevent-0.3.0}/ext/fsevent/extconf.rb +0 -0
  346. /data/vendor/bundle/ruby/2.6.0/gems/{autotest-fsevent-0.2.22 → autotest-fsevent-0.3.0}/ext/fsevent/fsevent.dll +0 -0
  347. /data/vendor/bundle/ruby/2.6.0/gems/{autotest-fsevent-0.2.22 → autotest-fsevent-0.3.0}/ext/fsevent/fsevent.so +0 -0
  348. /data/vendor/bundle/ruby/2.6.0/gems/{autotest-fsevent-0.2.22 → autotest-fsevent-0.3.0}/ext/fsevent/fsevent_sleep.c +0 -0
  349. /data/vendor/bundle/ruby/2.6.0/gems/{autotest-fsevent-0.2.22 → autotest-fsevent-0.3.0}/ext/fsevent/make +0 -0
  350. /data/vendor/bundle/ruby/2.6.0/gems/{autotest-fsevent-0.2.22 → autotest-fsevent-0.3.0}/ext/fsevent/nmake.bat +0 -0
  351. /data/vendor/bundle/ruby/2.6.0/gems/{autotest-fsevent-0.2.22 → autotest-fsevent-0.3.0}/lib/autotest/fsevent.rb +0 -0
  352. /data/vendor/bundle/ruby/2.6.0/gems/{autotest-fsevent-0.2.22 → autotest-fsevent-0.3.0}/lib/autotest-fsevent.rb +0 -0
  353. /data/vendor/bundle/ruby/2.6.0/gems/{autotest-fsevent-0.2.22 → autotest-fsevent-0.3.0}/post-install.txt +0 -0
  354. /data/vendor/bundle/ruby/2.6.0/gems/{autotest-fsevent-0.2.22 → autotest-fsevent-0.3.0}/prebuilt/fsevent_sleep +0 -0
  355. /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.2.2 → bigdecimal-3.2.3}/LICENSE +0 -0
  356. /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.2.2 → bigdecimal-3.2.3}/bigdecimal.gemspec +0 -0
  357. /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.2.2 → bigdecimal-3.2.3}/ext/bigdecimal/.sitearchdir.time +0 -0
  358. /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.2.2 → bigdecimal-3.2.3}/ext/bigdecimal/feature.h +0 -0
  359. /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.2.2 → bigdecimal-3.2.3}/ext/bigdecimal/missing/dtoa.c +0 -0
  360. /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.2.2 → bigdecimal-3.2.3}/ext/bigdecimal/missing.c +0 -0
  361. /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.2.2 → bigdecimal-3.2.3}/ext/bigdecimal/static_assert.h +0 -0
  362. /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.2.2 → bigdecimal-3.2.3}/lib/bigdecimal/jacobian.rb +0 -0
  363. /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.2.2 → bigdecimal-3.2.3}/lib/bigdecimal/ludcmp.rb +0 -0
  364. /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.2.2 → bigdecimal-3.2.3}/lib/bigdecimal/newton.rb +0 -0
  365. /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.2.2 → bigdecimal-3.2.3}/lib/bigdecimal/util.rb +0 -0
  366. /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.2.2 → bigdecimal-3.2.3}/sample/linear.rb +0 -0
  367. /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.2.2 → bigdecimal-3.2.3}/sample/nlsolve.rb +0 -0
  368. /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.2.2 → bigdecimal-3.2.3}/sample/pi.rb +0 -0
  369. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/.gitignore +0 -0
  370. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/.rspec +0 -0
  371. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/Gemfile +0 -0
  372. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/Guardfile +0 -0
  373. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/LICENSE +0 -0
  374. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/Rakefile +0 -0
  375. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/ethon.gemspec +0 -0
  376. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/lib/ethon/curl.rb +0 -0
  377. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/lib/ethon/curls/codes.rb +0 -0
  378. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/lib/ethon/curls/constants.rb +0 -0
  379. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/lib/ethon/curls/form_options.rb +0 -0
  380. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/lib/ethon/curls/functions.rb +0 -0
  381. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/lib/ethon/curls/infos.rb +0 -0
  382. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/lib/ethon/curls/messages.rb +0 -0
  383. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/lib/ethon/curls/settings.rb +0 -0
  384. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/lib/ethon/easy/debug_info.rb +0 -0
  385. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/lib/ethon/easy/features.rb +0 -0
  386. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/lib/ethon/easy/form.rb +0 -0
  387. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/lib/ethon/easy/header.rb +0 -0
  388. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/lib/ethon/easy/http/actionable.rb +0 -0
  389. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/lib/ethon/easy/http/custom.rb +0 -0
  390. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/lib/ethon/easy/http/delete.rb +0 -0
  391. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/lib/ethon/easy/http/get.rb +0 -0
  392. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/lib/ethon/easy/http/head.rb +0 -0
  393. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/lib/ethon/easy/http/options.rb +0 -0
  394. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/lib/ethon/easy/http/patch.rb +0 -0
  395. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/lib/ethon/easy/http/post.rb +0 -0
  396. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/lib/ethon/easy/http/postable.rb +0 -0
  397. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/lib/ethon/easy/http/put.rb +0 -0
  398. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/lib/ethon/easy/http/putable.rb +0 -0
  399. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/lib/ethon/easy/http.rb +0 -0
  400. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/lib/ethon/easy/mirror.rb +0 -0
  401. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/lib/ethon/easy/operations.rb +0 -0
  402. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/lib/ethon/easy/options.rb +0 -0
  403. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/lib/ethon/easy/params.rb +0 -0
  404. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/lib/ethon/easy/queryable.rb +0 -0
  405. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/lib/ethon/easy/util.rb +0 -0
  406. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/lib/ethon/easy.rb +0 -0
  407. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/lib/ethon/errors/ethon_error.rb +0 -0
  408. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/lib/ethon/errors/global_init.rb +0 -0
  409. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/lib/ethon/errors/invalid_option.rb +0 -0
  410. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/lib/ethon/errors/invalid_value.rb +0 -0
  411. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/lib/ethon/errors/multi_add.rb +0 -0
  412. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/lib/ethon/errors/multi_fdset.rb +0 -0
  413. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/lib/ethon/errors/multi_remove.rb +0 -0
  414. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/lib/ethon/errors/multi_timeout.rb +0 -0
  415. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/lib/ethon/errors/select.rb +0 -0
  416. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/lib/ethon/errors.rb +0 -0
  417. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/lib/ethon/libc.rb +0 -0
  418. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/lib/ethon/loggable.rb +0 -0
  419. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/lib/ethon/multi/operations.rb +0 -0
  420. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/lib/ethon/multi/options.rb +0 -0
  421. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/lib/ethon/multi/stack.rb +0 -0
  422. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/lib/ethon/multi.rb +0 -0
  423. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/lib/ethon.rb +0 -0
  424. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/profile/benchmarks.rb +0 -0
  425. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/profile/memory_leaks.rb +0 -0
  426. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/profile/perf_spec_helper.rb +0 -0
  427. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/profile/support/memory_test_helpers.rb +0 -0
  428. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/profile/support/os_memory_leak_tracker.rb +0 -0
  429. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/profile/support/ruby_object_leak_tracker.rb +0 -0
  430. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/spec/ethon/curl_spec.rb +0 -0
  431. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/spec/ethon/easy/debug_info_spec.rb +0 -0
  432. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/spec/ethon/easy/features_spec.rb +0 -0
  433. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/spec/ethon/easy/form_spec.rb +0 -0
  434. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/spec/ethon/easy/header_spec.rb +0 -0
  435. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/spec/ethon/easy/http/custom_spec.rb +0 -0
  436. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/spec/ethon/easy/http/delete_spec.rb +0 -0
  437. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/spec/ethon/easy/http/get_spec.rb +0 -0
  438. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/spec/ethon/easy/http/head_spec.rb +0 -0
  439. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/spec/ethon/easy/http/options_spec.rb +0 -0
  440. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/spec/ethon/easy/http/patch_spec.rb +0 -0
  441. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/spec/ethon/easy/http/post_spec.rb +0 -0
  442. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/spec/ethon/easy/http/put_spec.rb +0 -0
  443. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/spec/ethon/easy/http_spec.rb +0 -0
  444. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/spec/ethon/easy/options_spec.rb +0 -0
  445. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/spec/ethon/easy/queryable_spec.rb +0 -0
  446. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/spec/ethon/easy/response_callbacks_spec.rb +0 -0
  447. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/spec/ethon/easy/util_spec.rb +0 -0
  448. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/spec/ethon/easy_spec.rb +0 -0
  449. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/spec/ethon/libc_spec.rb +0 -0
  450. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/spec/ethon/loggable_spec.rb +0 -0
  451. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/spec/ethon/multi/operations_spec.rb +0 -0
  452. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/spec/ethon/multi/options_spec.rb +0 -0
  453. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/spec/ethon/multi/stack_spec.rb +0 -0
  454. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/spec/ethon/multi_spec.rb +0 -0
  455. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/spec/spec_helper.rb +0 -0
  456. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/spec/support/localhost_server.rb +0 -0
  457. /data/vendor/bundle/ruby/2.6.0/gems/{ethon-0.16.0 → ethon-0.15.0}/spec/support/server.rb +0 -0
  458. /data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.2.0 → hashdiff-1.2.1}/.github/workflows/ci.yml +0 -0
  459. /data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.2.0 → hashdiff-1.2.1}/.gitignore +0 -0
  460. /data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.2.0 → hashdiff-1.2.1}/.rspec +0 -0
  461. /data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.2.0 → hashdiff-1.2.1}/.rubocop.yml +0 -0
  462. /data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.2.0 → hashdiff-1.2.1}/.travis.yml +0 -0
  463. /data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.2.0 → hashdiff-1.2.1}/.yardopts +0 -0
  464. /data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.2.0 → hashdiff-1.2.1}/LICENSE +0 -0
  465. /data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.2.0 → hashdiff-1.2.1}/README.md +0 -0
  466. /data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.2.0 → hashdiff-1.2.1}/Rakefile +0 -0
  467. /data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.2.0 → hashdiff-1.2.1}/hashdiff.gemspec +0 -0
  468. /data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.2.0 → hashdiff-1.2.1}/lib/hashdiff/compare_hashes.rb +0 -0
  469. /data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.2.0 → hashdiff-1.2.1}/lib/hashdiff/diff.rb +0 -0
  470. /data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.2.0 → hashdiff-1.2.1}/lib/hashdiff/lcs.rb +0 -0
  471. /data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.2.0 → hashdiff-1.2.1}/lib/hashdiff/lcs_compare_arrays.rb +0 -0
  472. /data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.2.0 → hashdiff-1.2.1}/lib/hashdiff/linear_compare_array.rb +0 -0
  473. /data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.2.0 → hashdiff-1.2.1}/lib/hashdiff/patch.rb +0 -0
  474. /data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.2.0 → hashdiff-1.2.1}/lib/hashdiff/util.rb +0 -0
  475. /data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.2.0 → hashdiff-1.2.1}/lib/hashdiff.rb +0 -0
  476. /data/vendor/bundle/ruby/2.6.0/gems/{rexml-3.4.1 → rexml-3.4.4}/LICENSE.txt +0 -0
  477. /data/vendor/bundle/ruby/2.6.0/gems/{rexml-3.4.1 → rexml-3.4.4}/README.md +0 -0
  478. /data/vendor/bundle/ruby/2.6.0/gems/{rexml-3.4.1 → rexml-3.4.4}/doc/rexml/context.rdoc +0 -0
  479. /data/vendor/bundle/ruby/2.6.0/gems/{rexml-3.4.1 → rexml-3.4.4}/doc/rexml/tasks/rdoc/child.rdoc +0 -0
  480. /data/vendor/bundle/ruby/2.6.0/gems/{rexml-3.4.1 → rexml-3.4.4}/doc/rexml/tasks/rdoc/document.rdoc +0 -0
  481. /data/vendor/bundle/ruby/2.6.0/gems/{rexml-3.4.1 → rexml-3.4.4}/doc/rexml/tasks/rdoc/element.rdoc +0 -0
  482. /data/vendor/bundle/ruby/2.6.0/gems/{rexml-3.4.1 → rexml-3.4.4}/doc/rexml/tasks/rdoc/node.rdoc +0 -0
  483. /data/vendor/bundle/ruby/2.6.0/gems/{rexml-3.4.1 → rexml-3.4.4}/doc/rexml/tasks/rdoc/parent.rdoc +0 -0
  484. /data/vendor/bundle/ruby/2.6.0/gems/{rexml-3.4.1 → rexml-3.4.4}/doc/rexml/tasks/tocs/child_toc.rdoc +0 -0
  485. /data/vendor/bundle/ruby/2.6.0/gems/{rexml-3.4.1 → rexml-3.4.4}/doc/rexml/tasks/tocs/document_toc.rdoc +0 -0
  486. /data/vendor/bundle/ruby/2.6.0/gems/{rexml-3.4.1 → rexml-3.4.4}/doc/rexml/tasks/tocs/element_toc.rdoc +0 -0
  487. /data/vendor/bundle/ruby/2.6.0/gems/{rexml-3.4.1 → rexml-3.4.4}/doc/rexml/tasks/tocs/master_toc.rdoc +0 -0
  488. /data/vendor/bundle/ruby/2.6.0/gems/{rexml-3.4.1 → rexml-3.4.4}/doc/rexml/tasks/tocs/node_toc.rdoc +0 -0
  489. /data/vendor/bundle/ruby/2.6.0/gems/{rexml-3.4.1 → rexml-3.4.4}/doc/rexml/tasks/tocs/parent_toc.rdoc +0 -0
  490. /data/vendor/bundle/ruby/2.6.0/gems/{rexml-3.4.1 → rexml-3.4.4}/doc/rexml/tutorial.rdoc +0 -0
  491. /data/vendor/bundle/ruby/2.6.0/gems/{rexml-3.4.1 → rexml-3.4.4}/lib/rexml/attlistdecl.rb +0 -0
  492. /data/vendor/bundle/ruby/2.6.0/gems/{rexml-3.4.1 → rexml-3.4.4}/lib/rexml/dtd/attlistdecl.rb +0 -0
  493. /data/vendor/bundle/ruby/2.6.0/gems/{rexml-3.4.1 → rexml-3.4.4}/lib/rexml/dtd/dtd.rb +0 -0
  494. /data/vendor/bundle/ruby/2.6.0/gems/{rexml-3.4.1 → rexml-3.4.4}/lib/rexml/dtd/elementdecl.rb +0 -0
  495. /data/vendor/bundle/ruby/2.6.0/gems/{rexml-3.4.1 → rexml-3.4.4}/lib/rexml/dtd/entitydecl.rb +0 -0
  496. /data/vendor/bundle/ruby/2.6.0/gems/{rexml-3.4.1 → rexml-3.4.4}/lib/rexml/dtd/notationdecl.rb +0 -0
  497. /data/vendor/bundle/ruby/2.6.0/gems/{rexml-3.4.1 → rexml-3.4.4}/lib/rexml/entity.rb +0 -0
  498. /data/vendor/bundle/ruby/2.6.0/gems/{rexml-3.4.1 → rexml-3.4.4}/lib/rexml/formatters/default.rb +0 -0
  499. /data/vendor/bundle/ruby/2.6.0/gems/{rexml-3.4.1 → rexml-3.4.4}/lib/rexml/formatters/pretty.rb +0 -0
  500. /data/vendor/bundle/ruby/2.6.0/gems/{rexml-3.4.1 → rexml-3.4.4}/lib/rexml/formatters/transitive.rb +0 -0
  501. /data/vendor/bundle/ruby/2.6.0/gems/{rexml-3.4.1 → rexml-3.4.4}/lib/rexml/light/node.rb +0 -0
  502. /data/vendor/bundle/ruby/2.6.0/gems/{rexml-3.4.1 → rexml-3.4.4}/lib/rexml/output.rb +0 -0
  503. /data/vendor/bundle/ruby/2.6.0/gems/{rexml-3.4.1 → rexml-3.4.4}/lib/rexml/parent.rb +0 -0
  504. /data/vendor/bundle/ruby/2.6.0/gems/{rexml-3.4.1 → rexml-3.4.4}/lib/rexml/parseexception.rb +0 -0
  505. /data/vendor/bundle/ruby/2.6.0/gems/{rexml-3.4.1 → rexml-3.4.4}/lib/rexml/parsers/lightparser.rb +0 -0
  506. /data/vendor/bundle/ruby/2.6.0/gems/{rexml-3.4.1 → rexml-3.4.4}/lib/rexml/parsers/pullparser.rb +0 -0
  507. /data/vendor/bundle/ruby/2.6.0/gems/{rexml-3.4.1 → rexml-3.4.4}/lib/rexml/parsers/sax2parser.rb +0 -0
  508. /data/vendor/bundle/ruby/2.6.0/gems/{rexml-3.4.1 → rexml-3.4.4}/lib/rexml/parsers/streamparser.rb +0 -0
  509. /data/vendor/bundle/ruby/2.6.0/gems/{rexml-3.4.1 → rexml-3.4.4}/lib/rexml/parsers/treeparser.rb +0 -0
  510. /data/vendor/bundle/ruby/2.6.0/gems/{rexml-3.4.1 → rexml-3.4.4}/lib/rexml/parsers/ultralightparser.rb +0 -0
  511. /data/vendor/bundle/ruby/2.6.0/gems/{rexml-3.4.1 → rexml-3.4.4}/lib/rexml/sax2listener.rb +0 -0
  512. /data/vendor/bundle/ruby/2.6.0/gems/{rexml-3.4.1 → rexml-3.4.4}/lib/rexml/streamlistener.rb +0 -0
  513. /data/vendor/bundle/ruby/2.6.0/gems/{rexml-3.4.1 → rexml-3.4.4}/lib/rexml/undefinednamespaceexception.rb +0 -0
  514. /data/vendor/bundle/ruby/2.6.0/gems/{rexml-3.4.1 → rexml-3.4.4}/lib/rexml/validation/validationexception.rb +0 -0
  515. /data/vendor/bundle/ruby/2.6.0/gems/{rexml-3.4.1 → rexml-3.4.4}/lib/rexml/xmldecl.rb +0 -0
  516. /data/vendor/bundle/ruby/2.6.0/gems/{rexml-3.4.1 → rexml-3.4.4}/lib/rexml/xmltokens.rb +0 -0
  517. /data/vendor/bundle/ruby/2.6.0/gems/{rexml-3.4.1 → rexml-3.4.4}/lib/rexml.rb +0 -0
  518. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.4 → rspec-support-3.13.6}/LICENSE.md +0 -0
  519. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.4 → rspec-support-3.13.6}/README.md +0 -0
  520. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.4 → rspec-support-3.13.6}/lib/rspec/support/caller_filter.rb +0 -0
  521. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.4 → rspec-support-3.13.6}/lib/rspec/support/comparable_version.rb +0 -0
  522. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.4 → rspec-support-3.13.6}/lib/rspec/support/directory_maker.rb +0 -0
  523. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.4 → rspec-support-3.13.6}/lib/rspec/support/encoded_string.rb +0 -0
  524. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.4 → rspec-support-3.13.6}/lib/rspec/support/fuzzy_matcher.rb +0 -0
  525. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.4 → rspec-support-3.13.6}/lib/rspec/support/hunk_generator.rb +0 -0
  526. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.4 → rspec-support-3.13.6}/lib/rspec/support/matcher_definition.rb +0 -0
  527. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.4 → rspec-support-3.13.6}/lib/rspec/support/mutex.rb +0 -0
  528. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.4 → rspec-support-3.13.6}/lib/rspec/support/object_formatter.rb +0 -0
  529. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.4 → rspec-support-3.13.6}/lib/rspec/support/recursive_const_methods.rb +0 -0
  530. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.4 → rspec-support-3.13.6}/lib/rspec/support/reentrant_mutex.rb +0 -0
  531. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.4 → rspec-support-3.13.6}/lib/rspec/support/ruby_features.rb +0 -0
  532. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.4 → rspec-support-3.13.6}/lib/rspec/support/source/location.rb +0 -0
  533. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.4 → rspec-support-3.13.6}/lib/rspec/support/source/node.rb +0 -0
  534. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.4 → rspec-support-3.13.6}/lib/rspec/support/source/token.rb +0 -0
  535. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.4 → rspec-support-3.13.6}/lib/rspec/support/source.rb +0 -0
  536. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.4 → rspec-support-3.13.6}/lib/rspec/support/spec/deprecation_helpers.rb +0 -0
  537. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.4 → rspec-support-3.13.6}/lib/rspec/support/spec/diff_helpers.rb +0 -0
  538. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.4 → rspec-support-3.13.6}/lib/rspec/support/spec/formatting_support.rb +0 -0
  539. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.4 → rspec-support-3.13.6}/lib/rspec/support/spec/in_sub_process.rb +0 -0
  540. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.4 → rspec-support-3.13.6}/lib/rspec/support/spec/library_wide_checks.rb +0 -0
  541. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.4 → rspec-support-3.13.6}/lib/rspec/support/spec/shell_out.rb +0 -0
  542. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.4 → rspec-support-3.13.6}/lib/rspec/support/spec/stderr_splitter.rb +0 -0
  543. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.4 → rspec-support-3.13.6}/lib/rspec/support/spec/string_matcher.rb +0 -0
  544. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.4 → rspec-support-3.13.6}/lib/rspec/support/spec/with_isolated_directory.rb +0 -0
  545. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.4 → rspec-support-3.13.6}/lib/rspec/support/spec/with_isolated_stderr.rb +0 -0
  546. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.4 → rspec-support-3.13.6}/lib/rspec/support/spec.rb +0 -0
  547. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.4 → rspec-support-3.13.6}/lib/rspec/support/warnings.rb +0 -0
  548. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.13.4 → rspec-support-3.13.6}/lib/rspec/support/with_keywords_when_needed.rb +0 -0
  549. /data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.3.1 → sys-uname-1.4.0}/Gemfile +0 -0
  550. /data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.3.1 → sys-uname-1.4.0}/LICENSE +0 -0
  551. /data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.3.1 → sys-uname-1.4.0}/MANIFEST.md +0 -0
  552. /data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.3.1 → sys-uname-1.4.0}/certs/djberg96_pub.pem +0 -0
  553. /data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.3.1 → sys-uname-1.4.0}/examples/uname_test.rb +0 -0
  554. /data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.3.1 → sys-uname-1.4.0}/lib/sys/platform.rb +0 -0
  555. /data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.3.1 → sys-uname-1.4.0}/lib/sys-uname.rb +0 -0
  556. /data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.3.1 → sys-uname-1.4.0}/spec/spec_helper.rb +0 -0
  557. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.4.1 → typhoeus-1.5.0}/CONTRIBUTING.md +0 -0
  558. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.4.1 → typhoeus-1.5.0}/LICENSE +0 -0
  559. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.4.1 → typhoeus-1.5.0}/README.md +0 -0
  560. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.4.1 → typhoeus-1.5.0}/UPGRADE.md +0 -0
  561. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.4.1 → typhoeus-1.5.0}/lib/rack/typhoeus/middleware/params_decoder/helper.rb +0 -0
  562. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.4.1 → typhoeus-1.5.0}/lib/rack/typhoeus/middleware/params_decoder.rb +0 -0
  563. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.4.1 → typhoeus-1.5.0}/lib/rack/typhoeus.rb +0 -0
  564. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.4.1 → typhoeus-1.5.0}/lib/typhoeus/adapters/faraday.rb +0 -0
  565. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.4.1 → typhoeus-1.5.0}/lib/typhoeus/cache/dalli.rb +0 -0
  566. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.4.1 → typhoeus-1.5.0}/lib/typhoeus/cache/rails.rb +0 -0
  567. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.4.1 → typhoeus-1.5.0}/lib/typhoeus/cache/redis.rb +0 -0
  568. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.4.1 → typhoeus-1.5.0}/lib/typhoeus/config.rb +0 -0
  569. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.4.1 → typhoeus-1.5.0}/lib/typhoeus/easy_factory.rb +0 -0
  570. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.4.1 → typhoeus-1.5.0}/lib/typhoeus/errors/no_stub.rb +0 -0
  571. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.4.1 → typhoeus-1.5.0}/lib/typhoeus/errors/typhoeus_error.rb +0 -0
  572. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.4.1 → typhoeus-1.5.0}/lib/typhoeus/errors.rb +0 -0
  573. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.4.1 → typhoeus-1.5.0}/lib/typhoeus/hydra/addable.rb +0 -0
  574. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.4.1 → typhoeus-1.5.0}/lib/typhoeus/hydra/before.rb +0 -0
  575. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.4.1 → typhoeus-1.5.0}/lib/typhoeus/hydra/block_connection.rb +0 -0
  576. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.4.1 → typhoeus-1.5.0}/lib/typhoeus/hydra/cacheable.rb +0 -0
  577. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.4.1 → typhoeus-1.5.0}/lib/typhoeus/hydra/memoizable.rb +0 -0
  578. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.4.1 → typhoeus-1.5.0}/lib/typhoeus/hydra/queueable.rb +0 -0
  579. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.4.1 → typhoeus-1.5.0}/lib/typhoeus/hydra/runnable.rb +0 -0
  580. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.4.1 → typhoeus-1.5.0}/lib/typhoeus/hydra/stubbable.rb +0 -0
  581. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.4.1 → typhoeus-1.5.0}/lib/typhoeus/hydra.rb +0 -0
  582. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.4.1 → typhoeus-1.5.0}/lib/typhoeus/pool.rb +0 -0
  583. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.4.1 → typhoeus-1.5.0}/lib/typhoeus/railtie.rb +0 -0
  584. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.4.1 → typhoeus-1.5.0}/lib/typhoeus/request/actions.rb +0 -0
  585. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.4.1 → typhoeus-1.5.0}/lib/typhoeus/request/before.rb +0 -0
  586. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.4.1 → typhoeus-1.5.0}/lib/typhoeus/request/block_connection.rb +0 -0
  587. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.4.1 → typhoeus-1.5.0}/lib/typhoeus/request/cacheable.rb +0 -0
  588. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.4.1 → typhoeus-1.5.0}/lib/typhoeus/request/callbacks.rb +0 -0
  589. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.4.1 → typhoeus-1.5.0}/lib/typhoeus/request/marshal.rb +0 -0
  590. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.4.1 → typhoeus-1.5.0}/lib/typhoeus/request/memoizable.rb +0 -0
  591. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.4.1 → typhoeus-1.5.0}/lib/typhoeus/request/operations.rb +0 -0
  592. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.4.1 → typhoeus-1.5.0}/lib/typhoeus/request/streamable.rb +0 -0
  593. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.4.1 → typhoeus-1.5.0}/lib/typhoeus/request/stubbable.rb +0 -0
  594. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.4.1 → typhoeus-1.5.0}/lib/typhoeus/request.rb +0 -0
  595. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.4.1 → typhoeus-1.5.0}/lib/typhoeus/response/cacheable.rb +0 -0
  596. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.4.1 → typhoeus-1.5.0}/lib/typhoeus/response/header.rb +0 -0
  597. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.4.1 → typhoeus-1.5.0}/lib/typhoeus/response/informations.rb +0 -0
  598. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.4.1 → typhoeus-1.5.0}/lib/typhoeus/response/status.rb +0 -0
  599. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.4.1 → typhoeus-1.5.0}/lib/typhoeus/response.rb +0 -0
  600. /data/vendor/bundle/ruby/2.6.0/gems/{typhoeus-1.4.1 → typhoeus-1.5.0}/lib/typhoeus.rb +0 -0
@@ -0,0 +1,563 @@
1
+ require 'test_helper'
2
+ require 'memoist'
3
+
4
+ class MemoistTest < Minitest::Test
5
+ class CallCounter
6
+ def initialize
7
+ @calls = {}
8
+ end
9
+
10
+ def call(method_name)
11
+ @calls[method_name] ||= 0
12
+ @calls[method_name] += 1
13
+ end
14
+
15
+ def count(method_name)
16
+ @calls[method_name] ||= 0
17
+ end
18
+ end
19
+
20
+ class Person
21
+ extend Memoist
22
+
23
+ def initialize
24
+ @counter = CallCounter.new
25
+ end
26
+
27
+ def name_calls
28
+ @counter.count(:name)
29
+ end
30
+
31
+ def student_name_calls
32
+ @counter.count(:student_name)
33
+ end
34
+
35
+ def name_query_calls
36
+ @counter.count(:name?)
37
+ end
38
+
39
+ def is_developer_calls
40
+ @counter.count(:is_developer?)
41
+ end
42
+
43
+ def age_calls
44
+ @counter.count(:age)
45
+ end
46
+
47
+ def name
48
+ @counter.call(:name)
49
+ 'Josh'
50
+ end
51
+
52
+ def name?
53
+ @counter.call(:name?)
54
+ true
55
+ end
56
+ memoize :name?
57
+
58
+ def update(_name)
59
+ 'Joshua'
60
+ end
61
+ memoize :update
62
+
63
+ def age
64
+ @counter.call(:age)
65
+ nil
66
+ end
67
+
68
+ memoize :name, :age
69
+
70
+ def age?
71
+ @counter.call(:age?)
72
+ true
73
+ end
74
+ memoize 'age?'
75
+
76
+ def sleep(hours = 8)
77
+ @counter.call(:sleep)
78
+ hours
79
+ end
80
+ memoize :sleep
81
+
82
+ def sleep_calls
83
+ @counter.count(:sleep)
84
+ end
85
+
86
+ def update_attributes(_options = {})
87
+ @counter.call(:update_attributes)
88
+ true
89
+ end
90
+ memoize :update_attributes
91
+
92
+ def update_attributes_calls
93
+ @counter.count(:update_attributes)
94
+ end
95
+
96
+ protected
97
+
98
+ def memoize_protected_test
99
+ 'protected'
100
+ end
101
+ memoize :memoize_protected_test
102
+
103
+ private
104
+
105
+ def is_developer?
106
+ @counter.call(:is_developer?)
107
+ 'Yes'
108
+ end
109
+ memoize :is_developer?
110
+ end
111
+
112
+ class Student < Person
113
+ def name
114
+ @counter.call(:student_name)
115
+ "Student #{super}"
116
+ end
117
+ memoize :name, identifier: :student
118
+ end
119
+
120
+ class Teacher < Person
121
+ def seniority
122
+ 'very_senior'
123
+ end
124
+ memoize :seniority
125
+ end
126
+
127
+ class Company
128
+ attr_reader :name_calls
129
+ def initialize
130
+ @name_calls = 0
131
+ end
132
+
133
+ def name
134
+ @name_calls += 1
135
+ '37signals'
136
+ end
137
+ end
138
+
139
+ module Rates
140
+ extend Memoist
141
+
142
+ attr_reader :sales_tax_calls
143
+ def sales_tax(price)
144
+ @sales_tax_calls ||= 0
145
+ @sales_tax_calls += 1
146
+ price * 0.1025
147
+ end
148
+ memoize :sales_tax
149
+ end
150
+
151
+ class Calculator
152
+ extend Memoist
153
+ include Rates
154
+
155
+ attr_reader :fib_calls
156
+ def initialize
157
+ @fib_calls = 0
158
+ end
159
+
160
+ def fib(n)
161
+ @fib_calls += 1
162
+
163
+ if n == 0 || n == 1
164
+ n
165
+ else
166
+ fib(n - 1) + fib(n - 2)
167
+ end
168
+ end
169
+ memoize :fib
170
+
171
+ def add_or_subtract(i, j, add)
172
+ if add
173
+ i + j
174
+ else
175
+ i - j
176
+ end
177
+ end
178
+ memoize :add_or_subtract
179
+
180
+ def counter
181
+ @count ||= 0
182
+ @count += 1
183
+ end
184
+ memoize :counter
185
+ end
186
+
187
+ class Book
188
+ extend Memoist
189
+ STATUSES = %w[new used].freeze
190
+ CLASSIFICATION = %w[fiction nonfiction].freeze
191
+ GENRES = %w[humor romance reference sci-fi classic philosophy].freeze
192
+
193
+ attr_reader :title, :author
194
+ def initialize(title, author)
195
+ @title = title
196
+ @author = author
197
+ end
198
+
199
+ def full_title
200
+ "#{@title} by #{@author}"
201
+ end
202
+ memoize :full_title
203
+
204
+ class << self
205
+ extend Memoist
206
+
207
+ def all_types
208
+ STATUSES.product(CLASSIFICATION).product(GENRES).collect(&:flatten)
209
+ end
210
+ memoize :all_types
211
+ end
212
+ end
213
+
214
+ class Abb
215
+ extend Memoist
216
+
217
+ def run(*_args)
218
+ flush_cache if respond_to?(:flush_cache)
219
+ execute
220
+ end
221
+
222
+ def execute
223
+ some_method
224
+ end
225
+
226
+ def some_method
227
+ # Override this
228
+ end
229
+ end
230
+
231
+ class Bbb < Abb
232
+ def some_method
233
+ :foo
234
+ end
235
+ memoize :some_method
236
+ end
237
+
238
+ def setup
239
+ @person = Person.new
240
+ @calculator = Calculator.new
241
+ @book = Book.new('My Life', "Brian 'Fudge' Turmuck")
242
+ end
243
+
244
+ def test_memoization
245
+ assert_equal 'Josh', @person.name
246
+ assert_equal 1, @person.name_calls
247
+
248
+ 3.times { assert_equal 'Josh', @person.name }
249
+ assert_equal 1, @person.name_calls
250
+ end
251
+
252
+ def test_memoize_with_optional_arguments
253
+ assert_equal 4, @person.sleep(4)
254
+ assert_equal 1, @person.sleep_calls
255
+
256
+ 3.times { assert_equal 4, @person.sleep(4) }
257
+ assert_equal 1, @person.sleep_calls
258
+
259
+ 3.times { assert_equal 4, @person.sleep(4, :reload) }
260
+ assert_equal 4, @person.sleep_calls
261
+ end
262
+
263
+ def test_memoize_with_options_hash
264
+ assert_equal true, @person.update_attributes(age: 21, name: 'James')
265
+ assert_equal 1, @person.update_attributes_calls
266
+
267
+ 3.times { assert_equal true, @person.update_attributes(age: 21, name: 'James') }
268
+ assert_equal 1, @person.update_attributes_calls
269
+
270
+ 3.times { assert_equal true, @person.update_attributes({ age: 21, name: 'James' }, :reload) }
271
+ assert_equal 4, @person.update_attributes_calls
272
+ end
273
+
274
+ def test_memoization_with_punctuation
275
+ assert_equal true, @person.name?
276
+
277
+ @person.memoize_all
278
+ @person.unmemoize_all
279
+ end
280
+
281
+ def test_memoization_when_memoize_is_called_with_punctuated_string
282
+ assert_equal true, @person.age?
283
+
284
+ @person.memoize_all
285
+ @person.unmemoize_all
286
+ end
287
+
288
+ def test_memoization_flush_with_punctuation
289
+ assert_equal true, @person.name?
290
+ @person.flush_cache(:name?)
291
+ 3.times { assert_equal true, @person.name? }
292
+ assert_equal 2, @person.name_query_calls
293
+ end
294
+
295
+ def test_memoization_with_nil_value
296
+ assert_nil @person.age
297
+ assert_equal 1, @person.age_calls
298
+
299
+ 3.times { assert_nil @person.age }
300
+ assert_equal 1, @person.age_calls
301
+ end
302
+
303
+ def test_reloadable
304
+ assert_equal 1, @calculator.counter
305
+ assert_equal 2, @calculator.counter(:reload)
306
+ assert_equal 2, @calculator.counter
307
+ assert_equal 3, @calculator.counter(true)
308
+ assert_equal 3, @calculator.counter
309
+ end
310
+
311
+ def test_flush_cache
312
+ assert_equal 1, @calculator.counter
313
+
314
+ assert @calculator.instance_variable_get(:@_memoized_counter)
315
+ @calculator.flush_cache(:counter)
316
+ assert_equal false, @calculator.instance_variable_defined?(:@_memoized_counter)
317
+
318
+ assert_equal 2, @calculator.counter
319
+ end
320
+
321
+ def test_class_flush_cache
322
+ @book.memoize_all
323
+ assert_equal "My Life by Brian 'Fudge' Turmuck", @book.full_title
324
+
325
+ Book.memoize_all
326
+ assert_instance_of Array, Book.instance_variable_get(:@_memoized_all_types)
327
+ Book.flush_cache
328
+ assert_equal false, Book.instance_variable_defined?(:@_memoized_all_types)
329
+ end
330
+
331
+ def test_class_flush_cache_preserves_instances
332
+ @book.memoize_all
333
+ Book.memoize_all
334
+ assert_equal "My Life by Brian 'Fudge' Turmuck", @book.full_title
335
+
336
+ Book.flush_cache
337
+ assert_equal false, Book.instance_variable_defined?(:@_memoized_all_types)
338
+ assert_equal "My Life by Brian 'Fudge' Turmuck", @book.full_title
339
+ end
340
+
341
+ def test_flush_cache_in_child_class
342
+ x = Bbb.new
343
+
344
+ # This should not throw error
345
+ x.run
346
+ end
347
+
348
+ def test_unmemoize_all
349
+ assert_equal 1, @calculator.counter
350
+
351
+ assert_equal true, @calculator.instance_variable_defined?(:@_memoized_counter)
352
+ assert @calculator.instance_variable_get(:@_memoized_counter)
353
+ @calculator.unmemoize_all
354
+ assert_equal false, @calculator.instance_variable_defined?(:@_memoized_counter)
355
+
356
+ assert_equal 2, @calculator.counter
357
+ end
358
+
359
+ def test_all_memoized_structs
360
+ # Person memoize :age, :age?, :is_developer?, :memoize_protected_test, :name, :name?, :sleep, :update, :update_attributes
361
+ # Student < Person memoize :name, :identifier => :student
362
+ # Teacher < Person memoize :seniority
363
+
364
+ expected = %w[age age? is_developer? memoize_protected_test name name? sleep update update_attributes]
365
+ structs = Person.all_memoized_structs
366
+ assert_equal expected, structs.collect(&:memoized_method).collect(&:to_s).sort
367
+ assert_equal '@_memoized_name', structs.detect { |s| s.memoized_method == :name }.ivar
368
+
369
+ # Same expected methods
370
+ structs = Student.all_memoized_structs
371
+ assert_equal expected, structs.collect(&:memoized_method).collect(&:to_s).sort
372
+ assert_equal '@_memoized_student_name', structs.detect { |s| s.memoized_method == :name }.ivar
373
+
374
+ expected = (expected << 'seniority').sort
375
+ structs = Teacher.all_memoized_structs
376
+ assert_equal expected, structs.collect(&:memoized_method).collect(&:to_s).sort
377
+ assert_equal '@_memoized_name', structs.detect { |s| s.memoized_method == :name }.ivar
378
+ end
379
+
380
+ def test_unmemoize_all_subclasses
381
+ # Person memoize :age, :is_developer?, :memoize_protected_test, :name, :name?, :sleep, :update, :update_attributes
382
+ # Student < Person memoize :name, :identifier => :student
383
+ # Teacher < Person memoize :seniority
384
+
385
+ teacher = Teacher.new
386
+ assert_equal 'Josh', teacher.name
387
+ assert_equal 'Josh', teacher.instance_variable_get(:@_memoized_name)
388
+ assert_equal 'very_senior', teacher.seniority
389
+ assert_equal 'very_senior', teacher.instance_variable_get(:@_memoized_seniority)
390
+
391
+ teacher.unmemoize_all
392
+ assert_equal false, teacher.instance_variable_defined?(:@_memoized_name)
393
+ assert_equal false, teacher.instance_variable_defined?(:@_memoized_seniority)
394
+
395
+ student = Student.new
396
+ assert_equal 'Student Josh', student.name
397
+ assert_equal 'Student Josh', student.instance_variable_get(:@_memoized_student_name)
398
+ assert_equal false, student.instance_variable_defined?(:@_memoized_seniority)
399
+
400
+ student.unmemoize_all
401
+ assert_equal false, @calculator.instance_variable_defined?(:@_memoized_student_name)
402
+ end
403
+
404
+ def test_memoize_all
405
+ @calculator.memoize_all
406
+ assert_equal true, @calculator.instance_variable_defined?(:@_memoized_counter)
407
+ end
408
+
409
+ def test_memoize_all_subclasses
410
+ # Person memoize :age, :is_developer?, :memoize_protected_test, :name, :name?, :sleep, :update, :update_attributes
411
+ # Student < Person memoize :name, :identifier => :student
412
+ # Teacher < Person memoize :seniority
413
+
414
+ teacher = Teacher.new
415
+ teacher.memoize_all
416
+
417
+ assert_equal 'very_senior', teacher.instance_variable_get(:@_memoized_seniority)
418
+ assert_equal 'Josh', teacher.instance_variable_get(:@_memoized_name)
419
+
420
+ student = Student.new
421
+ student.memoize_all
422
+
423
+ assert_equal 'Student Josh', student.instance_variable_get(:@_memoized_student_name)
424
+ assert_equal 'Student Josh', student.name
425
+ assert_equal false, student.instance_variable_defined?(:@_memoized_seniority)
426
+ end
427
+
428
+ def test_memoization_cache_is_different_for_each_instance
429
+ assert_equal 1, @calculator.counter
430
+ assert_equal 2, @calculator.counter(:reload)
431
+ assert_equal 1, Calculator.new.counter
432
+ end
433
+
434
+ def test_memoization_class_variables
435
+ @book.memoize_all
436
+ assert_equal "My Life by Brian 'Fudge' Turmuck", @book.instance_variable_get(:@_memoized_full_title)
437
+ assert_equal "My Life by Brian 'Fudge' Turmuck", @book.full_title
438
+
439
+ Book.memoize_all
440
+ assert_instance_of Array, Book.instance_variable_get(:@_memoized_all_types)
441
+ assert_equal 24, Book.all_types.count
442
+ end
443
+
444
+ def test_memoized_is_not_affected_by_freeze
445
+ @person.freeze
446
+ assert_equal 'Josh', @person.name
447
+ assert_equal 'Joshua', @person.update('Joshua')
448
+ end
449
+
450
+ def test_memoization_with_args
451
+ assert_equal 55, @calculator.fib(10)
452
+ assert_equal 11, @calculator.fib_calls
453
+ end
454
+
455
+ def test_reloadable_with_args
456
+ assert_equal 55, @calculator.fib(10)
457
+ assert_equal 11, @calculator.fib_calls
458
+ assert_equal 55, @calculator.fib(10, :reload)
459
+ assert_equal 12, @calculator.fib_calls
460
+ assert_equal 55, @calculator.fib(10, true)
461
+ assert_equal 13, @calculator.fib_calls
462
+ end
463
+
464
+ def test_memoization_with_boolean_arg
465
+ assert_equal 4, @calculator.add_or_subtract(2, 2, true)
466
+ assert_equal 2, @calculator.add_or_subtract(4, 2, false)
467
+ end
468
+
469
+ def test_object_memoization
470
+ [Company.new, Company.new, Company.new].each do |company|
471
+ company.extend Memoist
472
+ company.memoize :name
473
+
474
+ assert_equal '37signals', company.name
475
+ assert_equal 1, company.name_calls
476
+ assert_equal '37signals', company.name
477
+ assert_equal 1, company.name_calls
478
+ end
479
+ end
480
+
481
+ def test_memoized_module_methods
482
+ assert_equal 1.025, @calculator.sales_tax(10)
483
+ assert_equal 1, @calculator.sales_tax_calls
484
+ assert_equal 1.025, @calculator.sales_tax(10)
485
+ assert_equal 1, @calculator.sales_tax_calls
486
+ assert_equal 2.5625, @calculator.sales_tax(25)
487
+ assert_equal 2, @calculator.sales_tax_calls
488
+ end
489
+
490
+ def test_object_memoized_module_methods
491
+ company = Company.new
492
+ company.extend(Rates)
493
+
494
+ assert_equal 1.025, company.sales_tax(10)
495
+ assert_equal 1, company.sales_tax_calls
496
+ assert_equal 1.025, company.sales_tax(10)
497
+ assert_equal 1, company.sales_tax_calls
498
+ assert_equal 2.5625, company.sales_tax(25)
499
+ assert_equal 2, company.sales_tax_calls
500
+ end
501
+
502
+ def test_double_memoization_with_identifier
503
+ # Person memoize :age, :is_developer?, :memoize_protected_test, :name, :name?, :sleep, :update, :update_attributes
504
+ # Student < Person memoize :name, :identifier => :student
505
+ # Teacher < Person memoize :seniority
506
+
507
+ Person.memoize :name, identifier: :again
508
+ p = Person.new
509
+ assert_equal 'Josh', p.name
510
+ assert p.instance_variable_get(:@_memoized_again_name)
511
+
512
+ # HACK: tl;dr: Don't memoize classes in test that are used elsewhere.
513
+ # Calling Person.memoize :name, :identifier => :again pollutes Person
514
+ # and descendents since we cache the memoized method structures.
515
+ # This populates those structs, verifies Person is polluted, resets the
516
+ # structs, cleans up cached memoized_methods
517
+ Student.all_memoized_structs
518
+ Person.all_memoized_structs
519
+ Teacher.all_memoized_structs
520
+ assert Person.memoized_methods.any? { |m| m.ivar == '@_memoized_again_name' }
521
+
522
+ [Student, Teacher, Person].each(&:clear_structs)
523
+ assert Person.memoized_methods.reject! { |m| m.ivar == '@_memoized_again_name' }
524
+ assert_nil Student.memoized_methods.reject! { |m| m.ivar == '@_memoized_again_name' }
525
+ assert_nil Teacher.memoized_methods.reject! { |m| m.ivar == '@_memoized_again_name' }
526
+ end
527
+
528
+ def test_memoization_with_a_subclass
529
+ student = Student.new
530
+ student.name
531
+ student.name
532
+ assert_equal 1, student.student_name_calls
533
+ assert_equal 1, student.name_calls
534
+ end
535
+
536
+ def test_memoization_is_chainable
537
+ klass = Class.new do
538
+ def foo
539
+ 'bar'
540
+ end
541
+ end
542
+ klass.extend Memoist
543
+ chainable = klass.memoize :foo
544
+ assert_equal :foo, chainable
545
+ end
546
+
547
+ def test_protected_method_memoization
548
+ person = Person.new
549
+
550
+ assert_raises(NoMethodError) { person.memoize_protected_test }
551
+ assert_equal 'protected', person.send(:memoize_protected_test)
552
+ end
553
+
554
+ def test_private_method_memoization
555
+ person = Person.new
556
+
557
+ assert_raises(NoMethodError) { person.is_developer? }
558
+ assert_equal 'Yes', person.send(:is_developer?)
559
+ assert_equal 1, person.is_developer_calls
560
+ assert_equal 'Yes', person.send(:is_developer?)
561
+ assert_equal 1, person.is_developer_calls
562
+ end
563
+ end
@@ -0,0 +1,3 @@
1
+ require 'minitest/autorun'
2
+
3
+ $LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/../lib')
@@ -1,5 +1,149 @@
1
1
  # News
2
2
 
3
+ ## 3.4.4 - 2025-09-10 {#version-3-4-4}
4
+
5
+ ### Improvement
6
+
7
+ * Accept `REXML::Document.new("")` for backward compatibility
8
+ * GH-296
9
+ * GH-295
10
+ * Patch by NAITOH Jun
11
+ * Reported by Joe Rafaniello
12
+
13
+ ### Thanks
14
+
15
+ * NAITOH Jun
16
+
17
+ * Joe Rafaniello
18
+
19
+ ## 3.4.3 - 2025-09-07 {#version-3-4-3}
20
+
21
+ ### Improvement
22
+
23
+ * Reject no root element XML as an invalid XML
24
+ * GH-289
25
+ * GH-291
26
+ * Patch by NAITOH Jun
27
+ * Reported by Sutou Kouhei
28
+
29
+ ### Fixes
30
+
31
+ * Fixed an issue with `IOSource#read_until` when reaching the end of a file
32
+ * GH-287
33
+ * GH-288
34
+ * Patch by NAITOH Jun
35
+ * Reported by Jason Thomas
36
+
37
+ ### Thanks
38
+
39
+ * NAITOH Jun
40
+
41
+ * Sutou Kouhei
42
+
43
+ * Jason Thomas
44
+
45
+ ## 3.4.2 - 2025-08-26 {#version-3-4-2}
46
+
47
+ ### Improvement
48
+
49
+ * Improved performance.
50
+ * GH-244
51
+ * GH-245
52
+ * GH-246
53
+ * GH-249
54
+ * GH-256
55
+ * Patch by NAITOH Jun
56
+
57
+ * Raise appropriate exception when failing to match start tag in DOCTYPE
58
+ * GH-247
59
+ * Patch by NAITOH Jun
60
+
61
+ * Deprecate accepting array as an element in XPath.match, first and each
62
+ * GH-252
63
+ * Patch by tomoya ishida
64
+
65
+ * Don't call needless encoding_updated
66
+ * GH-259
67
+ * Patch by Sutou Kouhei
68
+
69
+ * Reuse XPath::match
70
+ * GH-263
71
+ * Patch by pboling
72
+
73
+ * Cache redundant calls for doctype
74
+ * GH-264
75
+ * Patch by pboling
76
+
77
+ * Use Safe Navigation (&.) from Ruby 2.3
78
+ * GH-265
79
+ * Patch by pboling
80
+
81
+ * Remove redundant return statements
82
+ * GH-266
83
+ * Patch by pboling
84
+
85
+ * Added XML declaration check & Source#skip_spaces method
86
+ * GH-282
87
+ * Patch by NAITOH Jun
88
+ * Reported by Sofi Aberegg
89
+
90
+ ### Fixes
91
+
92
+ * Fix docs typo
93
+ * GH-248
94
+ * Patch by James Coleman
95
+
96
+ * Fix reverse sort in xpath_parser
97
+ * GH-251
98
+ * Patch by tomoya ishida
99
+
100
+ * Fix duplicate responses in XPath following, following-sibling, preceding, preceding-sibling
101
+ * GH-255
102
+ * Patch by NAITOH Jun
103
+
104
+ * Fix wrong Encoding resolution
105
+ * GH-258
106
+ * Patch by Sutou Kouhei
107
+
108
+ * Handle nil when parsing fragment
109
+ * GH-267
110
+ * GH-268
111
+ * Patch by pboling
112
+
113
+ * [Documentation] Use # to reference instance methods
114
+ * GH-269
115
+ * GH-270
116
+ * Patch by pboling
117
+
118
+ * Fix & Deprecate REXML::Text#text_indent
119
+ * GH-273
120
+ * GH-275
121
+ * Patch by pboling
122
+
123
+ * remove bundler from dev deps
124
+ * GH-276
125
+ * GH-277
126
+ * Patch by pboling
127
+
128
+ * remove ostruct from dev deps
129
+ * GH-280
130
+ * GH-281
131
+ * Patch by pboling
132
+
133
+ ### Thanks
134
+
135
+ * NAITOH Jun
136
+
137
+ * tomoya ishida
138
+
139
+ * James Coleman
140
+
141
+ * pboling
142
+
143
+ * Sutou Kouhei
144
+
145
+ * Sofi Aberegg
146
+
3
147
  ## 3.4.1 - 2025-02-16 {#version-3-4-1}
4
148
 
5
149
  ### Improvement
@@ -386,7 +530,7 @@
386
530
 
387
531
  * Patch by NAITOH Jun.
388
532
 
389
- * Improved parse performance when an attribute has many `<`s.
533
+ * Improved parse performance when an attribute has many `>`s.
390
534
 
391
535
  * GH-126
392
536