cloudsmith-api 2.0.1 → 2.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (398) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +7 -7
  3. data/README.md +54 -11
  4. data/build.json +1 -1
  5. data/docs/AllocatedLimitRaw.md +11 -0
  6. data/docs/History.md +1 -1
  7. data/docs/HistoryFieldset.md +1 -1
  8. data/docs/HistoryFieldsetRaw.md +10 -0
  9. data/docs/NestedLicensePolicy.md +16 -0
  10. data/docs/NestedVulnerabilityPolicy.md +16 -0
  11. data/docs/NestedVulnerabilityScanResults.md +14 -0
  12. data/docs/OrganizationGroupSync.md +1 -1
  13. data/docs/OrganizationGroupSyncRequest.md +1 -1
  14. data/docs/OrganizationPackageLicensePolicy.md +15 -0
  15. data/docs/OrganizationPackageLicensePolicyRequest.md +12 -0
  16. data/docs/OrganizationPackageLicensePolicyRequestPatch.md +12 -0
  17. data/docs/OrganizationPackageVulnerabilityPolicy.md +15 -0
  18. data/docs/OrganizationPackageVulnerabilityPolicyRequest.md +12 -0
  19. data/docs/OrganizationPackageVulnerabilityPolicyRequestPatch.md +12 -0
  20. data/docs/OrgsApi.md +1087 -247
  21. data/docs/PackageDependencies.md +1 -1
  22. data/docs/PackageLicensePolicyViolationLog.md +11 -0
  23. data/docs/PackageLicensePolicyViolationLogCursorPage.md +10 -0
  24. data/docs/PackageTagRequest.md +1 -1
  25. data/docs/PackageVulnerabilityPolicyViolationLog.md +12 -0
  26. data/docs/PackageVulnerabilityPolicyViolationLogCursorPage.md +10 -0
  27. data/docs/PackagesApi.md +4 -4
  28. data/docs/ReposApi.md +196 -10
  29. data/docs/RepositoryGeoIpCidr.md +9 -0
  30. data/docs/RepositoryGeoIpCountryCode.md +9 -0
  31. data/docs/RepositoryGeoIpRules.md +9 -0
  32. data/docs/RepositoryGeoIpRulesRequest.md +9 -0
  33. data/docs/RepositoryGeoIpRulesRequestPatch.md +9 -0
  34. data/docs/RepositoryGeoIpTestAddress.md +8 -0
  35. data/docs/RepositoryGeoIpTestAddressResponse.md +8 -0
  36. data/docs/RepositoryGeoIpTestAddressResponseDict.md +11 -0
  37. data/docs/RepositoryToken.md +1 -1
  38. data/docs/RepositoryTokenRefresh.md +1 -1
  39. data/docs/RepositoryTokenRefreshRequest.md +1 -1
  40. data/docs/RepositoryTokenRequest.md +1 -1
  41. data/docs/RepositoryTokenRequestPatch.md +1 -1
  42. data/docs/{RespositoryGeoIPEnableDisable.md → RespositoryGeoIpEnableDisable.md} +1 -1
  43. data/docs/{RespositoryGeoIPEnableDisableRequest.md → RespositoryGeoIpEnableDisableRequest.md} +1 -1
  44. data/docs/ServiceTeams.md +1 -1
  45. data/docs/StatusBasic.md +1 -1
  46. data/docs/StorageAllocatedLimit.md +12 -0
  47. data/docs/StorageAllocatedLimitRaw.md +12 -0
  48. data/docs/StorageUsage.md +11 -0
  49. data/docs/StorageUsageRaw.md +11 -0
  50. data/docs/UsageFieldset.md +1 -1
  51. data/docs/UsageLimits.md +1 -1
  52. data/docs/UsageLimitsRaw.md +9 -0
  53. data/docs/UsageRaw.md +10 -0
  54. data/lib/cloudsmith-api/api/orgs_api.rb +1289 -451
  55. data/lib/cloudsmith-api/api/packages_api.rb +4 -4
  56. data/lib/cloudsmith-api/api/repos_api.rb +197 -11
  57. data/lib/cloudsmith-api/models/allocated_limit_raw.rb +211 -0
  58. data/lib/cloudsmith-api/models/history.rb +1 -1
  59. data/lib/cloudsmith-api/models/history_fieldset.rb +1 -1
  60. data/lib/cloudsmith-api/models/history_fieldset_raw.rb +217 -0
  61. data/lib/cloudsmith-api/models/nested_license_policy.rb +263 -0
  62. data/lib/cloudsmith-api/models/nested_vulnerability_policy.rb +293 -0
  63. data/lib/cloudsmith-api/models/nested_vulnerability_scan_results.rb +286 -0
  64. data/lib/cloudsmith-api/models/organization_group_sync.rb +34 -1
  65. data/lib/cloudsmith-api/models/organization_group_sync_request.rb +34 -1
  66. data/lib/cloudsmith-api/models/organization_package_license_policy.rb +259 -0
  67. data/lib/cloudsmith-api/models/organization_package_license_policy_request.rb +232 -0
  68. data/lib/cloudsmith-api/models/organization_package_license_policy_request_patch.rb +222 -0
  69. data/lib/cloudsmith-api/models/organization_package_vulnerability_policy.rb +289 -0
  70. data/lib/cloudsmith-api/models/organization_package_vulnerability_policy_request.rb +262 -0
  71. data/lib/cloudsmith-api/models/organization_package_vulnerability_policy_request_patch.rb +257 -0
  72. data/lib/cloudsmith-api/models/package_dependencies.rb +0 -5
  73. data/lib/cloudsmith-api/models/package_license_policy_violation_log.rb +228 -0
  74. data/lib/cloudsmith-api/models/package_license_policy_violation_log_cursor_page.rb +209 -0
  75. data/lib/cloudsmith-api/models/package_tag_request.rb +37 -1
  76. data/lib/cloudsmith-api/models/package_vulnerability_policy_violation_log.rb +242 -0
  77. data/lib/cloudsmith-api/models/package_vulnerability_policy_violation_log_cursor_page.rb +209 -0
  78. data/lib/cloudsmith-api/models/{inline_response_200_country_code.rb → repository_geo_ip_cidr.rb} +13 -1
  79. data/lib/cloudsmith-api/models/repository_geo_ip_country_code.rb +209 -0
  80. data/lib/cloudsmith-api/models/repository_geo_ip_rules.rb +203 -0
  81. data/lib/cloudsmith-api/models/repository_geo_ip_rules_request.rb +203 -0
  82. data/lib/cloudsmith-api/models/{repository_geo_ip_list.rb → repository_geo_ip_rules_request_patch.rb} +3 -5
  83. data/lib/cloudsmith-api/models/{inline_response_200.rb → repository_geo_ip_test_address.rb} +16 -17
  84. data/lib/cloudsmith-api/models/repository_geo_ip_test_address_response.rb +192 -0
  85. data/lib/cloudsmith-api/models/repository_geo_ip_test_address_response_dict.rb +235 -0
  86. data/lib/cloudsmith-api/models/repository_token.rb +1 -1
  87. data/lib/cloudsmith-api/models/repository_token_refresh.rb +1 -1
  88. data/lib/cloudsmith-api/models/repository_token_refresh_request.rb +1 -1
  89. data/lib/cloudsmith-api/models/repository_token_request.rb +1 -1
  90. data/lib/cloudsmith-api/models/repository_token_request_patch.rb +1 -1
  91. data/lib/cloudsmith-api/models/respository_geo_ip_enable_disable.rb +1 -1
  92. data/lib/cloudsmith-api/models/respository_geo_ip_enable_disable_request.rb +1 -1
  93. data/lib/cloudsmith-api/models/service_teams.rb +5 -0
  94. data/lib/cloudsmith-api/models/status_basic.rb +1 -1
  95. data/lib/cloudsmith-api/models/storage_allocated_limit.rb +220 -0
  96. data/lib/cloudsmith-api/models/storage_allocated_limit_raw.rb +220 -0
  97. data/lib/cloudsmith-api/models/storage_usage.rb +211 -0
  98. data/lib/cloudsmith-api/models/storage_usage_raw.rb +211 -0
  99. data/lib/cloudsmith-api/models/usage_fieldset.rb +1 -1
  100. data/lib/cloudsmith-api/models/usage_limits.rb +1 -1
  101. data/lib/cloudsmith-api/models/usage_limits_raw.rb +203 -0
  102. data/lib/cloudsmith-api/models/usage_raw.rb +202 -0
  103. data/lib/cloudsmith-api/version.rb +1 -1
  104. data/lib/cloudsmith-api.rb +29 -3
  105. data/spec/api/orgs_api_spec.rb +190 -0
  106. data/spec/api/packages_api_spec.rb +2 -2
  107. data/spec/api/repos_api_spec.rb +47 -5
  108. data/spec/models/allocated_limit_raw_spec.rb +59 -0
  109. data/spec/models/history_fieldset_raw_spec.rb +53 -0
  110. data/spec/models/nested_license_policy_spec.rb +89 -0
  111. data/spec/models/nested_vulnerability_policy_spec.rb +93 -0
  112. data/spec/models/nested_vulnerability_scan_results_spec.rb +81 -0
  113. data/spec/models/organization_group_sync_request_spec.rb +4 -0
  114. data/spec/models/organization_group_sync_spec.rb +4 -0
  115. data/spec/models/organization_package_license_policy_request_patch_spec.rb +65 -0
  116. data/spec/models/organization_package_license_policy_request_spec.rb +65 -0
  117. data/spec/models/organization_package_license_policy_spec.rb +83 -0
  118. data/spec/models/organization_package_vulnerability_policy_request_patch_spec.rb +69 -0
  119. data/spec/models/organization_package_vulnerability_policy_request_spec.rb +69 -0
  120. data/spec/models/organization_package_vulnerability_policy_spec.rb +87 -0
  121. data/spec/models/package_license_policy_violation_log_cursor_page_spec.rb +53 -0
  122. data/spec/models/package_license_policy_violation_log_spec.rb +59 -0
  123. data/spec/models/package_tag_request_spec.rb +4 -0
  124. data/spec/models/package_vulnerability_policy_violation_log_cursor_page_spec.rb +53 -0
  125. data/spec/models/package_vulnerability_policy_violation_log_spec.rb +65 -0
  126. data/spec/models/{inline_response_200_country_code_spec.rb → repository_geo_ip_cidr_spec.rb} +6 -6
  127. data/spec/models/repository_geo_ip_country_code_spec.rb +47 -0
  128. data/spec/models/repository_geo_ip_rules_request_patch_spec.rb +47 -0
  129. data/spec/models/{inline_response_200_spec.rb → repository_geo_ip_rules_request_spec.rb} +8 -8
  130. data/spec/models/{repository_geo_ip_list_spec.rb → repository_geo_ip_rules_spec.rb} +6 -6
  131. data/spec/models/repository_geo_ip_test_address_response_dict_spec.rb +59 -0
  132. data/spec/models/repository_geo_ip_test_address_response_spec.rb +41 -0
  133. data/spec/models/repository_geo_ip_test_address_spec.rb +41 -0
  134. data/spec/models/respository_geo_ip_enable_disable_request_spec.rb +6 -6
  135. data/spec/models/respository_geo_ip_enable_disable_spec.rb +6 -6
  136. data/spec/models/storage_allocated_limit_raw_spec.rb +65 -0
  137. data/spec/models/storage_allocated_limit_spec.rb +65 -0
  138. data/spec/models/storage_usage_raw_spec.rb +59 -0
  139. data/spec/models/storage_usage_spec.rb +59 -0
  140. data/spec/models/usage_limits_raw_spec.rb +47 -0
  141. data/spec/models/usage_raw_spec.rb +53 -0
  142. data/vendor/bundle/ruby/2.6.0/cache/addressable-2.8.4.gem +0 -0
  143. data/vendor/bundle/ruby/2.6.0/cache/rspec-core-3.12.2.gem +0 -0
  144. data/vendor/bundle/ruby/2.6.0/cache/rspec-expectations-3.12.3.gem +0 -0
  145. data/vendor/bundle/ruby/2.6.0/cache/rspec-mocks-3.12.5.gem +0 -0
  146. data/vendor/bundle/ruby/2.6.0/cache/sys-uname-1.2.3.gem +0 -0
  147. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/autotest-fsevent-0.2.20/gem_make.out +1 -1
  148. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.15.5/gem_make.out +2 -2
  149. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.6.3/gem_make.out +1 -1
  150. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.6.3/mkmf.log +1 -1
  151. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/CHANGELOG.md +22 -2
  152. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/Rakefile +2 -1
  153. data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.4/addressable.gemspec +28 -0
  154. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/lib/addressable/idna/native.rb +8 -2
  155. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/lib/addressable/idna/pure.rb +10 -182
  156. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/lib/addressable/template.rb +9 -10
  157. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/lib/addressable/uri.rb +112 -96
  158. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/lib/addressable/version.rb +1 -1
  159. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/spec/addressable/idna_spec.rb +6 -5
  160. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/spec/addressable/template_spec.rb +60 -264
  161. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/spec/addressable/uri_spec.rb +56 -0
  162. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Makefile +2 -2
  163. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.3/ext/json/Makefile +2 -2
  164. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.3/ext/json/ext/generator/Makefile +2 -2
  165. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.3/ext/json/ext/parser/Makefile +2 -2
  166. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/Changelog.md +16 -1
  167. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/README.md +2 -2
  168. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/configuration.rb +2 -2
  169. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/example_status_persister.rb +2 -2
  170. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/formatters/exception_presenter.rb +2 -2
  171. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/formatters/html_snippet_extractor.rb +2 -2
  172. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/metadata_filter.rb +1 -1
  173. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/project_initializer/spec/spec_helper.rb +1 -1
  174. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/reporter.rb +1 -1
  175. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/version.rb +1 -1
  176. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/Changelog.md +20 -5
  177. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/expectations/failure_aggregator.rb +1 -1
  178. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/expectations/version.rb +1 -1
  179. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/aliased_matcher.rb +3 -3
  180. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/compound.rb +1 -1
  181. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/exist.rb +1 -1
  182. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/include.rb +9 -2
  183. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/composable.rb +1 -1
  184. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/dsl.rb +7 -7
  185. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers.rb +1 -1
  186. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/Changelog.md +36 -1
  187. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/any_instance/proxy.rb +12 -3
  188. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/argument_list_matcher.rb +3 -1
  189. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/matchers/receive.rb +2 -1
  190. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/minitest_integration.rb +1 -1
  191. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/mutate_const.rb +1 -1
  192. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/proxy.rb +1 -0
  193. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/verifying_double.rb +2 -0
  194. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/verifying_proxy.rb +4 -3
  195. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/version.rb +1 -1
  196. data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.2 → sys-uname-1.2.3}/CHANGES.md +7 -0
  197. data/vendor/bundle/ruby/2.6.0/gems/sys-uname-1.2.3/Gemfile +2 -0
  198. data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.2 → sys-uname-1.2.3}/README.md +21 -6
  199. data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.2 → sys-uname-1.2.3}/Rakefile +4 -2
  200. data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.2 → sys-uname-1.2.3}/doc/uname.rdoc +1 -1
  201. data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.2 → sys-uname-1.2.3}/lib/sys/platform.rb +17 -13
  202. data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.2 → sys-uname-1.2.3}/lib/sys/uname.rb +3 -1
  203. data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.2 → sys-uname-1.2.3}/lib/sys/unix/uname.rb +20 -35
  204. data/vendor/bundle/ruby/2.6.0/gems/sys-uname-1.2.3/lib/sys/windows/uname.rb +499 -0
  205. data/vendor/bundle/ruby/2.6.0/gems/sys-uname-1.2.3/lib/sys-uname.rb +3 -0
  206. data/vendor/bundle/ruby/2.6.0/gems/sys-uname-1.2.3/spec/spec_helper.rb +12 -0
  207. data/vendor/bundle/ruby/2.6.0/gems/sys-uname-1.2.3/spec/sys_platform_spec.rb +69 -0
  208. data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.2 → sys-uname-1.2.3}/spec/sys_uname_spec.rb +140 -136
  209. data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.2 → sys-uname-1.2.3}/sys-uname.gemspec +11 -7
  210. data/vendor/bundle/ruby/2.6.0/specifications/{addressable-2.8.1.gemspec → addressable-2.8.4.gemspec} +3 -3
  211. data/vendor/bundle/ruby/2.6.0/specifications/{rspec-core-3.12.0.gemspec → rspec-core-3.12.2.gemspec} +5 -5
  212. data/vendor/bundle/ruby/2.6.0/specifications/{rspec-expectations-3.12.1.gemspec → rspec-expectations-3.12.3.gemspec} +5 -5
  213. data/vendor/bundle/ruby/2.6.0/specifications/{rspec-mocks-3.12.1.gemspec → rspec-mocks-3.12.5.gemspec} +7 -7
  214. data/vendor/bundle/ruby/2.6.0/specifications/{sys-uname-1.2.2.gemspec → sys-uname-1.2.3.gemspec} +8 -4
  215. metadata +356 -250
  216. data/docs/InlineResponse200.md +0 -9
  217. data/docs/InlineResponse200CountryCode.md +0 -9
  218. data/docs/RepositoryGeoIPList.md +0 -9
  219. data/vendor/bundle/ruby/2.6.0/cache/addressable-2.8.1.gem +0 -0
  220. data/vendor/bundle/ruby/2.6.0/cache/rspec-core-3.12.0.gem +0 -0
  221. data/vendor/bundle/ruby/2.6.0/cache/rspec-expectations-3.12.1.gem +0 -0
  222. data/vendor/bundle/ruby/2.6.0/cache/rspec-mocks-3.12.1.gem +0 -0
  223. data/vendor/bundle/ruby/2.6.0/cache/sys-uname-1.2.2.gem +0 -0
  224. data/vendor/bundle/ruby/2.6.0/gems/sys-uname-1.2.2/Gemfile +0 -7
  225. data/vendor/bundle/ruby/2.6.0/gems/sys-uname-1.2.2/lib/sys/windows/uname.rb +0 -515
  226. data/vendor/bundle/ruby/2.6.0/gems/sys-uname-1.2.2/lib/sys-uname.rb +0 -1
  227. data/vendor/bundle/ruby/2.6.0/gems/sys-uname-1.2.2/spec/sys_platform_spec.rb +0 -75
  228. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/Gemfile +0 -0
  229. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/LICENSE.txt +0 -0
  230. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/README.md +0 -0
  231. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/data/unicode.data +0 -0
  232. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/lib/addressable/idna.rb +0 -0
  233. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/lib/addressable.rb +0 -0
  234. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/spec/addressable/net_http_compat_spec.rb +0 -0
  235. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/spec/addressable/security_spec.rb +0 -0
  236. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/spec/spec_helper.rb +0 -0
  237. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/tasks/clobber.rake +0 -0
  238. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/tasks/gem.rake +0 -0
  239. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/tasks/git.rake +0 -0
  240. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/tasks/metrics.rake +0 -0
  241. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/tasks/profile.rake +0 -0
  242. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/tasks/rspec.rake +0 -0
  243. data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.1 → addressable-2.8.4}/tasks/yard.rake +0 -0
  244. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/.document +0 -0
  245. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/.yardopts +0 -0
  246. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/LICENSE.md +0 -0
  247. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/exe/rspec +0 -0
  248. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/autorun.rb +0 -0
  249. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/backtrace_formatter.rb +0 -0
  250. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/bisect/coordinator.rb +0 -0
  251. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/bisect/example_minimizer.rb +0 -0
  252. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/bisect/fork_runner.rb +0 -0
  253. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/bisect/server.rb +0 -0
  254. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/bisect/shell_command.rb +0 -0
  255. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/bisect/shell_runner.rb +0 -0
  256. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/bisect/utilities.rb +0 -0
  257. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/configuration_options.rb +0 -0
  258. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/did_you_mean.rb +0 -0
  259. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/drb.rb +0 -0
  260. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/dsl.rb +0 -0
  261. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/example.rb +0 -0
  262. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/example_group.rb +0 -0
  263. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/filter_manager.rb +0 -0
  264. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/flat_map.rb +0 -0
  265. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/formatters/base_bisect_formatter.rb +0 -0
  266. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/formatters/base_formatter.rb +0 -0
  267. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/formatters/base_text_formatter.rb +0 -0
  268. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/formatters/bisect_drb_formatter.rb +0 -0
  269. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/formatters/bisect_progress_formatter.rb +0 -0
  270. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/formatters/console_codes.rb +0 -0
  271. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/formatters/deprecation_formatter.rb +0 -0
  272. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/formatters/documentation_formatter.rb +0 -0
  273. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/formatters/failure_list_formatter.rb +0 -0
  274. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/formatters/fallback_message_formatter.rb +0 -0
  275. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/formatters/helpers.rb +0 -0
  276. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/formatters/html_formatter.rb +0 -0
  277. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/formatters/html_printer.rb +0 -0
  278. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/formatters/json_formatter.rb +0 -0
  279. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/formatters/profile_formatter.rb +0 -0
  280. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/formatters/progress_formatter.rb +0 -0
  281. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/formatters/protocol.rb +0 -0
  282. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/formatters/snippet_extractor.rb +0 -0
  283. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/formatters/syntax_highlighter.rb +0 -0
  284. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/formatters.rb +0 -0
  285. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/hooks.rb +0 -0
  286. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/invocations.rb +0 -0
  287. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/memoized_helpers.rb +0 -0
  288. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/metadata.rb +0 -0
  289. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/minitest_assertions_adapter.rb +0 -0
  290. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/mocking_adapters/flexmock.rb +0 -0
  291. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/mocking_adapters/mocha.rb +0 -0
  292. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/mocking_adapters/null.rb +0 -0
  293. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/mocking_adapters/rr.rb +0 -0
  294. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/mocking_adapters/rspec.rb +0 -0
  295. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/notifications.rb +0 -0
  296. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/option_parser.rb +0 -0
  297. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/ordering.rb +0 -0
  298. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/output_wrapper.rb +0 -0
  299. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/pending.rb +0 -0
  300. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/profiler.rb +0 -0
  301. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/project_initializer/.rspec +0 -0
  302. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/project_initializer.rb +0 -0
  303. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/rake_task.rb +0 -0
  304. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/ruby_project.rb +0 -0
  305. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/runner.rb +0 -0
  306. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/sandbox.rb +0 -0
  307. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/set.rb +0 -0
  308. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/shared_context.rb +0 -0
  309. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/shared_example_group.rb +0 -0
  310. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/shell_escape.rb +0 -0
  311. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/test_unit_assertions_adapter.rb +0 -0
  312. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/warnings.rb +0 -0
  313. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core/world.rb +0 -0
  314. data/vendor/bundle/ruby/2.6.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.2}/lib/rspec/core.rb +0 -0
  315. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/.document +0 -0
  316. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/.yardopts +0 -0
  317. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/LICENSE.md +0 -0
  318. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/README.md +0 -0
  319. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/expectations/block_snippet_extractor.rb +0 -0
  320. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/expectations/configuration.rb +0 -0
  321. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/expectations/expectation_target.rb +0 -0
  322. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/expectations/fail_with.rb +0 -0
  323. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/expectations/handler.rb +0 -0
  324. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/expectations/minitest_integration.rb +0 -0
  325. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/expectations/syntax.rb +0 -0
  326. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/expectations.rb +0 -0
  327. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/all.rb +0 -0
  328. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/base_matcher.rb +0 -0
  329. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/be.rb +0 -0
  330. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/be_between.rb +0 -0
  331. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/be_instance_of.rb +0 -0
  332. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/be_kind_of.rb +0 -0
  333. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/be_within.rb +0 -0
  334. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/change.rb +0 -0
  335. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/contain_exactly.rb +0 -0
  336. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/count_expectation.rb +0 -0
  337. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/cover.rb +0 -0
  338. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/eq.rb +0 -0
  339. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/eql.rb +0 -0
  340. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/equal.rb +0 -0
  341. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/has.rb +0 -0
  342. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/have_attributes.rb +0 -0
  343. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/match.rb +0 -0
  344. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/operators.rb +0 -0
  345. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/output.rb +0 -0
  346. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/raise_error.rb +0 -0
  347. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/respond_to.rb +0 -0
  348. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/satisfy.rb +0 -0
  349. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/start_or_end_with.rb +0 -0
  350. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/throw_symbol.rb +0 -0
  351. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/yield.rb +0 -0
  352. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in.rb +0 -0
  353. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/english_phrasing.rb +0 -0
  354. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/expecteds_for_multiple_diffs.rb +0 -0
  355. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/fail_matchers.rb +0 -0
  356. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/generated_descriptions.rb +0 -0
  357. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/matcher_delegator.rb +0 -0
  358. data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.3}/lib/rspec/matchers/matcher_protocol.rb +0 -0
  359. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/.document +0 -0
  360. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/.yardopts +0 -0
  361. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/LICENSE.md +0 -0
  362. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/README.md +0 -0
  363. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/any_instance/chain.rb +0 -0
  364. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/any_instance/error_generator.rb +0 -0
  365. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/any_instance/expect_chain_chain.rb +0 -0
  366. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/any_instance/expectation_chain.rb +0 -0
  367. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/any_instance/message_chains.rb +0 -0
  368. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/any_instance/recorder.rb +0 -0
  369. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/any_instance/stub_chain.rb +0 -0
  370. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/any_instance/stub_chain_chain.rb +0 -0
  371. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/any_instance.rb +0 -0
  372. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/argument_matchers.rb +0 -0
  373. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/configuration.rb +0 -0
  374. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/error_generator.rb +0 -0
  375. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/example_methods.rb +0 -0
  376. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/instance_method_stasher.rb +0 -0
  377. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/marshal_extension.rb +0 -0
  378. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/matchers/expectation_customization.rb +0 -0
  379. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/matchers/have_received.rb +0 -0
  380. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/matchers/receive_message_chain.rb +0 -0
  381. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/matchers/receive_messages.rb +0 -0
  382. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/message_chain.rb +0 -0
  383. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/message_expectation.rb +0 -0
  384. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/method_double.rb +0 -0
  385. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/method_reference.rb +0 -0
  386. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/object_reference.rb +0 -0
  387. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/order_group.rb +0 -0
  388. data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/space.rb +1 -1
  389. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/standalone.rb +0 -0
  390. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/syntax.rb +0 -0
  391. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/targets.rb +0 -0
  392. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/test_double.rb +0 -0
  393. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks/verifying_message_expectation.rb +0 -0
  394. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.5}/lib/rspec/mocks.rb +0 -0
  395. /data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.2 → sys-uname-1.2.3}/LICENSE +0 -0
  396. /data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.2 → sys-uname-1.2.3}/MANIFEST.md +0 -0
  397. /data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.2 → sys-uname-1.2.3}/certs/djberg96_pub.pem +0 -0
  398. /data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.2 → sys-uname-1.2.3}/examples/uname_test.rb +0 -0
@@ -53,7 +53,7 @@ module Addressable
53
53
  PCHAR = (UNRESERVED + SUB_DELIMS + "\\:\\@").freeze
54
54
  SCHEME = (ALPHA + DIGIT + "\\-\\+\\.").freeze
55
55
  HOST = (UNRESERVED + SUB_DELIMS + "\\[\\:\\]").freeze
56
- AUTHORITY = (PCHAR + "\\[\\:\\]").freeze
56
+ AUTHORITY = (PCHAR + "\\[\\]").freeze
57
57
  PATH = (PCHAR + "\\/").freeze
58
58
  QUERY = (PCHAR + "\\/\\?").freeze
59
59
  FRAGMENT = (PCHAR + "\\/\\?").freeze
@@ -117,7 +117,7 @@ module Addressable
117
117
  uri = uri.to_str
118
118
  rescue TypeError, NoMethodError
119
119
  raise TypeError, "Can't convert #{uri.class} into String."
120
- end if not uri.is_a? String
120
+ end unless uri.is_a?(String)
121
121
 
122
122
  # This Regexp supplied as an example in RFC 3986, and it works great.
123
123
  scan = uri.scan(URIREGEX)
@@ -138,15 +138,15 @@ module Addressable
138
138
  user = userinfo.strip[/^([^:]*):?/, 1]
139
139
  password = userinfo.strip[/:(.*)$/, 1]
140
140
  end
141
+
141
142
  host = authority.sub(
142
143
  /^([^\[\]]*)@/, EMPTY_STR
143
144
  ).sub(
144
145
  /:([^:@\[\]]*?)$/, EMPTY_STR
145
146
  )
147
+
146
148
  port = authority[/:([^:@\[\]]*?)$/, 1]
147
- end
148
- if port == EMPTY_STR
149
- port = nil
149
+ port = nil if port == EMPTY_STR
150
150
  end
151
151
 
152
152
  return new(
@@ -189,7 +189,7 @@ module Addressable
189
189
  uri = uri.to_s
190
190
  end
191
191
 
192
- if !uri.respond_to?(:to_str)
192
+ unless uri.respond_to?(:to_str)
193
193
  raise TypeError, "Can't convert #{uri.class} into String."
194
194
  end
195
195
  # Otherwise, convert to a String
@@ -281,7 +281,7 @@ module Addressable
281
281
  return nil unless path
282
282
  # If a URI object is passed, just return itself.
283
283
  return path if path.kind_of?(self)
284
- if !path.respond_to?(:to_str)
284
+ unless path.respond_to?(:to_str)
285
285
  raise TypeError, "Can't convert #{path.class} into String."
286
286
  end
287
287
  # Otherwise, convert to a String
@@ -329,13 +329,13 @@ module Addressable
329
329
  # #=> #<Addressable::URI:0xcab390 URI:http://example.com/relative/path>
330
330
  def self.join(*uris)
331
331
  uri_objects = uris.collect do |uri|
332
- if !uri.respond_to?(:to_str)
332
+ unless uri.respond_to?(:to_str)
333
333
  raise TypeError, "Can't convert #{uri.class} into String."
334
334
  end
335
335
  uri.kind_of?(self) ? uri : self.parse(uri.to_str)
336
336
  end
337
337
  result = uri_objects.shift.dup
338
- for uri in uri_objects
338
+ uri_objects.each do |uri|
339
339
  result.join!(uri)
340
340
  end
341
341
  return result
@@ -481,7 +481,7 @@ module Addressable
481
481
  leave_encoded.include?(c) ? sequence : c
482
482
  end
483
483
 
484
- result.force_encoding("utf-8")
484
+ result.force_encoding(Encoding::UTF_8)
485
485
  if return_type == String
486
486
  return result
487
487
  elsif return_type == ::Addressable::URI
@@ -579,7 +579,7 @@ module Addressable
579
579
  unencoded = self.unencode_component(component, String, leave_encoded)
580
580
  begin
581
581
  encoded = self.encode_component(
582
- Addressable::IDNA.unicode_normalize_kc(unencoded),
582
+ unencoded.unicode_normalize(:nfc),
583
583
  character_class,
584
584
  leave_encoded
585
585
  )
@@ -687,8 +687,7 @@ module Addressable
687
687
  components.each do |key, value|
688
688
  if value != nil
689
689
  begin
690
- components[key] =
691
- Addressable::IDNA.unicode_normalize_kc(value.to_str)
690
+ components[key] = value.to_str.unicode_normalize(:nfc)
692
691
  rescue ArgumentError
693
692
  # Likely a malformed UTF-8 character, skip unicode normalization
694
693
  components[key] = value.to_str
@@ -836,7 +835,9 @@ module Addressable
836
835
  end
837
836
  end
838
837
 
839
- self.defer_validation do
838
+ reset_ivs
839
+
840
+ defer_validation do
840
841
  # Bunch of crazy logic required because of the composite components
841
842
  # like userinfo and authority.
842
843
  self.scheme = options[:scheme] if options[:scheme]
@@ -851,7 +852,8 @@ module Addressable
851
852
  self.query_values = options[:query_values] if options[:query_values]
852
853
  self.fragment = options[:fragment] if options[:fragment]
853
854
  end
854
- self.to_s
855
+
856
+ to_s # force path validation
855
857
  end
856
858
 
857
859
  ##
@@ -878,9 +880,7 @@ module Addressable
878
880
  # The scheme component for this URI.
879
881
  #
880
882
  # @return [String] The scheme component.
881
- def scheme
882
- return defined?(@scheme) ? @scheme : nil
883
- end
883
+ attr_reader :scheme
884
884
 
885
885
  ##
886
886
  # The scheme component for this URI, normalized.
@@ -888,8 +888,8 @@ module Addressable
888
888
  # @return [String] The scheme component, normalized.
889
889
  def normalized_scheme
890
890
  return nil unless self.scheme
891
- @normalized_scheme ||= begin
892
- if self.scheme =~ /^\s*ssh\+svn\s*$/i
891
+ if @normalized_scheme == NONE
892
+ @normalized_scheme = if self.scheme =~ /^\s*ssh\+svn\s*$/i
893
893
  "svn+ssh".dup
894
894
  else
895
895
  Addressable::URI.normalize_component(
@@ -920,7 +920,7 @@ module Addressable
920
920
  @scheme = nil if @scheme.to_s.strip.empty?
921
921
 
922
922
  # Reset dependent values
923
- remove_instance_variable(:@normalized_scheme) if defined?(@normalized_scheme)
923
+ @normalized_scheme = NONE
924
924
  remove_composite_values
925
925
 
926
926
  # Ensure we haven't created an invalid URI
@@ -931,9 +931,7 @@ module Addressable
931
931
  # The user component for this URI.
932
932
  #
933
933
  # @return [String] The user component.
934
- def user
935
- return defined?(@user) ? @user : nil
936
- end
934
+ attr_reader :user
937
935
 
938
936
  ##
939
937
  # The user component for this URI, normalized.
@@ -941,8 +939,8 @@ module Addressable
941
939
  # @return [String] The user component, normalized.
942
940
  def normalized_user
943
941
  return nil unless self.user
944
- return @normalized_user if defined?(@normalized_user)
945
- @normalized_user ||= begin
942
+ return @normalized_user unless @normalized_user == NONE
943
+ @normalized_user = begin
946
944
  if normalized_scheme =~ /https?/ && self.user.strip.empty? &&
947
945
  (!self.password || self.password.strip.empty?)
948
946
  nil
@@ -970,14 +968,14 @@ module Addressable
970
968
 
971
969
  # You can't have a nil user with a non-nil password
972
970
  if password != nil
973
- @user = EMPTY_STR if @user.nil?
971
+ @user = EMPTY_STR unless user
974
972
  end
975
973
 
976
974
  # Reset dependent values
977
- remove_instance_variable(:@userinfo) if defined?(@userinfo)
978
- remove_instance_variable(:@normalized_userinfo) if defined?(@normalized_userinfo)
979
- remove_instance_variable(:@authority) if defined?(@authority)
980
- remove_instance_variable(:@normalized_user) if defined?(@normalized_user)
975
+ @userinfo = nil
976
+ @normalized_userinfo = NONE
977
+ @authority = nil
978
+ @normalized_user = NONE
981
979
  remove_composite_values
982
980
 
983
981
  # Ensure we haven't created an invalid URI
@@ -988,9 +986,7 @@ module Addressable
988
986
  # The password component for this URI.
989
987
  #
990
988
  # @return [String] The password component.
991
- def password
992
- return defined?(@password) ? @password : nil
993
- end
989
+ attr_reader :password
994
990
 
995
991
  ##
996
992
  # The password component for this URI, normalized.
@@ -998,8 +994,8 @@ module Addressable
998
994
  # @return [String] The password component, normalized.
999
995
  def normalized_password
1000
996
  return nil unless self.password
1001
- return @normalized_password if defined?(@normalized_password)
1002
- @normalized_password ||= begin
997
+ return @normalized_password unless @normalized_password == NONE
998
+ @normalized_password = begin
1003
999
  if self.normalized_scheme =~ /https?/ && self.password.strip.empty? &&
1004
1000
  (!self.user || self.user.strip.empty?)
1005
1001
  nil
@@ -1026,17 +1022,15 @@ module Addressable
1026
1022
  @password = new_password ? new_password.to_str : nil
1027
1023
 
1028
1024
  # You can't have a nil user with a non-nil password
1029
- @password ||= nil
1030
- @user ||= nil
1031
1025
  if @password != nil
1032
- @user = EMPTY_STR if @user.nil?
1026
+ self.user = EMPTY_STR if user.nil?
1033
1027
  end
1034
1028
 
1035
1029
  # Reset dependent values
1036
- remove_instance_variable(:@userinfo) if defined?(@userinfo)
1037
- remove_instance_variable(:@normalized_userinfo) if defined?(@normalized_userinfo)
1038
- remove_instance_variable(:@authority) if defined?(@authority)
1039
- remove_instance_variable(:@normalized_password) if defined?(@normalized_password)
1030
+ @userinfo = nil
1031
+ @normalized_userinfo = NONE
1032
+ @authority = nil
1033
+ @normalized_password = NONE
1040
1034
  remove_composite_values
1041
1035
 
1042
1036
  # Ensure we haven't created an invalid URI
@@ -1066,8 +1060,8 @@ module Addressable
1066
1060
  # @return [String] The userinfo component, normalized.
1067
1061
  def normalized_userinfo
1068
1062
  return nil unless self.userinfo
1069
- return @normalized_userinfo if defined?(@normalized_userinfo)
1070
- @normalized_userinfo ||= begin
1063
+ return @normalized_userinfo unless @normalized_userinfo == NONE
1064
+ @normalized_userinfo = begin
1071
1065
  current_user = self.normalized_user
1072
1066
  current_password = self.normalized_password
1073
1067
  if !current_user && !current_password
@@ -1105,7 +1099,7 @@ module Addressable
1105
1099
  self.user = new_user
1106
1100
 
1107
1101
  # Reset dependent values
1108
- remove_instance_variable(:@authority) if defined?(@authority)
1102
+ @authority = nil
1109
1103
  remove_composite_values
1110
1104
 
1111
1105
  # Ensure we haven't created an invalid URI
@@ -1116,9 +1110,7 @@ module Addressable
1116
1110
  # The host component for this URI.
1117
1111
  #
1118
1112
  # @return [String] The host component.
1119
- def host
1120
- return defined?(@host) ? @host : nil
1121
- end
1113
+ attr_reader :host
1122
1114
 
1123
1115
  ##
1124
1116
  # The host component for this URI, normalized.
@@ -1161,8 +1153,8 @@ module Addressable
1161
1153
  @host = new_host ? new_host.to_str : nil
1162
1154
 
1163
1155
  # Reset dependent values
1164
- remove_instance_variable(:@authority) if defined?(@authority)
1165
- remove_instance_variable(:@normalized_host) if defined?(@normalized_host)
1156
+ @authority = nil
1157
+ @normalized_host = nil
1166
1158
  remove_composite_values
1167
1159
 
1168
1160
  # Ensure we haven't created an invalid URI
@@ -1293,14 +1285,14 @@ module Addressable
1293
1285
  end
1294
1286
 
1295
1287
  # Password assigned first to ensure validity in case of nil
1296
- self.password = defined?(new_password) ? new_password : nil
1297
- self.user = defined?(new_user) ? new_user : nil
1298
- self.host = defined?(new_host) ? new_host : nil
1299
- self.port = defined?(new_port) ? new_port : nil
1288
+ self.password = new_password
1289
+ self.user = new_user
1290
+ self.host = new_host
1291
+ self.port = new_port
1300
1292
 
1301
1293
  # Reset dependent values
1302
- remove_instance_variable(:@userinfo) if defined?(@userinfo)
1303
- remove_instance_variable(:@normalized_userinfo) if defined?(@normalized_userinfo)
1294
+ @userinfo = nil
1295
+ @normalized_userinfo = NONE
1304
1296
  remove_composite_values
1305
1297
 
1306
1298
  # Ensure we haven't created an invalid URI
@@ -1348,16 +1340,16 @@ module Addressable
1348
1340
  new_port = new_origin[/:([^:@\[\]\/]*?)$/, 1]
1349
1341
  end
1350
1342
 
1351
- self.scheme = defined?(new_scheme) ? new_scheme : nil
1352
- self.host = defined?(new_host) ? new_host : nil
1353
- self.port = defined?(new_port) ? new_port : nil
1343
+ self.scheme = new_scheme
1344
+ self.host = new_host
1345
+ self.port = new_port
1354
1346
  self.userinfo = nil
1355
1347
 
1356
1348
  # Reset dependent values
1357
- remove_instance_variable(:@userinfo) if defined?(@userinfo)
1358
- remove_instance_variable(:@normalized_userinfo) if defined?(@normalized_userinfo)
1359
- remove_instance_variable(:@authority) if defined?(@authority)
1360
- remove_instance_variable(:@normalized_authority) if defined?(@normalized_authority)
1349
+ @userinfo = nil
1350
+ @normalized_userinfo = NONE
1351
+ @authority = nil
1352
+ @normalized_authority = nil
1361
1353
  remove_composite_values
1362
1354
 
1363
1355
  # Ensure we haven't created an invalid URI
@@ -1384,9 +1376,7 @@ module Addressable
1384
1376
  # infer port numbers from default values.
1385
1377
  #
1386
1378
  # @return [Integer] The port component.
1387
- def port
1388
- return defined?(@port) ? @port : nil
1389
- end
1379
+ attr_reader :port
1390
1380
 
1391
1381
  ##
1392
1382
  # The port component for this URI, normalized.
@@ -1394,8 +1384,8 @@ module Addressable
1394
1384
  # @return [Integer] The port component, normalized.
1395
1385
  def normalized_port
1396
1386
  return nil unless self.port
1397
- return @normalized_port if defined?(@normalized_port)
1398
- @normalized_port ||= begin
1387
+ return @normalized_port unless @normalized_port == NONE
1388
+ @normalized_port = begin
1399
1389
  if URI.port_mapping[self.normalized_scheme] == self.port
1400
1390
  nil
1401
1391
  else
@@ -1426,8 +1416,8 @@ module Addressable
1426
1416
  @port = nil if @port == 0
1427
1417
 
1428
1418
  # Reset dependent values
1429
- remove_instance_variable(:@authority) if defined?(@authority)
1430
- remove_instance_variable(:@normalized_port) if defined?(@normalized_port)
1419
+ @authority = nil
1420
+ @normalized_port = NONE
1431
1421
  remove_composite_values
1432
1422
 
1433
1423
  # Ensure we haven't created an invalid URI
@@ -1528,9 +1518,7 @@ module Addressable
1528
1518
  # The path component for this URI.
1529
1519
  #
1530
1520
  # @return [String] The path component.
1531
- def path
1532
- return defined?(@path) ? @path : EMPTY_STR
1533
- end
1521
+ attr_reader :path
1534
1522
 
1535
1523
  NORMPATH = /^(?!\/)[^\/:]*:.*$/
1536
1524
  ##
@@ -1579,7 +1567,7 @@ module Addressable
1579
1567
  end
1580
1568
 
1581
1569
  # Reset dependent values
1582
- remove_instance_variable(:@normalized_path) if defined?(@normalized_path)
1570
+ @normalized_path = nil
1583
1571
  remove_composite_values
1584
1572
 
1585
1573
  # Ensure we haven't created an invalid URI
@@ -1609,9 +1597,7 @@ module Addressable
1609
1597
  # The query component for this URI.
1610
1598
  #
1611
1599
  # @return [String] The query component.
1612
- def query
1613
- return defined?(@query) ? @query : nil
1614
- end
1600
+ attr_reader :query
1615
1601
 
1616
1602
  ##
1617
1603
  # The query component for this URI, normalized.
@@ -1619,8 +1605,8 @@ module Addressable
1619
1605
  # @return [String] The query component, normalized.
1620
1606
  def normalized_query(*flags)
1621
1607
  return nil unless self.query
1622
- return @normalized_query if defined?(@normalized_query)
1623
- @normalized_query ||= begin
1608
+ return @normalized_query unless @normalized_query == NONE
1609
+ @normalized_query = begin
1624
1610
  modified_query_class = Addressable::URI::CharacterClasses::QUERY.dup
1625
1611
  # Make sure possible key-value pair delimiters are escaped.
1626
1612
  modified_query_class.sub!("\\&", "").sub!("\\;", "")
@@ -1652,7 +1638,7 @@ module Addressable
1652
1638
  @query = new_query ? new_query.to_str : nil
1653
1639
 
1654
1640
  # Reset dependent values
1655
- remove_instance_variable(:@normalized_query) if defined?(@normalized_query)
1641
+ @normalized_query = NONE
1656
1642
  remove_composite_values
1657
1643
  end
1658
1644
 
@@ -1814,9 +1800,7 @@ module Addressable
1814
1800
  # The fragment component for this URI.
1815
1801
  #
1816
1802
  # @return [String] The fragment component.
1817
- def fragment
1818
- return defined?(@fragment) ? @fragment : nil
1819
- end
1803
+ attr_reader :fragment
1820
1804
 
1821
1805
  ##
1822
1806
  # The fragment component for this URI, normalized.
@@ -1824,8 +1808,8 @@ module Addressable
1824
1808
  # @return [String] The fragment component, normalized.
1825
1809
  def normalized_fragment
1826
1810
  return nil unless self.fragment
1827
- return @normalized_fragment if defined?(@normalized_fragment)
1828
- @normalized_fragment ||= begin
1811
+ return @normalized_fragment unless @normalized_fragment == NONE
1812
+ @normalized_fragment = begin
1829
1813
  component = Addressable::URI.normalize_component(
1830
1814
  self.fragment,
1831
1815
  Addressable::URI::NormalizeCharacterClasses::FRAGMENT
@@ -1848,7 +1832,7 @@ module Addressable
1848
1832
  @fragment = new_fragment ? new_fragment.to_str : nil
1849
1833
 
1850
1834
  # Reset dependent values
1851
- remove_instance_variable(:@normalized_fragment) if defined?(@normalized_fragment)
1835
+ @normalized_fragment = NONE
1852
1836
  remove_composite_values
1853
1837
 
1854
1838
  # Ensure we haven't created an invalid URI
@@ -2014,7 +1998,7 @@ module Addressable
2014
1998
  #
2015
1999
  # @see Hash#merge
2016
2000
  def merge(hash)
2017
- if !hash.respond_to?(:to_hash)
2001
+ unless hash.respond_to?(:to_hash)
2018
2002
  raise TypeError, "Can't convert #{hash.class} into Hash."
2019
2003
  end
2020
2004
  hash = hash.to_hash
@@ -2408,7 +2392,8 @@ module Addressable
2408
2392
  yield
2409
2393
  @validation_deferred = false
2410
2394
  validate
2411
- return nil
2395
+ ensure
2396
+ @validation_deferred = false
2412
2397
  end
2413
2398
 
2414
2399
  protected
@@ -2507,11 +2492,7 @@ module Addressable
2507
2492
  # @return [Addressable::URI] <code>self</code>.
2508
2493
  def replace_self(uri)
2509
2494
  # Reset dependent values
2510
- instance_variables.each do |var|
2511
- if instance_variable_defined?(var) && var != :@validation_deferred
2512
- remove_instance_variable(var)
2513
- end
2514
- end
2495
+ reset_ivs
2515
2496
 
2516
2497
  @scheme = uri.scheme
2517
2498
  @user = uri.user
@@ -2543,8 +2524,8 @@ module Addressable
2543
2524
  #
2544
2525
  # @api private
2545
2526
  def remove_composite_values
2546
- remove_instance_variable(:@uri_string) if defined?(@uri_string)
2547
- remove_instance_variable(:@hash) if defined?(@hash)
2527
+ @uri_string = nil
2528
+ @hash = nil
2548
2529
  end
2549
2530
 
2550
2531
  ##
@@ -2556,5 +2537,40 @@ module Addressable
2556
2537
  str.force_encoding(Encoding::UTF_8)
2557
2538
  end
2558
2539
  end
2540
+
2541
+ private
2542
+
2543
+ ##
2544
+ # Resets instance variables
2545
+ #
2546
+ # @api private
2547
+ def reset_ivs
2548
+ @scheme = nil
2549
+ @user = nil
2550
+ @normalized_scheme = NONE
2551
+ @normalized_user = NONE
2552
+ @uri_string = nil
2553
+ @hash = nil
2554
+ @userinfo = nil
2555
+ @normalized_userinfo = NONE
2556
+ @authority = nil
2557
+ @password = nil
2558
+ @normalized_authority = nil
2559
+ @port = nil
2560
+ @normalized_password = NONE
2561
+ @host = nil
2562
+ @normalized_host = nil
2563
+ @normalized_port = NONE
2564
+ @path = EMPTY_STR
2565
+ @normalized_path = nil
2566
+ @normalized_query = NONE
2567
+ @fragment = nil
2568
+ @normalized_fragment = NONE
2569
+ @query = nil
2570
+ end
2571
+
2572
+ NONE = Object.new.freeze
2573
+
2574
+ private_constant :NONE
2559
2575
  end
2560
2576
  end
@@ -23,7 +23,7 @@ if !defined?(Addressable::VERSION)
23
23
  module VERSION
24
24
  MAJOR = 2
25
25
  MINOR = 8
26
- TINY = 1
26
+ TINY = 4
27
27
 
28
28
  STRING = [MAJOR, MINOR, TINY].join('.')
29
29
  end
@@ -38,6 +38,12 @@ shared_examples_for "converting from unicode to ASCII" do
38
38
  )).to eq("www.xn--8ws00zhy3a.com")
39
39
  end
40
40
 
41
+ it "also accepts unicode strings encoded as ascii-8bit" do
42
+ expect(Addressable::IDNA.to_ascii(
43
+ "www.詹姆斯.com".b
44
+ )).to eq("www.xn--8ws00zhy3a.com")
45
+ end
46
+
41
47
  it "should convert 'www.Iñtërnâtiônàlizætiøn.com' correctly" do
42
48
  "www.Iñtërnâtiônàlizætiøn.com"
43
49
  expect(Addressable::IDNA.to_ascii(
@@ -249,11 +255,6 @@ shared_examples_for "converting from ASCII to unicode" do
249
255
  "example..host"
250
256
  )).to eq("example..host")
251
257
  end
252
-
253
- it "should normalize 'string' correctly" do
254
- expect(Addressable::IDNA.unicode_normalize_kc(:'string')).to eq("string")
255
- expect(Addressable::IDNA.unicode_normalize_kc("string")).to eq("string")
256
- end
257
258
  end
258
259
 
259
260
  describe Addressable::IDNA, "when using the pure-Ruby implementation" do