cloudsmith-api 2.0.11 → 2.0.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (253) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +4 -4
  3. data/README.md +23 -5
  4. data/build.json +1 -1
  5. data/docs/AlpinePackageUpload.md +7 -0
  6. data/docs/CargoPackageUpload.md +7 -0
  7. data/docs/CocoapodsPackageUpload.md +7 -0
  8. data/docs/ComposerPackageUpload.md +7 -0
  9. data/docs/ConanPackageUpload.md +7 -0
  10. data/docs/CondaPackageUpload.md +7 -0
  11. data/docs/CranPackageUpload.md +7 -0
  12. data/docs/DartPackageUpload.md +7 -0
  13. data/docs/DebPackageUpload.md +7 -0
  14. data/docs/DockerPackageUpload.md +7 -0
  15. data/docs/GoPackageUpload.md +7 -0
  16. data/docs/HelmPackageUpload.md +7 -0
  17. data/docs/HexPackageUpload.md +7 -0
  18. data/docs/LuarocksPackageUpload.md +7 -0
  19. data/docs/MavenPackageUpload.md +7 -0
  20. data/docs/NpmPackageUpload.md +7 -0
  21. data/docs/NugetPackageUpload.md +7 -0
  22. data/docs/OrganizationMembership.md +1 -1
  23. data/docs/OrgsApi.md +358 -0
  24. data/docs/P2PackageUpload.md +7 -0
  25. data/docs/Package.md +7 -0
  26. data/docs/PackageCopy.md +7 -0
  27. data/docs/PackageMove.md +7 -0
  28. data/docs/PackageQuarantine.md +7 -0
  29. data/docs/PackageResync.md +7 -0
  30. data/docs/PackageStatus.md +7 -0
  31. data/docs/PackageTag.md +7 -0
  32. data/docs/PackagesApi.md +4 -4
  33. data/docs/ProviderSettings.md +14 -0
  34. data/docs/ProviderSettingsRequest.md +12 -0
  35. data/docs/ProviderSettingsRequestPatch.md +12 -0
  36. data/docs/PythonPackageUpload.md +7 -0
  37. data/docs/RawPackageUpload.md +7 -0
  38. data/docs/ReposApi.md +377 -0
  39. data/docs/RpmPackageUpload.md +7 -0
  40. data/docs/RubyPackageUpload.md +7 -0
  41. data/docs/StatusBasic.md +1 -1
  42. data/docs/SwiftPackageUpload.md +8 -1
  43. data/docs/SwiftPackageUploadRequest.md +1 -0
  44. data/docs/SwiftUpstream.md +23 -0
  45. data/docs/SwiftUpstreamRequest.md +20 -0
  46. data/docs/SwiftUpstreamRequestPatch.md +20 -0
  47. data/docs/TerraformPackageUpload.md +7 -0
  48. data/docs/VagrantPackageUpload.md +7 -0
  49. data/lib/cloudsmith-api/api/orgs_api.rb +358 -0
  50. data/lib/cloudsmith-api/api/packages_api.rb +4 -4
  51. data/lib/cloudsmith-api/api/repos_api.rb +395 -0
  52. data/lib/cloudsmith-api/models/alpine_package_upload.rb +64 -1
  53. data/lib/cloudsmith-api/models/cargo_package_upload.rb +64 -1
  54. data/lib/cloudsmith-api/models/cocoapods_package_upload.rb +64 -1
  55. data/lib/cloudsmith-api/models/composer_package_upload.rb +64 -1
  56. data/lib/cloudsmith-api/models/conan_package_upload.rb +64 -1
  57. data/lib/cloudsmith-api/models/conda_package_upload.rb +64 -1
  58. data/lib/cloudsmith-api/models/cran_package_upload.rb +64 -1
  59. data/lib/cloudsmith-api/models/dart_package_upload.rb +64 -1
  60. data/lib/cloudsmith-api/models/deb_package_upload.rb +64 -1
  61. data/lib/cloudsmith-api/models/docker_package_upload.rb +64 -1
  62. data/lib/cloudsmith-api/models/go_package_upload.rb +64 -1
  63. data/lib/cloudsmith-api/models/helm_package_upload.rb +64 -1
  64. data/lib/cloudsmith-api/models/hex_package_upload.rb +64 -1
  65. data/lib/cloudsmith-api/models/luarocks_package_upload.rb +64 -1
  66. data/lib/cloudsmith-api/models/maven_package_upload.rb +64 -1
  67. data/lib/cloudsmith-api/models/npm_package_upload.rb +64 -1
  68. data/lib/cloudsmith-api/models/nuget_package_upload.rb +64 -1
  69. data/lib/cloudsmith-api/models/organization_membership.rb +1 -1
  70. data/lib/cloudsmith-api/models/p2_package_upload.rb +64 -1
  71. data/lib/cloudsmith-api/models/package.rb +64 -1
  72. data/lib/cloudsmith-api/models/package_copy.rb +64 -1
  73. data/lib/cloudsmith-api/models/package_move.rb +64 -1
  74. data/lib/cloudsmith-api/models/package_quarantine.rb +64 -1
  75. data/lib/cloudsmith-api/models/package_resync.rb +64 -1
  76. data/lib/cloudsmith-api/models/package_status.rb +64 -1
  77. data/lib/cloudsmith-api/models/package_tag.rb +64 -1
  78. data/lib/cloudsmith-api/models/provider_settings.rb +272 -0
  79. data/lib/cloudsmith-api/models/provider_settings_request.rb +252 -0
  80. data/lib/cloudsmith-api/models/provider_settings_request_patch.rb +227 -0
  81. data/lib/cloudsmith-api/models/python_package_upload.rb +64 -1
  82. data/lib/cloudsmith-api/models/raw_package_upload.rb +64 -1
  83. data/lib/cloudsmith-api/models/rpm_package_upload.rb +64 -1
  84. data/lib/cloudsmith-api/models/ruby_package_upload.rb +64 -1
  85. data/lib/cloudsmith-api/models/status_basic.rb +1 -1
  86. data/lib/cloudsmith-api/models/swift_package_upload.rb +69 -1
  87. data/lib/cloudsmith-api/models/swift_package_upload_request.rb +16 -1
  88. data/lib/cloudsmith-api/models/swift_upstream.rb +393 -0
  89. data/lib/cloudsmith-api/models/swift_upstream_request.rb +365 -0
  90. data/lib/cloudsmith-api/models/swift_upstream_request_patch.rb +355 -0
  91. data/lib/cloudsmith-api/models/terraform_package_upload.rb +64 -1
  92. data/lib/cloudsmith-api/models/vagrant_package_upload.rb +64 -1
  93. data/lib/cloudsmith-api/version.rb +1 -1
  94. data/lib/cloudsmith-api.rb +6 -0
  95. data/spec/api/orgs_api_spec.rb +81 -0
  96. data/spec/api/packages_api_spec.rb +2 -2
  97. data/spec/api/repos_api_spec.rb +87 -0
  98. data/spec/models/alpine_package_upload_spec.rb +42 -0
  99. data/spec/models/cargo_package_upload_spec.rb +42 -0
  100. data/spec/models/cocoapods_package_upload_spec.rb +42 -0
  101. data/spec/models/composer_package_upload_spec.rb +42 -0
  102. data/spec/models/conan_package_upload_spec.rb +42 -0
  103. data/spec/models/conda_package_upload_spec.rb +42 -0
  104. data/spec/models/cran_package_upload_spec.rb +42 -0
  105. data/spec/models/dart_package_upload_spec.rb +42 -0
  106. data/spec/models/deb_package_upload_spec.rb +42 -0
  107. data/spec/models/docker_package_upload_spec.rb +42 -0
  108. data/spec/models/go_package_upload_spec.rb +42 -0
  109. data/spec/models/helm_package_upload_spec.rb +42 -0
  110. data/spec/models/hex_package_upload_spec.rb +42 -0
  111. data/spec/models/luarocks_package_upload_spec.rb +42 -0
  112. data/spec/models/maven_package_upload_spec.rb +42 -0
  113. data/spec/models/npm_package_upload_spec.rb +42 -0
  114. data/spec/models/nuget_package_upload_spec.rb +42 -0
  115. data/spec/models/p2_package_upload_spec.rb +42 -0
  116. data/spec/models/package_copy_spec.rb +42 -0
  117. data/spec/models/package_move_spec.rb +42 -0
  118. data/spec/models/package_quarantine_spec.rb +42 -0
  119. data/spec/models/package_resync_spec.rb +42 -0
  120. data/spec/models/package_spec.rb +42 -0
  121. data/spec/models/package_status_spec.rb +42 -0
  122. data/spec/models/package_tag_spec.rb +42 -0
  123. data/spec/models/provider_settings_request_patch_spec.rb +65 -0
  124. data/spec/models/provider_settings_request_spec.rb +65 -0
  125. data/spec/models/provider_settings_spec.rb +77 -0
  126. data/spec/models/python_package_upload_spec.rb +42 -0
  127. data/spec/models/raw_package_upload_spec.rb +42 -0
  128. data/spec/models/rpm_package_upload_spec.rb +42 -0
  129. data/spec/models/ruby_package_upload_spec.rb +42 -0
  130. data/spec/models/swift_package_upload_request_spec.rb +6 -0
  131. data/spec/models/swift_package_upload_spec.rb +42 -0
  132. data/spec/models/swift_upstream_request_patch_spec.rb +121 -0
  133. data/spec/models/swift_upstream_request_spec.rb +121 -0
  134. data/spec/models/swift_upstream_spec.rb +139 -0
  135. data/spec/models/terraform_package_upload_spec.rb +42 -0
  136. data/spec/models/vagrant_package_upload_spec.rb +42 -0
  137. data/vendor/bundle/ruby/2.6.0/cache/bigdecimal-3.1.7.gem +0 -0
  138. data/vendor/bundle/ruby/2.6.0/cache/json-2.7.2.gem +0 -0
  139. data/vendor/bundle/ruby/2.6.0/cache/public_suffix-5.0.5.gem +0 -0
  140. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/autotest-fsevent-0.2.21/gem_make.out +1 -1
  141. data/vendor/bundle/ruby/2.6.0/{gems/bigdecimal-3.1.6/ext/bigdecimal → extensions/x86_64-linux/2.6.0/bigdecimal-3.1.7}/bigdecimal.so +0 -0
  142. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/gem_make.out +6 -6
  143. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/mkmf.log +10 -10
  144. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.16.3/gem_make.out +2 -2
  145. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.16.3/mkmf.log +1 -1
  146. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{json-2.7.1 → json-2.7.2}/gem_make.out +5 -5
  147. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.7.2/json/ext/generator.so +0 -0
  148. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.7.2/json/ext/parser.so +0 -0
  149. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{json-2.7.1 → json-2.7.2}/mkmf.log +2 -2
  150. data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/Makefile +2 -2
  151. data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/bigdecimal.c +1 -1
  152. data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/bigdecimal.o +0 -0
  153. data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6/lib → bigdecimal-3.1.7/ext/bigdecimal}/bigdecimal.so +0 -0
  154. data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/missing.o +0 -0
  155. data/vendor/bundle/ruby/2.6.0/{extensions/x86_64-linux/2.6.0/bigdecimal-3.1.6 → gems/bigdecimal-3.1.7/lib}/bigdecimal.so +0 -0
  156. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.16.3/ext/ffi_c/Makefile +2 -2
  157. data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/README.md +0 -9
  158. data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/Makefile +2 -2
  159. data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/generator/Makefile +2 -2
  160. data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/generator/generator.c +36 -6
  161. data/vendor/bundle/ruby/2.6.0/gems/json-2.7.2/ext/json/ext/generator/generator.o +0 -0
  162. data/vendor/bundle/ruby/2.6.0/gems/json-2.7.2/ext/json/ext/generator/generator.so +0 -0
  163. data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/parser/Makefile +2 -2
  164. data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/parser/parser.o +0 -0
  165. data/vendor/bundle/ruby/2.6.0/gems/json-2.7.2/ext/json/ext/parser/parser.so +0 -0
  166. data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/ostruct.rb +5 -2
  167. data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/common.rb +2 -1
  168. data/vendor/bundle/ruby/2.6.0/gems/json-2.7.2/lib/json/ext/generator.so +0 -0
  169. data/vendor/bundle/ruby/2.6.0/gems/json-2.7.2/lib/json/ext/parser.so +0 -0
  170. data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/generic_object.rb +6 -2
  171. data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/version.rb +1 -1
  172. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/CHANGELOG.md +7 -1
  173. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/LICENSE.txt +1 -1
  174. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/README.md +1 -1
  175. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/data/list.txt +239 -80
  176. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/lib/public_suffix/domain.rb +1 -1
  177. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/lib/public_suffix/errors.rb +1 -1
  178. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/lib/public_suffix/list.rb +1 -1
  179. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/lib/public_suffix/rule.rb +1 -1
  180. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/lib/public_suffix/version.rb +2 -2
  181. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/lib/public_suffix.rb +1 -1
  182. data/vendor/bundle/ruby/2.6.0/specifications/{bigdecimal-3.1.6.gemspec → bigdecimal-3.1.7.gemspec} +3 -3
  183. data/vendor/bundle/ruby/2.6.0/specifications/{json-2.7.1.gemspec → json-2.7.2.gemspec} +0 -0
  184. data/vendor/bundle/ruby/2.6.0/specifications/{public_suffix-5.0.4.gemspec → public_suffix-5.0.5.gemspec} +4 -4
  185. metadata +129 -105
  186. data/vendor/bundle/ruby/2.6.0/cache/bigdecimal-3.1.6.gem +0 -0
  187. data/vendor/bundle/ruby/2.6.0/cache/json-2.7.1.gem +0 -0
  188. data/vendor/bundle/ruby/2.6.0/cache/public_suffix-5.0.4.gem +0 -0
  189. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.7.1/json/ext/generator.so +0 -0
  190. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.7.1/json/ext/parser.so +0 -0
  191. data/vendor/bundle/ruby/2.6.0/gems/json-2.7.1/ext/json/ext/generator/generator.o +0 -0
  192. data/vendor/bundle/ruby/2.6.0/gems/json-2.7.1/ext/json/ext/generator/generator.so +0 -0
  193. data/vendor/bundle/ruby/2.6.0/gems/json-2.7.1/ext/json/ext/parser/parser.so +0 -0
  194. data/vendor/bundle/ruby/2.6.0/gems/json-2.7.1/lib/json/ext/generator.so +0 -0
  195. data/vendor/bundle/ruby/2.6.0/gems/json-2.7.1/lib/json/ext/parser.so +0 -0
  196. /data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/gem.build_complete +0 -0
  197. /data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{json-2.7.1 → json-2.7.2}/gem.build_complete +0 -0
  198. /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/LICENSE +0 -0
  199. /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/bigdecimal.gemspec +0 -0
  200. /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/.sitearchdir.time +0 -0
  201. /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/bigdecimal.h +0 -0
  202. /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/bits.h +0 -0
  203. /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/extconf.rb +0 -0
  204. /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/feature.h +0 -0
  205. /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/missing/dtoa.c +0 -0
  206. /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/missing.c +0 -0
  207. /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/missing.h +0 -0
  208. /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/static_assert.h +0 -0
  209. /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/lib/bigdecimal/jacobian.rb +0 -0
  210. /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/lib/bigdecimal/ludcmp.rb +0 -0
  211. /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/lib/bigdecimal/math.rb +0 -0
  212. /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/lib/bigdecimal/newton.rb +0 -0
  213. /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/lib/bigdecimal/util.rb +0 -0
  214. /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/lib/bigdecimal.rb +0 -0
  215. /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/sample/linear.rb +0 -0
  216. /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/sample/nlsolve.rb +0 -0
  217. /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/sample/pi.rb +0 -0
  218. /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/CHANGES.md +0 -0
  219. /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/LICENSE +0 -0
  220. /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/fbuffer/fbuffer.h +0 -0
  221. /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/generator/.sitearchdir.-.json.-.ext.time +0 -0
  222. /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/generator/depend +0 -0
  223. /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/generator/extconf.rb +0 -0
  224. /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/generator/generator.h +0 -0
  225. /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/parser/.sitearchdir.-.json.-.ext.time +0 -0
  226. /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/parser/depend +0 -0
  227. /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/parser/extconf.rb +0 -0
  228. /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/parser/parser.c +0 -0
  229. /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/parser/parser.h +0 -0
  230. /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/parser/parser.rl +0 -0
  231. /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/extconf.rb +0 -0
  232. /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/json.gemspec +0 -0
  233. /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/bigdecimal.rb +0 -0
  234. /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/complex.rb +0 -0
  235. /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/core.rb +0 -0
  236. /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/date.rb +0 -0
  237. /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/date_time.rb +0 -0
  238. /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/exception.rb +0 -0
  239. /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/range.rb +0 -0
  240. /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/rational.rb +0 -0
  241. /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/regexp.rb +0 -0
  242. /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/set.rb +0 -0
  243. /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/struct.rb +0 -0
  244. /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/symbol.rb +0 -0
  245. /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/time.rb +0 -0
  246. /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/ext.rb +0 -0
  247. /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/pure/generator.rb +0 -0
  248. /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/pure/parser.rb +0 -0
  249. /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/pure.rb +0 -0
  250. /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json.rb +0 -0
  251. /data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/.yardopts +0 -0
  252. /data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/2.0-Upgrade.md +0 -0
  253. /data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/SECURITY.md +0 -0
@@ -0,0 +1,139 @@
1
+ =begin
2
+ #Cloudsmith API (v1)
3
+
4
+ #The API to the Cloudsmith Service
5
+
6
+ OpenAPI spec version: v1
7
+ Contact: support@cloudsmith.io
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.26
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for CloudsmithApi::SwiftUpstream
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'SwiftUpstream' do
21
+ before do
22
+ # run before each test
23
+ @instance = CloudsmithApi::SwiftUpstream.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of SwiftUpstream' do
31
+ it 'should create an instance of SwiftUpstream' do
32
+ expect(@instance).to be_instance_of(CloudsmithApi::SwiftUpstream)
33
+ end
34
+ end
35
+ describe 'test attribute "auth_mode"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["None", "Username and Password"])
39
+ # validator.allowable_values.each do |value|
40
+ # expect { @instance.auth_mode = value }.not_to raise_error
41
+ # end
42
+ end
43
+ end
44
+
45
+ describe 'test attribute "auth_secret"' do
46
+ it 'should work' do
47
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
48
+ end
49
+ end
50
+
51
+ describe 'test attribute "auth_username"' do
52
+ it 'should work' do
53
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
54
+ end
55
+ end
56
+
57
+ describe 'test attribute "created_at"' do
58
+ it 'should work' do
59
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
60
+ end
61
+ end
62
+
63
+ describe 'test attribute "extra_header_1"' do
64
+ it 'should work' do
65
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
66
+ end
67
+ end
68
+
69
+ describe 'test attribute "extra_header_2"' do
70
+ it 'should work' do
71
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
72
+ end
73
+ end
74
+
75
+ describe 'test attribute "extra_value_1"' do
76
+ it 'should work' do
77
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
78
+ end
79
+ end
80
+
81
+ describe 'test attribute "extra_value_2"' do
82
+ it 'should work' do
83
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
84
+ end
85
+ end
86
+
87
+ describe 'test attribute "is_active"' do
88
+ it 'should work' do
89
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
90
+ end
91
+ end
92
+
93
+ describe 'test attribute "mode"' do
94
+ it 'should work' do
95
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
96
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Proxy Only"])
97
+ # validator.allowable_values.each do |value|
98
+ # expect { @instance.mode = value }.not_to raise_error
99
+ # end
100
+ end
101
+ end
102
+
103
+ describe 'test attribute "name"' do
104
+ it 'should work' do
105
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
106
+ end
107
+ end
108
+
109
+ describe 'test attribute "priority"' do
110
+ it 'should work' do
111
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
112
+ end
113
+ end
114
+
115
+ describe 'test attribute "slug_perm"' do
116
+ it 'should work' do
117
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
118
+ end
119
+ end
120
+
121
+ describe 'test attribute "updated_at"' do
122
+ it 'should work' do
123
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
124
+ end
125
+ end
126
+
127
+ describe 'test attribute "upstream_url"' do
128
+ it 'should work' do
129
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
130
+ end
131
+ end
132
+
133
+ describe 'test attribute "verify_ssl"' do
134
+ it 'should work' do
135
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
136
+ end
137
+ end
138
+
139
+ end
@@ -152,18 +152,60 @@ describe 'TerraformPackageUpload' do
152
152
  end
153
153
  end
154
154
 
155
+ describe 'test attribute "is_cancellable"' do
156
+ it 'should work' do
157
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
158
+ end
159
+ end
160
+
161
+ describe 'test attribute "is_copyable"' do
162
+ it 'should work' do
163
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
164
+ end
165
+ end
166
+
167
+ describe 'test attribute "is_deleteable"' do
168
+ it 'should work' do
169
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
170
+ end
171
+ end
172
+
155
173
  describe 'test attribute "is_downloadable"' do
156
174
  it 'should work' do
157
175
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
158
176
  end
159
177
  end
160
178
 
179
+ describe 'test attribute "is_moveable"' do
180
+ it 'should work' do
181
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
182
+ end
183
+ end
184
+
185
+ describe 'test attribute "is_quarantinable"' do
186
+ it 'should work' do
187
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
188
+ end
189
+ end
190
+
161
191
  describe 'test attribute "is_quarantined"' do
162
192
  it 'should work' do
163
193
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
164
194
  end
165
195
  end
166
196
 
197
+ describe 'test attribute "is_resyncable"' do
198
+ it 'should work' do
199
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
200
+ end
201
+ end
202
+
203
+ describe 'test attribute "is_security_scannable"' do
204
+ it 'should work' do
205
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
206
+ end
207
+ end
208
+
167
209
  describe 'test attribute "is_sync_awaiting"' do
168
210
  it 'should work' do
169
211
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -152,18 +152,60 @@ describe 'VagrantPackageUpload' do
152
152
  end
153
153
  end
154
154
 
155
+ describe 'test attribute "is_cancellable"' do
156
+ it 'should work' do
157
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
158
+ end
159
+ end
160
+
161
+ describe 'test attribute "is_copyable"' do
162
+ it 'should work' do
163
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
164
+ end
165
+ end
166
+
167
+ describe 'test attribute "is_deleteable"' do
168
+ it 'should work' do
169
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
170
+ end
171
+ end
172
+
155
173
  describe 'test attribute "is_downloadable"' do
156
174
  it 'should work' do
157
175
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
158
176
  end
159
177
  end
160
178
 
179
+ describe 'test attribute "is_moveable"' do
180
+ it 'should work' do
181
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
182
+ end
183
+ end
184
+
185
+ describe 'test attribute "is_quarantinable"' do
186
+ it 'should work' do
187
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
188
+ end
189
+ end
190
+
161
191
  describe 'test attribute "is_quarantined"' do
162
192
  it 'should work' do
163
193
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
164
194
  end
165
195
  end
166
196
 
197
+ describe 'test attribute "is_resyncable"' do
198
+ it 'should work' do
199
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
200
+ end
201
+ end
202
+
203
+ describe 'test attribute "is_security_scannable"' do
204
+ it 'should work' do
205
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
206
+ end
207
+ end
208
+
167
209
  describe 'test attribute "is_sync_awaiting"' do
168
210
  it 'should work' do
169
211
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -1,5 +1,5 @@
1
1
  current directory: /home/circleci/project/bindings/ruby/src/vendor/bundle/ruby/2.6.0/gems/autotest-fsevent-0.2.21/ext/fsevent
2
- /usr/local/bin/ruby -I /usr/local/lib/ruby/site_ruby/2.6.0 -r ./siteconf20240307-905-jo5nil.rb extconf.rb
2
+ /usr/local/bin/ruby -I /usr/local/lib/ruby/site_ruby/2.6.0 -r ./siteconf20240410-884-cm82s.rb extconf.rb
3
3
 
4
4
  current directory: /home/circleci/project/bindings/ruby/src/vendor/bundle/ruby/2.6.0/gems/autotest-fsevent-0.2.21/ext/fsevent
5
5
  make DESTDIR\= clean
@@ -1,5 +1,5 @@
1
- current directory: /home/circleci/project/bindings/ruby/src/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.1.6/ext/bigdecimal
2
- /usr/local/bin/ruby -I /usr/local/lib/ruby/site_ruby/2.6.0 -r ./siteconf20240307-905-pbc1w4.rb extconf.rb
1
+ current directory: /home/circleci/project/bindings/ruby/src/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.1.7/ext/bigdecimal
2
+ /usr/local/bin/ruby -I /usr/local/lib/ruby/site_ruby/2.6.0 -r ./siteconf20240410-884-qkg512.rb extconf.rb
3
3
  checking for __builtin_clz()... yes
4
4
  checking for __builtin_clzl()... yes
5
5
  checking for __builtin_clzll()... yes
@@ -31,10 +31,10 @@ checking for rb_category_warn() in ruby.h... no
31
31
  checking for RB_WARN_CATEGORY_DEPRECATED in ruby.h... no
32
32
  creating Makefile
33
33
 
34
- current directory: /home/circleci/project/bindings/ruby/src/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.1.6/ext/bigdecimal
34
+ current directory: /home/circleci/project/bindings/ruby/src/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.1.7/ext/bigdecimal
35
35
  make DESTDIR\= clean
36
36
 
37
- current directory: /home/circleci/project/bindings/ruby/src/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.1.6/ext/bigdecimal
37
+ current directory: /home/circleci/project/bindings/ruby/src/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.1.7/ext/bigdecimal
38
38
  make DESTDIR\=
39
39
  compiling bigdecimal.c
40
40
  bigdecimal.c: In function ‘GetVpValueWithPrec’:
@@ -152,6 +152,6 @@ cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand
152
152
  compiling missing.c
153
153
  linking shared-object bigdecimal.so
154
154
 
155
- current directory: /home/circleci/project/bindings/ruby/src/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.1.6/ext/bigdecimal
155
+ current directory: /home/circleci/project/bindings/ruby/src/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.1.7/ext/bigdecimal
156
156
  make DESTDIR\= install
157
- /usr/bin/install -c -m 0755 bigdecimal.so ./.gem.20240307-905-1gz23h0
157
+ /usr/bin/install -c -m 0755 bigdecimal.so ./.gem.20240410-884-1e3ip67
@@ -111,8 +111,8 @@ checked program was:
111
111
  have_func: checking for _lzcnt_u32() in x86intrin.h... -------------------- no
112
112
 
113
113
  "gcc -o conftest -I/usr/local/include/ruby-2.6.0/x86_64-linux -I/usr/local/include/ruby-2.6.0/ruby/backward -I/usr/local/include/ruby-2.6.0 -I. -O3 -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -fPIC conftest.c -L. -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lruby -lm -lc"
114
- /usr/bin/ld: /tmp/cckQyiLF.o: in function `t':
115
- /home/circleci/project/bindings/ruby/src/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.1.6/ext/bigdecimal/conftest.c:16: undefined reference to `_lzcnt_u32'
114
+ /usr/bin/ld: /tmp/ccNxImJO.o: in function `t':
115
+ /home/circleci/project/bindings/ruby/src/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.1.7/ext/bigdecimal/conftest.c:16: undefined reference to `_lzcnt_u32'
116
116
  collect2: error: ld returned 1 exit status
117
117
  checked program was:
118
118
  /* begin */
@@ -173,8 +173,8 @@ checked program was:
173
173
  have_func: checking for _lzcnt_u64() in x86intrin.h... -------------------- no
174
174
 
175
175
  "gcc -o conftest -I/usr/local/include/ruby-2.6.0/x86_64-linux -I/usr/local/include/ruby-2.6.0/ruby/backward -I/usr/local/include/ruby-2.6.0 -I. -O3 -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -fPIC conftest.c -L. -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lruby -lm -lc"
176
- /usr/bin/ld: /tmp/ccpfXE3e.o: in function `t':
177
- /home/circleci/project/bindings/ruby/src/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.1.6/ext/bigdecimal/conftest.c:16: undefined reference to `_lzcnt_u64'
176
+ /usr/bin/ld: /tmp/cc6ZJ4Dp.o: in function `t':
177
+ /home/circleci/project/bindings/ruby/src/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.1.7/ext/bigdecimal/conftest.c:16: undefined reference to `_lzcnt_u64'
178
178
  collect2: error: ld returned 1 exit status
179
179
  checked program was:
180
180
  /* begin */
@@ -577,8 +577,8 @@ checked program was:
577
577
  /* end */
578
578
 
579
579
  "gcc -o conftest -I/usr/local/include/ruby-2.6.0/x86_64-linux -I/usr/local/include/ruby-2.6.0/ruby/backward -I/usr/local/include/ruby-2.6.0 -I. -O3 -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -fPIC conftest.c -L. -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lruby -lm -lc"
580
- /usr/bin/ld: /tmp/ccPrJdvx.o: in function `t':
581
- /home/circleci/project/bindings/ruby/src/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.1.6/ext/bigdecimal/conftest.c:17: undefined reference to `__builtin_isfinite'
580
+ /usr/bin/ld: /tmp/cczKZJH2.o: in function `t':
581
+ /home/circleci/project/bindings/ruby/src/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.1.7/ext/bigdecimal/conftest.c:17: undefined reference to `__builtin_isfinite'
582
582
  collect2: error: ld returned 1 exit status
583
583
  checked program was:
584
584
  /* begin */
@@ -785,8 +785,8 @@ checked program was:
785
785
  /* end */
786
786
 
787
787
  "gcc -o conftest -I/usr/local/include/ruby-2.6.0/x86_64-linux -I/usr/local/include/ruby-2.6.0/ruby/backward -I/usr/local/include/ruby-2.6.0 -I. -O3 -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -fPIC conftest.c -L. -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lruby -lm -lc"
788
- /usr/bin/ld: /tmp/ccnQlYuU.o: in function `t':
789
- /home/circleci/project/bindings/ruby/src/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.1.6/ext/bigdecimal/conftest.c:17: undefined reference to `rb_opts_exception_p'
788
+ /usr/bin/ld: /tmp/cc5FwtDY.o: in function `t':
789
+ /home/circleci/project/bindings/ruby/src/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.1.7/ext/bigdecimal/conftest.c:17: undefined reference to `rb_opts_exception_p'
790
790
  collect2: error: ld returned 1 exit status
791
791
  checked program was:
792
792
  /* begin */
@@ -844,8 +844,8 @@ checked program was:
844
844
  /* end */
845
845
 
846
846
  "gcc -o conftest -I/usr/local/include/ruby-2.6.0/x86_64-linux -I/usr/local/include/ruby-2.6.0/ruby/backward -I/usr/local/include/ruby-2.6.0 -I. -O3 -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -fPIC conftest.c -L. -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lruby -lm -lc"
847
- /usr/bin/ld: /tmp/ccCuBMBr.o: in function `t':
848
- /home/circleci/project/bindings/ruby/src/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.1.6/ext/bigdecimal/conftest.c:17: undefined reference to `rb_category_warn'
847
+ /usr/bin/ld: /tmp/cczrNZkN.o: in function `t':
848
+ /home/circleci/project/bindings/ruby/src/vendor/bundle/ruby/2.6.0/gems/bigdecimal-3.1.7/ext/bigdecimal/conftest.c:17: undefined reference to `rb_category_warn'
849
849
  collect2: error: ld returned 1 exit status
850
850
  checked program was:
851
851
  /* begin */
@@ -1,5 +1,5 @@
1
1
  current directory: /home/circleci/project/bindings/ruby/src/vendor/bundle/ruby/2.6.0/gems/ffi-1.16.3/ext/ffi_c
2
- /usr/local/bin/ruby -I /usr/local/lib/ruby/site_ruby/2.6.0 -r ./siteconf20240307-905-14zcdus.rb extconf.rb
2
+ /usr/local/bin/ruby -I /usr/local/lib/ruby/site_ruby/2.6.0 -r ./siteconf20240410-884-1mkix2m.rb extconf.rb
3
3
  checking for ffi_prep_closure_loc() in -lffi... yes
4
4
  checking for ffi_prep_cif_var()... yes
5
5
  checking for ffi_raw_call()... yes
@@ -41,4 +41,4 @@ linking shared-object ffi_c.so
41
41
 
42
42
  current directory: /home/circleci/project/bindings/ruby/src/vendor/bundle/ruby/2.6.0/gems/ffi-1.16.3/ext/ffi_c
43
43
  make DESTDIR\= install
44
- /usr/bin/install -c -m 0755 ffi_c.so ./.gem.20240307-905-4qk7pg
44
+ /usr/bin/install -c -m 0755 ffi_c.so ./.gem.20240410-884-1ry4hgm
@@ -247,7 +247,7 @@ checked program was:
247
247
  /* end */
248
248
 
249
249
  "gcc -o conftest -I/usr/local/include/ruby-2.6.0/x86_64-linux -I/usr/local/include/ruby-2.6.0/ruby/backward -I/usr/local/include/ruby-2.6.0 -I. -O3 -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -fPIC conftest.c -L. -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic -lffi -lffi -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lruby -lffi -lffi -lm -lc"
250
- /usr/bin/ld: /tmp/ccXvxHCl.o: in function `t':
250
+ /usr/bin/ld: /tmp/ccIBuU1X.o: in function `t':
251
251
  /home/circleci/project/bindings/ruby/src/vendor/bundle/ruby/2.6.0/gems/ffi-1.16.3/ext/ffi_c/conftest.c:15: undefined reference to `rb_gc_mark_movable'
252
252
  collect2: error: ld returned 1 exit status
253
253
  checked program was:
@@ -1,13 +1,13 @@
1
- current directory: /home/circleci/project/bindings/ruby/src/vendor/bundle/ruby/2.6.0/gems/json-2.7.1/ext/json
2
- /usr/local/bin/ruby -I /usr/local/lib/ruby/site_ruby/2.6.0 -r ./siteconf20240307-905-1t7r4kz.rb extconf.rb
1
+ current directory: /home/circleci/project/bindings/ruby/src/vendor/bundle/ruby/2.6.0/gems/json-2.7.2/ext/json
2
+ /usr/local/bin/ruby -I /usr/local/lib/ruby/site_ruby/2.6.0 -r ./siteconf20240410-884-3gvkcl.rb extconf.rb
3
3
  creating Makefile
4
4
 
5
- current directory: /home/circleci/project/bindings/ruby/src/vendor/bundle/ruby/2.6.0/gems/json-2.7.1/ext/json
5
+ current directory: /home/circleci/project/bindings/ruby/src/vendor/bundle/ruby/2.6.0/gems/json-2.7.2/ext/json
6
6
  make DESTDIR\= clean
7
7
 
8
- current directory: /home/circleci/project/bindings/ruby/src/vendor/bundle/ruby/2.6.0/gems/json-2.7.1/ext/json
8
+ current directory: /home/circleci/project/bindings/ruby/src/vendor/bundle/ruby/2.6.0/gems/json-2.7.2/ext/json
9
9
  make DESTDIR\=
10
10
  make: Nothing to be done for 'all'.
11
11
 
12
- current directory: /home/circleci/project/bindings/ruby/src/vendor/bundle/ruby/2.6.0/gems/json-2.7.1/ext/json
12
+ current directory: /home/circleci/project/bindings/ruby/src/vendor/bundle/ruby/2.6.0/gems/json-2.7.2/ext/json
13
13
  make DESTDIR\= install
@@ -100,8 +100,8 @@ checked program was:
100
100
  /* end */
101
101
 
102
102
  "gcc -o conftest -I/usr/local/include/ruby-2.6.0/x86_64-linux -I/usr/local/include/ruby-2.6.0/ruby/backward -I/usr/local/include/ruby-2.6.0 -I. -O3 -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -fPIC conftest.c -L. -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lruby -lm -lc"
103
- /usr/bin/ld: /tmp/ccW5GCKr.o: in function `t':
104
- /home/circleci/project/bindings/ruby/src/vendor/bundle/ruby/2.6.0/gems/json-2.7.1/ext/json/ext/parser/conftest.c:17: undefined reference to `rb_enc_interned_str'
103
+ /usr/bin/ld: /tmp/ccqi8nyU.o: in function `t':
104
+ /home/circleci/project/bindings/ruby/src/vendor/bundle/ruby/2.6.0/gems/json-2.7.2/ext/json/ext/parser/conftest.c:17: undefined reference to `rb_enc_interned_str'
105
105
  collect2: error: ld returned 1 exit status
106
106
  checked program was:
107
107
  /* begin */
@@ -31,8 +31,8 @@ rubyhdrdir = $(includedir)/$(RUBY_VERSION_NAME)
31
31
  vendorarchdir = $(vendorlibdir)/$(sitearch)
32
32
  vendorlibdir = $(vendordir)/$(ruby_version)
33
33
  vendordir = $(rubylibprefix)/vendor_ruby
34
- sitearchdir = $(DESTDIR)./.gem.20240307-905-1gz23h0
35
- sitelibdir = $(DESTDIR)./.gem.20240307-905-1gz23h0
34
+ sitearchdir = $(DESTDIR)./.gem.20240410-884-1e3ip67
35
+ sitelibdir = $(DESTDIR)./.gem.20240410-884-1e3ip67
36
36
  sitedir = $(rubylibprefix)/site_ruby
37
37
  rubyarchdir = $(rubylibdir)/$(arch)
38
38
  rubylibdir = $(rubylibprefix)/$(ruby_version)
@@ -31,7 +31,7 @@
31
31
  #include "bits.h"
32
32
  #include "static_assert.h"
33
33
 
34
- #define BIGDECIMAL_VERSION "3.1.6"
34
+ #define BIGDECIMAL_VERSION "3.1.7"
35
35
 
36
36
  /* #define ENABLE_NUMERIC_STRING */
37
37
 
@@ -31,8 +31,8 @@ rubyhdrdir = $(includedir)/$(RUBY_VERSION_NAME)
31
31
  vendorarchdir = $(vendorlibdir)/$(sitearch)
32
32
  vendorlibdir = $(vendordir)/$(ruby_version)
33
33
  vendordir = $(rubylibprefix)/vendor_ruby
34
- sitearchdir = $(DESTDIR)./.gem.20240307-905-4qk7pg
35
- sitelibdir = $(DESTDIR)./.gem.20240307-905-4qk7pg
34
+ sitearchdir = $(DESTDIR)./.gem.20240410-884-1ry4hgm
35
+ sitelibdir = $(DESTDIR)./.gem.20240410-884-1ry4hgm
36
36
  sitedir = $(rubylibprefix)/site_ruby
37
37
  rubyarchdir = $(rubylibdir)/$(arch)
38
38
  rubylibdir = $(rubylibprefix)/$(ruby_version)
@@ -140,15 +140,6 @@ JSON JSON(1..10) # => 1..10
140
140
  To find out how to add JSON support to other or your own classes, read the
141
141
  section "More Examples" below.
142
142
 
143
- To get the best compatibility to rails' JSON implementation, you can
144
-
145
- ```ruby
146
- require 'json/add/rails'
147
- ```
148
-
149
- Both of the additions attempt to require `'json'` (like above) first, if it has
150
- not been required yet.
151
-
152
143
  ## Serializing exceptions
153
144
 
154
145
  The JSON module doesn't extend `Exception` by default. If you convert an `Exception`
@@ -31,8 +31,8 @@ rubyhdrdir = $(includedir)/$(RUBY_VERSION_NAME)
31
31
  vendorarchdir = $(vendorlibdir)/$(sitearch)
32
32
  vendorlibdir = $(vendordir)/$(ruby_version)
33
33
  vendordir = $(rubylibprefix)/vendor_ruby
34
- sitearchdir = $(DESTDIR)./.gem.20240307-905-13y0wsp
35
- sitelibdir = $(DESTDIR)./.gem.20240307-905-13y0wsp
34
+ sitearchdir = $(DESTDIR)./.gem.20240410-884-1m5w5l9
35
+ sitelibdir = $(DESTDIR)./.gem.20240410-884-1m5w5l9
36
36
  sitedir = $(rubylibprefix)/site_ruby
37
37
  rubyarchdir = $(rubylibdir)/$(arch)
38
38
  rubylibdir = $(rubylibprefix)/$(ruby_version)
@@ -31,8 +31,8 @@ rubyhdrdir = $(includedir)/$(RUBY_VERSION_NAME)
31
31
  vendorarchdir = $(vendorlibdir)/$(sitearch)
32
32
  vendorlibdir = $(vendordir)/$(ruby_version)
33
33
  vendordir = $(rubylibprefix)/vendor_ruby
34
- sitearchdir = $(DESTDIR)./.gem.20240307-905-xj6pl7
35
- sitelibdir = $(DESTDIR)./.gem.20240307-905-xj6pl7
34
+ sitearchdir = $(DESTDIR)./.gem.20240410-884-o7pqvq
35
+ sitelibdir = $(DESTDIR)./.gem.20240410-884-o7pqvq
36
36
  sitedir = $(rubylibprefix)/site_ruby
37
37
  rubyarchdir = $(rubylibdir)/$(arch)
38
38
  rubylibdir = $(rubylibprefix)/$(ruby_version)
@@ -867,7 +867,7 @@ json_object_i(VALUE key, VALUE val, VALUE _arg)
867
867
  if (klass == rb_cString) {
868
868
  key_to_s = key;
869
869
  } else if (klass == rb_cSymbol) {
870
- key_to_s = rb_id2str(SYM2ID(key));
870
+ key_to_s = rb_sym2str(key);
871
871
  } else {
872
872
  key_to_s = rb_funcall(key, i_to_s, 0);
873
873
  }
@@ -892,7 +892,6 @@ static void generate_json_object(FBuffer *buffer, VALUE Vstate, JSON_Generator_S
892
892
  struct hash_foreach_arg arg;
893
893
 
894
894
  if (max_nesting != 0 && depth > max_nesting) {
895
- fbuffer_free(buffer);
896
895
  rb_raise(eNestingError, "nesting of %ld is too deep", --state->depth);
897
896
  }
898
897
  fbuffer_append_char(buffer, '{');
@@ -927,7 +926,6 @@ static void generate_json_array(FBuffer *buffer, VALUE Vstate, JSON_Generator_St
927
926
  long depth = ++state->depth;
928
927
  int i, j;
929
928
  if (max_nesting != 0 && depth > max_nesting) {
930
- fbuffer_free(buffer);
931
929
  rb_raise(eNestingError, "nesting of %ld is too deep", --state->depth);
932
930
  }
933
931
  fbuffer_append_char(buffer, '[');
@@ -1020,10 +1018,8 @@ static void generate_json_float(FBuffer *buffer, VALUE Vstate, JSON_Generator_St
1020
1018
  VALUE tmp = rb_funcall(obj, i_to_s, 0);
1021
1019
  if (!allow_nan) {
1022
1020
  if (isinf(value)) {
1023
- fbuffer_free(buffer);
1024
1021
  rb_raise(eGeneratorError, "%"PRIsVALUE" not allowed in JSON", RB_OBJ_STRING(tmp));
1025
1022
  } else if (isnan(value)) {
1026
- fbuffer_free(buffer);
1027
1023
  rb_raise(eGeneratorError, "%"PRIsVALUE" not allowed in JSON", RB_OBJ_STRING(tmp));
1028
1024
  }
1029
1025
  }
@@ -1096,11 +1092,45 @@ static FBuffer *cState_prepare_buffer(VALUE self)
1096
1092
  return buffer;
1097
1093
  }
1098
1094
 
1095
+ struct generate_json_data {
1096
+ FBuffer *buffer;
1097
+ VALUE vstate;
1098
+ JSON_Generator_State *state;
1099
+ VALUE obj;
1100
+ };
1101
+
1102
+ static VALUE generate_json_try(VALUE d)
1103
+ {
1104
+ struct generate_json_data *data = (struct generate_json_data *)d;
1105
+
1106
+ generate_json(data->buffer, data->vstate, data->state, data->obj);
1107
+
1108
+ return Qnil;
1109
+ }
1110
+
1111
+ static VALUE generate_json_rescue(VALUE d, VALUE exc)
1112
+ {
1113
+ struct generate_json_data *data = (struct generate_json_data *)d;
1114
+ fbuffer_free(data->buffer);
1115
+
1116
+ rb_exc_raise(exc);
1117
+
1118
+ return Qundef;
1119
+ }
1120
+
1099
1121
  static VALUE cState_partial_generate(VALUE self, VALUE obj)
1100
1122
  {
1101
1123
  FBuffer *buffer = cState_prepare_buffer(self);
1102
1124
  GET_STATE(self);
1103
- generate_json(buffer, self, state, obj);
1125
+
1126
+ struct generate_json_data data = {
1127
+ .buffer = buffer,
1128
+ .vstate = self,
1129
+ .state = state,
1130
+ .obj = obj
1131
+ };
1132
+ rb_rescue(generate_json_try, (VALUE)&data, generate_json_rescue, (VALUE)&data);
1133
+
1104
1134
  return fbuffer_to_s(buffer);
1105
1135
  }
1106
1136
 
@@ -31,8 +31,8 @@ rubyhdrdir = $(includedir)/$(RUBY_VERSION_NAME)
31
31
  vendorarchdir = $(vendorlibdir)/$(sitearch)
32
32
  vendorlibdir = $(vendordir)/$(ruby_version)
33
33
  vendordir = $(rubylibprefix)/vendor_ruby
34
- sitearchdir = $(DESTDIR)./.gem.20240307-905-14stugd
35
- sitelibdir = $(DESTDIR)./.gem.20240307-905-14stugd
34
+ sitearchdir = $(DESTDIR)./.gem.20240410-884-19usnzm
35
+ sitelibdir = $(DESTDIR)./.gem.20240410-884-19usnzm
36
36
  sitedir = $(rubylibprefix)/site_ruby
37
37
  rubyarchdir = $(rubylibdir)/$(arch)
38
38
  rubylibdir = $(rubylibprefix)/$(ruby_version)