cloudsmith-api 0.51.38 → 0.52.92

Sign up to get free protection for your applications and to get access to all the features.
Files changed (460) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +4 -4
  3. data/README.md +15 -5
  4. data/build.json +1 -1
  5. data/docs/AlpinePackageUpload.md +63 -0
  6. data/docs/ConanPackageUpload.md +1 -0
  7. data/docs/EntitlementTokenMetric.md +9 -0
  8. data/docs/EntitlementsCreate.md +1 -1
  9. data/docs/EntitlementsPartialUpdate.md +1 -1
  10. data/docs/EntitlementsRefresh.md +1 -1
  11. data/docs/MavenPackageUpload.md +1 -0
  12. data/docs/MetricsApi.md +158 -0
  13. data/docs/MetricsownerrepopackagesusageActivePackages.md +10 -0
  14. data/docs/Package.md +2 -0
  15. data/docs/PackageCopy.md +2 -0
  16. data/docs/PackageMove.md +2 -0
  17. data/docs/PackageUsageMetric.md +11 -0
  18. data/docs/PackagesApi.md +107 -41
  19. data/docs/PackagesCopy.md +1 -1
  20. data/docs/PackagesMove.md +0 -1
  21. data/docs/PackagesTag.md +10 -0
  22. data/docs/PackagesUploadAlpine.md +1 -0
  23. data/docs/PackagesUploadCargo.md +1 -0
  24. data/docs/PackagesUploadCocoapods.md +1 -0
  25. data/docs/PackagesUploadComposer.md +1 -0
  26. data/docs/PackagesUploadConan.md +1 -0
  27. data/docs/PackagesUploadCran.md +1 -0
  28. data/docs/PackagesUploadDart.md +1 -0
  29. data/docs/PackagesUploadDeb.md +3 -0
  30. data/docs/PackagesUploadDocker.md +1 -0
  31. data/docs/PackagesUploadGo.md +1 -0
  32. data/docs/PackagesUploadHelm.md +1 -0
  33. data/docs/PackagesUploadLuarocks.md +1 -0
  34. data/docs/PackagesUploadMaven.md +1 -0
  35. data/docs/PackagesUploadNpm.md +1 -0
  36. data/docs/PackagesUploadNuget.md +1 -0
  37. data/docs/PackagesUploadPython.md +1 -0
  38. data/docs/PackagesUploadRaw.md +1 -0
  39. data/docs/PackagesUploadRpm.md +1 -0
  40. data/docs/PackagesUploadRuby.md +1 -0
  41. data/docs/PackagesUploadTerraform.md +1 -0
  42. data/docs/PackagesUploadVagrant.md +1 -0
  43. data/docs/PackagesValidateuploadAlpine.md +1 -0
  44. data/docs/PackagesValidateuploadCargo.md +1 -0
  45. data/docs/PackagesValidateuploadCocoapods.md +1 -0
  46. data/docs/PackagesValidateuploadComposer.md +1 -0
  47. data/docs/PackagesValidateuploadConan.md +1 -0
  48. data/docs/PackagesValidateuploadCran.md +1 -0
  49. data/docs/PackagesValidateuploadDart.md +1 -0
  50. data/docs/PackagesValidateuploadDeb.md +3 -0
  51. data/docs/PackagesValidateuploadDocker.md +1 -0
  52. data/docs/PackagesValidateuploadGo.md +1 -0
  53. data/docs/PackagesValidateuploadHelm.md +1 -0
  54. data/docs/PackagesValidateuploadLuarocks.md +1 -0
  55. data/docs/PackagesValidateuploadMaven.md +1 -0
  56. data/docs/PackagesValidateuploadNpm.md +1 -0
  57. data/docs/PackagesValidateuploadNuget.md +1 -0
  58. data/docs/PackagesValidateuploadPython.md +1 -0
  59. data/docs/PackagesValidateuploadRaw.md +1 -0
  60. data/docs/PackagesValidateuploadRpm.md +1 -0
  61. data/docs/PackagesValidateuploadRuby.md +1 -0
  62. data/docs/PackagesValidateuploadTerraform.md +1 -0
  63. data/docs/PackagesValidateuploadVagrant.md +1 -0
  64. data/docs/RawPackageUpload.md +1 -0
  65. data/docs/ReposCreate.md +4 -7
  66. data/docs/ReposPartialUpdate.md +3 -7
  67. data/docs/Repository.md +11 -10
  68. data/docs/RepositoryToken.md +4 -3
  69. data/docs/RepositoryTokenRefresh.md +4 -3
  70. data/docs/RepositoryTokenSyncTokens.md +4 -3
  71. data/docs/RepositoryWebhook.md +1 -0
  72. data/docs/StorageRegion.md +9 -0
  73. data/docs/StorageregionsApi.md +122 -0
  74. data/docs/VagrantPackageUpload.md +1 -0
  75. data/docs/WebhooksCreate.md +1 -0
  76. data/docs/WebhooksPartialUpdate.md +1 -0
  77. data/lib/cloudsmith-api.rb +8 -1
  78. data/lib/cloudsmith-api/api/metrics_api.rb +167 -0
  79. data/lib/cloudsmith-api/api/packages_api.rb +119 -56
  80. data/lib/cloudsmith-api/api/storageregions_api.rb +119 -0
  81. data/lib/cloudsmith-api/models/alpine_package_upload.rb +743 -0
  82. data/lib/cloudsmith-api/models/conan_package_upload.rb +11 -1
  83. data/lib/cloudsmith-api/models/entitlement_token_metric.rb +209 -0
  84. data/lib/cloudsmith-api/models/entitlements_create.rb +1 -1
  85. data/lib/cloudsmith-api/models/entitlements_partial_update.rb +1 -1
  86. data/lib/cloudsmith-api/models/entitlements_refresh.rb +1 -1
  87. data/lib/cloudsmith-api/models/maven_package_upload.rb +11 -1
  88. data/lib/cloudsmith-api/models/{packages_resync.rb → metricsownerrepopackagesusage_active_packages.rb} +29 -9
  89. data/lib/cloudsmith-api/models/package.rb +21 -1
  90. data/lib/cloudsmith-api/models/package_copy.rb +21 -1
  91. data/lib/cloudsmith-api/models/package_move.rb +21 -1
  92. data/lib/cloudsmith-api/models/package_usage_metric.rb +243 -0
  93. data/lib/cloudsmith-api/models/packages_copy.rb +1 -1
  94. data/lib/cloudsmith-api/models/packages_move.rb +4 -14
  95. data/lib/cloudsmith-api/models/packages_tag.rb +211 -0
  96. data/lib/cloudsmith-api/models/packages_upload_alpine.rb +14 -4
  97. data/lib/cloudsmith-api/models/packages_upload_cargo.rb +14 -4
  98. data/lib/cloudsmith-api/models/packages_upload_cocoapods.rb +14 -4
  99. data/lib/cloudsmith-api/models/packages_upload_composer.rb +14 -4
  100. data/lib/cloudsmith-api/models/packages_upload_conan.rb +11 -1
  101. data/lib/cloudsmith-api/models/packages_upload_cran.rb +14 -4
  102. data/lib/cloudsmith-api/models/packages_upload_dart.rb +14 -4
  103. data/lib/cloudsmith-api/models/packages_upload_deb.rb +34 -4
  104. data/lib/cloudsmith-api/models/packages_upload_docker.rb +14 -4
  105. data/lib/cloudsmith-api/models/packages_upload_go.rb +14 -4
  106. data/lib/cloudsmith-api/models/packages_upload_helm.rb +14 -4
  107. data/lib/cloudsmith-api/models/packages_upload_luarocks.rb +14 -4
  108. data/lib/cloudsmith-api/models/packages_upload_maven.rb +11 -1
  109. data/lib/cloudsmith-api/models/packages_upload_npm.rb +14 -4
  110. data/lib/cloudsmith-api/models/packages_upload_nuget.rb +14 -4
  111. data/lib/cloudsmith-api/models/packages_upload_python.rb +14 -4
  112. data/lib/cloudsmith-api/models/packages_upload_raw.rb +11 -1
  113. data/lib/cloudsmith-api/models/packages_upload_rpm.rb +14 -4
  114. data/lib/cloudsmith-api/models/packages_upload_ruby.rb +14 -4
  115. data/lib/cloudsmith-api/models/packages_upload_terraform.rb +14 -4
  116. data/lib/cloudsmith-api/models/packages_upload_vagrant.rb +11 -1
  117. data/lib/cloudsmith-api/models/packages_validateupload_alpine.rb +14 -4
  118. data/lib/cloudsmith-api/models/packages_validateupload_cargo.rb +14 -4
  119. data/lib/cloudsmith-api/models/packages_validateupload_cocoapods.rb +14 -4
  120. data/lib/cloudsmith-api/models/packages_validateupload_composer.rb +14 -4
  121. data/lib/cloudsmith-api/models/packages_validateupload_conan.rb +11 -1
  122. data/lib/cloudsmith-api/models/packages_validateupload_cran.rb +14 -4
  123. data/lib/cloudsmith-api/models/packages_validateupload_dart.rb +14 -4
  124. data/lib/cloudsmith-api/models/packages_validateupload_deb.rb +34 -4
  125. data/lib/cloudsmith-api/models/packages_validateupload_docker.rb +14 -4
  126. data/lib/cloudsmith-api/models/packages_validateupload_go.rb +14 -4
  127. data/lib/cloudsmith-api/models/packages_validateupload_helm.rb +14 -4
  128. data/lib/cloudsmith-api/models/packages_validateupload_luarocks.rb +14 -4
  129. data/lib/cloudsmith-api/models/packages_validateupload_maven.rb +11 -1
  130. data/lib/cloudsmith-api/models/packages_validateupload_npm.rb +14 -4
  131. data/lib/cloudsmith-api/models/packages_validateupload_nuget.rb +14 -4
  132. data/lib/cloudsmith-api/models/packages_validateupload_python.rb +14 -4
  133. data/lib/cloudsmith-api/models/packages_validateupload_raw.rb +11 -1
  134. data/lib/cloudsmith-api/models/packages_validateupload_rpm.rb +14 -4
  135. data/lib/cloudsmith-api/models/packages_validateupload_ruby.rb +14 -4
  136. data/lib/cloudsmith-api/models/packages_validateupload_terraform.rb +14 -4
  137. data/lib/cloudsmith-api/models/packages_validateupload_vagrant.rb +11 -1
  138. data/lib/cloudsmith-api/models/raw_package_upload.rb +11 -1
  139. data/lib/cloudsmith-api/models/repos_create.rb +17 -57
  140. data/lib/cloudsmith-api/models/repos_partial_update.rb +4 -44
  141. data/lib/cloudsmith-api/models/repository.rb +24 -24
  142. data/lib/cloudsmith-api/models/repository_token.rb +14 -4
  143. data/lib/cloudsmith-api/models/repository_token_refresh.rb +14 -4
  144. data/lib/cloudsmith-api/models/repository_token_sync_tokens.rb +14 -4
  145. data/lib/cloudsmith-api/models/repository_webhook.rb +11 -1
  146. data/lib/cloudsmith-api/models/storage_region.rb +209 -0
  147. data/lib/cloudsmith-api/models/vagrant_package_upload.rb +11 -1
  148. data/lib/cloudsmith-api/models/webhooks_create.rb +11 -1
  149. data/lib/cloudsmith-api/models/webhooks_partial_update.rb +11 -1
  150. data/lib/cloudsmith-api/version.rb +1 -1
  151. data/spec/api/metrics_api_spec.rb +71 -0
  152. data/spec/api/packages_api_spec.rb +32 -18
  153. data/spec/api/storageregions_api_spec.rb +58 -0
  154. data/spec/models/alpine_package_upload_spec.rb +372 -0
  155. data/spec/models/conan_package_upload_spec.rb +6 -0
  156. data/spec/models/entitlement_token_metric_spec.rb +48 -0
  157. data/spec/models/maven_package_upload_spec.rb +6 -0
  158. data/spec/models/metricsownerrepopackagesusage_active_packages_spec.rb +54 -0
  159. data/spec/models/package_copy_spec.rb +12 -0
  160. data/spec/models/package_move_spec.rb +12 -0
  161. data/spec/models/package_spec.rb +12 -0
  162. data/spec/models/package_usage_metric_spec.rb +60 -0
  163. data/spec/models/packages_move_spec.rb +0 -6
  164. data/spec/models/packages_tag_spec.rb +54 -0
  165. data/spec/models/packages_upload_alpine_spec.rb +6 -0
  166. data/spec/models/packages_upload_cargo_spec.rb +6 -0
  167. data/spec/models/packages_upload_cocoapods_spec.rb +6 -0
  168. data/spec/models/packages_upload_composer_spec.rb +6 -0
  169. data/spec/models/packages_upload_conan_spec.rb +6 -0
  170. data/spec/models/packages_upload_cran_spec.rb +6 -0
  171. data/spec/models/packages_upload_dart_spec.rb +6 -0
  172. data/spec/models/packages_upload_deb_spec.rb +18 -0
  173. data/spec/models/packages_upload_docker_spec.rb +6 -0
  174. data/spec/models/packages_upload_go_spec.rb +6 -0
  175. data/spec/models/packages_upload_helm_spec.rb +6 -0
  176. data/spec/models/packages_upload_luarocks_spec.rb +6 -0
  177. data/spec/models/packages_upload_maven_spec.rb +6 -0
  178. data/spec/models/packages_upload_npm_spec.rb +6 -0
  179. data/spec/models/packages_upload_nuget_spec.rb +6 -0
  180. data/spec/models/packages_upload_python_spec.rb +6 -0
  181. data/spec/models/packages_upload_raw_spec.rb +6 -0
  182. data/spec/models/packages_upload_rpm_spec.rb +6 -0
  183. data/spec/models/packages_upload_ruby_spec.rb +6 -0
  184. data/spec/models/packages_upload_terraform_spec.rb +6 -0
  185. data/spec/models/packages_upload_vagrant_spec.rb +6 -0
  186. data/spec/models/packages_validateupload_alpine_spec.rb +6 -0
  187. data/spec/models/packages_validateupload_cargo_spec.rb +6 -0
  188. data/spec/models/packages_validateupload_cocoapods_spec.rb +6 -0
  189. data/spec/models/packages_validateupload_composer_spec.rb +6 -0
  190. data/spec/models/packages_validateupload_conan_spec.rb +6 -0
  191. data/spec/models/packages_validateupload_cran_spec.rb +6 -0
  192. data/spec/models/packages_validateupload_dart_spec.rb +6 -0
  193. data/spec/models/packages_validateupload_deb_spec.rb +18 -0
  194. data/spec/models/packages_validateupload_docker_spec.rb +6 -0
  195. data/spec/models/packages_validateupload_go_spec.rb +6 -0
  196. data/spec/models/packages_validateupload_helm_spec.rb +6 -0
  197. data/spec/models/packages_validateupload_luarocks_spec.rb +6 -0
  198. data/spec/models/packages_validateupload_maven_spec.rb +6 -0
  199. data/spec/models/packages_validateupload_npm_spec.rb +6 -0
  200. data/spec/models/packages_validateupload_nuget_spec.rb +6 -0
  201. data/spec/models/packages_validateupload_python_spec.rb +6 -0
  202. data/spec/models/packages_validateupload_raw_spec.rb +6 -0
  203. data/spec/models/packages_validateupload_rpm_spec.rb +6 -0
  204. data/spec/models/packages_validateupload_ruby_spec.rb +6 -0
  205. data/spec/models/packages_validateupload_terraform_spec.rb +6 -0
  206. data/spec/models/packages_validateupload_vagrant_spec.rb +6 -0
  207. data/spec/models/raw_package_upload_spec.rb +6 -0
  208. data/spec/models/repos_create_spec.rb +3 -21
  209. data/spec/models/repos_partial_update_spec.rb +0 -24
  210. data/spec/models/repository_spec.rb +6 -0
  211. data/spec/models/repository_token_refresh_spec.rb +6 -0
  212. data/spec/models/repository_token_spec.rb +6 -0
  213. data/spec/models/repository_token_sync_tokens_spec.rb +6 -0
  214. data/spec/models/repository_webhook_spec.rb +6 -0
  215. data/spec/models/{packages_resync_spec.rb → storage_region_spec.rb} +13 -7
  216. data/spec/models/vagrant_package_upload_spec.rb +6 -0
  217. data/spec/models/webhooks_create_spec.rb +6 -0
  218. data/spec/models/webhooks_partial_update_spec.rb +6 -0
  219. data/vendor/bundle/ruby/2.6.0/cache/diff-lcs-1.4.4.gem +0 -0
  220. data/vendor/bundle/ruby/2.6.0/cache/json-2.3.1.gem +0 -0
  221. data/vendor/bundle/ruby/2.6.0/cache/public_suffix-4.0.6.gem +0 -0
  222. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/autotest-fsevent-0.2.17/gem_make.out +1 -1
  223. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.13.1/gem_make.out +2 -2
  224. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{json-2.3.0 → json-2.3.1}/gem.build_complete +0 -0
  225. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{json-2.3.0 → json-2.3.1}/gem_make.out +5 -5
  226. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.3.1/json/ext/generator.so +0 -0
  227. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.3.1/json/ext/parser.so +0 -0
  228. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{json-2.3.0 → json-2.3.1}/mkmf.log +0 -0
  229. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/.rspec +0 -0
  230. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/Code-of-Conduct.md +0 -0
  231. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/Contributing.md +118 -0
  232. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/History.md +319 -0
  233. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/License.md +0 -0
  234. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/Manifest.txt +8 -0
  235. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/README.rdoc +10 -10
  236. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/Rakefile +39 -22
  237. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/autotest/discover.rb +3 -0
  238. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/bin/htmldiff +7 -4
  239. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/bin/ldiff +4 -1
  240. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/docs/COPYING.txt +0 -0
  241. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/docs/artistic.txt +0 -0
  242. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/lib/diff-lcs.rb +3 -0
  243. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/lib/diff/lcs.rb +184 -170
  244. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/lib/diff/lcs/array.rb +1 -1
  245. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/lib/diff/lcs/backports.rb +9 -0
  246. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/lib/diff/lcs/block.rb +1 -1
  247. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/lib/diff/lcs/callbacks.rb +15 -12
  248. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/lib/diff/lcs/change.rb +30 -37
  249. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/lib/diff/lcs/htmldiff.rb +17 -16
  250. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/lib/diff/lcs/hunk.rb +156 -74
  251. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/lib/diff/lcs/internals.rb +36 -39
  252. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/lib/diff/lcs/ldiff.rb +46 -42
  253. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/lib/diff/lcs/string.rb +1 -1
  254. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/spec/change_spec.rb +31 -7
  255. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3/spec/ldiff_spec.rb → diff-lcs-1.4.4/spec/diff_spec.rb} +15 -11
  256. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/fixtures/aX +1 -0
  257. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/fixtures/bXaX +1 -0
  258. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/spec/fixtures/ds1.csv +0 -0
  259. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/spec/fixtures/ds2.csv +0 -0
  260. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff +4 -0
  261. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff-c +7 -0
  262. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff-e +3 -0
  263. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff-f +3 -0
  264. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff-u +5 -0
  265. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/hunk_spec.rb +83 -0
  266. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/issues_spec.rb +154 -0
  267. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/spec/lcs_spec.rb +10 -10
  268. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/ldiff_spec.rb +87 -0
  269. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/spec/patch_spec.rb +93 -99
  270. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/sdiff_spec.rb +214 -0
  271. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/spec/spec_helper.rb +118 -64
  272. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/traverse_balanced_spec.rb +310 -0
  273. data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/spec/traverse_sequences_spec.rb +28 -28
  274. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.13.1/ext/ffi_c/Makefile +3 -3
  275. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/.gitignore +0 -0
  276. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/.travis.yml +2 -0
  277. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/CHANGES.md +33 -0
  278. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/Gemfile +0 -0
  279. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/README-json-jruby.md +0 -0
  280. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/README.md +16 -0
  281. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/Rakefile +8 -87
  282. data/vendor/bundle/ruby/2.6.0/gems/json-2.3.1/VERSION +1 -0
  283. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/diagrams/.keep +0 -0
  284. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/fbuffer/fbuffer.h +0 -0
  285. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/generator/.sitearchdir.-.json.-.ext.time +0 -0
  286. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/generator/depend +0 -0
  287. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/generator/extconf.rb +0 -0
  288. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/generator/generator.c +71 -1
  289. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/generator/generator.h +0 -0
  290. data/vendor/bundle/ruby/2.6.0/gems/json-2.3.1/ext/json/ext/generator/generator.so +0 -0
  291. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/parser/.sitearchdir.-.json.-.ext.time +0 -0
  292. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/parser/depend +0 -0
  293. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/parser/extconf.rb +0 -0
  294. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/parser/parser.c +71 -70
  295. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/parser/parser.h +0 -0
  296. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/parser/parser.rl +1 -0
  297. data/vendor/bundle/ruby/2.6.0/gems/json-2.3.1/ext/json/ext/parser/parser.so +0 -0
  298. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/extconf.rb +0 -0
  299. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/install.rb +0 -0
  300. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/ByteListTranscoder.java +0 -0
  301. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/Generator.java +0 -0
  302. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/GeneratorMethods.java +0 -0
  303. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/GeneratorService.java +0 -0
  304. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/GeneratorState.java +0 -0
  305. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/OptionsReader.java +0 -0
  306. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/Parser.java +0 -0
  307. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/Parser.rl +0 -0
  308. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/ParserService.java +0 -0
  309. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/RuntimeInfo.java +0 -0
  310. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/StringDecoder.java +0 -0
  311. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/StringEncoder.java +0 -0
  312. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/Utils.java +0 -0
  313. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/json-java.gemspec +3 -3
  314. data/vendor/bundle/ruby/2.6.0/gems/json-2.3.1/json.gemspec +139 -0
  315. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/json_pure.gemspec +8 -13
  316. data/vendor/bundle/ruby/2.6.0/gems/json-2.3.1/lib/json.rb +412 -0
  317. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/bigdecimal.rb +0 -0
  318. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/complex.rb +0 -0
  319. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/core.rb +0 -0
  320. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/date.rb +0 -0
  321. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/date_time.rb +0 -0
  322. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/exception.rb +0 -0
  323. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/ostruct.rb +0 -0
  324. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/range.rb +0 -0
  325. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/rational.rb +0 -0
  326. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/regexp.rb +0 -0
  327. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/set.rb +0 -0
  328. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/struct.rb +0 -0
  329. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/symbol.rb +0 -0
  330. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/time.rb +0 -0
  331. data/vendor/bundle/ruby/2.6.0/gems/json-2.3.1/lib/json/common.rb +691 -0
  332. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/ext.rb +0 -0
  333. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/ext/.keep +0 -0
  334. data/vendor/bundle/ruby/2.6.0/gems/json-2.3.1/lib/json/ext/generator.so +0 -0
  335. data/vendor/bundle/ruby/2.6.0/gems/json-2.3.1/lib/json/ext/parser.so +0 -0
  336. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/generic_object.rb +0 -0
  337. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/pure.rb +0 -0
  338. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/pure/generator.rb +1 -1
  339. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/pure/parser.rb +2 -2
  340. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/version.rb +1 -1
  341. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/references/rfc7159.txt +0 -0
  342. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail10.json +0 -0
  343. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail11.json +0 -0
  344. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail12.json +0 -0
  345. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail13.json +0 -0
  346. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail14.json +0 -0
  347. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail18.json +0 -0
  348. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail19.json +0 -0
  349. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail2.json +0 -0
  350. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail20.json +0 -0
  351. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail21.json +0 -0
  352. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail22.json +0 -0
  353. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail23.json +0 -0
  354. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail24.json +0 -0
  355. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail25.json +0 -0
  356. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail27.json +0 -0
  357. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail28.json +0 -0
  358. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail3.json +0 -0
  359. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail4.json +0 -0
  360. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail5.json +0 -0
  361. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail6.json +0 -0
  362. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail7.json +0 -0
  363. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail8.json +0 -0
  364. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail9.json +0 -0
  365. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/obsolete_fail1.json +0 -0
  366. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/pass1.json +0 -0
  367. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/pass15.json +0 -0
  368. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/pass16.json +0 -0
  369. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/pass17.json +0 -0
  370. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/pass2.json +0 -0
  371. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/pass26.json +0 -0
  372. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/pass3.json +0 -0
  373. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/json_addition_test.rb +0 -0
  374. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/json_common_interface_test.rb +0 -0
  375. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/json_encoding_test.rb +0 -0
  376. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/json_ext_parser_test.rb +0 -0
  377. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/json_fixtures_test.rb +6 -1
  378. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/json_generator_test.rb +0 -0
  379. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/json_generic_object_test.rb +0 -0
  380. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/json_parser_test.rb +0 -0
  381. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/json_string_matching_test.rb +0 -0
  382. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/test_helper.rb +0 -0
  383. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tools/diff.sh +0 -0
  384. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tools/fuzz.rb +0 -0
  385. data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tools/server.rb +0 -0
  386. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/.github/FUNDING.yml +0 -0
  387. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/.github/workflows/tests.yml +1 -1
  388. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/.gitignore +0 -0
  389. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/.rubocop.yml +0 -0
  390. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/.rubocop_opinionated.yml +1 -18
  391. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/.travis.yml +1 -1
  392. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/.yardopts +0 -0
  393. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/2.0-Upgrade.md +0 -0
  394. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/CHANGELOG.md +7 -0
  395. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/Gemfile +1 -1
  396. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/LICENSE.txt +0 -0
  397. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/README.md +0 -0
  398. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/Rakefile +0 -0
  399. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/SECURITY.md +0 -0
  400. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/bin/console +0 -0
  401. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/codecov.yml +0 -2
  402. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/data/list.txt +312 -78
  403. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/lib/public_suffix.rb +0 -0
  404. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/lib/public_suffix/domain.rb +0 -0
  405. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/lib/public_suffix/errors.rb +0 -0
  406. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/lib/public_suffix/list.rb +0 -0
  407. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/lib/public_suffix/rule.rb +0 -0
  408. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/lib/public_suffix/version.rb +1 -1
  409. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/public_suffix.gemspec +0 -0
  410. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/test/.empty +0 -0
  411. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/test/acceptance_test.rb +2 -0
  412. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/test/benchmarks/bm_find.rb +0 -0
  413. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/test/benchmarks/bm_find_all.rb +0 -0
  414. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/test/benchmarks/bm_names.rb +0 -0
  415. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/test/benchmarks/bm_select.rb +0 -0
  416. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/test/benchmarks/bm_select_incremental.rb +0 -0
  417. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/test/benchmarks/bm_valid.rb +0 -0
  418. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/test/profilers/domain_profiler.rb +0 -0
  419. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/test/profilers/find_profiler.rb +0 -0
  420. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/test/profilers/find_profiler_jp.rb +0 -0
  421. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/test/profilers/initialization_profiler.rb +0 -0
  422. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/test/profilers/list_profsize.rb +0 -0
  423. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/test/profilers/object_binsize.rb +0 -0
  424. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/test/psl_test.rb +1 -1
  425. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/test/test_helper.rb +0 -0
  426. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/test/tests.txt +0 -0
  427. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/test/unit/domain_test.rb +0 -0
  428. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/test/unit/errors_test.rb +0 -0
  429. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/test/unit/list_test.rb +0 -0
  430. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/test/unit/public_suffix_test.rb +0 -0
  431. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/test/unit/rule_test.rb +0 -0
  432. data/vendor/bundle/ruby/2.6.0/specifications/{diff-lcs-1.3.gemspec → diff-lcs-1.4.4.gemspec} +11 -13
  433. data/vendor/bundle/ruby/2.6.0/specifications/{json-2.3.0.gemspec → json-2.3.1.gemspec} +0 -0
  434. data/vendor/bundle/ruby/2.6.0/specifications/{public_suffix-4.0.5.gemspec → public_suffix-4.0.6.gemspec} +4 -4
  435. data/vendor/bundle/ruby/2.6.0/specifications/sys-uname-1.2.1.gemspec +1 -1
  436. metadata +332 -297
  437. data/docs/PackagesResync.md +0 -8
  438. data/vendor/bundle/ruby/2.6.0/cache/diff-lcs-1.3.gem +0 -0
  439. data/vendor/bundle/ruby/2.6.0/cache/json-2.3.0.gem +0 -0
  440. data/vendor/bundle/ruby/2.6.0/cache/public_suffix-4.0.5.gem +0 -0
  441. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.3.0/json/ext/generator.so +0 -0
  442. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.3.0/json/ext/parser.so +0 -0
  443. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.3/Contributing.md +0 -83
  444. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.3/History.md +0 -220
  445. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.3/autotest/discover.rb +0 -1
  446. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.3/lib/diff-lcs.rb +0 -3
  447. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.3/spec/diff_spec.rb +0 -47
  448. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.3/spec/hunk_spec.rb +0 -72
  449. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.3/spec/issues_spec.rb +0 -49
  450. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.3/spec/sdiff_spec.rb +0 -214
  451. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.3/spec/traverse_balanced_spec.rb +0 -310
  452. data/vendor/bundle/ruby/2.6.0/gems/json-2.3.0/LICENSE +0 -56
  453. data/vendor/bundle/ruby/2.6.0/gems/json-2.3.0/VERSION +0 -1
  454. data/vendor/bundle/ruby/2.6.0/gems/json-2.3.0/ext/json/ext/generator/generator.so +0 -0
  455. data/vendor/bundle/ruby/2.6.0/gems/json-2.3.0/ext/json/ext/parser/parser.so +0 -0
  456. data/vendor/bundle/ruby/2.6.0/gems/json-2.3.0/json.gemspec +0 -0
  457. data/vendor/bundle/ruby/2.6.0/gems/json-2.3.0/lib/json.rb +0 -63
  458. data/vendor/bundle/ruby/2.6.0/gems/json-2.3.0/lib/json/common.rb +0 -456
  459. data/vendor/bundle/ruby/2.6.0/gems/json-2.3.0/lib/json/ext/generator.so +0 -0
  460. data/vendor/bundle/ruby/2.6.0/gems/json-2.3.0/lib/json/ext/parser.so +0 -0
@@ -162,6 +162,12 @@ module CloudsmithApi
162
162
  # Synchronisation progress (from 0-100)
163
163
  attr_accessor :sync_progress
164
164
 
165
+ # All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field.
166
+ attr_accessor :tags
167
+
168
+ # All immutable tags on the package, grouped by tag type. Immutable tags cannot be (easily) deleted.
169
+ attr_accessor :tags_immutable
170
+
165
171
  #
166
172
  attr_accessor :type_display
167
173
 
@@ -233,6 +239,8 @@ module CloudsmithApi
233
239
  :'summary' => :'summary',
234
240
  :'sync_finished_at' => :'sync_finished_at',
235
241
  :'sync_progress' => :'sync_progress',
242
+ :'tags' => :'tags',
243
+ :'tags_immutable' => :'tags_immutable',
236
244
  :'type_display' => :'type_display',
237
245
  :'uploaded_at' => :'uploaded_at',
238
246
  :'uploader' => :'uploader',
@@ -294,6 +302,8 @@ module CloudsmithApi
294
302
  :'summary' => :'String',
295
303
  :'sync_finished_at' => :'String',
296
304
  :'sync_progress' => :'Integer',
305
+ :'tags' => :'Object',
306
+ :'tags_immutable' => :'Object',
297
307
  :'type_display' => :'String',
298
308
  :'uploaded_at' => :'String',
299
309
  :'uploader' => :'String',
@@ -511,6 +521,14 @@ module CloudsmithApi
511
521
  self.sync_progress = attributes[:'sync_progress']
512
522
  end
513
523
 
524
+ if attributes.has_key?(:'tags')
525
+ self.tags = attributes[:'tags']
526
+ end
527
+
528
+ if attributes.has_key?(:'tags_immutable')
529
+ self.tags_immutable = attributes[:'tags_immutable']
530
+ end
531
+
514
532
  if attributes.has_key?(:'type_display')
515
533
  self.type_display = attributes[:'type_display']
516
534
  end
@@ -604,6 +622,8 @@ module CloudsmithApi
604
622
  summary == o.summary &&
605
623
  sync_finished_at == o.sync_finished_at &&
606
624
  sync_progress == o.sync_progress &&
625
+ tags == o.tags &&
626
+ tags_immutable == o.tags_immutable &&
607
627
  type_display == o.type_display &&
608
628
  uploaded_at == o.uploaded_at &&
609
629
  uploader == o.uploader &&
@@ -621,7 +641,7 @@ module CloudsmithApi
621
641
  # Calculates hash code according to all attributes.
622
642
  # @return [Fixnum] Hash code
623
643
  def hash
624
- [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, description, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, identifier_perm, indexed, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, package_type, release, repository, repository_url, self_html_url, self_url, size, slug, slug_perm, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, type_display, uploaded_at, uploader, uploader_url, version, version_orig].hash
644
+ [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, description, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, identifier_perm, indexed, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, package_type, release, repository, repository_url, self_html_url, self_url, size, slug, slug_perm, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig].hash
625
645
  end
626
646
 
627
647
  # Builds the object from hash
@@ -162,6 +162,12 @@ module CloudsmithApi
162
162
  # Synchronisation progress (from 0-100)
163
163
  attr_accessor :sync_progress
164
164
 
165
+ # All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field.
166
+ attr_accessor :tags
167
+
168
+ # All immutable tags on the package, grouped by tag type. Immutable tags cannot be (easily) deleted.
169
+ attr_accessor :tags_immutable
170
+
165
171
  #
166
172
  attr_accessor :type_display
167
173
 
@@ -233,6 +239,8 @@ module CloudsmithApi
233
239
  :'summary' => :'summary',
234
240
  :'sync_finished_at' => :'sync_finished_at',
235
241
  :'sync_progress' => :'sync_progress',
242
+ :'tags' => :'tags',
243
+ :'tags_immutable' => :'tags_immutable',
236
244
  :'type_display' => :'type_display',
237
245
  :'uploaded_at' => :'uploaded_at',
238
246
  :'uploader' => :'uploader',
@@ -294,6 +302,8 @@ module CloudsmithApi
294
302
  :'summary' => :'String',
295
303
  :'sync_finished_at' => :'String',
296
304
  :'sync_progress' => :'Integer',
305
+ :'tags' => :'Object',
306
+ :'tags_immutable' => :'Object',
297
307
  :'type_display' => :'String',
298
308
  :'uploaded_at' => :'String',
299
309
  :'uploader' => :'String',
@@ -511,6 +521,14 @@ module CloudsmithApi
511
521
  self.sync_progress = attributes[:'sync_progress']
512
522
  end
513
523
 
524
+ if attributes.has_key?(:'tags')
525
+ self.tags = attributes[:'tags']
526
+ end
527
+
528
+ if attributes.has_key?(:'tags_immutable')
529
+ self.tags_immutable = attributes[:'tags_immutable']
530
+ end
531
+
514
532
  if attributes.has_key?(:'type_display')
515
533
  self.type_display = attributes[:'type_display']
516
534
  end
@@ -604,6 +622,8 @@ module CloudsmithApi
604
622
  summary == o.summary &&
605
623
  sync_finished_at == o.sync_finished_at &&
606
624
  sync_progress == o.sync_progress &&
625
+ tags == o.tags &&
626
+ tags_immutable == o.tags_immutable &&
607
627
  type_display == o.type_display &&
608
628
  uploaded_at == o.uploaded_at &&
609
629
  uploader == o.uploader &&
@@ -621,7 +641,7 @@ module CloudsmithApi
621
641
  # Calculates hash code according to all attributes.
622
642
  # @return [Fixnum] Hash code
623
643
  def hash
624
- [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, description, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, identifier_perm, indexed, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, package_type, release, repository, repository_url, self_html_url, self_url, size, slug, slug_perm, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, type_display, uploaded_at, uploader, uploader_url, version, version_orig].hash
644
+ [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, description, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, identifier_perm, indexed, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, package_type, release, repository, repository_url, self_html_url, self_url, size, slug, slug_perm, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig].hash
625
645
  end
626
646
 
627
647
  # Builds the object from hash
@@ -0,0 +1,243 @@
1
+ =begin
2
+ #Cloudsmith API
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.2.3
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module CloudsmithApi
16
+
17
+ class PackageUsageMetric
18
+ #
19
+ attr_accessor :active_packages
20
+
21
+ #
22
+ attr_accessor :downloads_per_package
23
+
24
+ #
25
+ attr_accessor :inactive_packages
26
+
27
+ #
28
+ attr_accessor :totals
29
+
30
+
31
+ # Attribute mapping from ruby-style variable name to JSON key.
32
+ def self.attribute_map
33
+ {
34
+ :'active_packages' => :'active_packages',
35
+ :'downloads_per_package' => :'downloads_per_package',
36
+ :'inactive_packages' => :'inactive_packages',
37
+ :'totals' => :'totals'
38
+ }
39
+ end
40
+
41
+ # Attribute type mapping.
42
+ def self.swagger_types
43
+ {
44
+ :'active_packages' => :'Array<MetricsownerrepopackagesusageActivePackages>',
45
+ :'downloads_per_package' => :'Object',
46
+ :'inactive_packages' => :'Array<MetricsownerrepopackagesusageActivePackages>',
47
+ :'totals' => :'Object'
48
+ }
49
+ end
50
+
51
+ # Initializes the object
52
+ # @param [Hash] attributes Model attributes in the form of hash
53
+ def initialize(attributes = {})
54
+ return unless attributes.is_a?(Hash)
55
+
56
+ # convert string to symbol for hash key
57
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
58
+
59
+ if attributes.has_key?(:'active_packages')
60
+ if (value = attributes[:'active_packages']).is_a?(Array)
61
+ self.active_packages = value
62
+ end
63
+ end
64
+
65
+ if attributes.has_key?(:'downloads_per_package')
66
+ self.downloads_per_package = attributes[:'downloads_per_package']
67
+ end
68
+
69
+ if attributes.has_key?(:'inactive_packages')
70
+ if (value = attributes[:'inactive_packages']).is_a?(Array)
71
+ self.inactive_packages = value
72
+ end
73
+ end
74
+
75
+ if attributes.has_key?(:'totals')
76
+ self.totals = attributes[:'totals']
77
+ end
78
+
79
+ end
80
+
81
+ # Show invalid properties with the reasons. Usually used together with valid?
82
+ # @return Array for valid properies with the reasons
83
+ def list_invalid_properties
84
+ invalid_properties = Array.new
85
+ if @active_packages.nil?
86
+ invalid_properties.push("invalid value for 'active_packages', active_packages cannot be nil.")
87
+ end
88
+
89
+ if @downloads_per_package.nil?
90
+ invalid_properties.push("invalid value for 'downloads_per_package', downloads_per_package cannot be nil.")
91
+ end
92
+
93
+ if @inactive_packages.nil?
94
+ invalid_properties.push("invalid value for 'inactive_packages', inactive_packages cannot be nil.")
95
+ end
96
+
97
+ if @totals.nil?
98
+ invalid_properties.push("invalid value for 'totals', totals cannot be nil.")
99
+ end
100
+
101
+ return invalid_properties
102
+ end
103
+
104
+ # Check to see if the all the properties in the model are valid
105
+ # @return true if the model is valid
106
+ def valid?
107
+ return false if @active_packages.nil?
108
+ return false if @downloads_per_package.nil?
109
+ return false if @inactive_packages.nil?
110
+ return false if @totals.nil?
111
+ return true
112
+ end
113
+
114
+ # Checks equality by comparing each attribute.
115
+ # @param [Object] Object to be compared
116
+ def ==(o)
117
+ return true if self.equal?(o)
118
+ self.class == o.class &&
119
+ active_packages == o.active_packages &&
120
+ downloads_per_package == o.downloads_per_package &&
121
+ inactive_packages == o.inactive_packages &&
122
+ totals == o.totals
123
+ end
124
+
125
+ # @see the `==` method
126
+ # @param [Object] Object to be compared
127
+ def eql?(o)
128
+ self == o
129
+ end
130
+
131
+ # Calculates hash code according to all attributes.
132
+ # @return [Fixnum] Hash code
133
+ def hash
134
+ [active_packages, downloads_per_package, inactive_packages, totals].hash
135
+ end
136
+
137
+ # Builds the object from hash
138
+ # @param [Hash] attributes Model attributes in the form of hash
139
+ # @return [Object] Returns the model itself
140
+ def build_from_hash(attributes)
141
+ return nil unless attributes.is_a?(Hash)
142
+ self.class.swagger_types.each_pair do |key, type|
143
+ if type =~ /\AArray<(.*)>/i
144
+ # check to ensure the input is an array given that the the attribute
145
+ # is documented as an array but the input is not
146
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
147
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
148
+ end
149
+ elsif !attributes[self.class.attribute_map[key]].nil?
150
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
151
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
152
+ end
153
+
154
+ self
155
+ end
156
+
157
+ # Deserializes the data based on type
158
+ # @param string type Data type
159
+ # @param string value Value to be deserialized
160
+ # @return [Object] Deserialized data
161
+ def _deserialize(type, value)
162
+ case type.to_sym
163
+ when :DateTime
164
+ DateTime.parse(value)
165
+ when :Date
166
+ Date.parse(value)
167
+ when :String
168
+ value.to_s
169
+ when :Integer
170
+ value.to_i
171
+ when :Float
172
+ value.to_f
173
+ when :BOOLEAN
174
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
175
+ true
176
+ else
177
+ false
178
+ end
179
+ when :Object
180
+ # generic object (usually a Hash), return directly
181
+ value
182
+ when /\AArray<(?<inner_type>.+)>\z/
183
+ inner_type = Regexp.last_match[:inner_type]
184
+ value.map { |v| _deserialize(inner_type, v) }
185
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
186
+ k_type = Regexp.last_match[:k_type]
187
+ v_type = Regexp.last_match[:v_type]
188
+ {}.tap do |hash|
189
+ value.each do |k, v|
190
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
191
+ end
192
+ end
193
+ else # model
194
+ temp_model = CloudsmithApi.const_get(type).new
195
+ temp_model.build_from_hash(value)
196
+ end
197
+ end
198
+
199
+ # Returns the string representation of the object
200
+ # @return [String] String presentation of the object
201
+ def to_s
202
+ to_hash.to_s
203
+ end
204
+
205
+ # to_body is an alias to to_hash (backward compatibility)
206
+ # @return [Hash] Returns the object in the form of hash
207
+ def to_body
208
+ to_hash
209
+ end
210
+
211
+ # Returns the object in the form of hash
212
+ # @return [Hash] Returns the object in the form of hash
213
+ def to_hash
214
+ hash = {}
215
+ self.class.attribute_map.each_pair do |attr, param|
216
+ value = self.send(attr)
217
+ next if value.nil?
218
+ hash[param] = _to_hash(value)
219
+ end
220
+ hash
221
+ end
222
+
223
+ # Outputs non-array value in the form of hash
224
+ # For object, use to_hash. Otherwise, just return the value
225
+ # @param [Object] value Any valid value
226
+ # @return [Hash] Returns the value in the form of hash
227
+ def _to_hash(value)
228
+ if value.is_a?(Array)
229
+ value.compact.map{ |v| _to_hash(v) }
230
+ elsif value.is_a?(Hash)
231
+ {}.tap do |hash|
232
+ value.each { |k, v| hash[k] = _to_hash(v) }
233
+ end
234
+ elsif value.respond_to? :to_hash
235
+ value.to_hash
236
+ else
237
+ value
238
+ end
239
+ end
240
+
241
+ end
242
+
243
+ end
@@ -18,7 +18,7 @@ module CloudsmithApi
18
18
  # None
19
19
  attr_accessor :destination
20
20
 
21
- # If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate.
21
+ # If true, the package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate.
22
22
  attr_accessor :republish
23
23
 
24
24
 
@@ -18,23 +18,18 @@ module CloudsmithApi
18
18
  # None
19
19
  attr_accessor :destination
20
20
 
21
- # If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate.
22
- attr_accessor :republish
23
-
24
21
 
25
22
  # Attribute mapping from ruby-style variable name to JSON key.
26
23
  def self.attribute_map
27
24
  {
28
- :'destination' => :'destination',
29
- :'republish' => :'republish'
25
+ :'destination' => :'destination'
30
26
  }
31
27
  end
32
28
 
33
29
  # Attribute type mapping.
34
30
  def self.swagger_types
35
31
  {
36
- :'destination' => :'String',
37
- :'republish' => :'BOOLEAN'
32
+ :'destination' => :'String'
38
33
  }
39
34
  end
40
35
 
@@ -50,10 +45,6 @@ module CloudsmithApi
50
45
  self.destination = attributes[:'destination']
51
46
  end
52
47
 
53
- if attributes.has_key?(:'republish')
54
- self.republish = attributes[:'republish']
55
- end
56
-
57
48
  end
58
49
 
59
50
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -79,8 +70,7 @@ module CloudsmithApi
79
70
  def ==(o)
80
71
  return true if self.equal?(o)
81
72
  self.class == o.class &&
82
- destination == o.destination &&
83
- republish == o.republish
73
+ destination == o.destination
84
74
  end
85
75
 
86
76
  # @see the `==` method
@@ -92,7 +82,7 @@ module CloudsmithApi
92
82
  # Calculates hash code according to all attributes.
93
83
  # @return [Fixnum] Hash code
94
84
  def hash
95
- [destination, republish].hash
85
+ [destination].hash
96
86
  end
97
87
 
98
88
  # Builds the object from hash
@@ -0,0 +1,211 @@
1
+ =begin
2
+ #Cloudsmith API
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.2.3
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module CloudsmithApi
16
+
17
+ class PackagesTag
18
+ # None
19
+ attr_accessor :action
20
+
21
+ # If true, created tags will be immutable. An immutable flag is a tag that cannot be removed from a package.
22
+ attr_accessor :is_immutable
23
+
24
+ # A list of tags to apply the action to. Not required for clears.
25
+ attr_accessor :tags
26
+
27
+
28
+ # Attribute mapping from ruby-style variable name to JSON key.
29
+ def self.attribute_map
30
+ {
31
+ :'action' => :'action',
32
+ :'is_immutable' => :'is_immutable',
33
+ :'tags' => :'tags'
34
+ }
35
+ end
36
+
37
+ # Attribute type mapping.
38
+ def self.swagger_types
39
+ {
40
+ :'action' => :'String',
41
+ :'is_immutable' => :'BOOLEAN',
42
+ :'tags' => :'Array<String>'
43
+ }
44
+ end
45
+
46
+ # Initializes the object
47
+ # @param [Hash] attributes Model attributes in the form of hash
48
+ def initialize(attributes = {})
49
+ return unless attributes.is_a?(Hash)
50
+
51
+ # convert string to symbol for hash key
52
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
53
+
54
+ if attributes.has_key?(:'action')
55
+ self.action = attributes[:'action']
56
+ end
57
+
58
+ if attributes.has_key?(:'is_immutable')
59
+ self.is_immutable = attributes[:'is_immutable']
60
+ end
61
+
62
+ if attributes.has_key?(:'tags')
63
+ if (value = attributes[:'tags']).is_a?(Array)
64
+ self.tags = value
65
+ end
66
+ end
67
+
68
+ end
69
+
70
+ # Show invalid properties with the reasons. Usually used together with valid?
71
+ # @return Array for valid properies with the reasons
72
+ def list_invalid_properties
73
+ invalid_properties = Array.new
74
+ return invalid_properties
75
+ end
76
+
77
+ # Check to see if the all the properties in the model are valid
78
+ # @return true if the model is valid
79
+ def valid?
80
+ return true
81
+ end
82
+
83
+ # Checks equality by comparing each attribute.
84
+ # @param [Object] Object to be compared
85
+ def ==(o)
86
+ return true if self.equal?(o)
87
+ self.class == o.class &&
88
+ action == o.action &&
89
+ is_immutable == o.is_immutable &&
90
+ tags == o.tags
91
+ end
92
+
93
+ # @see the `==` method
94
+ # @param [Object] Object to be compared
95
+ def eql?(o)
96
+ self == o
97
+ end
98
+
99
+ # Calculates hash code according to all attributes.
100
+ # @return [Fixnum] Hash code
101
+ def hash
102
+ [action, is_immutable, tags].hash
103
+ end
104
+
105
+ # Builds the object from hash
106
+ # @param [Hash] attributes Model attributes in the form of hash
107
+ # @return [Object] Returns the model itself
108
+ def build_from_hash(attributes)
109
+ return nil unless attributes.is_a?(Hash)
110
+ self.class.swagger_types.each_pair do |key, type|
111
+ if type =~ /\AArray<(.*)>/i
112
+ # check to ensure the input is an array given that the the attribute
113
+ # is documented as an array but the input is not
114
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
115
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
116
+ end
117
+ elsif !attributes[self.class.attribute_map[key]].nil?
118
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
119
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
120
+ end
121
+
122
+ self
123
+ end
124
+
125
+ # Deserializes the data based on type
126
+ # @param string type Data type
127
+ # @param string value Value to be deserialized
128
+ # @return [Object] Deserialized data
129
+ def _deserialize(type, value)
130
+ case type.to_sym
131
+ when :DateTime
132
+ DateTime.parse(value)
133
+ when :Date
134
+ Date.parse(value)
135
+ when :String
136
+ value.to_s
137
+ when :Integer
138
+ value.to_i
139
+ when :Float
140
+ value.to_f
141
+ when :BOOLEAN
142
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
143
+ true
144
+ else
145
+ false
146
+ end
147
+ when :Object
148
+ # generic object (usually a Hash), return directly
149
+ value
150
+ when /\AArray<(?<inner_type>.+)>\z/
151
+ inner_type = Regexp.last_match[:inner_type]
152
+ value.map { |v| _deserialize(inner_type, v) }
153
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
154
+ k_type = Regexp.last_match[:k_type]
155
+ v_type = Regexp.last_match[:v_type]
156
+ {}.tap do |hash|
157
+ value.each do |k, v|
158
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
159
+ end
160
+ end
161
+ else # model
162
+ temp_model = CloudsmithApi.const_get(type).new
163
+ temp_model.build_from_hash(value)
164
+ end
165
+ end
166
+
167
+ # Returns the string representation of the object
168
+ # @return [String] String presentation of the object
169
+ def to_s
170
+ to_hash.to_s
171
+ end
172
+
173
+ # to_body is an alias to to_hash (backward compatibility)
174
+ # @return [Hash] Returns the object in the form of hash
175
+ def to_body
176
+ to_hash
177
+ end
178
+
179
+ # Returns the object in the form of hash
180
+ # @return [Hash] Returns the object in the form of hash
181
+ def to_hash
182
+ hash = {}
183
+ self.class.attribute_map.each_pair do |attr, param|
184
+ value = self.send(attr)
185
+ next if value.nil?
186
+ hash[param] = _to_hash(value)
187
+ end
188
+ hash
189
+ end
190
+
191
+ # Outputs non-array value in the form of hash
192
+ # For object, use to_hash. Otherwise, just return the value
193
+ # @param [Object] value Any valid value
194
+ # @return [Hash] Returns the value in the form of hash
195
+ def _to_hash(value)
196
+ if value.is_a?(Array)
197
+ value.compact.map{ |v| _to_hash(v) }
198
+ elsif value.is_a?(Hash)
199
+ {}.tap do |hash|
200
+ value.each { |k, v| hash[k] = _to_hash(v) }
201
+ end
202
+ elsif value.respond_to? :to_hash
203
+ value.to_hash
204
+ else
205
+ value
206
+ end
207
+ end
208
+
209
+ end
210
+
211
+ end