cybrid_api_organization_ruby 0.57.31 → 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
@@ -122,7 +122,7 @@ Pry::CLI.add_options do
122
122
  banner(
123
123
  "Usage: pry [OPTIONS]\n" \
124
124
  "Start a Pry session.\n" \
125
- "See http://pryrepl.org/ for more information.\n" \
125
+ "See http://pry.github.io/ for more information.\n" \
126
126
  "Copyright (c) 2016 John Mair (banisterfiend)" \
127
127
  )
128
128
 
@@ -138,7 +138,7 @@ Pry::CLI.add_options do
138
138
  end
139
139
 
140
140
  on "no-history", "Disable history loading" do
141
- Pry.config.history.should_load = false
141
+ Pry.config.history_load = false
142
142
  end
143
143
 
144
144
  on "no-color", "Disable syntax highlighting for session" do
@@ -346,14 +346,6 @@ class Pry
346
346
  ''.respond_to?(method_name, include_private) || super
347
347
  end
348
348
 
349
- if RUBY_VERSION.start_with?('1.9')
350
- # @todo This is needed for Ruby 1.9 support where `lines` return an
351
- # Enumerator. Newer Rubies return an Array
352
- def lines
353
- super.to_a
354
- end
355
- end
356
-
357
349
  protected
358
350
 
359
351
  # An abstraction of the `dup.instance_eval` pattern used throughout this
@@ -4,8 +4,8 @@ class Pry
4
4
  class Command
5
5
  class Ls < Pry::ClassCommand
6
6
  class Constants < Pry::Command::Ls::Formatter
7
- DEPRECATED_CONSTANTS = [
8
- :Data, :Fixnum, :Bignum, :TimeoutError, :NIL, :FALSE, :TRUE
7
+ DEPRECATED_CONSTANTS = %i[
8
+ Data Fixnum Bignum TimeoutError NIL FALSE TRUE
9
9
  ].tap do |constants|
10
10
  constants << :JavaPackageModuleTemplate if Helpers::Platform.jruby?
11
11
  end
@@ -96,7 +96,7 @@ class Pry
96
96
  end
97
97
 
98
98
  def add_hook
99
- hook = [:after_eval, :watch_expression]
99
+ hook = %i[after_eval watch_expression]
100
100
  return if pry_instance.hooks.hook_exists?(*hook)
101
101
 
102
102
  pry_instance.hooks.add_hook(*hook) do |_, pry_instance|
@@ -301,17 +301,14 @@ class Pry
301
301
  end
302
302
 
303
303
  def default_rc_file
304
- if (pryrc = Pry::Env['PRYRC'])
305
- pryrc
306
- elsif (xdg_home = Pry::Env['XDG_CONFIG_HOME'])
307
- # See XDG Base Directory Specification at
308
- # https://standards.freedesktop.org/basedir-spec/basedir-spec-0.8.html
309
- xdg_home + '/pry/pryrc'
310
- elsif File.exist?(File.expand_path('~/.pryrc'))
311
- '~/.pryrc'
312
- else
313
- '~/.config/pry/pryrc'
314
- end
304
+ [Pry::Env['PRYRC'],
305
+ # See XDG Base Directory Specification at
306
+ # https://specifications.freedesktop.org/basedir-spec/latest/
307
+ "#{Pry::Env['XDG_CONFIG_HOME']}/pry/pryrc",
308
+ File.expand_path('~/.pryrc'),
309
+ File.expand_path('~/.config/pry/pryrc')]
310
+ .compact
311
+ .find { |file| File.exist?(file) }
315
312
  end
316
313
  end
317
314
  end
@@ -78,7 +78,7 @@ class Object
78
78
  # Module.new.class_eval("binding") has different behaviour than CRuby,
79
79
  # where this is not needed: class_eval("binding") vs class_eval{binding}.
80
80
  # Using a block works around the difference of behaviour on JRuby.
81
- # The scope is clear of local variabless. Don't add any.
81
+ # The scope is clear of local variables. Don't add any.
82
82
  #
83
83
  # This fixes the following two spec failures, at https://travis-ci.org/pry/pry/jobs/274470002
84
84
  # 1) ./spec/pry_spec.rb:360:in `block in (root)'
@@ -105,7 +105,7 @@ class Pry
105
105
  '--nofork' if blocking
106
106
  when /^jedit/
107
107
  '-wait' if blocking
108
- when /^mate/, /^subl/, /^redcar/
108
+ when /^mate/, /^subl/, /^redcar/, /^code/
109
109
  '-w' if blocking
110
110
  end
111
111
  end
@@ -121,6 +121,8 @@ class Pry
121
121
  "+#{line_number} #{file_name}"
122
122
  when /^mate/, /^geany/
123
123
  "-l #{line_number} #{file_name}"
124
+ when /^code/
125
+ "-g #{file_name}:#{line_number}"
124
126
  when /^subl/
125
127
  "#{file_name}:#{line_number}"
126
128
  when /^uedit32/
@@ -28,7 +28,7 @@ class Pry
28
28
  def self.windows_ansi?
29
29
  return false unless windows?
30
30
 
31
- !!(defined?(Win32::Console) || Pry::Env['ANSICON'] || mri_2?)
31
+ !!(defined?(Win32::Console) || Pry::Env['ANSICON'] || mri?)
32
32
  end
33
33
 
34
34
  # @return [Boolean]
@@ -46,11 +46,6 @@ class Pry
46
46
  RbConfig::CONFIG['ruby_install_name'] == 'ruby'
47
47
  end
48
48
 
49
- # @return [Boolean]
50
- def self.mri_19?
51
- mri? && RUBY_VERSION.start_with?('1.9')
52
- end
53
-
54
49
  # @return [Boolean]
55
50
  def self.mri_2?
56
51
  mri? && RUBY_VERSION.start_with?('2')
@@ -21,20 +21,20 @@ class Pry
21
21
 
22
22
  COLORS.each_pair do |color, value|
23
23
  define_method color do |text|
24
- "\001\033[0;#{30 + value}m\002#{text}\001\033[0m\002"
24
+ "\033[0;#{30 + value}m#{text}\033[0m"
25
25
  end
26
26
 
27
27
  define_method "bright_#{color}" do |text|
28
- "\001\033[1;#{30 + value}m\002#{text}\001\033[0m\002"
28
+ "\033[1;#{30 + value}m#{text}\033[0m"
29
29
  end
30
30
 
31
31
  COLORS.each_pair do |bg_color, bg_value|
32
32
  define_method "#{color}_on_#{bg_color}" do |text|
33
- "\001\033[0;#{30 + value};#{40 + bg_value}m\002#{text}\001\033[0m\002"
33
+ "\033[0;#{30 + value};#{40 + bg_value}m#{text}\033[0m"
34
34
  end
35
35
 
36
36
  define_method "bright_#{color}_on_#{bg_color}" do |text|
37
- "\001\033[1;#{30 + value};#{40 + bg_value}m\002#{text}\001\033[0m\002"
37
+ "\033[1;#{30 + value};#{40 + bg_value}m#{text}\033[0m"
38
38
  end
39
39
  end
40
40
  end
@@ -52,7 +52,7 @@ class Pry
52
52
  # @param [String, #to_s] text
53
53
  # @return [String] _text_
54
54
  def bold(text)
55
- "\001\e[1m\002#{text}\001\e[0m\002"
55
+ "\e[1m#{text}\e[0m"
56
56
  end
57
57
 
58
58
  # Returns `text` in the default foreground colour.
@@ -57,8 +57,8 @@ class Pry
57
57
  #
58
58
  # :pre_constant and :preserved_constant are the CodeRay 0.9.8 and 1.0.0
59
59
  # classifications of "true", "false", and "nil".
60
- IGNORE_TOKENS = [:space, :content, :string, :method, :ident,
61
- :constant, :pre_constant, :predefined_constant].freeze
60
+ IGNORE_TOKENS = %i[space content string method ident
61
+ constant pre_constant predefined_constant].freeze
62
62
 
63
63
  # Tokens that indicate the end of a statement (i.e. that, if they appear
64
64
  # directly before an "if" indicates that that if applies to the same line,
@@ -66,10 +66,10 @@ class Pry
66
66
  #
67
67
  # :reserved and :keywords are the CodeRay 0.9.8 and 1.0.0 respectively
68
68
  # classifications of "super", "next", "return", etc.
69
- STATEMENT_END_TOKENS = IGNORE_TOKENS + [:regexp, :integer, :float,
70
- :keyword, :delimiter, :reserved,
71
- :instance_variable,
72
- :class_variable, :global_variable]
69
+ STATEMENT_END_TOKENS = IGNORE_TOKENS + %i[regexp integer float
70
+ keyword delimiter reserved
71
+ instance_variable
72
+ class_variable global_variable]
73
73
 
74
74
  # Collection of tokens that should appear dedented even though they
75
75
  # don't affect the surrounding code.
@@ -109,7 +109,7 @@ class Pry
109
109
  # reset internal state
110
110
  def reset
111
111
  @stack = []
112
- @indent_level = ''
112
+ @indent_level = String.new # rubocop:disable Style/EmptyLiteral
113
113
  @heredoc_queue = []
114
114
  @close_heredocs = {}
115
115
  @string_start = nil
@@ -270,7 +270,7 @@ class Pry
270
270
  end
271
271
 
272
272
  # FIXME: Add Pry here as well?
273
- [:IRB, :SLex, :RubyLex, :RubyToken].each do |module_name|
273
+ %i[IRB SLex RubyLex RubyToken].each do |module_name|
274
274
  next unless Object.const_defined?(module_name)
275
275
 
276
276
  scanner.call(Object.const_get(module_name))
@@ -158,7 +158,7 @@ class Pry
158
158
 
159
159
  alias_name = all_methods_for(target_self).find do |v|
160
160
  location = target_self.method(v).source_location
161
- expanded_source_location(location) == renamed_method_source_location
161
+ location && expanded_source_location(location) == renamed_method_source_location
162
162
  end
163
163
 
164
164
  alias_name && Pry::Method(target_self.method(alias_name))
@@ -530,8 +530,9 @@ class Pry
530
530
  else
531
531
  fail_msg = "Cannot locate this method: #{name}."
532
532
  if Helpers::Platform.mri?
533
- fail_msg += " Invoke the 'gem-install pry-doc' Pry command to get " \
534
- "access to Ruby Core documentation.\n"
533
+ fail_msg += " Run `gem install pry-doc` to install" \
534
+ " Ruby Core documentation," \
535
+ " and `require 'pry-doc'` to load it.\n"
535
536
  end
536
537
  raise CommandError, fail_msg
537
538
  end
@@ -85,7 +85,7 @@ class Pry
85
85
  # Load the local RC file (./.pryrc)
86
86
  def self.rc_files_to_load
87
87
  files = []
88
- files << Pry.config.rc_file if Pry.config.should_load_rc
88
+ files << Pry.config.rc_file if Pry.config.rc_file && Pry.config.should_load_rc
89
89
  files << LOCAL_RC_FILE if Pry.config.should_load_local_rc
90
90
  files.map { |file| real_path_to(file) }.compact.uniq
91
91
  end
@@ -168,6 +168,12 @@ you can add "Pry.config.windows_console_warning = false" to your pryrc.
168
168
  return
169
169
  end
170
170
 
171
+ unless mutex_available?
172
+ output.puts "ERROR: Unable to obtain mutex lock."
173
+ output.puts "This can happen if binding.pry is called from a signal handler"
174
+ return
175
+ end
176
+
171
177
  options[:target] = Pry.binding_for(target || toplevel_binding)
172
178
  initial_session_setup
173
179
  final_session_setup
@@ -378,6 +384,13 @@ Readline version #{Readline::VERSION} detected - will not auto_resize! correctly
378
384
  ensure
379
385
  Thread.current[:pry_critical_section] -= 1
380
386
  end
387
+
388
+ def self.mutex_available?
389
+ Mutex.new.synchronize { true }
390
+ rescue ThreadError
391
+ false
392
+ end
393
+ private_class_method :mutex_available?
381
394
  end
382
395
 
383
396
  Pry.init
@@ -20,7 +20,7 @@ require 'ostruct'
20
20
  # This will show a list of available commands and their usage. For more
21
21
  # information about Pry you can refer to the following resources:
22
22
  #
23
- # * http://pryrepl.org/
23
+ # * https://pry.github.io
24
24
  # * https://github.com/pry/pry
25
25
  # * the IRC channel, which is #pry on the Freenode network
26
26
  #
@@ -141,8 +141,7 @@ class Pry
141
141
  retry
142
142
 
143
143
  # Handle <Ctrl+C> like Bash: empty the current input buffer, but don't
144
- # quit. This is only for MRI 1.9; other versions of Ruby don't let you
145
- # send Interrupt from within Readline.
144
+ # quit.
146
145
  rescue Interrupt
147
146
  return :control_c
148
147
 
@@ -56,8 +56,8 @@ class Pry
56
56
  # exist
57
57
  def [](index)
58
58
  @mutex.synchronize do
59
- return @buffer[(count + index) % max_size] if index.is_a?(Integer)
60
59
  return @buffer[index] if count <= max_size
60
+ return @buffer[(count + index) % max_size] if index.is_a?(Integer)
61
61
 
62
62
  transpose_buffer_tail[index]
63
63
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class Pry
4
- VERSION = '0.14.1'.freeze
4
+ VERSION = '0.14.2'.freeze
5
5
  end