cloudsmith-api 1.120.3 → 1.142.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (258) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +7 -7
  3. data/README.md +21 -11
  4. data/build.json +1 -1
  5. data/docs/AlpinePackageUpload.md +2 -0
  6. data/docs/ConanPackageUpload.md +2 -0
  7. data/docs/MavenPackageUpload.md +2 -0
  8. data/docs/OrganizationTeamMembers.md +8 -0
  9. data/docs/OrganizationTeamMembersMembers.md +9 -0
  10. data/docs/OrgsApi.md +263 -26
  11. data/docs/OrgsTeamsMembersCreate.md +8 -0
  12. data/docs/OrgsTeamsMembersUpdate.md +8 -0
  13. data/docs/Package.md +2 -0
  14. data/docs/PackageCopy.md +2 -0
  15. data/docs/PackageMove.md +2 -0
  16. data/docs/RawPackageUpload.md +2 -0
  17. data/docs/ReposApi.md +28 -72
  18. data/docs/ReposCreate.md +3 -1
  19. data/docs/ReposPartialUpdate.md +3 -1
  20. data/docs/ReposPrivilegesPartialUpdate.md +8 -0
  21. data/docs/ReposPrivilegesUpdate.md +8 -0
  22. data/docs/Repository.md +3 -1
  23. data/docs/RepositoryCreate.md +3 -1
  24. data/docs/RepositoryPrivilegeInput.md +8 -0
  25. data/docs/RepositoryPrivilegeInputPrivileges.md +10 -0
  26. data/docs/VagrantPackageUpload.md +2 -0
  27. data/lib/cloudsmith-api/api/orgs_api.rb +270 -41
  28. data/lib/cloudsmith-api/api/repos_api.rb +28 -70
  29. data/lib/cloudsmith-api/models/alpine_package_upload.rb +21 -1
  30. data/lib/cloudsmith-api/models/conan_package_upload.rb +21 -1
  31. data/lib/cloudsmith-api/models/maven_package_upload.rb +21 -1
  32. data/lib/cloudsmith-api/models/organization_team_members.rb +192 -0
  33. data/lib/cloudsmith-api/models/organization_team_members_members.rb +195 -0
  34. data/lib/cloudsmith-api/models/orgs_teams_members_create.rb +192 -0
  35. data/lib/cloudsmith-api/models/orgs_teams_members_update.rb +192 -0
  36. data/lib/cloudsmith-api/models/package.rb +21 -1
  37. data/lib/cloudsmith-api/models/package_copy.rb +21 -1
  38. data/lib/cloudsmith-api/models/package_move.rb +21 -1
  39. data/lib/cloudsmith-api/models/raw_package_upload.rb +21 -1
  40. data/lib/cloudsmith-api/models/repos_create.rb +36 -2
  41. data/lib/cloudsmith-api/models/repos_partial_update.rb +36 -2
  42. data/lib/cloudsmith-api/models/{repository_privilege_list.rb → repos_privileges_partial_update.rb} +5 -3
  43. data/lib/cloudsmith-api/models/repos_privileges_update.rb +192 -0
  44. data/lib/cloudsmith-api/models/repository.rb +36 -2
  45. data/lib/cloudsmith-api/models/repository_create.rb +36 -2
  46. data/lib/cloudsmith-api/models/repository_privilege_input.rb +192 -0
  47. data/lib/cloudsmith-api/models/repository_privilege_input_privileges.rb +205 -0
  48. data/lib/cloudsmith-api/models/vagrant_package_upload.rb +21 -1
  49. data/lib/cloudsmith-api/version.rb +1 -1
  50. data/lib/cloudsmith-api.rb +8 -1
  51. data/spec/api/orgs_api_spec.rb +62 -8
  52. data/spec/api/repos_api_spec.rb +8 -17
  53. data/spec/models/alpine_package_upload_spec.rb +12 -0
  54. data/spec/models/conan_package_upload_spec.rb +12 -0
  55. data/spec/models/maven_package_upload_spec.rb +12 -0
  56. data/spec/models/organization_team_members_members_spec.rb +47 -0
  57. data/spec/models/organization_team_members_spec.rb +41 -0
  58. data/spec/models/orgs_teams_members_create_spec.rb +41 -0
  59. data/spec/models/orgs_teams_members_update_spec.rb +41 -0
  60. data/spec/models/package_copy_spec.rb +12 -0
  61. data/spec/models/package_move_spec.rb +12 -0
  62. data/spec/models/package_spec.rb +12 -0
  63. data/spec/models/raw_package_upload_spec.rb +12 -0
  64. data/spec/models/repos_create_spec.rb +16 -0
  65. data/spec/models/repos_partial_update_spec.rb +16 -0
  66. data/spec/models/repos_privileges_partial_update_spec.rb +41 -0
  67. data/spec/models/repos_privileges_update_spec.rb +41 -0
  68. data/spec/models/repository_create_spec.rb +16 -0
  69. data/spec/models/repository_privilege_input_privileges_spec.rb +53 -0
  70. data/spec/models/{repository_privilege_list_spec.rb → repository_privilege_input_spec.rb} +6 -6
  71. data/spec/models/repository_spec.rb +16 -0
  72. data/spec/models/vagrant_package_upload_spec.rb +12 -0
  73. data/vendor/bundle/ruby/2.6.0/cache/addressable-2.8.1.gem +0 -0
  74. data/vendor/bundle/ruby/2.6.0/cache/public_suffix-5.0.0.gem +0 -0
  75. data/vendor/bundle/ruby/2.6.0/cache/rspec-expectations-3.11.1.gem +0 -0
  76. data/vendor/bundle/ruby/2.6.0/cache/rspec-support-3.11.1.gem +0 -0
  77. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/autotest-fsevent-0.2.19/gem_make.out +1 -1
  78. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.15.5/gem_make.out +2 -2
  79. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.6.2/gem_make.out +1 -1
  80. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.6.2/mkmf.log +1 -1
  81. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/CHANGELOG.md +16 -0
  82. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/Gemfile +4 -2
  83. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/LICENSE.txt +0 -0
  84. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/README.md +0 -0
  85. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/Rakefile +0 -0
  86. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/data/unicode.data +0 -0
  87. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/lib/addressable/idna/native.rb +0 -1
  88. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/lib/addressable/idna/pure.rb +0 -1
  89. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/lib/addressable/idna.rb +0 -1
  90. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/lib/addressable/template.rb +3 -4
  91. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/lib/addressable/uri.rb +57 -53
  92. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/lib/addressable/version.rb +1 -2
  93. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/lib/addressable.rb +0 -0
  94. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/spec/addressable/idna_spec.rb +0 -1
  95. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/spec/addressable/net_http_compat_spec.rb +0 -1
  96. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/spec/addressable/security_spec.rb +0 -1
  97. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/spec/addressable/template_spec.rb +9 -1
  98. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/spec/addressable/uri_spec.rb +81 -1
  99. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/spec/spec_helper.rb +0 -0
  100. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/tasks/clobber.rake +0 -0
  101. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/tasks/gem.rake +5 -2
  102. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/tasks/git.rake +0 -0
  103. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/tasks/metrics.rake +0 -0
  104. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/tasks/profile.rake +0 -0
  105. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/tasks/rspec.rake +0 -0
  106. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/tasks/yard.rake +0 -0
  107. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Makefile +2 -2
  108. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/ext/json/Makefile +2 -2
  109. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/ext/json/ext/generator/Makefile +2 -2
  110. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/ext/json/ext/parser/Makefile +2 -2
  111. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/.github/FUNDING.yml +0 -0
  112. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/.github/dependabot.yml +0 -0
  113. data/vendor/bundle/ruby/2.6.0/gems/public_suffix-5.0.0/.github/workflows/psl-update.yml +38 -0
  114. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/.github/workflows/release.yml +4 -2
  115. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/.github/workflows/tests.yml +8 -7
  116. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/.gitignore +0 -0
  117. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/.rubocop.yml +1 -0
  118. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/.rubocop_opinionated.yml +0 -28
  119. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/.yardopts +0 -0
  120. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/2.0-Upgrade.md +0 -0
  121. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/CHANGELOG.md +9 -0
  122. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/Gemfile +1 -1
  123. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/LICENSE.txt +0 -0
  124. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/README.md +1 -1
  125. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/Rakefile +3 -3
  126. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/SECURITY.md +0 -0
  127. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/bin/console +0 -0
  128. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/data/list.txt +52 -21
  129. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/lib/public_suffix/domain.rb +0 -0
  130. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/lib/public_suffix/errors.rb +0 -0
  131. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/lib/public_suffix/list.rb +1 -1
  132. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/lib/public_suffix/rule.rb +5 -5
  133. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/lib/public_suffix/version.rb +1 -1
  134. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/lib/public_suffix.rb +1 -1
  135. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/public_suffix.gemspec +1 -1
  136. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/.empty +0 -0
  137. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/acceptance_test.rb +4 -4
  138. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/benchmarks/bm_find.rb +0 -0
  139. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/benchmarks/bm_find_all.rb +0 -0
  140. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/benchmarks/bm_names.rb +0 -0
  141. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/benchmarks/bm_select.rb +0 -0
  142. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/benchmarks/bm_select_incremental.rb +0 -0
  143. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/benchmarks/bm_valid.rb +0 -0
  144. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/profilers/domain_profiler.rb +0 -0
  145. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/profilers/find_profiler.rb +0 -0
  146. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/profilers/find_profiler_jp.rb +0 -0
  147. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/profilers/initialization_profiler.rb +0 -0
  148. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/profilers/list_profsize.rb +0 -0
  149. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/profilers/object_binsize.rb +0 -0
  150. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/psl_test.rb +1 -1
  151. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/test_helper.rb +0 -0
  152. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/tests.txt +0 -0
  153. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/unit/domain_test.rb +3 -3
  154. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/unit/errors_test.rb +0 -0
  155. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/unit/list_test.rb +1 -1
  156. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/unit/public_suffix_test.rb +0 -0
  157. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/unit/rule_test.rb +15 -15
  158. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/.document +0 -0
  159. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/.yardopts +0 -0
  160. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/Changelog.md +11 -1
  161. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/LICENSE.md +0 -0
  162. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/README.md +0 -0
  163. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/expectations/block_snippet_extractor.rb +0 -0
  164. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/expectations/configuration.rb +0 -0
  165. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/expectations/expectation_target.rb +0 -0
  166. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/expectations/fail_with.rb +0 -0
  167. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/expectations/failure_aggregator.rb +0 -0
  168. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/expectations/handler.rb +0 -0
  169. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/expectations/minitest_integration.rb +0 -0
  170. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/expectations/syntax.rb +0 -0
  171. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/expectations/version.rb +1 -1
  172. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/expectations.rb +0 -0
  173. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/aliased_matcher.rb +0 -0
  174. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/all.rb +0 -0
  175. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/base_matcher.rb +0 -0
  176. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/be.rb +0 -0
  177. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/be_between.rb +0 -0
  178. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/be_instance_of.rb +0 -0
  179. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/be_kind_of.rb +0 -0
  180. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/be_within.rb +0 -0
  181. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/change.rb +0 -0
  182. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/compound.rb +0 -0
  183. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/contain_exactly.rb +10 -2
  184. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/count_expectation.rb +1 -1
  185. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/cover.rb +0 -0
  186. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/eq.rb +0 -0
  187. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/eql.rb +0 -0
  188. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/equal.rb +0 -0
  189. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/exist.rb +1 -1
  190. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/has.rb +0 -0
  191. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/have_attributes.rb +0 -0
  192. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/include.rb +0 -0
  193. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/match.rb +0 -0
  194. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/operators.rb +0 -0
  195. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/output.rb +0 -0
  196. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/raise_error.rb +6 -6
  197. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/respond_to.rb +0 -0
  198. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/satisfy.rb +0 -0
  199. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/start_or_end_with.rb +0 -0
  200. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/throw_symbol.rb +4 -4
  201. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/yield.rb +0 -0
  202. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in.rb +0 -0
  203. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/composable.rb +0 -0
  204. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/dsl.rb +2 -2
  205. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/english_phrasing.rb +0 -0
  206. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/expecteds_for_multiple_diffs.rb +0 -0
  207. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/fail_matchers.rb +0 -0
  208. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/generated_descriptions.rb +0 -0
  209. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/matcher_delegator.rb +0 -0
  210. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/matcher_protocol.rb +0 -0
  211. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers.rb +3 -3
  212. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/Changelog.md +8 -1
  213. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/LICENSE.md +0 -0
  214. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/README.md +0 -0
  215. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/caller_filter.rb +2 -2
  216. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/comparable_version.rb +1 -1
  217. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/differ.rb +4 -4
  218. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/directory_maker.rb +0 -0
  219. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/encoded_string.rb +3 -3
  220. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/fuzzy_matcher.rb +0 -0
  221. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/hunk_generator.rb +0 -0
  222. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/matcher_definition.rb +0 -0
  223. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/method_signature_verifier.rb +2 -2
  224. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/mutex.rb +1 -1
  225. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/object_formatter.rb +0 -0
  226. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/recursive_const_methods.rb +0 -0
  227. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/reentrant_mutex.rb +0 -0
  228. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/ruby_features.rb +3 -0
  229. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/source/location.rb +0 -0
  230. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/source/node.rb +0 -0
  231. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/source/token.rb +0 -0
  232. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/source.rb +0 -0
  233. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/spec/deprecation_helpers.rb +0 -0
  234. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/spec/diff_helpers.rb +0 -0
  235. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/spec/formatting_support.rb +0 -0
  236. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/spec/in_sub_process.rb +1 -1
  237. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/spec/library_wide_checks.rb +0 -0
  238. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/spec/shell_out.rb +0 -0
  239. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/spec/stderr_splitter.rb +1 -1
  240. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/spec/string_matcher.rb +0 -0
  241. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/spec/with_isolated_directory.rb +0 -0
  242. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/spec/with_isolated_stderr.rb +0 -0
  243. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/spec.rb +0 -0
  244. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/version.rb +1 -1
  245. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/warnings.rb +0 -0
  246. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/with_keywords_when_needed.rb +1 -1
  247. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support.rb +0 -0
  248. data/vendor/bundle/ruby/2.6.0/specifications/{addressable-2.8.0.gemspec → addressable-2.8.1.gemspec} +7 -6
  249. data/vendor/bundle/ruby/2.6.0/specifications/{public_suffix-4.0.7.gemspec → public_suffix-5.0.0.gemspec} +5 -5
  250. data/vendor/bundle/ruby/2.6.0/specifications/{rspec-expectations-3.11.0.gemspec → rspec-expectations-3.11.1.gemspec} +5 -5
  251. data/vendor/bundle/ruby/2.6.0/specifications/{rspec-support-3.11.0.gemspec → rspec-support-3.11.1.gemspec} +5 -5
  252. metadata +205 -177
  253. data/docs/RepositoryPrivilegeList.md +0 -8
  254. data/vendor/bundle/ruby/2.6.0/cache/addressable-2.8.0.gem +0 -0
  255. data/vendor/bundle/ruby/2.6.0/cache/public_suffix-4.0.7.gem +0 -0
  256. data/vendor/bundle/ruby/2.6.0/cache/rspec-expectations-3.11.0.gem +0 -0
  257. data/vendor/bundle/ruby/2.6.0/cache/rspec-support-3.11.0.gem +0 -0
  258. data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.0/addressable.gemspec +0 -37
@@ -1,6 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # coding: utf-8
4
3
  # Copyright (C) Bob Aman
5
4
  #
6
5
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -999,6 +998,72 @@ describe Addressable::URI, "when frozen" do
999
998
  end
1000
999
  end
1001
1000
 
1001
+ describe Addressable::URI, "when normalized and then deeply frozen" do
1002
+ before do
1003
+ @uri = Addressable::URI.parse(
1004
+ "http://user:password@example.com:8080/path?query=value#fragment"
1005
+ ).normalize!
1006
+
1007
+ @uri.instance_variables.each do |var|
1008
+ @uri.instance_variable_set(var, @uri.instance_variable_get(var).freeze)
1009
+ end
1010
+
1011
+ @uri.freeze
1012
+ end
1013
+
1014
+ it "#normalized_scheme should not error" do
1015
+ expect { @uri.normalized_scheme }.not_to raise_error
1016
+ end
1017
+
1018
+ it "#normalized_user should not error" do
1019
+ expect { @uri.normalized_user }.not_to raise_error
1020
+ end
1021
+
1022
+ it "#normalized_password should not error" do
1023
+ expect { @uri.normalized_password }.not_to raise_error
1024
+ end
1025
+
1026
+ it "#normalized_userinfo should not error" do
1027
+ expect { @uri.normalized_userinfo }.not_to raise_error
1028
+ end
1029
+
1030
+ it "#normalized_host should not error" do
1031
+ expect { @uri.normalized_host }.not_to raise_error
1032
+ end
1033
+
1034
+ it "#normalized_authority should not error" do
1035
+ expect { @uri.normalized_authority }.not_to raise_error
1036
+ end
1037
+
1038
+ it "#normalized_port should not error" do
1039
+ expect { @uri.normalized_port }.not_to raise_error
1040
+ end
1041
+
1042
+ it "#normalized_site should not error" do
1043
+ expect { @uri.normalized_site }.not_to raise_error
1044
+ end
1045
+
1046
+ it "#normalized_path should not error" do
1047
+ expect { @uri.normalized_path }.not_to raise_error
1048
+ end
1049
+
1050
+ it "#normalized_query should not error" do
1051
+ expect { @uri.normalized_query }.not_to raise_error
1052
+ end
1053
+
1054
+ it "#normalized_fragment should not error" do
1055
+ expect { @uri.normalized_fragment }.not_to raise_error
1056
+ end
1057
+
1058
+ it "should be frozen" do
1059
+ expect(@uri).to be_frozen
1060
+ end
1061
+
1062
+ it "should not allow destructive operations" do
1063
+ expect { @uri.normalize! }.to raise_error(RuntimeError)
1064
+ end
1065
+ end
1066
+
1002
1067
  describe Addressable::URI, "when created from string components" do
1003
1068
  before do
1004
1069
  @uri = Addressable::URI.new(
@@ -5993,6 +6058,11 @@ describe Addressable::URI, "when unencoding a multibyte string" do
5993
6058
  expect(Addressable::URI.unencode_component("ski=%BA%DAɫ")).to eq("ski=\xBA\xDAɫ")
5994
6059
  end
5995
6060
 
6061
+ it "should not fail with UTF-8 incompatible string" do
6062
+ url = "/M%E9/\xE9?p=\xFC".b
6063
+ expect(Addressable::URI.unencode_component(url)).to eq("/M\xE9/\xE9?p=\xFC")
6064
+ end
6065
+
5996
6066
  it "should result in correct percent encoded sequence as a URI" do
5997
6067
  expect(Addressable::URI.unencode(
5998
6068
  "/path?g%C3%BCnther", ::Addressable::URI
@@ -6663,3 +6733,13 @@ describe Addressable::URI, "when initializing a subclass of Addressable::URI" do
6663
6733
  expect(@uri.class).to eq(@uri.join('path').class)
6664
6734
  end
6665
6735
  end
6736
+
6737
+ describe Addressable::URI, "when initialized in a non-main `Ractor`" do
6738
+ it "should have the same value as if used in the main `Ractor`" do
6739
+ pending("Ruby 3.0+ for `Ractor` support") unless defined?(Ractor)
6740
+ main = Addressable::URI.parse("http://example.com")
6741
+ expect(
6742
+ Ractor.new { Addressable::URI.parse("http://example.com") }.take
6743
+ ).to eq(main)
6744
+ end
6745
+ end
@@ -19,9 +19,9 @@ namespace :gem do
19
19
  exit(1)
20
20
  end
21
21
 
22
- s.required_ruby_version = ">= 2.0"
22
+ s.required_ruby_version = ">= 2.2"
23
23
 
24
- s.add_runtime_dependency "public_suffix", ">= 2.0.2", "< 5.0"
24
+ s.add_runtime_dependency "public_suffix", ">= 2.0.2", "< 6.0"
25
25
  s.add_development_dependency "bundler", ">= 1.0", "< 3.0"
26
26
 
27
27
  s.require_path = "lib"
@@ -30,6 +30,9 @@ namespace :gem do
30
30
  s.email = "bob@sporkmonger.com"
31
31
  s.homepage = "https://github.com/sporkmonger/addressable"
32
32
  s.license = "Apache-2.0"
33
+ s.metadata = {
34
+ "changelog_uri" => "https://github.com/sporkmonger/addressable/blob/main/CHANGELOG.md"
35
+ }
33
36
  end
34
37
 
35
38
  Gem::PackageTask.new(GEM_SPEC) do |p|
@@ -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.20220812-841-7c18ju
35
- sitelibdir = $(DESTDIR)./.gem.20220812-841-7c18ju
34
+ sitearchdir = $(DESTDIR)./.gem.20220929-840-791yqk
35
+ sitelibdir = $(DESTDIR)./.gem.20220929-840-791yqk
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.20220812-841-1css1sx
35
- sitelibdir = $(DESTDIR)./.gem.20220812-841-1css1sx
34
+ sitearchdir = $(DESTDIR)./.gem.20220929-840-b5d72w
35
+ sitelibdir = $(DESTDIR)./.gem.20220929-840-b5d72w
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.20220812-841-1omf8vo
35
- sitelibdir = $(DESTDIR)./.gem.20220812-841-1omf8vo
34
+ sitearchdir = $(DESTDIR)./.gem.20220929-840-8rxks6
35
+ sitelibdir = $(DESTDIR)./.gem.20220929-840-8rxks6
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.20220812-841-bqxxoh
35
- sitelibdir = $(DESTDIR)./.gem.20220812-841-bqxxoh
34
+ sitearchdir = $(DESTDIR)./.gem.20220929-840-1rtw62x
35
+ sitelibdir = $(DESTDIR)./.gem.20220929-840-1rtw62x
36
36
  sitedir = $(rubylibprefix)/site_ruby
37
37
  rubyarchdir = $(rubylibdir)/$(arch)
38
38
  rubylibdir = $(rubylibprefix)/$(ruby_version)
@@ -0,0 +1,38 @@
1
+ name: PSL Update
2
+
3
+ on:
4
+ workflow_dispatch:
5
+ schedule:
6
+ - cron: '40 6 * * *'
7
+
8
+ jobs:
9
+ update:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+
13
+ - name: Checkout
14
+ uses: actions/checkout@v3
15
+
16
+ - name: Set up Ruby
17
+ uses: ruby/setup-ruby@v1
18
+ with:
19
+ ruby-version: "3.1"
20
+ bundler-cache: true
21
+
22
+ - name: Update PSL
23
+ run: bundle exec rake update-list
24
+
25
+ - name: Create Pull Request
26
+ uses: peter-evans/create-pull-request@v4
27
+ with:
28
+ title: PSL auto-update
29
+ commit-message: Updated list from source
30
+ reviewers: weppos
31
+ add-paths: |
32
+ data/list.txt
33
+
34
+ - name: Check Pull Request
35
+ if: ${{ steps.cpr.outputs.pull-request-number }}
36
+ run: |
37
+ echo "Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}"
38
+ echo "Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}"
@@ -1,14 +1,16 @@
1
- name: release
1
+ name: Release
2
2
 
3
3
  on:
4
4
  push:
5
5
  tags:
6
6
  - v*.*.*
7
+
7
8
  jobs:
8
9
  release:
9
10
  runs-on: ubuntu-latest
10
11
  steps:
11
- - uses: actions/checkout@v2
12
+ - name: Checkout
13
+ uses: actions/checkout@v3
12
14
  - name: Release Gem
13
15
  uses: cadwallion/publish-rubygems-action@8f9e0538302643309e4e43bf48cd34173ca48cfc
14
16
  env:
@@ -6,7 +6,7 @@ on:
6
6
  workflow_dispatch:
7
7
 
8
8
  jobs:
9
- build:
9
+ test:
10
10
  strategy:
11
11
  matrix:
12
12
  ruby-version:
@@ -14,15 +14,16 @@ jobs:
14
14
  - "2.7"
15
15
  - "3.0"
16
16
  - "3.1"
17
- platform: [ubuntu-latest]
18
- runs-on: ${{ matrix.platform }}
17
+ runs-on: ubuntu-latest
19
18
  steps:
20
- - uses: actions/checkout@v2
19
+ - name: Checkout
20
+ uses: actions/checkout@v3
21
21
  - name: Set up Ruby
22
22
  uses: ruby/setup-ruby@v1
23
23
  with:
24
24
  ruby-version: ${{ matrix.ruby-version }}
25
- - name: Install dependencies
26
- run: bundle install
25
+ bundler-cache: true
26
+ - name: Rubocop
27
+ run: bundle exec rake rubocop
27
28
  - name: Run tests
28
- run: bundle exec rake
29
+ run: bundle exec rake test
@@ -13,6 +13,7 @@ AllCops:
13
13
  # Other
14
14
  - 'test/benchmarks/**/*'
15
15
  - 'test/profilers/**/*'
16
+ TargetRubyVersion: 2.6
16
17
 
17
18
  # I often use @_variable to avoid clashing.
18
19
  Naming/MemoizedInstanceVariableName:
@@ -15,12 +15,6 @@ Layout/LineLength:
15
15
  - 'test/**/*_test.rb'
16
16
  Max: 100
17
17
 
18
- Lint/ConstantDefinitionInBlock:
19
- Exclude:
20
- - 'Rakefile'
21
- - 'spec/**/*'
22
- - 'test/**/*'
23
-
24
18
  # [codesmell]
25
19
  Metrics/AbcSize:
26
20
  Enabled: false
@@ -101,12 +95,6 @@ Layout/EmptyLinesAroundModuleBody:
101
95
  Layout/EmptyLineBetweenDefs:
102
96
  Enabled: false
103
97
 
104
- # I personally don't care about the format style.
105
- # In most cases I like to use %, but not at the point I want to enforce it
106
- # as a convention in the entire code.
107
- Style/FormatString:
108
- Enabled: false
109
-
110
98
  # Annotated tokens (like %<foo>s) are a good thing, but in most cases we don't need them.
111
99
  # %s is a simpler and straightforward version that works in almost all cases. So don't complain.
112
100
  Style/FormatStringToken:
@@ -116,11 +104,6 @@ Style/FormatStringToken:
116
104
  Style/NegatedIf:
117
105
  Enabled: false
118
106
 
119
- # For years, %w() has been the de-facto standard. A lot of libraries are using ().
120
- # Switching to [] would be a nightmare.
121
- Style/PercentLiteralDelimiters:
122
- Enabled: false
123
-
124
107
  # There are cases were the inline rescue is ok. We can either downgrade the severity,
125
108
  # or rely on the developer judgement on a case-by-case basis.
126
109
  Style/RescueModifier:
@@ -129,17 +112,6 @@ Style/RescueModifier:
129
112
  Style/SymbolArray:
130
113
  EnforcedStyle: brackets
131
114
 
132
- # Sorry, but using trailing spaces helps readability.
133
- #
134
- # %w( foo bar )
135
- #
136
- # looks better to me than
137
- #
138
- # %w( foo bar )
139
- #
140
- Layout/SpaceInsidePercentLiteralDelimiters:
141
- Enabled: false
142
-
143
115
  # Hate It or Love It, I prefer double quotes as this is more consistent
144
116
  # with several other programming languages and the output of puts and inspect.
145
117
  Style/StringLiterals:
@@ -3,6 +3,15 @@
3
3
  This project uses [Semantic Versioning 2.0.0](https://semver.org/).
4
4
 
5
5
 
6
+ ## 5.0.0
7
+
8
+ ### Changed
9
+
10
+ - Minimum Ruby version is 2.6
11
+
12
+ - Updated definitions.
13
+
14
+
6
15
  ## 4.0.7
7
16
 
8
17
  ### Fixes
@@ -10,5 +10,5 @@ gem "memory_profiler", require: false
10
10
  gem "minitest"
11
11
  gem "minitest-reporters"
12
12
  gem "mocha"
13
- gem "rubocop", "~>0.90", require: false
13
+ gem "rubocop", require: false
14
14
  gem "yard"
@@ -16,7 +16,7 @@
16
16
 
17
17
  ## Requirements
18
18
 
19
- <tt>PublicSuffix</tt> requires **Ruby >= 2.3**. For an older versions of Ruby use a previous release.
19
+ <tt>PublicSuffix</tt> requires **Ruby >= 2.6**. For an older versions of Ruby use a previous release.
20
20
 
21
21
 
22
22
  ## Installation
@@ -9,7 +9,7 @@ task default: [:test, :rubocop]
9
9
  require "rake/testtask"
10
10
 
11
11
  Rake::TestTask.new do |t|
12
- t.libs = %w( lib test )
12
+ t.libs = %w[lib test]
13
13
  t.pattern = "test/**/*_test.rb"
14
14
  t.verbose = !ENV["VERBOSE"].nil?
15
15
  t.warning = !ENV["WARNING"].nil?
@@ -42,10 +42,10 @@ desc "Downloads the Public Suffix List file from the repository and stores it lo
42
42
  task :"update-list" do
43
43
  require "net/http"
44
44
 
45
- DEFINITION_URL = "https://raw.githubusercontent.com/publicsuffix/list/master/public_suffix_list.dat"
45
+ definition_url = "https://raw.githubusercontent.com/publicsuffix/list/master/public_suffix_list.dat"
46
46
 
47
47
  File.open("data/list.txt", "w+") do |f|
48
- response = Net::HTTP.get_response(URI.parse(DEFINITION_URL))
48
+ response = Net::HTTP.get_response(URI.parse(definition_url))
49
49
  response.body
50
50
  f.write(response.body)
51
51
  end