ory-client 0.0.1.alpha31 → 0.0.1.alpha39

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
@@ -49,7 +49,7 @@ module Diff; end unless defined? Diff # rubocop:disable Style/Documentation
49
49
  # a x b y c z p d q
50
50
  # a b c a x b y c z
51
51
  module Diff::LCS
52
- VERSION = '1.4.4'
52
+ VERSION = '1.5.0'
53
53
  end
54
54
 
55
55
  require 'diff/lcs/callbacks'
@@ -85,14 +85,14 @@ module Diff::LCS # rubocop:disable Style/Documentation
85
85
  # Traverses the discovered longest common subsequences between +self+ and
86
86
  # +other+. See Diff::LCS#traverse_sequences.
87
87
  def traverse_sequences(other, callbacks = nil, &block)
88
- traverse_sequences(self, other, callbacks || Diff::LCS::SequenceCallbacks, &block)
88
+ Diff::LCS.traverse_sequences(self, other, callbacks || Diff::LCS::SequenceCallbacks, &block)
89
89
  end
90
90
 
91
91
  # Traverses the discovered longest common subsequences between +self+ and
92
92
  # +other+ using the alternate, balanced algorithm. See
93
93
  # Diff::LCS#traverse_balanced.
94
94
  def traverse_balanced(other, callbacks = nil, &block)
95
- traverse_balanced(self, other, callbacks || Diff::LCS::BalancedCallbacks, &block)
95
+ Diff::LCS.traverse_balanced(self, other, callbacks || Diff::LCS::BalancedCallbacks, &block)
96
96
  end
97
97
 
98
98
  # Attempts to patch +self+ with the provided +patchset+. A new sequence based
@@ -250,8 +250,9 @@ class << Diff::LCS
250
250
  # advance that arrow and will call <tt>callbacks#discard_a</tt> or
251
251
  # <tt>callbacks#discard_b</tt>, depending on which arrow it advanced. If both
252
252
  # arrows point to elements that are not part of the longest common
253
- # subsequence, then #traverse_sequences will advance one of them and call the
254
- # appropriate callback, but it is not specified which it will call.
253
+ # subsequence, then #traverse_sequences will advance arrow +a+ and call the
254
+ # appropriate callback, then it will advance arrow +b+ and call the appropriate
255
+ # callback.
255
256
  #
256
257
  # The methods for <tt>callbacks#match</tt>, <tt>callbacks#discard_a</tt>, and
257
258
  # <tt>callbacks#discard_b</tt> are invoked with an event comprising the
@@ -292,37 +293,36 @@ class << Diff::LCS
292
293
  b_size = seq2.size
293
294
  ai = bj = 0
294
295
 
295
- (0..matches.size).each do |i|
296
- b_line = matches[i]
297
-
298
- ax = string ? seq1[i, 1] : seq1[i]
299
- bx = string ? seq2[bj, 1] : seq2[bj]
300
-
296
+ matches.each do |b_line|
301
297
  if b_line.nil?
302
- unless ax.nil? or (string and ax.empty?)
303
- event = Diff::LCS::ContextChange.new('-', i, ax, bj, bx)
298
+ unless seq1[ai].nil?
299
+ ax = string ? seq1[ai, 1] : seq1[ai]
300
+ bx = string ? seq2[bj, 1] : seq2[bj]
301
+
302
+ event = Diff::LCS::ContextChange.new('-', ai, ax, bj, bx)
304
303
  event = yield event if block_given?
305
304
  callbacks.discard_a(event)
306
305
  end
307
306
  else
307
+ ax = string ? seq1[ai, 1] : seq1[ai]
308
+
308
309
  loop do
309
310
  break unless bj < b_line
310
311
 
311
312
  bx = string ? seq2[bj, 1] : seq2[bj]
312
- event = Diff::LCS::ContextChange.new('+', i, ax, bj, bx)
313
+ event = Diff::LCS::ContextChange.new('+', ai, ax, bj, bx)
313
314
  event = yield event if block_given?
314
315
  callbacks.discard_b(event)
315
316
  bj += 1
316
317
  end
317
318
  bx = string ? seq2[bj, 1] : seq2[bj]
318
- event = Diff::LCS::ContextChange.new('=', i, ax, bj, bx)
319
+ event = Diff::LCS::ContextChange.new('=', ai, ax, bj, bx)
319
320
  event = yield event if block_given?
320
321
  callbacks.match(event)
321
322
  bj += 1
322
323
  end
323
- ai = i
324
+ ai += 1
324
325
  end
325
- ai += 1
326
326
 
327
327
  # The last entry (if any) processed was a match. +ai+ and +bj+ point just
328
328
  # past the last matching lines in their sequences.
@@ -380,14 +380,14 @@ class << Diff::LCS
380
380
  ai += 1
381
381
  end
382
382
 
383
- next unless bj < b_size
384
-
385
- ax = string ? seq1[ai, 1] : seq1[ai]
386
- bx = string ? seq2[bj, 1] : seq2[bj]
387
- event = Diff::LCS::ContextChange.new('+', ai, ax, bj, bx)
388
- event = yield event if block_given?
389
- callbacks.discard_b(event)
390
- bj += 1
383
+ if bj < b_size
384
+ ax = string ? seq1[ai, 1] : seq1[ai]
385
+ bx = string ? seq2[bj, 1] : seq2[bj]
386
+ event = Diff::LCS::ContextChange.new('+', ai, ax, bj, bx)
387
+ event = yield event if block_given?
388
+ callbacks.discard_b(event)
389
+ bj += 1
390
+ end
391
391
  end
392
392
  end
393
393
 
@@ -0,0 +1,4 @@
1
+ 3c3
2
+ < "description": "hi"
3
+ ---
4
+ > "description": "lo"
@@ -0,0 +1,15 @@
1
+ *** spec/fixtures/old-chef 2020-06-23 23:18:20.000000000 -0400
2
+ --- spec/fixtures/new-chef 2020-06-23 23:18:20.000000000 -0400
3
+ ***************
4
+ *** 1,4 ****
5
+ {
6
+ "name": "x",
7
+ ! "description": "hi"
8
+ }
9
+
10
+ --- 1,4 ----
11
+ {
12
+ "name": "x",
13
+ ! "description": "lo"
14
+ }
15
+
@@ -0,0 +1,9 @@
1
+ --- spec/fixtures/old-chef 2020-06-23 23:18:20.000000000 -0400
2
+ +++ spec/fixtures/new-chef 2020-06-23 23:18:20.000000000 -0400
3
+ @@ -1,4 +1,4 @@
4
+ {
5
+ "name": "x",
6
+ - "description": "hi"
7
+ + "description": "lo"
8
+ }
9
+
@@ -0,0 +1,7 @@
1
+ 2d1
2
+ < recipe[b::default]
3
+ 14a14,17
4
+ > recipe[o::new]
5
+ > recipe[p::new]
6
+ > recipe[q::new]
7
+ > recipe[r::new]
@@ -0,0 +1,20 @@
1
+ *** spec/fixtures/old-chef2 2020-06-30 09:43:35.000000000 -0400
2
+ --- spec/fixtures/new-chef2 2020-06-30 09:44:32.000000000 -0400
3
+ ***************
4
+ *** 1,5 ****
5
+ recipe[a::default]
6
+ - recipe[b::default]
7
+ recipe[c::default]
8
+ recipe[d::default]
9
+ recipe[e::default]
10
+ --- 1,4 ----
11
+ ***************
12
+ *** 12,14 ****
13
+ --- 11,17 ----
14
+ recipe[l::default]
15
+ recipe[m::default]
16
+ recipe[n::default]
17
+ + recipe[o::new]
18
+ + recipe[p::new]
19
+ + recipe[q::new]
20
+ + recipe[r::new]
@@ -0,0 +1,7 @@
1
+ d2
2
+ a14
3
+ recipe[o::new]
4
+ recipe[p::new]
5
+ recipe[q::new]
6
+ recipe[r::new]
7
+ .
@@ -0,0 +1,7 @@
1
+ 14a
2
+ recipe[o::new]
3
+ recipe[p::new]
4
+ recipe[q::new]
5
+ recipe[r::new]
6
+ .
7
+ 2d
@@ -0,0 +1,7 @@
1
+ d2
2
+ a14
3
+ recipe[o::new]
4
+ recipe[p::new]
5
+ recipe[q::new]
6
+ recipe[r::new]
7
+ .
@@ -0,0 +1,16 @@
1
+ --- spec/fixtures/old-chef2 2020-06-30 09:43:35.000000000 -0400
2
+ +++ spec/fixtures/new-chef2 2020-06-30 09:44:32.000000000 -0400
3
+ @@ -1,5 +1,4 @@
4
+ recipe[a::default]
5
+ -recipe[b::default]
6
+ recipe[c::default]
7
+ recipe[d::default]
8
+ recipe[e::default]
9
+ @@ -12,3 +11,7 @@
10
+ recipe[l::default]
11
+ recipe[m::default]
12
+ recipe[n::default]
13
+ +recipe[o::new]
14
+ +recipe[p::new]
15
+ +recipe[q::new]
16
+ +recipe[r::new]
@@ -0,0 +1,4 @@
1
+ {
2
+ "name": "x",
3
+ "description": "lo"
4
+ }
@@ -0,0 +1,17 @@
1
+ recipe[a::default]
2
+ recipe[c::default]
3
+ recipe[d::default]
4
+ recipe[e::default]
5
+ recipe[f::default]
6
+ recipe[g::default]
7
+ recipe[h::default]
8
+ recipe[i::default]
9
+ recipe[j::default]
10
+ recipe[k::default]
11
+ recipe[l::default]
12
+ recipe[m::default]
13
+ recipe[n::default]
14
+ recipe[o::new]
15
+ recipe[p::new]
16
+ recipe[q::new]
17
+ recipe[r::new]
@@ -0,0 +1,4 @@
1
+ {
2
+ "name": "x",
3
+ "description": "hi"
4
+ }
@@ -0,0 +1,14 @@
1
+ recipe[a::default]
2
+ recipe[b::default]
3
+ recipe[c::default]
4
+ recipe[d::default]
5
+ recipe[e::default]
6
+ recipe[f::default]
7
+ recipe[g::default]
8
+ recipe[h::default]
9
+ recipe[i::default]
10
+ recipe[j::default]
11
+ recipe[k::default]
12
+ recipe[l::default]
13
+ recipe[m::default]
14
+ recipe[n::default]
@@ -28,7 +28,7 @@ if ENV['COVERAGE']
28
28
  }
29
29
 
30
30
  SimpleCov.start do
31
- formatter SimpleCov::Formatter::MultiFormatter[*formatters]
31
+ formatter SimpleCov::Formatter::MultiFormatter.new(formatters)
32
32
  end
33
33
  end
34
34
 
@@ -123,8 +123,8 @@ module Diff::LCS::SpecHelper
123
123
  ],
124
124
  [
125
125
  ['-', 8, 'n'],
126
- ['-', 9, 'p'],
127
126
  ['+', 9, 'r'],
127
+ ['-', 9, 'p'],
128
128
  ['+', 10, 's'],
129
129
  ['+', 11, 't']
130
130
  ]
@@ -148,10 +148,10 @@ module Diff::LCS::SpecHelper
148
148
  ],
149
149
  [
150
150
  ['-', 9, 'r'],
151
- ['-', 10, 's'],
152
151
  ['+', 8, 'n'],
153
- ['-', 11, 't'],
154
- ['+', 9, 'p']
152
+ ['-', 10, 's'],
153
+ ['+', 9, 'p'],
154
+ ['-', 11, 't']
155
155
  ]
156
156
  ]
157
157
  end
@@ -288,7 +288,6 @@ module Diff::LCS::SpecHelper
288
288
  end
289
289
 
290
290
  def finished_b(event)
291
- p 'called #finished_b'
292
291
  @done_b << [
293
292
  event.old_element, event.old_position,
294
293
  event.new_element, event.new_position
@@ -127,13 +127,11 @@ describe 'Diff::LCS.traverse_sequences' do
127
127
  end
128
128
 
129
129
  it 'has done markers differently-sized sequences' do
130
- expect(@callback_s1_s2.done_a).to eq([['p', 9, 's', 10]])
130
+ expect(@callback_s1_s2.done_a).to eq([['p', 9, 't', 11]])
131
131
  expect(@callback_s1_s2.done_b).to be_empty
132
132
 
133
- # 20110731 I don't yet understand why this particular behaviour
134
- # isn't transitive.
135
133
  expect(@callback_s2_s1.done_a).to be_empty
136
- expect(@callback_s2_s1.done_b).to be_empty
134
+ expect(@callback_s2_s1.done_b).to eq([['t', 11, 'p', 9]])
137
135
  end
138
136
  end
139
137
  end
@@ -31,8 +31,8 @@ rubyhdrdir = $(includedir)/$(RUBY_VERSION_NAME)
31
31
  vendorarchdir = $(rubysitearchprefix)/vendor_ruby/$(ruby_version)
32
32
  vendorlibdir = $(vendordir)/$(ruby_version)
33
33
  vendordir = $(rubylibprefix)/vendor_ruby
34
- sitearchdir = $(DESTDIR)./.gem.20211214-3491-1feutud
35
- sitelibdir = $(DESTDIR)./.gem.20211214-3491-1feutud
34
+ sitearchdir = $(DESTDIR)./.gem.20220106-3473-1jsbx1a
35
+ sitelibdir = $(DESTDIR)./.gem.20220106-3473-1jsbx1a
36
36
  sitedir = $(DESTDIR)/usr/local/lib/site_ruby
37
37
  rubyarchdir = $(rubyarchprefix)/$(ruby_version)
38
38
  rubylibdir = $(rubylibprefix)/$(ruby_version)
@@ -31,8 +31,8 @@ rubyhdrdir = $(includedir)/$(RUBY_VERSION_NAME)
31
31
  vendorarchdir = $(rubysitearchprefix)/vendor_ruby/$(ruby_version)
32
32
  vendorlibdir = $(vendordir)/$(ruby_version)
33
33
  vendordir = $(rubylibprefix)/vendor_ruby
34
- sitearchdir = $(DESTDIR)./.gem.20211214-3491-16gbzdx
35
- sitelibdir = $(DESTDIR)./.gem.20211214-3491-16gbzdx
34
+ sitearchdir = $(DESTDIR)./.gem.20220106-3473-1ea3lnw
35
+ sitelibdir = $(DESTDIR)./.gem.20220106-3473-1ea3lnw
36
36
  sitedir = $(DESTDIR)/usr/local/lib/site_ruby
37
37
  rubyarchdir = $(rubyarchprefix)/$(ruby_version)
38
38
  rubylibdir = $(rubylibprefix)/$(ruby_version)
@@ -714,7 +714,7 @@ module Parser
714
714
  node.updated(:gvasgn)
715
715
 
716
716
  when :const
717
- unless @parser.context.dynamic_const_definition_allowed?
717
+ if @parser.context.in_def
718
718
  diagnostic :error, :dynamic_const, nil, node.loc.expression
719
719
  end
720
720
 
@@ -0,0 +1,49 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Parser
4
+ # Context of parsing that is represented by a stack of scopes.
5
+ #
6
+ # Supported states:
7
+ # + :class - in the class body (class A; end)
8
+ # + :module - in the module body (module M; end)
9
+ # + :sclass - in the singleton class body (class << obj; end)
10
+ # + :def - in the method body (def m; end)
11
+ # + :defs - in the singleton method body (def self.m; end)
12
+ # + :def_open_args - in the arglist of the method definition
13
+ # keep in mind that it's set **only** after reducing the first argument,
14
+ # if you need to handle the first argument check `lex_state == expr_fname`
15
+ # + :block - in the block body (tap {})
16
+ # + :lambda - in the lambda body (-> {})
17
+ #
18
+ class Context
19
+ FLAGS = %i[
20
+ in_defined
21
+ in_kwarg
22
+ in_argdef
23
+ in_def
24
+ in_class
25
+ in_block
26
+ in_lambda
27
+ ]
28
+
29
+ def initialize
30
+ reset
31
+ end
32
+
33
+ def reset
34
+ @in_defined = false
35
+ @in_kwarg = false
36
+ @in_argdef = false
37
+ @in_def = false
38
+ @in_class = false
39
+ @in_block = false
40
+ @in_lambda = false
41
+ end
42
+
43
+ attr_accessor(*FLAGS)
44
+
45
+ def in_dynamic_block?
46
+ in_block || in_lambda
47
+ end
48
+ end
49
+ end
@@ -93,7 +93,7 @@ module Parser
93
93
  CurrentRuby = Ruby30
94
94
 
95
95
  when /^3\.1\./
96
- current_version = '3.1.0-dev'
96
+ current_version = '3.1.0'
97
97
  if RUBY_VERSION != current_version
98
98
  warn_syntax_deviation 'parser/ruby31', current_version
99
99
  end
@@ -103,8 +103,8 @@ module Parser
103
103
 
104
104
  else # :nocov:
105
105
  # Keep this in sync with released Ruby.
106
- warn_syntax_deviation 'parser/ruby30', '3.0.x'
107
- require 'parser/ruby30'
108
- CurrentRuby = Ruby30
106
+ warn_syntax_deviation 'parser/ruby31', '3.1.x'
107
+ require 'parser/ruby31'
108
+ CurrentRuby = Ruby31
109
109
  end
110
110
  end
@@ -18,7 +18,7 @@ module Parser
18
18
  def advance
19
19
  type, (val, range) = advance_before_explanation
20
20
 
21
- more = "(in-kwarg)" if @in_kwarg
21
+ more = "(in-kwarg)" if @context.in_kwarg
22
22
 
23
23
  puts decorate(range,
24
24
  Color.green("#{type} #{val.inspect}"),