ory-client 0.0.1.alpha31 → 0.0.1.alpha36

Sign up to get free protection for your applications and to get access to all the features.
Files changed (505) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +6 -4
  3. data/README.md +10 -12
  4. data/docs/CreateSubscriptionPayload.md +22 -0
  5. data/docs/NullPlan.md +15 -0
  6. data/docs/Project.md +1 -3
  7. data/docs/ProjectRevision.md +1 -1
  8. data/docs/Subscription.md +36 -0
  9. data/docs/UpdateSubscriptionPayload.md +20 -0
  10. data/docs/V0alpha0Api.md +8 -16
  11. data/docs/V0alpha2Api.md +14 -28
  12. data/lib/ory-client/api/metadata_api.rb +1 -1
  13. data/lib/ory-client/api/v0alpha0_api.rb +1 -1
  14. data/lib/ory-client/api/v0alpha2_api.rb +1 -1
  15. data/lib/ory-client/api_client.rb +1 -1
  16. data/lib/ory-client/api_error.rb +1 -1
  17. data/lib/ory-client/configuration.rb +3 -3
  18. data/lib/ory-client/models/active_project.rb +1 -1
  19. data/lib/ory-client/models/admin_create_identity_body.rb +1 -1
  20. data/lib/ory-client/models/admin_create_self_service_recovery_link_body.rb +1 -1
  21. data/lib/ory-client/models/admin_update_identity_body.rb +1 -1
  22. data/lib/ory-client/models/api_token.rb +1 -1
  23. data/lib/ory-client/models/authenticator_assurance_level.rb +1 -1
  24. data/lib/ory-client/models/cname_settings.rb +1 -1
  25. data/lib/ory-client/models/create_custom_hostname_body.rb +1 -1
  26. data/lib/ory-client/models/{null_string.rb → create_subscription_payload.rb} +36 -18
  27. data/lib/ory-client/models/error_authenticator_assurance_level_not_satisfied.rb +1 -1
  28. data/lib/ory-client/models/generic_error.rb +1 -1
  29. data/lib/ory-client/models/health_not_ready_status.rb +1 -1
  30. data/lib/ory-client/models/health_status.rb +1 -1
  31. data/lib/ory-client/models/identity.rb +1 -1
  32. data/lib/ory-client/models/identity_credentials.rb +1 -1
  33. data/lib/ory-client/models/identity_credentials_type.rb +1 -1
  34. data/lib/ory-client/models/identity_preset.rb +1 -1
  35. data/lib/ory-client/models/identity_schema.rb +1 -1
  36. data/lib/ory-client/models/identity_schema_location.rb +1 -1
  37. data/lib/ory-client/models/identity_schema_validation_result.rb +1 -1
  38. data/lib/ory-client/models/identity_state.rb +1 -1
  39. data/lib/ory-client/models/inline_response200.rb +1 -1
  40. data/lib/ory-client/models/inline_response2001.rb +1 -1
  41. data/lib/ory-client/models/inline_response503.rb +1 -1
  42. data/lib/ory-client/models/is_owner_for_project_by_slug.rb +1 -1
  43. data/lib/ory-client/models/is_owner_for_project_by_slug_payload.rb +1 -1
  44. data/lib/ory-client/models/json_error.rb +1 -1
  45. data/lib/ory-client/models/needs_privileged_session_error.rb +1 -1
  46. data/lib/ory-client/models/null_plan.rb +40 -0
  47. data/lib/ory-client/models/project.rb +3 -12
  48. data/lib/ory-client/models/project_host.rb +1 -1
  49. data/lib/ory-client/models/project_lookup_secret_config.rb +1 -1
  50. data/lib/ory-client/models/project_oidc_config.rb +1 -1
  51. data/lib/ory-client/models/project_password_config.rb +1 -1
  52. data/lib/ory-client/models/project_patch.rb +1 -1
  53. data/lib/ory-client/models/project_recovery_config.rb +1 -1
  54. data/lib/ory-client/models/project_revision.rb +2 -2
  55. data/lib/ory-client/models/project_slug.rb +1 -1
  56. data/lib/ory-client/models/project_totp_config.rb +1 -1
  57. data/lib/ory-client/models/project_verification_config.rb +1 -1
  58. data/lib/ory-client/models/project_web_authn_config.rb +1 -1
  59. data/lib/ory-client/models/recovery_address.rb +1 -1
  60. data/lib/ory-client/models/redirection_config.rb +1 -1
  61. data/lib/ory-client/models/redirection_field.rb +1 -1
  62. data/lib/ory-client/models/schema_patch.rb +1 -1
  63. data/lib/ory-client/models/self_service_browser_location_change_required_error.rb +1 -1
  64. data/lib/ory-client/models/self_service_error.rb +1 -1
  65. data/lib/ory-client/models/self_service_flow_expired_error.rb +1 -1
  66. data/lib/ory-client/models/self_service_login_flow.rb +1 -1
  67. data/lib/ory-client/models/self_service_logout_url.rb +1 -1
  68. data/lib/ory-client/models/self_service_recovery_flow.rb +1 -1
  69. data/lib/ory-client/models/self_service_recovery_flow_state.rb +1 -1
  70. data/lib/ory-client/models/self_service_recovery_link.rb +1 -1
  71. data/lib/ory-client/models/self_service_registration_flow.rb +1 -1
  72. data/lib/ory-client/models/self_service_settings_flow.rb +1 -1
  73. data/lib/ory-client/models/self_service_settings_flow_state.rb +1 -1
  74. data/lib/ory-client/models/self_service_verification_flow.rb +1 -1
  75. data/lib/ory-client/models/self_service_verification_flow_state.rb +1 -1
  76. data/lib/ory-client/models/session.rb +1 -1
  77. data/lib/ory-client/models/session_authentication_method.rb +1 -1
  78. data/lib/ory-client/models/session_device.rb +1 -1
  79. data/lib/ory-client/models/settings_profile_form_config.rb +1 -1
  80. data/lib/ory-client/models/stripe_customer_response.rb +1 -1
  81. data/lib/ory-client/models/submit_self_service_login_flow_body.rb +1 -1
  82. data/lib/ory-client/models/submit_self_service_login_flow_with_lookup_secret_method_body.rb +1 -1
  83. data/lib/ory-client/models/submit_self_service_login_flow_with_oidc_method_body.rb +1 -1
  84. data/lib/ory-client/models/submit_self_service_login_flow_with_password_method_body.rb +1 -1
  85. data/lib/ory-client/models/submit_self_service_login_flow_with_totp_method_body.rb +1 -1
  86. data/lib/ory-client/models/submit_self_service_login_flow_with_web_authn_method_body.rb +1 -1
  87. data/lib/ory-client/models/submit_self_service_logout_flow_without_browser_body.rb +1 -1
  88. data/lib/ory-client/models/submit_self_service_recovery_flow_body.rb +1 -1
  89. data/lib/ory-client/models/submit_self_service_recovery_flow_with_link_method_body.rb +1 -1
  90. data/lib/ory-client/models/submit_self_service_registration_flow_body.rb +1 -1
  91. data/lib/ory-client/models/submit_self_service_registration_flow_with_oidc_method_body.rb +1 -1
  92. data/lib/ory-client/models/submit_self_service_registration_flow_with_password_method_body.rb +1 -1
  93. data/lib/ory-client/models/submit_self_service_settings_flow_body.rb +1 -1
  94. data/lib/ory-client/models/submit_self_service_settings_flow_with_lookup_method_body.rb +1 -1
  95. data/lib/ory-client/models/submit_self_service_settings_flow_with_oidc_method_body.rb +1 -1
  96. data/lib/ory-client/models/submit_self_service_settings_flow_with_password_method_body.rb +1 -1
  97. data/lib/ory-client/models/submit_self_service_settings_flow_with_profile_method_body.rb +1 -1
  98. data/lib/ory-client/models/submit_self_service_settings_flow_with_totp_method_body.rb +1 -1
  99. data/lib/ory-client/models/submit_self_service_settings_flow_with_web_authn_method_body.rb +1 -1
  100. data/lib/ory-client/models/submit_self_service_verification_flow_body.rb +1 -1
  101. data/lib/ory-client/models/submit_self_service_verification_flow_with_link_method_body.rb +1 -1
  102. data/lib/ory-client/models/{provision_project_payload.rb → subscription.rb} +167 -15
  103. data/lib/ory-client/models/successful_self_service_login_without_browser.rb +1 -1
  104. data/lib/ory-client/models/successful_self_service_registration_without_browser.rb +1 -1
  105. data/lib/ory-client/models/ui_container.rb +1 -1
  106. data/lib/ory-client/models/ui_node.rb +1 -1
  107. data/lib/ory-client/models/ui_node_anchor_attributes.rb +1 -1
  108. data/lib/ory-client/models/ui_node_attributes.rb +1 -1
  109. data/lib/ory-client/models/ui_node_image_attributes.rb +1 -1
  110. data/lib/ory-client/models/ui_node_input_attributes.rb +1 -1
  111. data/lib/ory-client/models/ui_node_meta.rb +1 -1
  112. data/lib/ory-client/models/ui_node_script_attributes.rb +1 -1
  113. data/lib/ory-client/models/ui_node_text_attributes.rb +1 -1
  114. data/lib/ory-client/models/ui_text.rb +1 -1
  115. data/lib/ory-client/models/update_custom_hostname_body.rb +1 -1
  116. data/lib/ory-client/models/{null_uuid.rb → update_subscription_payload.rb} +22 -18
  117. data/lib/ory-client/models/verifiable_identity_address.rb +1 -1
  118. data/lib/ory-client/models/version.rb +1 -1
  119. data/lib/ory-client/version.rb +2 -2
  120. data/lib/ory-client.rb +5 -4
  121. data/ory-client.gemspec +1 -1
  122. data/spec/api/metadata_api_spec.rb +1 -1
  123. data/spec/api/v0alpha0_api_spec.rb +1 -1
  124. data/spec/api/v0alpha2_api_spec.rb +1 -1
  125. data/spec/api_client_spec.rb +1 -1
  126. data/spec/configuration_spec.rb +1 -1
  127. data/spec/models/active_project_spec.rb +1 -1
  128. data/spec/models/admin_create_identity_body_spec.rb +1 -1
  129. data/spec/models/admin_create_self_service_recovery_link_body_spec.rb +1 -1
  130. data/spec/models/admin_update_identity_body_spec.rb +1 -1
  131. data/spec/models/api_token_spec.rb +1 -1
  132. data/spec/models/authenticator_assurance_level_spec.rb +1 -1
  133. data/spec/models/cname_settings_spec.rb +1 -1
  134. data/spec/models/create_custom_hostname_body_spec.rb +1 -1
  135. data/spec/models/{null_uuid_spec.rb → create_subscription_payload_spec.rb} +15 -9
  136. data/spec/models/error_authenticator_assurance_level_not_satisfied_spec.rb +1 -1
  137. data/spec/models/generic_error_spec.rb +1 -1
  138. data/spec/models/health_not_ready_status_spec.rb +1 -1
  139. data/spec/models/health_status_spec.rb +1 -1
  140. data/spec/models/identity_credentials_spec.rb +1 -1
  141. data/spec/models/identity_credentials_type_spec.rb +1 -1
  142. data/spec/models/identity_preset_spec.rb +1 -1
  143. data/spec/models/identity_schema_location_spec.rb +1 -1
  144. data/spec/models/identity_schema_spec.rb +1 -1
  145. data/spec/models/identity_schema_validation_result_spec.rb +1 -1
  146. data/spec/models/identity_spec.rb +1 -1
  147. data/spec/models/identity_state_spec.rb +1 -1
  148. data/spec/models/inline_response2001_spec.rb +1 -1
  149. data/spec/models/inline_response200_spec.rb +1 -1
  150. data/spec/models/inline_response503_spec.rb +1 -1
  151. data/spec/models/is_owner_for_project_by_slug_payload_spec.rb +1 -1
  152. data/spec/models/is_owner_for_project_by_slug_spec.rb +1 -1
  153. data/spec/models/json_error_spec.rb +1 -1
  154. data/spec/models/needs_privileged_session_error_spec.rb +1 -1
  155. data/spec/models/null_plan_spec.rb +28 -0
  156. data/spec/models/project_host_spec.rb +1 -1
  157. data/spec/models/project_lookup_secret_config_spec.rb +1 -1
  158. data/spec/models/project_oidc_config_spec.rb +1 -1
  159. data/spec/models/project_password_config_spec.rb +1 -1
  160. data/spec/models/project_patch_spec.rb +1 -1
  161. data/spec/models/project_recovery_config_spec.rb +1 -1
  162. data/spec/models/project_revision_spec.rb +1 -1
  163. data/spec/models/project_slug_spec.rb +1 -1
  164. data/spec/models/project_spec.rb +1 -7
  165. data/spec/models/project_totp_config_spec.rb +1 -1
  166. data/spec/models/project_verification_config_spec.rb +1 -1
  167. data/spec/models/project_web_authn_config_spec.rb +1 -1
  168. data/spec/models/recovery_address_spec.rb +1 -1
  169. data/spec/models/redirection_config_spec.rb +1 -1
  170. data/spec/models/redirection_field_spec.rb +1 -1
  171. data/spec/models/schema_patch_spec.rb +1 -1
  172. data/spec/models/self_service_browser_location_change_required_error_spec.rb +1 -1
  173. data/spec/models/self_service_error_spec.rb +1 -1
  174. data/spec/models/self_service_flow_expired_error_spec.rb +1 -1
  175. data/spec/models/self_service_login_flow_spec.rb +1 -1
  176. data/spec/models/self_service_logout_url_spec.rb +1 -1
  177. data/spec/models/self_service_recovery_flow_spec.rb +1 -1
  178. data/spec/models/self_service_recovery_flow_state_spec.rb +1 -1
  179. data/spec/models/self_service_recovery_link_spec.rb +1 -1
  180. data/spec/models/self_service_registration_flow_spec.rb +1 -1
  181. data/spec/models/self_service_settings_flow_spec.rb +1 -1
  182. data/spec/models/self_service_settings_flow_state_spec.rb +1 -1
  183. data/spec/models/self_service_verification_flow_spec.rb +1 -1
  184. data/spec/models/self_service_verification_flow_state_spec.rb +1 -1
  185. data/spec/models/session_authentication_method_spec.rb +1 -1
  186. data/spec/models/session_device_spec.rb +1 -1
  187. data/spec/models/session_spec.rb +1 -1
  188. data/spec/models/settings_profile_form_config_spec.rb +1 -1
  189. data/spec/models/stripe_customer_response_spec.rb +1 -1
  190. data/spec/models/submit_self_service_login_flow_body_spec.rb +1 -1
  191. data/spec/models/submit_self_service_login_flow_with_lookup_secret_method_body_spec.rb +1 -1
  192. data/spec/models/submit_self_service_login_flow_with_oidc_method_body_spec.rb +1 -1
  193. data/spec/models/submit_self_service_login_flow_with_password_method_body_spec.rb +1 -1
  194. data/spec/models/submit_self_service_login_flow_with_totp_method_body_spec.rb +1 -1
  195. data/spec/models/submit_self_service_login_flow_with_web_authn_method_body_spec.rb +1 -1
  196. data/spec/models/submit_self_service_logout_flow_without_browser_body_spec.rb +1 -1
  197. data/spec/models/submit_self_service_recovery_flow_body_spec.rb +1 -1
  198. data/spec/models/submit_self_service_recovery_flow_with_link_method_body_spec.rb +1 -1
  199. data/spec/models/submit_self_service_registration_flow_body_spec.rb +1 -1
  200. data/spec/models/submit_self_service_registration_flow_with_oidc_method_body_spec.rb +1 -1
  201. data/spec/models/submit_self_service_registration_flow_with_password_method_body_spec.rb +1 -1
  202. data/spec/models/submit_self_service_settings_flow_body_spec.rb +1 -1
  203. data/spec/models/submit_self_service_settings_flow_with_lookup_method_body_spec.rb +1 -1
  204. data/spec/models/submit_self_service_settings_flow_with_oidc_method_body_spec.rb +1 -1
  205. data/spec/models/submit_self_service_settings_flow_with_password_method_body_spec.rb +1 -1
  206. data/spec/models/submit_self_service_settings_flow_with_profile_method_body_spec.rb +1 -1
  207. data/spec/models/submit_self_service_settings_flow_with_totp_method_body_spec.rb +1 -1
  208. data/spec/models/submit_self_service_settings_flow_with_web_authn_method_body_spec.rb +1 -1
  209. data/spec/models/submit_self_service_verification_flow_body_spec.rb +1 -1
  210. data/spec/models/submit_self_service_verification_flow_with_link_method_body_spec.rb +1 -1
  211. data/spec/models/subscription_spec.rb +92 -0
  212. data/spec/models/successful_self_service_login_without_browser_spec.rb +1 -1
  213. data/spec/models/successful_self_service_registration_without_browser_spec.rb +1 -1
  214. data/spec/models/ui_container_spec.rb +1 -1
  215. data/spec/models/ui_node_anchor_attributes_spec.rb +1 -1
  216. data/spec/models/ui_node_attributes_spec.rb +1 -1
  217. data/spec/models/ui_node_image_attributes_spec.rb +1 -1
  218. data/spec/models/ui_node_input_attributes_spec.rb +1 -1
  219. data/spec/models/ui_node_meta_spec.rb +1 -1
  220. data/spec/models/ui_node_script_attributes_spec.rb +1 -1
  221. data/spec/models/ui_node_spec.rb +1 -1
  222. data/spec/models/ui_node_text_attributes_spec.rb +1 -1
  223. data/spec/models/ui_text_spec.rb +1 -1
  224. data/spec/models/update_custom_hostname_body_spec.rb +1 -1
  225. data/spec/models/{null_string_spec.rb → update_subscription_payload_spec.rb} +9 -9
  226. data/spec/models/verifiable_identity_address_spec.rb +1 -1
  227. data/spec/models/version_spec.rb +1 -1
  228. data/spec/spec_helper.rb +1 -1
  229. data/vendor/bundle/ruby/2.5.0/cache/diff-lcs-1.5.0.gem +0 -0
  230. data/vendor/bundle/ruby/2.5.0/cache/parser-3.1.0.0.gem +0 -0
  231. data/vendor/bundle/ruby/2.5.0/cache/psych-4.0.3.gem +0 -0
  232. data/vendor/bundle/ruby/2.5.0/cache/stringio-3.0.1.gem +0 -0
  233. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/byebug-11.1.3/gem_make.out +2 -2
  234. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/ffi-1.15.4/gem_make.out +2 -2
  235. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/jaro_winkler-1.5.4/gem_make.out +2 -2
  236. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/{psych-4.0.2 → psych-4.0.3}/gem.build_complete +0 -0
  237. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/{psych-4.0.2 → psych-4.0.3}/gem_make.out +6 -6
  238. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/{psych-4.0.2 → psych-4.0.3}/mkmf.log +0 -0
  239. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/{psych-4.0.2 → psych-4.0.3}/psych.so +0 -0
  240. data/vendor/bundle/ruby/2.5.0/{gems/psych-4.0.2/ext/psych/.sitearchdir.time → extensions/x86_64-linux/2.5.0/stringio-3.0.1/gem.build_complete} +0 -0
  241. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/stringio-3.0.1/gem_make.out +16 -0
  242. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/stringio-3.0.1/mkmf.log +66 -0
  243. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/stringio-3.0.1/stringio.so +0 -0
  244. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/Makefile +2 -2
  245. data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.4.4 → diff-lcs-1.5.0}/.rspec +0 -0
  246. data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.4.4 → diff-lcs-1.5.0}/Code-of-Conduct.md +0 -0
  247. data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.4.4 → diff-lcs-1.5.0}/Contributing.md +1 -0
  248. data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.4.4 → diff-lcs-1.5.0}/History.md +201 -120
  249. data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.4.4 → diff-lcs-1.5.0}/License.md +0 -0
  250. data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.4.4 → diff-lcs-1.5.0}/Manifest.txt +15 -1
  251. data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.4.4 → diff-lcs-1.5.0}/README.rdoc +0 -0
  252. data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.4.4 → diff-lcs-1.5.0}/Rakefile +48 -1
  253. data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.4.4 → diff-lcs-1.5.0}/bin/htmldiff +0 -0
  254. data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.4.4 → diff-lcs-1.5.0}/bin/ldiff +0 -0
  255. data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.4.4 → diff-lcs-1.5.0}/docs/COPYING.txt +0 -0
  256. data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.4.4 → diff-lcs-1.5.0}/docs/artistic.txt +0 -0
  257. data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.4.4 → diff-lcs-1.5.0}/lib/diff/lcs/array.rb +0 -0
  258. data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.4.4 → diff-lcs-1.5.0}/lib/diff/lcs/backports.rb +0 -0
  259. data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.4.4 → diff-lcs-1.5.0}/lib/diff/lcs/block.rb +0 -0
  260. data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.4.4 → diff-lcs-1.5.0}/lib/diff/lcs/callbacks.rb +0 -0
  261. data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.4.4 → diff-lcs-1.5.0}/lib/diff/lcs/change.rb +0 -0
  262. data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.4.4 → diff-lcs-1.5.0}/lib/diff/lcs/htmldiff.rb +0 -0
  263. data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.4.4 → diff-lcs-1.5.0}/lib/diff/lcs/hunk.rb +0 -0
  264. data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.4.4 → diff-lcs-1.5.0}/lib/diff/lcs/internals.rb +7 -3
  265. data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.4.4 → diff-lcs-1.5.0}/lib/diff/lcs/ldiff.rb +0 -0
  266. data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.4.4 → diff-lcs-1.5.0}/lib/diff/lcs/string.rb +0 -0
  267. data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.4.4 → diff-lcs-1.5.0}/lib/diff/lcs.rb +25 -25
  268. data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.4.4 → diff-lcs-1.5.0}/lib/diff-lcs.rb +0 -0
  269. data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.4.4 → diff-lcs-1.5.0}/spec/change_spec.rb +0 -0
  270. data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.4.4 → diff-lcs-1.5.0}/spec/diff_spec.rb +0 -0
  271. data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.4.4 → diff-lcs-1.5.0}/spec/fixtures/aX +0 -0
  272. data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.4.4 → diff-lcs-1.5.0}/spec/fixtures/bXaX +0 -0
  273. data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.4.4 → diff-lcs-1.5.0}/spec/fixtures/ds1.csv +0 -0
  274. data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.4.4 → diff-lcs-1.5.0}/spec/fixtures/ds2.csv +0 -0
  275. data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.4.4 → diff-lcs-1.5.0}/spec/fixtures/ldiff/output.diff +0 -0
  276. data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.4.4 → diff-lcs-1.5.0}/spec/fixtures/ldiff/output.diff-c +0 -0
  277. data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.4.4 → diff-lcs-1.5.0}/spec/fixtures/ldiff/output.diff-e +0 -0
  278. data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.4.4 → diff-lcs-1.5.0}/spec/fixtures/ldiff/output.diff-f +0 -0
  279. data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.4.4 → diff-lcs-1.5.0}/spec/fixtures/ldiff/output.diff-u +0 -0
  280. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef +4 -0
  281. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef-c +15 -0
  282. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef-e +3 -0
  283. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef-f +3 -0
  284. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef-u +9 -0
  285. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef2 +7 -0
  286. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef2-c +20 -0
  287. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef2-d +7 -0
  288. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef2-e +7 -0
  289. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef2-f +7 -0
  290. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef2-u +16 -0
  291. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/spec/fixtures/new-chef +4 -0
  292. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/spec/fixtures/new-chef2 +17 -0
  293. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/spec/fixtures/old-chef +4 -0
  294. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/spec/fixtures/old-chef2 +14 -0
  295. data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.4.4 → diff-lcs-1.5.0}/spec/hunk_spec.rb +0 -0
  296. data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.4.4 → diff-lcs-1.5.0}/spec/issues_spec.rb +0 -0
  297. data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.4.4 → diff-lcs-1.5.0}/spec/lcs_spec.rb +0 -0
  298. data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.4.4 → diff-lcs-1.5.0}/spec/ldiff_spec.rb +0 -0
  299. data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.4.4 → diff-lcs-1.5.0}/spec/patch_spec.rb +0 -0
  300. data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.4.4 → diff-lcs-1.5.0}/spec/sdiff_spec.rb +0 -0
  301. data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.4.4 → diff-lcs-1.5.0}/spec/spec_helper.rb +5 -6
  302. data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.4.4 → diff-lcs-1.5.0}/spec/traverse_balanced_spec.rb +0 -0
  303. data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.4.4 → diff-lcs-1.5.0}/spec/traverse_sequences_spec.rb +2 -4
  304. data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.4/ext/ffi_c/Makefile +2 -2
  305. data/vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/Makefile +2 -2
  306. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.3.2 → parser-3.1.0.0}/LICENSE.txt +0 -0
  307. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.3.2 → parser-3.1.0.0}/bin/ruby-parse +0 -0
  308. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.3.2 → parser-3.1.0.0}/bin/ruby-rewrite +0 -0
  309. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.3.2 → parser-3.1.0.0}/lib/gauntlet_parser.rb +0 -0
  310. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.3.2 → parser-3.1.0.0}/lib/parser/all.rb +0 -0
  311. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.3.2 → parser-3.1.0.0}/lib/parser/ast/node.rb +0 -0
  312. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.3.2 → parser-3.1.0.0}/lib/parser/ast/processor.rb +0 -0
  313. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.3.2 → parser-3.1.0.0}/lib/parser/base.rb +0 -0
  314. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.3.2 → parser-3.1.0.0}/lib/parser/builders/default.rb +1 -1
  315. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.3.2 → parser-3.1.0.0}/lib/parser/clobbering_error.rb +0 -0
  316. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.3.2 → parser-3.1.0.0}/lib/parser/color.rb +0 -0
  317. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.0.0/lib/parser/context.rb +49 -0
  318. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.3.2 → parser-3.1.0.0}/lib/parser/current.rb +4 -4
  319. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.3.2 → parser-3.1.0.0}/lib/parser/current_arg_stack.rb +0 -0
  320. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.3.2 → parser-3.1.0.0}/lib/parser/deprecation.rb +0 -0
  321. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.3.2 → parser-3.1.0.0}/lib/parser/diagnostic/engine.rb +0 -0
  322. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.3.2 → parser-3.1.0.0}/lib/parser/diagnostic.rb +0 -0
  323. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.3.2 → parser-3.1.0.0}/lib/parser/lexer/dedenter.rb +0 -0
  324. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.3.2 → parser-3.1.0.0}/lib/parser/lexer/explanation.rb +1 -1
  325. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.3.2 → parser-3.1.0.0}/lib/parser/lexer/literal.rb +0 -0
  326. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.3.2 → parser-3.1.0.0}/lib/parser/lexer/stack_state.rb +0 -0
  327. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.0.0/lib/parser/lexer.rb +25015 -0
  328. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.0.0/lib/parser/macruby.rb +6177 -0
  329. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.3.2 → parser-3.1.0.0}/lib/parser/max_numparam_stack.rb +5 -5
  330. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.3.2 → parser-3.1.0.0}/lib/parser/messages.rb +0 -0
  331. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.3.2 → parser-3.1.0.0}/lib/parser/meta.rb +0 -0
  332. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.3.2 → parser-3.1.0.0}/lib/parser/rewriter.rb +0 -0
  333. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.0.0/lib/parser/ruby18.rb +5708 -0
  334. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.0.0/lib/parser/ruby19.rb +6126 -0
  335. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.0.0/lib/parser/ruby20.rb +6563 -0
  336. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.0.0/lib/parser/ruby21.rb +6611 -0
  337. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.0.0/lib/parser/ruby22.rb +6655 -0
  338. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.0.0/lib/parser/ruby23.rb +6669 -0
  339. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.0.0/lib/parser/ruby24.rb +6736 -0
  340. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.0.0/lib/parser/ruby25.rb +6694 -0
  341. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.0.0/lib/parser/ruby26.rb +6721 -0
  342. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.0.0/lib/parser/ruby27.rb +7914 -0
  343. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.3.2 → parser-3.1.0.0}/lib/parser/ruby28.rb +0 -0
  344. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.0.0/lib/parser/ruby30.rb +8096 -0
  345. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.0.0/lib/parser/ruby31.rb +8354 -0
  346. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.0.0/lib/parser/rubymotion.rb +6125 -0
  347. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.3.2 → parser-3.1.0.0}/lib/parser/runner/ruby_parse.rb +0 -0
  348. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.3.2 → parser-3.1.0.0}/lib/parser/runner/ruby_rewrite.rb +0 -0
  349. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.3.2 → parser-3.1.0.0}/lib/parser/runner.rb +0 -0
  350. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.3.2 → parser-3.1.0.0}/lib/parser/source/buffer.rb +0 -0
  351. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.3.2 → parser-3.1.0.0}/lib/parser/source/comment/associator.rb +0 -0
  352. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.3.2 → parser-3.1.0.0}/lib/parser/source/comment.rb +0 -0
  353. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.3.2 → parser-3.1.0.0}/lib/parser/source/map/collection.rb +0 -0
  354. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.3.2 → parser-3.1.0.0}/lib/parser/source/map/condition.rb +0 -0
  355. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.3.2 → parser-3.1.0.0}/lib/parser/source/map/constant.rb +0 -0
  356. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.3.2 → parser-3.1.0.0}/lib/parser/source/map/definition.rb +0 -0
  357. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.3.2 → parser-3.1.0.0}/lib/parser/source/map/for.rb +0 -0
  358. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.3.2 → parser-3.1.0.0}/lib/parser/source/map/heredoc.rb +0 -0
  359. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.3.2 → parser-3.1.0.0}/lib/parser/source/map/index.rb +0 -0
  360. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.3.2 → parser-3.1.0.0}/lib/parser/source/map/keyword.rb +0 -0
  361. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.3.2 → parser-3.1.0.0}/lib/parser/source/map/method_definition.rb +0 -0
  362. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.3.2 → parser-3.1.0.0}/lib/parser/source/map/objc_kwarg.rb +0 -0
  363. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.3.2 → parser-3.1.0.0}/lib/parser/source/map/operator.rb +0 -0
  364. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.3.2 → parser-3.1.0.0}/lib/parser/source/map/rescue_body.rb +0 -0
  365. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.3.2 → parser-3.1.0.0}/lib/parser/source/map/send.rb +0 -0
  366. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.3.2 → parser-3.1.0.0}/lib/parser/source/map/ternary.rb +0 -0
  367. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.3.2 → parser-3.1.0.0}/lib/parser/source/map/variable.rb +0 -0
  368. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.3.2 → parser-3.1.0.0}/lib/parser/source/map.rb +0 -0
  369. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.3.2 → parser-3.1.0.0}/lib/parser/source/range.rb +0 -0
  370. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.3.2 → parser-3.1.0.0}/lib/parser/source/rewriter/action.rb +0 -0
  371. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.3.2 → parser-3.1.0.0}/lib/parser/source/rewriter.rb +0 -0
  372. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.3.2 → parser-3.1.0.0}/lib/parser/source/tree_rewriter/action.rb +0 -0
  373. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.3.2 → parser-3.1.0.0}/lib/parser/source/tree_rewriter.rb +0 -0
  374. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.3.2 → parser-3.1.0.0}/lib/parser/static_environment.rb +0 -0
  375. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.3.2 → parser-3.1.0.0}/lib/parser/syntax_error.rb +0 -0
  376. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.3.2 → parser-3.1.0.0}/lib/parser/tree_rewriter.rb +0 -0
  377. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.3.2 → parser-3.1.0.0}/lib/parser/variables_stack.rb +0 -0
  378. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.3.2 → parser-3.1.0.0}/lib/parser/version.rb +1 -1
  379. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.3.2 → parser-3.1.0.0}/lib/parser.rb +0 -0
  380. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.3.2 → parser-3.1.0.0}/parser.gemspec +0 -0
  381. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/.gitignore +0 -0
  382. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/Gemfile +0 -0
  383. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/LICENSE +0 -0
  384. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/Mavenfile +0 -0
  385. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/README.md +0 -0
  386. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/Rakefile +0 -0
  387. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/bin/console +0 -0
  388. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/bin/setup +0 -0
  389. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/ext/psych/.sitearchdir.time +0 -0
  390. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/ext/psych/Makefile +2 -2
  391. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/ext/psych/api.o +0 -0
  392. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/ext/psych/depend +0 -0
  393. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/ext/psych/dumper.o +0 -0
  394. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/ext/psych/emitter.o +0 -0
  395. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/ext/psych/extconf.rb +0 -0
  396. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/ext/psych/loader.o +0 -0
  397. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/ext/psych/parser.o +0 -0
  398. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/ext/psych/psych.c +0 -0
  399. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/ext/psych/psych.h +0 -0
  400. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/ext/psych/psych.o +0 -0
  401. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2/lib → psych-4.0.3/ext/psych}/psych.so +0 -0
  402. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/ext/psych/psych_emitter.c +0 -0
  403. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/ext/psych/psych_emitter.h +0 -0
  404. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/ext/psych/psych_emitter.o +0 -0
  405. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/ext/psych/psych_parser.c +0 -0
  406. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/ext/psych/psych_parser.h +0 -0
  407. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/ext/psych/psych_parser.o +0 -0
  408. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/ext/psych/psych_to_ruby.c +0 -0
  409. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/ext/psych/psych_to_ruby.h +0 -0
  410. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/ext/psych/psych_to_ruby.o +0 -0
  411. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/ext/psych/psych_yaml_tree.c +0 -0
  412. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/ext/psych/psych_yaml_tree.h +0 -0
  413. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/ext/psych/psych_yaml_tree.o +0 -0
  414. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/ext/psych/reader.o +0 -0
  415. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/ext/psych/scanner.o +0 -0
  416. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/ext/psych/writer.o +0 -0
  417. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/ext/psych/yaml/LICENSE +0 -0
  418. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/ext/psych/yaml/api.c +0 -0
  419. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/ext/psych/yaml/config.h +0 -0
  420. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/ext/psych/yaml/dumper.c +0 -0
  421. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/ext/psych/yaml/emitter.c +0 -0
  422. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/ext/psych/yaml/loader.c +0 -0
  423. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/ext/psych/yaml/parser.c +0 -0
  424. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/ext/psych/yaml/reader.c +0 -0
  425. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/ext/psych/yaml/scanner.c +0 -0
  426. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/ext/psych/yaml/writer.c +0 -0
  427. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/ext/psych/yaml/yaml.h +0 -0
  428. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/ext/psych/yaml/yaml_private.h +0 -0
  429. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/lib/psych/class_loader.rb +2 -2
  430. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/lib/psych/coder.rb +0 -0
  431. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/lib/psych/core_ext.rb +1 -1
  432. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/lib/psych/exception.rb +0 -0
  433. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/lib/psych/handler.rb +0 -0
  434. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/lib/psych/handlers/document_stream.rb +1 -1
  435. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/lib/psych/handlers/recorder.rb +1 -1
  436. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/lib/psych/json/ruby_events.rb +0 -0
  437. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/lib/psych/json/stream.rb +2 -2
  438. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/lib/psych/json/tree_builder.rb +1 -1
  439. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/lib/psych/json/yaml_events.rb +0 -0
  440. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/lib/psych/nodes/alias.rb +0 -0
  441. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/lib/psych/nodes/document.rb +0 -0
  442. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/lib/psych/nodes/mapping.rb +0 -0
  443. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/lib/psych/nodes/node.rb +2 -2
  444. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/lib/psych/nodes/scalar.rb +0 -0
  445. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/lib/psych/nodes/sequence.rb +0 -0
  446. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/lib/psych/nodes/stream.rb +0 -0
  447. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/lib/psych/nodes.rb +7 -7
  448. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/lib/psych/omap.rb +0 -0
  449. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/lib/psych/parser.rb +0 -0
  450. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/lib/psych/scalar_scanner.rb +0 -0
  451. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/lib/psych/set.rb +0 -0
  452. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/lib/psych/stream.rb +0 -0
  453. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/lib/psych/streaming.rb +0 -0
  454. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/lib/psych/syntax_error.rb +1 -1
  455. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/lib/psych/tree_builder.rb +1 -1
  456. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/lib/psych/versions.rb +1 -1
  457. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/lib/psych/visitors/depth_first.rb +0 -0
  458. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/lib/psych/visitors/emitter.rb +0 -0
  459. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/lib/psych/visitors/json_tree.rb +1 -1
  460. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/lib/psych/visitors/to_ruby.rb +3 -3
  461. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/lib/psych/visitors/visitor.rb +0 -0
  462. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/lib/psych/visitors/yaml_tree.rb +3 -3
  463. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/lib/psych/visitors.rb +7 -0
  464. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/lib/psych/y.rb +0 -0
  465. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/lib/psych.rb +17 -17
  466. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2/ext/psych → psych-4.0.3/lib}/psych.so +0 -0
  467. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.2 → psych-4.0.3}/psych.gemspec +2 -0
  468. data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.1/README.md +44 -0
  469. data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.1/ext/stringio/.sitearchdir.time +0 -0
  470. data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.1/ext/stringio/Makefile +264 -0
  471. data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.1/ext/stringio/extconf.rb +4 -0
  472. data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.1/ext/stringio/stringio.c +1866 -0
  473. data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.1/ext/stringio/stringio.o +0 -0
  474. data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.1/ext/stringio/stringio.so +0 -0
  475. data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.1/lib/stringio.so +0 -0
  476. data/vendor/bundle/ruby/2.5.0/specifications/{diff-lcs-1.4.4.gemspec → diff-lcs-1.5.0.gemspec} +9 -9
  477. data/vendor/bundle/ruby/2.5.0/specifications/{parser-3.0.3.2.gemspec → parser-3.1.0.0.gemspec} +4 -4
  478. data/vendor/bundle/ruby/2.5.0/specifications/{psych-4.0.2.gemspec → psych-4.0.3.gemspec} +15 -3
  479. data/vendor/bundle/ruby/2.5.0/specifications/stringio-3.0.1.gemspec +24 -0
  480. metadata +264 -232
  481. data/docs/NullString.md +0 -20
  482. data/docs/NullUUID.md +0 -20
  483. data/docs/ProvisionProjectPayload.md +0 -18
  484. data/spec/models/provision_project_payload_spec.rb +0 -34
  485. data/vendor/bundle/ruby/2.5.0/cache/diff-lcs-1.4.4.gem +0 -0
  486. data/vendor/bundle/ruby/2.5.0/cache/parser-3.0.3.2.gem +0 -0
  487. data/vendor/bundle/ruby/2.5.0/cache/psych-4.0.2.gem +0 -0
  488. data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.4.4/autotest/discover.rb +0 -3
  489. data/vendor/bundle/ruby/2.5.0/gems/parser-3.0.3.2/lib/parser/context.rb +0 -75
  490. data/vendor/bundle/ruby/2.5.0/gems/parser-3.0.3.2/lib/parser/lexer.rb +0 -25028
  491. data/vendor/bundle/ruby/2.5.0/gems/parser-3.0.3.2/lib/parser/macruby.rb +0 -6149
  492. data/vendor/bundle/ruby/2.5.0/gems/parser-3.0.3.2/lib/parser/ruby18.rb +0 -5667
  493. data/vendor/bundle/ruby/2.5.0/gems/parser-3.0.3.2/lib/parser/ruby19.rb +0 -6092
  494. data/vendor/bundle/ruby/2.5.0/gems/parser-3.0.3.2/lib/parser/ruby20.rb +0 -6527
  495. data/vendor/bundle/ruby/2.5.0/gems/parser-3.0.3.2/lib/parser/ruby21.rb +0 -6578
  496. data/vendor/bundle/ruby/2.5.0/gems/parser-3.0.3.2/lib/parser/ruby22.rb +0 -6613
  497. data/vendor/bundle/ruby/2.5.0/gems/parser-3.0.3.2/lib/parser/ruby23.rb +0 -6624
  498. data/vendor/bundle/ruby/2.5.0/gems/parser-3.0.3.2/lib/parser/ruby24.rb +0 -6694
  499. data/vendor/bundle/ruby/2.5.0/gems/parser-3.0.3.2/lib/parser/ruby25.rb +0 -6662
  500. data/vendor/bundle/ruby/2.5.0/gems/parser-3.0.3.2/lib/parser/ruby26.rb +0 -6676
  501. data/vendor/bundle/ruby/2.5.0/gems/parser-3.0.3.2/lib/parser/ruby27.rb +0 -7866
  502. data/vendor/bundle/ruby/2.5.0/gems/parser-3.0.3.2/lib/parser/ruby30.rb +0 -8064
  503. data/vendor/bundle/ruby/2.5.0/gems/parser-3.0.3.2/lib/parser/ruby31.rb +0 -8292
  504. data/vendor/bundle/ruby/2.5.0/gems/parser-3.0.3.2/lib/parser/rubymotion.rb +0 -6086
  505. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.2/lib/psych/visitors.rb +0 -7
@@ -1,107 +1,161 @@
1
1
  # History
2
2
 
3
+ ## 1.5.0 / 2021-12-23
4
+
5
+ - Updated the CI configuration and monkey-patch Hoe.
6
+
7
+ - Kenichi Kamiya fixed a test configuration deprecation in SimpleCov. [#69]
8
+
9
+ - Tien introduced several corrections and code improvements:
10
+
11
+ - Removed an off-by-one error when calculating an index value by embracing
12
+ Ruby iteration properly. This had a side-effect of fixing a long-standing
13
+ bug in `#traverse_sequences` where the traversal would not be transitive.
14
+ That is, `LCS(s2, s1)` should produce a sequence that is transitive with
15
+ `LCS(s1, s2)` on traversal, and applying the diff computed from those
16
+ results would result in equivalent changes that could be played forward or
17
+ backward as appropriate. [#71], [#75]
18
+
19
+ - The above fix resulted in a changed order of the longest common subsequence
20
+ when callbacks were applied. After analysis, it was determined that the
21
+ computed subsequence was _equivalent_ to the prior version, so the test was
22
+ updated. This also resulted in the clarification of documentation when
23
+ traversing the subsequences. [#79]
24
+
25
+ - An infinite loop case in the case where Diff::LCS would be included into an
26
+ enumerable class has been fixed. [#73]
27
+
28
+ - Clarified the purpose of a threshold test in calculation of LCS. [#72],
29
+ [#80]
30
+
31
+ - Removed autotest directory
32
+
3
33
  ## 1.4.4 / 2020-07-01
4
34
 
5
35
  - Fixed an issue reported by Jun Aruga in the Diff::LCS::Ldiff binary text
6
- detection. [#44][]
36
+ detection. [#44]
37
+
7
38
  - Fixed a theoretical issue reported by Jun Aruga in Diff::LCS::Hunk to raise
8
- a more useful exception. [#43][]
39
+ a more useful exception. [#43]
40
+
9
41
  - Added documentation that should address custom object issues as reported in
10
- [#35][].
42
+ [#35].
43
+
44
+ - Fixed more diff errors, in part reported in [#65].
11
45
 
12
- - Fixed more diff errors, in part reported in [#65][].
46
+ - The use of `Numeric#abs` is incorrect in `Diff::LCS::Block#diff_size`. The
47
+ diff size _must_ be accurate for correct change placement.
13
48
 
14
- - The use of `Numeric#abs` is incorrect in `Diff::LCS::Block#diff_size`.
15
- The diff size _must_ be accurate for correct change placement.
16
49
  - When selecting @max_diff_size in Diff::LCS::Hunk, choose it based on
17
50
  `block.diff_size.abs`.
18
- - Made a number of changes that will, unfortunately, increase allocations
19
- at the cost of being safe with frozen strings.
20
- - Add some knowledge that when `Diff::LCS::Hunk#diff` is called, that we
21
- are processing the _last_ hunk, so some changes will be made to how the
22
- output is generated.
51
+
52
+ - Made a number of changes that will, unfortunately, increase allocations at
53
+ the cost of being safe with frozen strings.
54
+
55
+ - Add some knowledge that when `Diff::LCS::Hunk#diff` is called, that we are
56
+ processing the _last_ hunk, so some changes will be made to how the output
57
+ is generated.
23
58
 
24
59
  - `old`, `ed`, and `reverse_ed` formats have no differences.
60
+
25
61
  - `unified` format will report `` given the
26
- correct conditions, at most once. Unified range reporting also
27
- differs for the last hunk such that the `length` of the range is
28
- reduced by one.
62
+ correct conditions, at most once. Unified range reporting also differs for
63
+ the last hunk such that the `length` of the range is reduced by one.
64
+
29
65
  - `context` format will report `\No newline at end of file` given the
30
66
  correct conditions, up to once per "file". Context range reporting also
31
- differs for the last hunk such that the `end` part of the range is
32
- reduced by one to a minimum of one.
67
+ differs for the last hunk such that the `end` part of the range is reduced
68
+ by one to a minimum of one.
33
69
 
34
- - Added a bunch more tests for the cases above, and fixed `hunk_spec.rb` so
35
- that the phrase being compared isn't nonsense French.
70
+ - Added a bunch more tests for the cases above, and fixed `hunk_spec.rb` so that
71
+ the phrase being compared isn't nonsense French.
36
72
 
37
73
  - Updated formatting.
74
+
38
75
  - Added a Rake task to assist with manual testing on Ruby 1.8.
39
76
 
40
77
  ## 1.4.3 / 2020-06-29
41
78
 
42
79
  - Fixed several issues with the 1.4 on Rubies older than 2.0. Some of this was
43
- providing useful shim functions to Hoe 3.x (which dropped these older
44
- Rubies a while ago). Specifically:
80
+ providing useful shim functions to Hoe 3.x (which dropped these older Rubies
81
+ a while ago). Specifically:
45
82
 
46
83
  - Removed Array#lazy from a method in Diff::LCS::Hunk.
84
+
47
85
  - Changed some unit tests to use old-style Symbol-keyed hashes.
48
- - Changed some unit test helper functions to no longer use keyword
49
- parameters, but only a trailing options hash.
86
+
87
+ - Changed some unit test helper functions to no longer use keyword parameters,
88
+ but only a trailing options hash.
89
+
50
90
  - Made the use of `psych` dependent on `RUBY_VERSION >= 1.9`.
51
91
 
52
- Resolves [#63][].
92
+ Resolves [#63].
53
93
 
54
94
  ## 1.4.2 / 2020-06-23
55
95
 
56
- - Camille Drapier fixed a small issue with RuboCop configuration. [#59][]
96
+ - Camille Drapier fixed a small issue with RuboCop configuration. [#59]
97
+
57
98
  - Applied another fix (and unit test) to fix an issue for the Chef team.
58
- [#60][], [#61][]
99
+ [#60], [#61]
59
100
 
60
101
  ## 1.4.1 / 2020-06-23
61
102
 
62
- - Fix an issue where diff sizes could be negative, and they should be. [#57][],
63
- [#58][]
103
+ - Fix an issue where diff sizes could be negative, and they should be. [#57],
104
+ [#58]
64
105
 
65
106
  ## 1.4 / 2020-06-23
66
107
 
67
- - Ruby versions lower than 2.4 are soft-deprecated and will not be run as
68
- part of the CI process any longer.
108
+ - Ruby versions lower than 2.4 are soft-deprecated and will not be run as part
109
+ of the CI process any longer.
110
+
69
111
  - Akinora MUSHA (knu) added the ability for Diff::LCS::Change objects to be
70
- implicitly treated arrays. Originally provided as pull request [#47][],
71
- but it introduced a number of test failures as documented in [#48][], and
72
- remediation of Diff::LCS itself was introduced in [#49][].
73
- - Resolved [#5][] with some tests comparing output from `system` calls to
74
- `bin/ldiff` with some pre-generated output. Resolved [#6][] with these
75
- tests.
76
- - Resolved a previously undetected `bin/ldiff` issue with `--context` output
77
- not matching `diff --context` output.
112
+ implicitly treated arrays. Originally provided as pull request [#47], but it
113
+ introduced a number of test failures as documented in [#48], and remediation
114
+ of Diff::LCS itself was introduced in [#49].
115
+
116
+ - Resolved [#5] with some tests comparing output from `system` calls to
117
+ `bin/ldiff` with some pre-generated output. Resolved [#6] with these tests.
118
+
119
+ - Resolved a previously undetected `bin/ldiff` issue with `--context` output not
120
+ matching `diff --context` output.
121
+
78
122
  - Resolved an issue with later versions of Ruby not working with an `OptParse`
79
123
  specification of `Numeric`; this has been changed to `Integer`.
80
- - Brandon Fish added truffleruby in [#52][].
81
- - Fixed two missing classes as reported in [#53][].
124
+
125
+ - Brandon Fish added truffleruby in [#52].
126
+
127
+ - Fixed two missing classes as reported in [#53].
82
128
 
83
129
  ## 1.3 / 2017-01-18
84
130
 
85
131
  - Bugs fixed:
86
132
 
87
- - Fixed an error for bin/ldiff --version. Fixes issue [#21][].
133
+ - Fixed an error for bin/ldiff --version. Fixes issue [#21].
134
+
88
135
  - Force Diff::LCS::Change and Diff::LCS::ContextChange to only perform
89
- equality comparisons against themselves. Provided by Kevin Mook in
90
- pull request [#29][].
91
- - Fix tab expansion in htmldiff, provided by Mark Friedgan in
92
- pull request [#25][].
93
- - Silence Ruby 2.4 Fixnum deprecation warnings. Fixxues issue [#38][] and
94
- [pull request#36][].
95
- - Ensure that test dependencies are loaded properly. Fixes issue [#33][]
96
- and pull request [#34][].
97
- - Fix issue [#1][] with incorrect intuition of patch direction. Tentative
98
- fix, but the previous failure cases pass now.
136
+ equality comparisons against themselves. Provided by Kevin Mook in pull
137
+ request [#29].
138
+
139
+ - Fix tab expansion in htmldiff, provided by Mark Friedgan in pull request
140
+ [#25].
141
+
142
+ - Silence Ruby 2.4 Fixnum deprecation warnings. Fixes issue [#38] and pull
143
+ request [#36].
144
+
145
+ - Ensure that test dependencies are loaded properly. Fixes issue [#33] and
146
+ pull request [#34].
147
+
148
+ - Fix issue [#1] with incorrect intuition of patch direction. Tentative fix,
149
+ but the previous failure cases pass now.
99
150
 
100
151
  - Tooling changes:
101
152
 
102
153
  - Added SimpleCov and Coveralls support.
154
+
103
155
  - Change the homepage (temporarily) to the GitHub repo.
156
+
104
157
  - Updated testing and gem infrastructure.
158
+
105
159
  - Modernized the specs.
106
160
 
107
161
  - Cleaned up documentation.
@@ -112,20 +166,19 @@
112
166
 
113
167
  - Bugs fixed:
114
168
 
115
- - Comparing arrays flattened them too far, especially with
116
- Diff::LCS.sdiff. Fixed by Josh Bronson in pull request [#23][].
169
+ - Comparing arrays flattened them too far, especially with Diff::LCS.sdiff.
170
+ Fixed by Josh Bronson in pull request [#23].
117
171
 
118
172
  ## 1.2.4 / 2013-04-20
119
173
 
120
174
  - Bugs fixed:
121
175
 
122
- - A bug was introduced after 1.1.3 when pruning common sequences at the
123
- start of comparison. Paul Kunysch (@pck) fixed this in
124
- pull request [#18][]. Thanks!
176
+ - A bug was introduced after 1.1.3 when pruning common sequences at the start
177
+ of comparison. Paul Kunysch (@pck) fixed this in pull request [#18]. Thanks!
125
178
 
126
- - The Rubinius (1.9 mode) bug in [rubinius/rubinius#2268][] has been
127
- fixed by the Rubinius team two days after it was filed. Thanks for
128
- fixing this so quickly!
179
+ - The Rubinius (1.9 mode) bug in [rubinius/rubinius#2268] has been fixed by
180
+ the Rubinius team two days after it was filed. Thanks for fixing this so
181
+ quickly!
129
182
 
130
183
  - Switching to Raggi's hoe-gemspec2 for gemspec generation.
131
184
 
@@ -135,94 +188,106 @@
135
188
 
136
189
  - The new encoding detection for diff output generation (added in 1.2.2)
137
190
  introduced a bug if the left side of the comparison was the empty set.
138
- Originally found in [rspec/rspec-expectations#238][] and
139
- [rspec/rspec-expectations#239][]. Jon Rowe developed a reasonable
140
- heuristic (left side, right side, empty string literal) to avoid this
141
- bug.
191
+ Originally found in [rspec/rspec-expectations#238] and
192
+ [rspec/rspec-expectations#239]. Jon Rowe developed a reasonable heuristic
193
+ (left side, right side, empty string literal) to avoid this bug.
194
+
142
195
  - There is a known issue with Rubinius in 1.9 mode reported in
143
- [rubinius/rubinius#2268][] and demonstrated in the Travis CI builds.
144
- For all other tested platforms, diff-lcs is considered stable. As soon
145
- as a suitably small test-case can be created for the Rubinius team to
146
- examine, this will be added to the Rubinius issue around this.
196
+ [rubinius/rubinius#2268] and demonstrated in the Travis CI builds. For all
197
+ other tested platforms, diff-lcs is considered stable. As soon as a suitably
198
+ small test-case can be created for the Rubinius team to examine, this will
199
+ be added to the Rubinius issue around this.
147
200
 
148
201
  ## 1.2.2 / 2013-03-30
149
202
 
150
203
  - Bugs Fixed:
151
204
 
152
- - Diff::LCS::Hunk could not properly generate a difference for comparison
153
- sets that are not US-ASCII-compatible because of the use of literal
154
- regular expressions and strings. Jon Rowe found this in
155
- [rspec/rspec-expectations#219][] and provided a first pass
156
- implementation in pull request [#15][]. I've reworked it because of
157
- test failures in Rubinius when running in Ruby 1.9 mode. This coerces
158
- the added values to the encoding of the old dataset (as determined by
159
- the first piece of the old dataset).
205
+ - Diff::LCS::Hunk could not properly generate a difference for comparison sets
206
+ that are not US-ASCII-compatible because of the use of literal regular
207
+ expressions and strings. Jon Rowe found this in
208
+ [rspec/rspec-expectations#219] and provided a first pass implementation in
209
+ pull request [#15]. I've reworked it because of test failures in Rubinius
210
+ when running in Ruby 1.9 mode. This coerces the added values to the encoding
211
+ of the old dataset (as determined by the first piece of the old dataset).
212
+
160
213
  - Adding Travis CI testing for Ruby 2.0.
161
214
 
162
215
  ## 1.2.1 / 2013-02-09
163
216
 
164
217
  - Bugs Fixed:
165
218
 
166
- - As seen in [rspec/rspec-expectations#200][], the release of
167
- Diff::LCS 1.2 introduced an unnecessary public API change to
168
- Diff::LCS::Hunk (see the change at
169
- [rspec/rspec-expectations@3d6fc82c][] for details). The new method name
170
- (and behaviour) is more correct, but I should not have renamed the
171
- function or should have at least provided an alias. This release
172
- restores Diff::LCS::Hunk#unshift as an alias to #merge. Note that the
173
- old #unshift behaviour was incorrect and will not be restored.
219
+ - As seen in [rspec/rspec-expectations#200], the release of Diff::LCS 1.2
220
+ introduced an unnecessary public API change to Diff::LCS::Hunk (see the
221
+ change at [rspec/rspec-expectations@3d6fc82c] for details). The new method
222
+ name (and behaviour) is more correct, but I should not have renamed the
223
+ function or should have at least provided an alias. This release restores
224
+ Diff::LCS::Hunk#unshift as an alias to #merge. Note that the old #unshift
225
+ behaviour was incorrect and will not be restored.
174
226
 
175
227
  ## 1.2.0 / 2013-01-21
176
228
 
177
229
  - Minor Enhancements:
178
230
 
179
- - Added special case handling for Diff::LCS.patch so that it handles
180
- patches that are empty or contain no changes.
181
- - Added two new methods (#patch_me and #unpatch_me) to the includable
182
- module.
231
+ - Added special case handling for Diff::LCS.patch so that it handles patches
232
+ that are empty or contain no changes.
233
+
234
+ - Added two new methods (#patch_me and #unpatch_me) to the includable module.
183
235
 
184
236
  - Bugs Fixed:
185
237
 
186
- - Fixed issue [#1][] patch direction detection.
187
- - Resolved issue [#2][] by handling `string[string.size, 1]` properly (it
238
+ - Fixed issue [#1] patch direction detection.
239
+
240
+ - Resolved issue [#2] by handling `string[string.size, 1]` properly (it
188
241
  returns `""` not `nil`).
189
- - Michael Granger (ged) fixed an implementation error in
190
- Diff::LCS::Change and added specs in pull request [#8][]. Thanks!
242
+
243
+ - Michael Granger (ged) fixed an implementation error in Diff::LCS::Change and
244
+ added specs in pull request [#8]. Thanks!
245
+
191
246
  - Made the code auto-testable.
192
- - Vít Ondruch (voxik) provided the latest version of the GPL2 license
193
- file in pull request [#10][]. Thanks!
247
+
248
+ - Vít Ondruch (voxik) provided the latest version of the GPL2 license file in
249
+ pull request [#10]. Thanks!
250
+
194
251
  - Fixed a documentation issue with the includable versions of #patch! and
195
- #unpatch! where they implied that they would replace the original
196
- value. Given that Diff::LCS.patch always returns a copy, the
197
- documentation was incorrect and has been corrected. To provide the
198
- behaviour that was originally documented, two new methods were added to
199
- provide this behaviour. Found by scooter-dangle in issue [#12][].
200
- Thanks!
252
+ #unpatch! where they implied that they would replace the original value.
253
+ Given that Diff::LCS.patch always returns a copy, the documentation was
254
+ incorrect and has been corrected. To provide the behaviour that was
255
+ originally documented, two new methods were added to provide this behaviour.
256
+ Found by scooter-dangle in issue [#12]. Thanks!
201
257
 
202
258
  - Code Style Changes:
203
259
 
204
260
  - Removed trailing spaces.
261
+
205
262
  - Calling class methods using `.` instead of `::`.
206
- - Vít Ondruch (voxik) removed unnecessary shebangs in pull request [#9][].
263
+
264
+ - Vít Ondruch (voxik) removed unnecessary shebangs in pull request [#9].
207
265
  Thanks!
266
+
208
267
  - Kenichi Kamiya (kachick) removed some warnings of an unused variable in
209
- lucky pull request [#13][]. Thanks!
210
- - Embarked on a major refactoring to make the files a little more
211
- manageable and understand the code on a deeper level.
268
+ lucky pull request [#13]. Thanks!
269
+
270
+ - Embarked on a major refactoring to make the files a little more manageable
271
+ and understand the code on a deeper level.
272
+
212
273
  - Adding to http://travis-ci.org.
213
274
 
214
275
  ## 1.1.3 / 2011-08-27
215
276
 
216
277
  - Converted to 'hoe' for release.
278
+
217
279
  - Converted tests to RSpec 2.
218
- - Extracted the body of htmldiff into a class available from
219
- diff/lcs/htmldiff.
280
+
281
+ - Extracted the body of htmldiff into a class available from diff/lcs/htmldiff.
282
+
220
283
  - Migrated development and issue tracking to GitHub.
284
+
221
285
  - Bugs fixed:
222
286
 
223
- - Eliminated the explicit use of RubyGems in both bin/htmldiff and
224
- bin/ldiff. Resolves issue [#4][].
225
- - Eliminated Ruby warnings. Resolves issue [#3][].
287
+ - Eliminated the explicit use of RubyGems in both bin/htmldiff and bin/ldiff.
288
+ Resolves issue [#4].
289
+
290
+ - Eliminated Ruby warnings. Resolves issue [#3].
226
291
 
227
292
  ## 1.1.2 / 2004-10-20
228
293
 
@@ -232,31 +297,38 @@
232
297
 
233
298
  - Fixed bug #891 (Set returned from patch command does not contain last equal
234
299
  part).
300
+
235
301
  - Fixed a problem with callback initialisation code (it assumed that all
236
- callbacks passed as classes can be initialised; now, it rescues
237
- NoMethodError in the event of private :new being called).
302
+ callbacks passed as classes can be initialised; now, it rescues NoMethodError
303
+ in the event of private :new being called).
304
+
238
305
  - Modified the non-initialisable callbacks to have a private #new method.
306
+
239
307
  - Moved ldiff core code to Diff::LCS::Ldiff (diff/lcs/ldiff.rb).
240
308
 
241
- ## 1.1.0 / -
309
+ ## 1.1.0
242
310
 
243
311
  - Eliminated the need for Diff::LCS::Event and removed it.
312
+
244
313
  - Added a contextual diff callback, Diff::LCS::ContextDiffCallback.
245
- - Implemented patching/unpatching for standard Diff callback output formats
246
- with both #diff and #sdiff.
314
+
315
+ - Implemented patching/unpatching for standard Diff callback output formats with
316
+ both #diff and #sdiff.
317
+
247
318
  - Extensive documentation changes.
248
319
 
249
320
  ## 1.0.4
250
321
 
251
- - Fixed a problem with bin/ldiff output, especially for unified format.
252
- Newlines that should have been present weren't.
253
- - Changed the .tar.gz installer to generate Windows batch files if ones do
254
- not exist already. Removed the existing batch files as they didn't work.
322
+ - Fixed a problem with bin/ldiff output, especially for unified format. Newlines
323
+ that should have been present weren't.
324
+
325
+ - Changed the .tar.gz installer to generate Windows batch files if ones do not
326
+ exist already. Removed the existing batch files as they didn't work.
255
327
 
256
328
  ## 1.0.3
257
329
 
258
- - Fixed a problem with #traverse_sequences where the first difference from
259
- the left sequence might not be appropriately captured.
330
+ - Fixed a problem with #traverse_sequences where the first difference from the
331
+ left sequence might not be appropriately captured.
260
332
 
261
333
  ## 1.0.2
262
334
 
@@ -266,8 +338,10 @@
266
338
  ## 1.0.1
267
339
 
268
340
  - Minor modifications to the gemspec, the README.
269
- - Renamed the diff program to ldiff (as well as the companion batch file) so
270
- as to not collide with the standard diff program.
341
+
342
+ - Renamed the diff program to ldiff (as well as the companion batch file) so as
343
+ to not collide with the standard diff program.
344
+
271
345
  - Fixed issues with RubyGems. Requires RubyGems > 0.6.1 or >= 0.6.1 with the
272
346
  latest CVS version.
273
347
 
@@ -317,3 +391,10 @@
317
391
  [#61]: https://github.com/halostatue/diff-lcs/pull/61
318
392
  [#63]: https://github.com/halostatue/diff-lcs/issues/63
319
393
  [#65]: https://github.com/halostatue/diff-lcs/issues/65
394
+ [#69]: https://github.com/halostatue/diff-lcs/issues/69
395
+ [#71]: https://github.com/halostatue/diff-lcs/issues/71
396
+ [#72]: https://github.com/halostatue/diff-lcs/issues/72
397
+ [#73]: https://github.com/halostatue/diff-lcs/issues/73
398
+ [#75]: https://github.com/halostatue/diff-lcs/issues/75
399
+ [#79]: https://github.com/halostatue/diff-lcs/issues/79
400
+ [#80]: https://github.com/halostatue/diff-lcs/issues/80
@@ -6,7 +6,6 @@ License.md
6
6
  Manifest.txt
7
7
  README.rdoc
8
8
  Rakefile
9
- autotest/discover.rb
10
9
  bin/htmldiff
11
10
  bin/ldiff
12
11
  docs/COPYING.txt
@@ -34,6 +33,21 @@ spec/fixtures/ldiff/output.diff-c
34
33
  spec/fixtures/ldiff/output.diff-e
35
34
  spec/fixtures/ldiff/output.diff-f
36
35
  spec/fixtures/ldiff/output.diff-u
36
+ spec/fixtures/ldiff/output.diff.chef
37
+ spec/fixtures/ldiff/output.diff.chef-c
38
+ spec/fixtures/ldiff/output.diff.chef-e
39
+ spec/fixtures/ldiff/output.diff.chef-f
40
+ spec/fixtures/ldiff/output.diff.chef-u
41
+ spec/fixtures/ldiff/output.diff.chef2
42
+ spec/fixtures/ldiff/output.diff.chef2-c
43
+ spec/fixtures/ldiff/output.diff.chef2-d
44
+ spec/fixtures/ldiff/output.diff.chef2-e
45
+ spec/fixtures/ldiff/output.diff.chef2-f
46
+ spec/fixtures/ldiff/output.diff.chef2-u
47
+ spec/fixtures/new-chef
48
+ spec/fixtures/new-chef2
49
+ spec/fixtures/old-chef
50
+ spec/fixtures/old-chef2
37
51
  spec/hunk_spec.rb
38
52
  spec/issues_spec.rb
39
53
  spec/lcs_spec.rb
@@ -2,8 +2,44 @@
2
2
 
3
3
  require 'rubygems'
4
4
  require 'rspec'
5
+ require 'rspec/core/rake_task'
5
6
  require 'hoe'
6
7
 
8
+ # This is required until https://github.com/seattlerb/hoe/issues/112 is fixed
9
+ class Hoe
10
+ def with_config
11
+ config = Hoe::DEFAULT_CONFIG
12
+
13
+ rc = File.expand_path("~/.hoerc")
14
+ homeconfig = load_config(rc)
15
+ config = config.merge(homeconfig)
16
+
17
+ localconfig = load_config(File.expand_path(File.join(Dir.pwd, ".hoerc")))
18
+ config = config.merge(localconfig)
19
+
20
+ yield config, rc
21
+ end
22
+
23
+ def load_config(name)
24
+ File.exist?(name) ? safe_load_yaml(name) : {}
25
+ end
26
+
27
+ def safe_load_yaml(name)
28
+ return safe_load_yaml_file(name) if YAML.respond_to?(:safe_load_file)
29
+
30
+ data = IO.binread(name)
31
+ YAML.safe_load(data, permitted_classes: [Regexp])
32
+ rescue
33
+ YAML.safe_load(data, [Regexp])
34
+ end
35
+
36
+ def safe_load_yaml_file(name)
37
+ YAML.safe_load_file(name, permitted_classes: [Regexp])
38
+ rescue
39
+ YAML.safe_load_file(name, [Regexp])
40
+ end
41
+ end
42
+
7
43
  Hoe.plugin :bundler
8
44
  Hoe.plugin :doofus
9
45
  Hoe.plugin :gemspec2
@@ -44,9 +80,20 @@ _spec = Hoe.spec 'diff-lcs' do
44
80
  extra_dev_deps << ['hoe-rubygems', '~> 1.0']
45
81
  extra_dev_deps << ['rspec', '>= 2.0', '< 4']
46
82
  extra_dev_deps << ['rake', '>= 10.0', '< 14']
47
- extra_dev_deps << ['rdoc', '>= 0']
83
+ extra_dev_deps << ['rdoc', '>= 6.3.1', '< 7']
48
84
  end
49
85
 
86
+ desc "Run all specifications"
87
+ RSpec::Core::RakeTask.new(:spec) do |t|
88
+ rspec_dirs = %w(spec lib).join(":")
89
+ t.rspec_opts = ["-I#{rspec_dirs}"]
90
+ end
91
+
92
+ Rake::Task["spec"].actions.uniq! { |a| a.source_location }
93
+
94
+ task :default => :spec unless Rake::Task["default"].prereqs.include?("spec")
95
+ task :test => :spec unless Rake::Task["test"].prereqs.include?("spec")
96
+
50
97
  if RUBY_VERSION >= '2.0' && RUBY_ENGINE == 'ruby'
51
98
  namespace :spec do
52
99
  desc "Runs test coverage. Only works Ruby 2.0+ and assumes 'simplecov' is installed."
@@ -44,13 +44,12 @@ class << Diff::LCS::Internals
44
44
  b_finish = b.size - 1
45
45
  vector = []
46
46
 
47
- # Prune off any common elements at the beginning...
47
+ # Collect any common elements at the beginning...
48
48
  while (a_start <= a_finish) and (b_start <= b_finish) and (a[a_start] == b[b_start])
49
49
  vector[a_start] = b_start
50
50
  a_start += 1
51
51
  b_start += 1
52
52
  end
53
- b_start = a_start
54
53
 
55
54
  # Now the end...
56
55
  while (a_start <= a_finish) and (b_start <= b_finish) and (a[a_finish] == b[b_finish])
@@ -60,6 +59,7 @@ class << Diff::LCS::Internals
60
59
  end
61
60
 
62
61
  # Now, compute the equivalence classes of positions of elements.
62
+ # An explanation for how this works: https://codeforces.com/topic/92191
63
63
  b_matches = position_hash(b, b_start..b_finish)
64
64
 
65
65
  thresh = []
@@ -71,6 +71,10 @@ class << Diff::LCS::Internals
71
71
  bm = b_matches[ai]
72
72
  k = nil
73
73
  bm.reverse_each do |j|
74
+ # Although the threshold check is not mandatory for this to work,
75
+ # it may have an optimization purpose
76
+ # An attempt to remove it: https://github.com/halostatue/diff-lcs/pull/72
77
+ # Why it is reintroduced: https://github.com/halostatue/diff-lcs/issues/78
74
78
  if k and (thresh[k] > j) and (thresh[k - 1] < j)
75
79
  thresh[k] = j
76
80
  else
@@ -253,7 +257,7 @@ enumerable as either source or destination value."
253
257
  end
254
258
 
255
259
  # Binary search for the insertion point
256
- last_index ||= enum.size
260
+ last_index ||= enum.size - 1
257
261
  first_index = 0
258
262
  while first_index <= last_index
259
263
  i = (first_index + last_index) >> 1