cybrid_api_organization_ruby 0.57.32 → 0.57.33

Sign up to get free protection for your applications and to get access to all the features.
Files changed (273) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +4 -4
  3. data/README.md +5 -5
  4. data/cybrid_api_organization_ruby.gemspec +1 -1
  5. data/lib/cybrid_api_organization_ruby/api/organizations_organization_api.rb +1 -1
  6. data/lib/cybrid_api_organization_ruby/api_client.rb +1 -1
  7. data/lib/cybrid_api_organization_ruby/api_error.rb +1 -1
  8. data/lib/cybrid_api_organization_ruby/configuration.rb +1 -1
  9. data/lib/cybrid_api_organization_ruby/models/error_response_organization_model.rb +1 -1
  10. data/lib/cybrid_api_organization_ruby/models/organization_organization_model.rb +1 -1
  11. data/lib/cybrid_api_organization_ruby/models/patch_organization_organization_model.rb +1 -1
  12. data/lib/cybrid_api_organization_ruby/version.rb +2 -2
  13. data/lib/cybrid_api_organization_ruby.rb +1 -1
  14. data/spec/api/organizations_organization_api_spec.rb +1 -1
  15. data/spec/api_client_spec.rb +1 -1
  16. data/spec/configuration_spec.rb +1 -1
  17. data/spec/models/error_response_organization_model_spec.rb +1 -1
  18. data/spec/models/organization_organization_model_spec.rb +1 -1
  19. data/spec/models/patch_organization_organization_model_spec.rb +1 -1
  20. data/spec/spec_helper.rb +1 -1
  21. data/vendor/bundle/ruby/3.1.0/cache/pry-0.14.2.gem +0 -0
  22. data/vendor/bundle/ruby/3.1.0/cache/rspec-expectations-3.12.2.gem +0 -0
  23. data/vendor/bundle/ruby/3.1.0/cache/rspec-mocks-3.12.2.gem +0 -0
  24. data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0/byebug-11.1.3/gem_make.out +4 -4
  25. data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0/ffi-1.15.5/gem_make.out +4 -4
  26. data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0/jaro_winkler-1.5.4/gem_make.out +4 -4
  27. data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0/psych-5.0.1/gem_make.out +4 -4
  28. data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0/stringio-3.0.4/gem_make.out +4 -4
  29. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/CHANGELOG.md +31 -0
  30. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/LICENSE +0 -0
  31. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/README.md +36 -22
  32. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/bin/pry +0 -0
  33. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/basic_object.rb +1 -1
  34. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/block_command.rb +0 -0
  35. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/class_command.rb +0 -0
  36. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/cli.rb +2 -2
  37. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/code/code_file.rb +0 -0
  38. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/code/code_range.rb +0 -0
  39. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/code/loc.rb +0 -0
  40. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/code.rb +0 -8
  41. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/code_object.rb +0 -0
  42. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/color_printer.rb +0 -0
  43. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/command.rb +0 -0
  44. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/command_set.rb +0 -0
  45. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/command_state.rb +0 -0
  46. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/commands/amend_line.rb +0 -0
  47. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/commands/bang.rb +0 -0
  48. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/commands/bang_pry.rb +0 -0
  49. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/commands/cat/abstract_formatter.rb +0 -0
  50. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/commands/cat/exception_formatter.rb +0 -0
  51. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/commands/cat/file_formatter.rb +0 -0
  52. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/commands/cat/input_expression_formatter.rb +0 -0
  53. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/commands/cat.rb +0 -0
  54. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/commands/cd.rb +0 -0
  55. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/commands/change_inspector.rb +0 -0
  56. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/commands/change_prompt.rb +0 -0
  57. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/commands/clear_screen.rb +0 -0
  58. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/commands/code_collector.rb +0 -0
  59. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/commands/disable_pry.rb +0 -0
  60. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/commands/easter_eggs.rb +0 -0
  61. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/commands/edit/exception_patcher.rb +0 -0
  62. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/commands/edit/file_and_line_locator.rb +0 -0
  63. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/commands/edit.rb +0 -0
  64. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/commands/exit.rb +0 -0
  65. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/commands/exit_all.rb +0 -0
  66. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/commands/exit_program.rb +0 -0
  67. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/commands/find_method.rb +0 -0
  68. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/commands/fix_indent.rb +0 -0
  69. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/commands/help.rb +0 -0
  70. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/commands/hist.rb +0 -0
  71. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/commands/import_set.rb +0 -0
  72. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/commands/jump_to.rb +0 -0
  73. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/commands/list_inspectors.rb +0 -0
  74. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/commands/ls/constants.rb +2 -2
  75. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/commands/ls/formatter.rb +0 -0
  76. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/commands/ls/globals.rb +0 -0
  77. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/commands/ls/grep.rb +0 -0
  78. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/commands/ls/instance_vars.rb +0 -0
  79. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/commands/ls/interrogatable.rb +0 -0
  80. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/commands/ls/jruby_hacks.rb +0 -0
  81. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/commands/ls/local_names.rb +0 -0
  82. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/commands/ls/local_vars.rb +0 -0
  83. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/commands/ls/ls_entity.rb +0 -0
  84. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/commands/ls/methods.rb +0 -0
  85. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/commands/ls/methods_helper.rb +0 -0
  86. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/commands/ls/self_methods.rb +0 -0
  87. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/commands/ls.rb +0 -0
  88. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/commands/nesting.rb +0 -0
  89. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/commands/play.rb +0 -0
  90. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/commands/pry_backtrace.rb +0 -0
  91. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/commands/pry_version.rb +0 -0
  92. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/commands/raise_up.rb +0 -0
  93. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/commands/reload_code.rb +0 -0
  94. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/commands/reset.rb +0 -0
  95. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/commands/ri.rb +0 -0
  96. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/commands/save_file.rb +0 -0
  97. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/commands/shell_command.rb +0 -0
  98. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/commands/shell_mode.rb +0 -0
  99. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/commands/show_doc.rb +0 -0
  100. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/commands/show_info.rb +0 -0
  101. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/commands/show_input.rb +0 -0
  102. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/commands/show_source.rb +0 -0
  103. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/commands/stat.rb +0 -0
  104. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/commands/switch_to.rb +0 -0
  105. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/commands/toggle_color.rb +0 -0
  106. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/commands/watch_expression/expression.rb +0 -0
  107. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/commands/watch_expression.rb +1 -1
  108. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/commands/whereami.rb +0 -0
  109. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/commands/wtf.rb +0 -0
  110. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/config/attributable.rb +0 -0
  111. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/config/lazy_value.rb +0 -0
  112. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/config/memoized_value.rb +0 -0
  113. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/config/value.rb +0 -0
  114. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/config.rb +8 -11
  115. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/control_d_handler.rb +0 -0
  116. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/core_extensions.rb +1 -1
  117. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/editor.rb +3 -1
  118. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/env.rb +0 -0
  119. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/exception_handler.rb +0 -0
  120. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/exceptions.rb +0 -0
  121. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/forwardable.rb +0 -0
  122. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/helpers/base_helpers.rb +0 -0
  123. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/helpers/command_helpers.rb +0 -0
  124. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/helpers/documentation_helpers.rb +0 -0
  125. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/helpers/options_helpers.rb +0 -0
  126. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/helpers/platform.rb +1 -6
  127. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/helpers/table.rb +0 -0
  128. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/helpers/text.rb +5 -5
  129. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/helpers.rb +0 -0
  130. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/history.rb +0 -0
  131. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/hooks.rb +0 -0
  132. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/indent.rb +7 -7
  133. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/input_completer.rb +1 -1
  134. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/input_lock.rb +0 -0
  135. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/inspector.rb +0 -0
  136. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/last_exception.rb +0 -0
  137. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/method/disowned.rb +0 -0
  138. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/method/patcher.rb +0 -0
  139. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/method/weird_method_locator.rb +1 -1
  140. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/method.rb +3 -2
  141. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/object_path.rb +0 -0
  142. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/output.rb +0 -0
  143. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/pager.rb +0 -0
  144. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/prompt.rb +0 -0
  145. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/pry_class.rb +14 -1
  146. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/pry_instance.rb +1 -1
  147. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/repl.rb +1 -2
  148. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/repl_file_loader.rb +0 -0
  149. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/ring.rb +1 -1
  150. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/slop/LICENSE +0 -0
  151. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/slop/commands.rb +0 -0
  152. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/slop/option.rb +0 -0
  153. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/slop.rb +0 -0
  154. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/syntax_highlighter.rb +0 -0
  155. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/system_command_handler.rb +0 -0
  156. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/testable/evalable.rb +0 -0
  157. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/testable/mockable.rb +0 -0
  158. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/testable/pry_tester.rb +0 -0
  159. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/testable/utility.rb +0 -0
  160. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/testable/variables.rb +0 -0
  161. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/testable.rb +0 -0
  162. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/version.rb +1 -1
  163. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/warning.rb +3 -10
  164. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/wrapped_module/candidate.rb +9 -8
  165. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry/wrapped_module.rb +2 -7
  166. data/vendor/bundle/ruby/3.1.0/gems/{pry-0.14.1 → pry-0.14.2}/lib/pry.rb +0 -0
  167. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.2}/.document +0 -0
  168. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.2}/.yardopts +0 -0
  169. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.2}/Changelog.md +8 -0
  170. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.2}/LICENSE.md +0 -0
  171. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.2}/README.md +0 -0
  172. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.2}/lib/rspec/expectations/block_snippet_extractor.rb +0 -0
  173. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.2}/lib/rspec/expectations/configuration.rb +0 -0
  174. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.2}/lib/rspec/expectations/expectation_target.rb +0 -0
  175. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.2}/lib/rspec/expectations/fail_with.rb +0 -0
  176. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.2}/lib/rspec/expectations/failure_aggregator.rb +1 -1
  177. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.2}/lib/rspec/expectations/handler.rb +0 -0
  178. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.2}/lib/rspec/expectations/minitest_integration.rb +0 -0
  179. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.2}/lib/rspec/expectations/syntax.rb +0 -0
  180. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.2}/lib/rspec/expectations/version.rb +1 -1
  181. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.2}/lib/rspec/expectations.rb +0 -0
  182. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.2}/lib/rspec/matchers/aliased_matcher.rb +3 -3
  183. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.2}/lib/rspec/matchers/built_in/all.rb +0 -0
  184. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.2}/lib/rspec/matchers/built_in/base_matcher.rb +0 -0
  185. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.2}/lib/rspec/matchers/built_in/be.rb +0 -0
  186. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.2}/lib/rspec/matchers/built_in/be_between.rb +0 -0
  187. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.2}/lib/rspec/matchers/built_in/be_instance_of.rb +0 -0
  188. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.2}/lib/rspec/matchers/built_in/be_kind_of.rb +0 -0
  189. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.2}/lib/rspec/matchers/built_in/be_within.rb +0 -0
  190. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.2}/lib/rspec/matchers/built_in/change.rb +0 -0
  191. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.2}/lib/rspec/matchers/built_in/compound.rb +1 -1
  192. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.2}/lib/rspec/matchers/built_in/contain_exactly.rb +0 -0
  193. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.2}/lib/rspec/matchers/built_in/count_expectation.rb +0 -0
  194. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.2}/lib/rspec/matchers/built_in/cover.rb +0 -0
  195. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.2}/lib/rspec/matchers/built_in/eq.rb +0 -0
  196. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.2}/lib/rspec/matchers/built_in/eql.rb +0 -0
  197. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.2}/lib/rspec/matchers/built_in/equal.rb +0 -0
  198. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.2}/lib/rspec/matchers/built_in/exist.rb +1 -1
  199. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.2}/lib/rspec/matchers/built_in/has.rb +0 -0
  200. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.2}/lib/rspec/matchers/built_in/have_attributes.rb +0 -0
  201. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.2}/lib/rspec/matchers/built_in/include.rb +0 -0
  202. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.2}/lib/rspec/matchers/built_in/match.rb +0 -0
  203. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.2}/lib/rspec/matchers/built_in/operators.rb +0 -0
  204. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.2}/lib/rspec/matchers/built_in/output.rb +0 -0
  205. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.2}/lib/rspec/matchers/built_in/raise_error.rb +0 -0
  206. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.2}/lib/rspec/matchers/built_in/respond_to.rb +0 -0
  207. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.2}/lib/rspec/matchers/built_in/satisfy.rb +0 -0
  208. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.2}/lib/rspec/matchers/built_in/start_or_end_with.rb +0 -0
  209. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.2}/lib/rspec/matchers/built_in/throw_symbol.rb +0 -0
  210. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.2}/lib/rspec/matchers/built_in/yield.rb +0 -0
  211. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.2}/lib/rspec/matchers/built_in.rb +0 -0
  212. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.2}/lib/rspec/matchers/composable.rb +1 -1
  213. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.2}/lib/rspec/matchers/dsl.rb +7 -7
  214. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.2}/lib/rspec/matchers/english_phrasing.rb +0 -0
  215. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.2}/lib/rspec/matchers/expecteds_for_multiple_diffs.rb +0 -0
  216. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.2}/lib/rspec/matchers/fail_matchers.rb +0 -0
  217. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.2}/lib/rspec/matchers/generated_descriptions.rb +0 -0
  218. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.2}/lib/rspec/matchers/matcher_delegator.rb +0 -0
  219. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.2}/lib/rspec/matchers/matcher_protocol.rb +0 -0
  220. data/vendor/bundle/ruby/3.1.0/gems/{rspec-expectations-3.12.1 → rspec-expectations-3.12.2}/lib/rspec/matchers.rb +1 -1
  221. data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.2}/.document +0 -0
  222. data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.2}/.yardopts +0 -0
  223. data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.2}/Changelog.md +10 -0
  224. data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.2}/LICENSE.md +0 -0
  225. data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.2}/README.md +0 -0
  226. data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.2}/lib/rspec/mocks/any_instance/chain.rb +0 -0
  227. data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.2}/lib/rspec/mocks/any_instance/error_generator.rb +0 -0
  228. data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.2}/lib/rspec/mocks/any_instance/expect_chain_chain.rb +0 -0
  229. data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.2}/lib/rspec/mocks/any_instance/expectation_chain.rb +0 -0
  230. data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.2}/lib/rspec/mocks/any_instance/message_chains.rb +0 -0
  231. data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.2}/lib/rspec/mocks/any_instance/proxy.rb +1 -1
  232. data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.2}/lib/rspec/mocks/any_instance/recorder.rb +0 -0
  233. data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.2}/lib/rspec/mocks/any_instance/stub_chain.rb +0 -0
  234. data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.2}/lib/rspec/mocks/any_instance/stub_chain_chain.rb +0 -0
  235. data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.2}/lib/rspec/mocks/any_instance.rb +0 -0
  236. data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.2}/lib/rspec/mocks/argument_list_matcher.rb +3 -1
  237. data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.2}/lib/rspec/mocks/argument_matchers.rb +0 -0
  238. data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.2}/lib/rspec/mocks/configuration.rb +0 -0
  239. data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.2}/lib/rspec/mocks/error_generator.rb +0 -0
  240. data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.2}/lib/rspec/mocks/example_methods.rb +0 -0
  241. data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.2}/lib/rspec/mocks/instance_method_stasher.rb +0 -0
  242. data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.2}/lib/rspec/mocks/marshal_extension.rb +0 -0
  243. data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.2}/lib/rspec/mocks/matchers/expectation_customization.rb +0 -0
  244. data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.2}/lib/rspec/mocks/matchers/have_received.rb +0 -0
  245. data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.2}/lib/rspec/mocks/matchers/receive.rb +0 -0
  246. data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.2}/lib/rspec/mocks/matchers/receive_message_chain.rb +0 -0
  247. data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.2}/lib/rspec/mocks/matchers/receive_messages.rb +0 -0
  248. data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.2}/lib/rspec/mocks/message_chain.rb +0 -0
  249. data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.2}/lib/rspec/mocks/message_expectation.rb +0 -0
  250. data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.2}/lib/rspec/mocks/method_double.rb +0 -0
  251. data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.2}/lib/rspec/mocks/method_reference.rb +0 -0
  252. data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.2}/lib/rspec/mocks/minitest_integration.rb +1 -1
  253. data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.2}/lib/rspec/mocks/mutate_const.rb +1 -1
  254. data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.2}/lib/rspec/mocks/object_reference.rb +0 -0
  255. data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.2}/lib/rspec/mocks/order_group.rb +0 -0
  256. data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.2}/lib/rspec/mocks/proxy.rb +1 -0
  257. data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.2}/lib/rspec/mocks/space.rb +0 -0
  258. data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.2}/lib/rspec/mocks/standalone.rb +0 -0
  259. data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.2}/lib/rspec/mocks/syntax.rb +0 -0
  260. data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.2}/lib/rspec/mocks/targets.rb +0 -0
  261. data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.2}/lib/rspec/mocks/test_double.rb +0 -0
  262. data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.2}/lib/rspec/mocks/verifying_double.rb +0 -0
  263. data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.2}/lib/rspec/mocks/verifying_message_expectation.rb +0 -0
  264. data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.2}/lib/rspec/mocks/verifying_proxy.rb +4 -3
  265. data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.2}/lib/rspec/mocks/version.rb +1 -1
  266. data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.12.1 → rspec-mocks-3.12.2}/lib/rspec/mocks.rb +0 -0
  267. data/vendor/bundle/ruby/3.1.0/specifications/{pry-0.14.1.gemspec → pry-0.14.2.gemspec} +4 -4
  268. data/vendor/bundle/ruby/3.1.0/specifications/{rspec-expectations-3.12.1.gemspec → rspec-expectations-3.12.2.gemspec} +5 -5
  269. data/vendor/bundle/ruby/3.1.0/specifications/{rspec-mocks-3.12.1.gemspec → rspec-mocks-3.12.2.gemspec} +5 -5
  270. metadata +246 -246
  271. data/vendor/bundle/ruby/3.1.0/cache/pry-0.14.1.gem +0 -0
  272. data/vendor/bundle/ruby/3.1.0/cache/rspec-expectations-3.12.1.gem +0 -0
  273. data/vendor/bundle/ruby/3.1.0/cache/rspec-mocks-3.12.1.gem +0 -0
@@ -10,16 +10,9 @@ class Pry
10
10
  # @param [String] message
11
11
  # @return [void]
12
12
  def self.warn(message)
13
- if Kernel.respond_to?(:caller_locations)
14
- location = caller_locations(2..2).first
15
- path = location.path
16
- lineno = location.lineno
17
- else
18
- # Ruby 1.9.3 support.
19
- frame = caller[1].split(':') # rubocop:disable Performance/Caller
20
- path = frame.first
21
- lineno = frame[1]
22
- end
13
+ location = caller_locations(2..2).first
14
+ path = location.path
15
+ lineno = location.lineno
23
16
 
24
17
  Kernel.warn("#{path}:#{lineno}: warning: #{message}")
25
18
  end
@@ -20,9 +20,9 @@ class Pry
20
20
 
21
21
  # Methods to delegate to associated `Pry::WrappedModule
22
22
  # instance`.
23
- private_delegates = [:lines_for_file, :method_candidates, :yard_docs?, :name]
24
- public_delegates = [:wrapped, :module?, :class?, :nonblank_name,
25
- :number_of_candidates]
23
+ private_delegates = %i[lines_for_file method_candidates yard_docs? name]
24
+ public_delegates = %i[wrapped module? class? nonblank_name
25
+ number_of_candidates]
26
26
 
27
27
  def_delegators :@wrapper, *public_delegates
28
28
  def_private_delegators :@wrapper, *private_delegates
@@ -98,14 +98,15 @@ class Pry
98
98
  # line number is one-indexed.
99
99
  def first_line_of_module_definition(file, line)
100
100
  searchable_lines = lines_for_file(file)[0..(line - 2)]
101
- searchable_lines.rindex { |v| class_regexes.any? { |r| r =~ v } } + 1
101
+ searchable_lines.rindex { |v| module_definition_first_line?(v) } + 1
102
102
  end
103
103
 
104
- def class_regexes
104
+ def module_definition_first_line?(line)
105
105
  mod_type_string = wrapped.class.to_s.downcase
106
- [/(^|=)\s*#{mod_type_string}\s+(?:(?:\w*)::)*?#{wrapped.name.split(/::/).last}/,
107
- /^\s*(::)?#{wrapped.name.split(/::/).last}\s*?=\s*?#{wrapped.class}/,
108
- /^\s*(::)?#{wrapped.name.split(/::/).last}\.(class|instance)_eval/]
106
+ wrapped_name_last = wrapped.name.split(/::/).last
107
+ /(^|=)\s*#{mod_type_string}\s+(?:(?:\w*)::)*?#{wrapped_name_last}/ =~ line ||
108
+ /^\s*(::)?#{wrapped_name_last}\s*?=\s*?#{wrapped.class}/ =~ line ||
109
+ /^\s*(::)?#{wrapped_name_last}\.(class|instance)_eval/ =~ line
109
110
  end
110
111
 
111
112
  # This method is used by `Candidate#source_location` as a
@@ -246,19 +246,14 @@ class Pry
246
246
  method_candidates.count
247
247
  end
248
248
 
249
- # @note On JRuby 1.9 and higher, in certain conditions, this method chucks
250
- # away its ability to be quick (when there are lots of monkey patches,
251
- # like in Rails). However, it should be efficient enough on other rubies.
252
- # @see https://github.com/jruby/jruby/issues/525
253
- # @return [Enumerator, Array] on JRuby 1.9 and higher returns Array, on
254
- # other rubies returns Enumerator
249
+ # @return [Array]
255
250
  def candidates
256
251
  enum = Enumerator.new do |y|
257
252
  (0...number_of_candidates).each do |num|
258
253
  y.yield candidate(num)
259
254
  end
260
255
  end
261
- Helpers::Platform.jruby_19? ? enum.to_a : enum
256
+ enum
262
257
  end
263
258
 
264
259
  # @return [Boolean] Whether YARD docs are available for this module.
@@ -1,6 +1,14 @@
1
1
  ### Development
2
2
  [Full Changelog](http://github.com/rspec/rspec-expectations/compare/v3.12.1...3-12-maintenance)
3
3
 
4
+ ### 3.12.2 / 2023-01-07
5
+ [Full Changelog](http://github.com/rspec/rspec-expectations/compare/v3.12.1...v3.12.2)
6
+
7
+ Bug Fixes:
8
+
9
+ * Prevent deprecation warning when using the `exist` matcher with `Dir`.
10
+ (Steve Dierker, #1398)
11
+
4
12
  ### 3.12.1 / 2022-12-16
5
13
  [Full Changelog](http://github.com/rspec/rspec-expectations/compare/v3.12.0...v3.12.1)
6
14
 
@@ -9,7 +9,7 @@ module RSpec
9
9
  # @private
10
10
  MESSAGE =
11
11
  'AggregatedFailure: This method caused a failure which has been ' \
12
- 'supressed to be aggregated into our failure report by returning ' \
12
+ 'suppressed to be aggregated into our failure report by returning ' \
13
13
  'this value, further errors can be ignored.'
14
14
 
15
15
  def inspect
@@ -2,7 +2,7 @@ module RSpec
2
2
  module Expectations
3
3
  # @private
4
4
  module Version
5
- STRING = '3.12.1'
5
+ STRING = '3.12.2'
6
6
  end
7
7
  end
8
8
  end
@@ -99,14 +99,14 @@ module RSpec
99
99
  # by going through the effort of defining a negated matcher.
100
100
  #
101
101
  # However, if the override didn't actually change anything, then we
102
- # should return the opposite failure message instead -- the overriden
102
+ # should return the opposite failure message instead -- the overridden
103
103
  # message is going to be confusing if we return it as-is, as it represents
104
104
  # the non-negated failure message for a negated match (or vice versa).
105
105
  def optimal_failure_message(same, inverted)
106
106
  if DefaultFailureMessages.has_default_failure_messages?(@base_matcher)
107
107
  base_message = @base_matcher.__send__(same)
108
- overriden = @description_block.call(base_message)
109
- return overriden if overriden != base_message
108
+ overridden = @description_block.call(base_message)
109
+ return overridden if overridden != base_message
110
110
  end
111
111
 
112
112
  @base_matcher.__send__(inverted)
@@ -171,7 +171,7 @@ module RSpec
171
171
  @match_results.fetch(matcher) do
172
172
  raise ArgumentError, "Your #{matcher.description} has no match " \
173
173
  "results, this can occur when an unexpected call stack or " \
174
- "local jump occurs. Prehaps one of your matchers needs to " \
174
+ "local jump occurs. Perhaps one of your matchers needs to " \
175
175
  "declare `expects_call_stack_jump?` as `true`?"
176
176
  end
177
177
  end
@@ -81,7 +81,7 @@ module RSpec
81
81
  end
82
82
 
83
83
  def deprecated(predicate, actual)
84
- predicate == :exists? && (File == actual || FileTest == actual)
84
+ predicate == :exists? && (File == actual || FileTest == actual || Dir == actual)
85
85
  end
86
86
  end
87
87
  end
@@ -83,7 +83,7 @@ module RSpec
83
83
  RSpec::Support::ObjectFormatter.format(object)
84
84
  end
85
85
 
86
- # Transforms the given data structue (typically a hash or array)
86
+ # Transforms the given data structure (typically a hash or array)
87
87
  # into a new data structure that, when `#inspect` is called on it,
88
88
  # will provide descriptions of any contained matchers rather than
89
89
  # the normal `#inspect` output.
@@ -4,7 +4,7 @@ module RSpec
4
4
  module Matchers
5
5
  # Defines the custom matcher DSL.
6
6
  module DSL
7
- # Defines a matcher alias. The returned matcher's `description` will be overriden
7
+ # Defines a matcher alias. The returned matcher's `description` will be overridden
8
8
  # to reflect the phrasing of the new name, which will be used in failure messages
9
9
  # when passed as an argument to another matcher in a composed matcher expression.
10
10
  #
@@ -25,7 +25,7 @@ module RSpec
25
25
  # @param old_name [Symbol] the original name for the matcher
26
26
  # @param options [Hash] options for the aliased matcher
27
27
  # @option options [Class] :klass the ruby class to use as the decorator. (Not normally used).
28
- # @yield [String] optional block that, when given, is used to define the overriden
28
+ # @yield [String] optional block that, when given, is used to define the overridden
29
29
  # logic. The yielded arg is the original description or failure message. If no
30
30
  # block is provided, a default override is used based on the old and new names.
31
31
  # @see RSpec::Matchers
@@ -44,7 +44,7 @@ module RSpec
44
44
  end
45
45
 
46
46
  # Defines a negated matcher. The returned matcher's `description` and `failure_message`
47
- # will be overriden to reflect the phrasing of the new name, and the match logic will
47
+ # will be overridden to reflect the phrasing of the new name, and the match logic will
48
48
  # be based on the original matcher but negated.
49
49
  #
50
50
  # @example
@@ -54,7 +54,7 @@ module RSpec
54
54
  #
55
55
  # @param negated_name [Symbol] the name for the negated matcher
56
56
  # @param base_name [Symbol] the name of the original matcher that will be negated
57
- # @yield [String] optional block that, when given, is used to define the overriden
57
+ # @yield [String] optional block that, when given, is used to define the overridden
58
58
  # logic. The yielded arg is the original description or failure message. If no
59
59
  # block is provided, a default override is used based on the old and new names.
60
60
  # @see RSpec::Matchers
@@ -198,7 +198,7 @@ module RSpec
198
198
  end
199
199
  end
200
200
 
201
- # Customizes the failure messsage to use when this matcher is
201
+ # Customizes the failure message to use when this matcher is
202
202
  # asked to positively match. Only use this when the message
203
203
  # generated by default doesn't suit your needs.
204
204
  #
@@ -217,7 +217,7 @@ module RSpec
217
217
  define_user_override(__method__, definition)
218
218
  end
219
219
 
220
- # Customize the failure messsage to use when this matcher is asked
220
+ # Customize the failure message to use when this matcher is asked
221
221
  # to negatively match. Only use this when the message generated by
222
222
  # default doesn't suit your needs.
223
223
  #
@@ -331,7 +331,7 @@ module RSpec
331
331
  # - Defines the named method using a user-provided block
332
332
  # in @user_method_defs, which is included as an ancestor
333
333
  # in the singleton class in which we eval the `define` block.
334
- # - Defines an overriden definition for the same method
334
+ # - Defines an overridden definition for the same method
335
335
  # usign the provided `our_def` block.
336
336
  # - Provides a default `our_def` block for the common case
337
337
  # of needing to call the user's definition with `@actual`
@@ -704,7 +704,7 @@ module RSpec
704
704
 
705
705
  # An alternate form of `contain_exactly` that accepts
706
706
  # the expected contents as a single array arg rather
707
- # that splatted out as individual items.
707
+ # than splatted out as individual items.
708
708
  #
709
709
  # @example
710
710
  # expect(results).to contain_exactly(1, 2)
@@ -1,6 +1,16 @@
1
1
  ### Development
2
2
  [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.12.1...3-12-maintenance)
3
3
 
4
+ ### 3.12.2 / 2023-01-07
5
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.12.1...v3.12.2)
6
+
7
+ Bug Fixes:
8
+
9
+ * Fix implementation blocks for mocks using keyword arguments on Ruby 3.2.0.
10
+ (Adam Steel, #1508)
11
+ * Fix keyword argument assertions when mocking using `with` on Ruby 3.2.0.
12
+ (Slava Kardakov, Benoit Tigeot, Phil Pirozhkov, Benoit Daloze, #1514)
13
+
4
14
  ### 3.12.1 / 2022-12-10
5
15
  [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.12.0...v3.12.1)
6
16
 
@@ -10,7 +10,7 @@ module RSpec
10
10
  #
11
11
  # This proxy sits in front of the recorder and delegates both to it
12
12
  # and to the `RSpec::Mocks::Proxy` for each already mocked or stubbed
13
- # instance of the class, in order to propogates changes to the instances.
13
+ # instance of the class, in order to propagates changes to the instances.
14
14
  #
15
15
  # Note that unlike `RSpec::Mocks::Proxy`, this proxy class is stateless
16
16
  # and is not persisted in `RSpec::Mocks.space`.
@@ -61,7 +61,9 @@ module RSpec
61
61
  return false if expected_args.size != actual_args.size
62
62
 
63
63
  if RUBY_VERSION >= "3"
64
- # if both arguments end with Hashes, and if one is a keyword hash and the other is not, they don't match
64
+ # If the expectation was set with keywords, while the actual method was called with a positional hash argument, they don't match.
65
+ # If the expectation was set without keywords, e.g., with({a: 1}), then it fine to call it with either foo(a: 1) or foo({a: 1}).
66
+ # This corresponds to Ruby semantics, as if the method was def foo(options).
65
67
  if Hash === expected_args.last && Hash === actual_args.last
66
68
  if !Hash.ruby2_keywords_hash?(actual_args.last) && Hash.ruby2_keywords_hash?(expected_args.last)
67
69
  return false
@@ -37,7 +37,7 @@ if defined?(::Minitest::Expectation)
37
37
  # not want to here (or else we would interfere with rspec-expectations' definition).
38
38
  else
39
39
  # ...otherwise, define those methods now. If `rspec/expectations/minitest_integration`
40
- # is loaded after this file, it'll overide the defintion here.
40
+ # is loaded after this file, it'll override the definition here.
41
41
  Minitest::Expectation.class_eval do
42
42
  include RSpec::Mocks::ExpectationTargetMethods
43
43
 
@@ -81,7 +81,7 @@ module RSpec
81
81
  # Queries rspec-mocks to find out information about the named constant.
82
82
  #
83
83
  # @param [String] name the name of the constant
84
- # @return [Constant] an object contaning information about the named
84
+ # @return [Constant] an object containing information about the named
85
85
  # constant.
86
86
  def self.original(name)
87
87
  mutator = ::RSpec::Mocks.space.constant_mutator_for(name)
@@ -192,6 +192,7 @@ module RSpec
192
192
  @messages_received << [message, args, block]
193
193
  end
194
194
  end
195
+ ruby2_keywords :record_message_received if respond_to?(:ruby2_keywords, true)
195
196
 
196
197
  # @private
197
198
  def message_received(message, *args, &block)
@@ -57,7 +57,7 @@ module RSpec
57
57
  # A verifying proxy mostly acts like a normal proxy, except that it
58
58
  # contains extra logic to try and determine the validity of any expectation
59
59
  # set on it. This includes whether or not methods have been defined and the
60
- # validatiy of arguments on method calls.
60
+ # validity of arguments on method calls.
61
61
  #
62
62
  # In all other ways this behaves like a normal proxy. It only adds the
63
63
  # verification behaviour to specific methods then delegates to the parent
@@ -147,12 +147,12 @@ module RSpec
147
147
  end
148
148
 
149
149
  def add_expectation(*args, &block)
150
- # explict params necessary for 1.8.7 see #626
150
+ # explicit params necessary for 1.8.7 see #626
151
151
  super(*args, &block).tap { |x| x.method_reference = @method_reference }
152
152
  end
153
153
 
154
154
  def add_stub(*args, &block)
155
- # explict params necessary for 1.8.7 see #626
155
+ # explicit params necessary for 1.8.7 see #626
156
156
  super(*args, &block).tap { |x| x.method_reference = @method_reference }
157
157
  end
158
158
 
@@ -160,6 +160,7 @@ module RSpec
160
160
  validate_arguments!(args)
161
161
  super
162
162
  end
163
+ ruby2_keywords :proxy_method_invoked if respond_to?(:ruby2_keywords, true)
163
164
 
164
165
  def validate_arguments!(actual_args)
165
166
  @method_reference.with_signature do |signature|
@@ -3,7 +3,7 @@ module RSpec
3
3
  # Version information for RSpec mocks.
4
4
  module Version
5
5
  # Version of RSpec mocks currently in use in SemVer format.
6
- STRING = '3.12.1'
6
+ STRING = '3.12.2'
7
7
  end
8
8
  end
9
9
  end
@@ -1,22 +1,22 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: pry 0.14.1 ruby lib
2
+ # stub: pry 0.14.2 ruby lib
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "pry".freeze
6
- s.version = "0.14.1"
6
+ s.version = "0.14.2"
7
7
 
8
8
  s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
9
9
  s.metadata = { "bug_tracker_uri" => "https://github.com/pry/pry/issues", "changelog_uri" => "https://github.com/pry/pry/blob/master/CHANGELOG.md", "source_code_uri" => "https://github.com/pry/pry" } if s.respond_to? :metadata=
10
10
  s.require_paths = ["lib".freeze]
11
11
  s.authors = ["John Mair (banisterfiend)".freeze, "Conrad Irwin".freeze, "Ryan Fitzgerald".freeze, "Kyrylo Silin".freeze]
12
- s.date = "2021-04-12"
12
+ s.date = "2023-01-09"
13
13
  s.description = "Pry is a runtime developer console and IRB alternative with powerful\nintrospection capabilities. Pry aims to be more than an IRB replacement. It is\nan attempt to bring REPL driven programming to the Ruby language.\n".freeze
14
14
  s.email = ["jrmair@gmail.com".freeze, "conrad.irwin@gmail.com".freeze, "rwfitzge@gmail.com".freeze, "silin@kyrylo.org".freeze]
15
15
  s.executables = ["pry".freeze]
16
16
  s.files = ["bin/pry".freeze]
17
17
  s.homepage = "http://pry.github.io".freeze
18
18
  s.licenses = ["MIT".freeze]
19
- s.required_ruby_version = Gem::Requirement.new(">= 1.9.3".freeze)
19
+ s.required_ruby_version = Gem::Requirement.new(">= 2.0".freeze)
20
20
  s.rubygems_version = "3.3.26".freeze
21
21
  s.summary = "A runtime developer console and IRB alternative with powerful introspection capabilities.".freeze
22
22