cybrid_api_id_ruby 0.60.3 → 0.60.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (142) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +3 -3
  3. data/README.md +5 -5
  4. data/cybrid_api_id_ruby.gemspec +1 -1
  5. data/lib/cybrid_api_id_ruby/api/bank_applications_idp_api.rb +1 -1
  6. data/lib/cybrid_api_id_ruby/api/customer_tokens_idp_api.rb +1 -1
  7. data/lib/cybrid_api_id_ruby/api/organization_applications_idp_api.rb +1 -1
  8. data/lib/cybrid_api_id_ruby/api_client.rb +1 -1
  9. data/lib/cybrid_api_id_ruby/api_error.rb +1 -1
  10. data/lib/cybrid_api_id_ruby/configuration.rb +1 -1
  11. data/lib/cybrid_api_id_ruby/models/application_idp_model.rb +1 -1
  12. data/lib/cybrid_api_id_ruby/models/application_list_idp_model.rb +1 -1
  13. data/lib/cybrid_api_id_ruby/models/application_with_secret_all_of_idp_model.rb +1 -1
  14. data/lib/cybrid_api_id_ruby/models/application_with_secret_idp_model.rb +1 -1
  15. data/lib/cybrid_api_id_ruby/models/customer_token_idp_model.rb +1 -1
  16. data/lib/cybrid_api_id_ruby/models/post_bank_application_idp_model.rb +1 -1
  17. data/lib/cybrid_api_id_ruby/models/post_customer_token_idp_model.rb +1 -1
  18. data/lib/cybrid_api_id_ruby/models/post_organization_application_idp_model.rb +1 -1
  19. data/lib/cybrid_api_id_ruby/version.rb +2 -2
  20. data/lib/cybrid_api_id_ruby.rb +1 -1
  21. data/spec/api/bank_applications_idp_api_spec.rb +1 -1
  22. data/spec/api/customer_tokens_idp_api_spec.rb +1 -1
  23. data/spec/api/organization_applications_idp_api_spec.rb +1 -1
  24. data/spec/api_client_spec.rb +1 -1
  25. data/spec/configuration_spec.rb +1 -1
  26. data/spec/models/application_idp_model_spec.rb +1 -1
  27. data/spec/models/application_list_idp_model_spec.rb +1 -1
  28. data/spec/models/application_with_secret_all_of_idp_model_spec.rb +1 -1
  29. data/spec/models/application_with_secret_idp_model_spec.rb +1 -1
  30. data/spec/models/customer_token_idp_model_spec.rb +1 -1
  31. data/spec/models/post_bank_application_idp_model_spec.rb +1 -1
  32. data/spec/models/post_customer_token_idp_model_spec.rb +1 -1
  33. data/spec/models/post_organization_application_idp_model_spec.rb +1 -1
  34. data/spec/spec_helper.rb +1 -1
  35. data/vendor/bundle/ruby/3.1.0/cache/rspec-core-3.12.1.gem +0 -0
  36. data/vendor/bundle/ruby/3.1.0/cache/stringio-3.0.5.gem +0 -0
  37. data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0/byebug-11.1.3/gem_make.out +4 -4
  38. data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0/ffi-1.15.5/gem_make.out +4 -4
  39. data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0/jaro_winkler-1.5.4/gem_make.out +4 -4
  40. data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0/psych-5.0.2/gem_make.out +4 -4
  41. data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0/{stringio-3.0.4 → stringio-3.0.5}/gem.build_complete +0 -0
  42. data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0/{stringio-3.0.4 → stringio-3.0.5}/gem_make.out +14 -14
  43. data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0/{stringio-3.0.4 → stringio-3.0.5}/mkmf.log +0 -0
  44. data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0/stringio-3.0.5/stringio.so +0 -0
  45. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/.document +0 -0
  46. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/.yardopts +0 -0
  47. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/Changelog.md +9 -1
  48. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/LICENSE.md +0 -0
  49. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/README.md +2 -2
  50. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/exe/rspec +0 -0
  51. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/autorun.rb +0 -0
  52. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/backtrace_formatter.rb +0 -0
  53. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/bisect/coordinator.rb +0 -0
  54. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/bisect/example_minimizer.rb +0 -0
  55. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/bisect/fork_runner.rb +0 -0
  56. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/bisect/server.rb +0 -0
  57. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/bisect/shell_command.rb +0 -0
  58. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/bisect/shell_runner.rb +0 -0
  59. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/bisect/utilities.rb +0 -0
  60. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/configuration.rb +2 -2
  61. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/configuration_options.rb +0 -0
  62. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/did_you_mean.rb +0 -0
  63. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/drb.rb +0 -0
  64. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/dsl.rb +0 -0
  65. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/example.rb +0 -0
  66. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/example_group.rb +0 -0
  67. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/example_status_persister.rb +2 -2
  68. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/filter_manager.rb +0 -0
  69. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/flat_map.rb +0 -0
  70. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/formatters/base_bisect_formatter.rb +0 -0
  71. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/formatters/base_formatter.rb +0 -0
  72. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/formatters/base_text_formatter.rb +0 -0
  73. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/formatters/bisect_drb_formatter.rb +0 -0
  74. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/formatters/bisect_progress_formatter.rb +0 -0
  75. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/formatters/console_codes.rb +0 -0
  76. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/formatters/deprecation_formatter.rb +0 -0
  77. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/formatters/documentation_formatter.rb +0 -0
  78. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/formatters/exception_presenter.rb +2 -2
  79. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/formatters/failure_list_formatter.rb +0 -0
  80. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/formatters/fallback_message_formatter.rb +0 -0
  81. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/formatters/helpers.rb +0 -0
  82. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/formatters/html_formatter.rb +0 -0
  83. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/formatters/html_printer.rb +0 -0
  84. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/formatters/html_snippet_extractor.rb +2 -2
  85. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/formatters/json_formatter.rb +0 -0
  86. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/formatters/profile_formatter.rb +0 -0
  87. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/formatters/progress_formatter.rb +0 -0
  88. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/formatters/protocol.rb +0 -0
  89. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/formatters/snippet_extractor.rb +0 -0
  90. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/formatters/syntax_highlighter.rb +0 -0
  91. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/formatters.rb +0 -0
  92. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/hooks.rb +0 -0
  93. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/invocations.rb +0 -0
  94. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/memoized_helpers.rb +0 -0
  95. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/metadata.rb +0 -0
  96. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/metadata_filter.rb +1 -1
  97. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/minitest_assertions_adapter.rb +0 -0
  98. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/mocking_adapters/flexmock.rb +0 -0
  99. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/mocking_adapters/mocha.rb +0 -0
  100. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/mocking_adapters/null.rb +0 -0
  101. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/mocking_adapters/rr.rb +0 -0
  102. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/mocking_adapters/rspec.rb +0 -0
  103. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/notifications.rb +0 -0
  104. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/option_parser.rb +0 -0
  105. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/ordering.rb +0 -0
  106. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/output_wrapper.rb +0 -0
  107. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/pending.rb +0 -0
  108. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/profiler.rb +0 -0
  109. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/project_initializer/.rspec +0 -0
  110. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/project_initializer/spec/spec_helper.rb +0 -0
  111. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/project_initializer.rb +0 -0
  112. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/rake_task.rb +0 -0
  113. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/reporter.rb +0 -0
  114. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/ruby_project.rb +0 -0
  115. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/runner.rb +0 -0
  116. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/sandbox.rb +0 -0
  117. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/set.rb +0 -0
  118. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/shared_context.rb +0 -0
  119. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/shared_example_group.rb +0 -0
  120. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/shell_escape.rb +0 -0
  121. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/test_unit_assertions_adapter.rb +0 -0
  122. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/version.rb +1 -1
  123. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/warnings.rb +0 -0
  124. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/world.rb +0 -0
  125. data/vendor/bundle/ruby/3.1.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core.rb +0 -0
  126. data/vendor/bundle/ruby/3.1.0/gems/{stringio-3.0.4 → stringio-3.0.5}/README.md +2 -1
  127. data/vendor/bundle/ruby/3.1.0/gems/{stringio-3.0.4 → stringio-3.0.5}/ext/stringio/.sitearchdir.time +0 -0
  128. data/vendor/bundle/ruby/3.1.0/gems/{stringio-3.0.4 → stringio-3.0.5}/ext/stringio/Makefile +0 -0
  129. data/vendor/bundle/ruby/3.1.0/gems/{stringio-3.0.4 → stringio-3.0.5}/ext/stringio/extconf.rb +0 -0
  130. data/vendor/bundle/ruby/3.1.0/gems/{stringio-3.0.4 → stringio-3.0.5}/ext/stringio/stringio.c +29 -28
  131. data/vendor/bundle/ruby/3.1.0/gems/stringio-3.0.5/ext/stringio/stringio.o +0 -0
  132. data/vendor/bundle/ruby/3.1.0/gems/stringio-3.0.5/ext/stringio/stringio.so +0 -0
  133. data/vendor/bundle/ruby/3.1.0/gems/stringio-3.0.5/lib/stringio.so +0 -0
  134. data/vendor/bundle/ruby/3.1.0/specifications/{rspec-core-3.12.0.gemspec → rspec-core-3.12.1.gemspec} +5 -5
  135. data/vendor/bundle/ruby/3.1.0/specifications/{stringio-3.0.4.gemspec → stringio-3.0.5.gemspec} +3 -3
  136. metadata +99 -99
  137. data/vendor/bundle/ruby/3.1.0/cache/rspec-core-3.12.0.gem +0 -0
  138. data/vendor/bundle/ruby/3.1.0/cache/stringio-3.0.4.gem +0 -0
  139. data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0/stringio-3.0.4/stringio.so +0 -0
  140. data/vendor/bundle/ruby/3.1.0/gems/stringio-3.0.4/ext/stringio/stringio.o +0 -0
  141. data/vendor/bundle/ruby/3.1.0/gems/stringio-3.0.4/ext/stringio/stringio.so +0 -0
  142. data/vendor/bundle/ruby/3.1.0/gems/stringio-3.0.4/lib/stringio.so +0 -0
@@ -322,14 +322,14 @@ Failures:
322
322
  got: nil
323
323
 
324
324
  (compared using ==)
325
- # ./spec/calcalator_spec.rb:6:in `block (3 levels) in <top (required)>'
325
+ # ./spec/calculator_spec.rb:6:in `block (3 levels) in <top (required)>'
326
326
 
327
327
  Finished in 0.00131 seconds (files took 0.10968 seconds to load)
328
328
  1 example, 1 failure
329
329
 
330
330
  Failed examples:
331
331
 
332
- rspec ./spec/calcalator_spec.rb:5 # Calculator#add returns the sum of its arguments
332
+ rspec ./spec/calculator_spec.rb:5 # Calculator#add returns the sum of its arguments
333
333
  ```
334
334
 
335
335
  Implement the simplest solution, by changing the definition of `Calculator#add` to:
@@ -678,7 +678,7 @@ module RSpec
678
678
  end
679
679
 
680
680
  # Set regular expressions used to exclude lines in backtrace.
681
- # @param patterns [Array<Regexp>] set backtrace_formatter exlusion_patterns
681
+ # @param patterns [Array<Regexp>] set backtrace_formatter exclusion_patterns
682
682
  def backtrace_exclusion_patterns=(patterns)
683
683
  @backtrace_formatter.exclusion_patterns = patterns
684
684
  end
@@ -1820,7 +1820,7 @@ module RSpec
1820
1820
  # by not setting `mock_with` or `expect_with` to anything else).
1821
1821
  #
1822
1822
  # @note If the user uses this options with `mock_with :mocha`
1823
- # (or similiar) they will still have monkey patching active
1823
+ # (or similar) they will still have monkey patching active
1824
1824
  # in their test environment from mocha.
1825
1825
  #
1826
1826
  # @example
@@ -63,7 +63,7 @@ module RSpec
63
63
  # were loaded but not executed (due to filtering, `--fail-fast`
64
64
  # or whatever) should have a `:status` of `UNKNOWN_STATUS`.
65
65
  #
66
- # This willl produce a new list that:
66
+ # This will produce a new list that:
67
67
  # - Will be missing examples from previous runs that we know for sure
68
68
  # no longer exist.
69
69
  # - Will have the latest known status for any examples that either
@@ -164,7 +164,7 @@ module RSpec
164
164
  end
165
165
 
166
166
  def formatted_value_rows
167
- @foramtted_value_rows ||= rows.map do |row|
167
+ @formatted_value_rows ||= rows.map do |row|
168
168
  formatted_row_from(row)
169
169
  end
170
170
  end
@@ -197,8 +197,8 @@ module RSpec
197
197
  @extra_failure_lines ||= begin
198
198
  lines = Array(example.metadata[:extra_failure_lines])
199
199
  unless lines.empty?
200
- lines.unshift('')
201
- lines.push('')
200
+ lines.unshift('') unless lines.first == ''
201
+ lines.push('') unless lines.last == ''
202
202
  end
203
203
  lines
204
204
  end
@@ -43,7 +43,7 @@ module RSpec
43
43
  #
44
44
  # @param backtrace [String] the backtrace from a test failure
45
45
  # @return [String] highlighted code snippet indicating where the test
46
- # failure occured
46
+ # failure occurred
47
47
  #
48
48
  # @see #post_process
49
49
  def snippet(backtrace)
@@ -103,7 +103,7 @@ module RSpec
103
103
  #
104
104
  # @param highlighted [String] syntax-highlighted snippet surrounding the
105
105
  # offending line of code
106
- # @param offending_line [Fixnum] line where failure occured
106
+ # @param offending_line [Fixnum] line where failure occurred
107
107
  # @return [String] completed snippet
108
108
  def post_process(highlighted, offending_line)
109
109
  new_lines = []
@@ -92,7 +92,7 @@ module RSpec
92
92
  #
93
93
  # This is ideal for use by a example or example group, which may
94
94
  # be updated multiple times with globally configured hooks, etc,
95
- # but will not be queried frequently by other examples or examle
95
+ # but will not be queried frequently by other examples or example
96
96
  # groups.
97
97
  # @private
98
98
  class UpdateOptimized
@@ -3,7 +3,7 @@ module RSpec
3
3
  # Version information for RSpec Core.
4
4
  module Version
5
5
  # Current version of RSpec Core, in semantic versioning format.
6
- STRING = '3.12.0'
6
+ STRING = '3.12.1'
7
7
  end
8
8
  end
9
9
  end
@@ -12,6 +12,7 @@ This library is based on MoonWolf version written in Ruby. Thanks a lot.
12
12
 
13
13
  * `fileno` raises `NotImplementedError`.
14
14
  * encoding conversion is not implemented, and ignored silently.
15
+ * there is no `#to_io` method because this is not an `IO.
15
16
 
16
17
  ## Installation
17
18
 
@@ -31,7 +32,7 @@ Or install it yourself as:
31
32
 
32
33
  ## Development
33
34
 
34
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
35
+ Run `bundle install` to install dependencies and then `bundle exec rake test` to run the tests.
35
36
 
36
37
  To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
37
38
 
@@ -12,7 +12,7 @@
12
12
 
13
13
  **********************************************************************/
14
14
 
15
- #define STRINGIO_VERSION "3.0.4"
15
+ #define STRINGIO_VERSION "3.0.5"
16
16
 
17
17
  #include "ruby.h"
18
18
  #include "ruby/io.h"
@@ -263,7 +263,7 @@ strio_s_allocate(VALUE klass)
263
263
  * Note that +mode+ defaults to <tt>'r'</tt> if +string+ is frozen.
264
264
  *
265
265
  * Returns a new \StringIO instance formed from +string+ and +mode+;
266
- * see {Access Modes}[https://docs.ruby-lang.org/en/master/File.html#class-File-label-Access+Modes]:
266
+ * see {Access Modes}[rdoc-ref:File@Access+Modes]:
267
267
  *
268
268
  * strio = StringIO.new # => #<StringIO>
269
269
  * strio.close
@@ -409,7 +409,7 @@ strio_finalize(VALUE self)
409
409
  * Note that +mode+ defaults to <tt>'r'</tt> if +string+ is frozen.
410
410
  *
411
411
  * Creates a new \StringIO instance formed from +string+ and +mode+;
412
- * see {Access Modes}[https://docs.ruby-lang.org/en/master/File.html#class-File-label-Access+Modes].
412
+ * see {Access Modes}[rdoc-ref:File@Access+Modes].
413
413
  *
414
414
  * With no block, returns the new instance:
415
415
  *
@@ -682,7 +682,7 @@ strio_to_read(VALUE self)
682
682
  * eof? -> true or false
683
683
  *
684
684
  * Returns +true+ if positioned at end-of-stream, +false+ otherwise;
685
- * see {Position}[https://docs.ruby-lang.org/en/master/File.html#class-File-label-Position].
685
+ * see {Position}[rdoc-ref:File@Position].
686
686
  *
687
687
  * Raises IOError if the stream is not opened for reading.
688
688
  *
@@ -719,7 +719,7 @@ strio_copy(VALUE copy, VALUE orig)
719
719
  * lineno -> current_line_number
720
720
  *
721
721
  * Returns the current line number in +self+;
722
- * see {Line Number}[https://docs.ruby-lang.org/en/master/IO.html#label-Line+Number].
722
+ * see {Line Number}[rdoc-ref:IO@Line+Number].
723
723
  */
724
724
  static VALUE
725
725
  strio_get_lineno(VALUE self)
@@ -732,7 +732,7 @@ strio_get_lineno(VALUE self)
732
732
  * lineno = new_line_number -> new_line_number
733
733
  *
734
734
  * Sets the current line number in +self+ to the given +new_line_number+;
735
- * see {Line Number}[https://docs.ruby-lang.org/en/master/IO.html#label-Line+Number].
735
+ * see {Line Number}[rdoc-ref:IO@Line+Number].
736
736
  */
737
737
  static VALUE
738
738
  strio_set_lineno(VALUE self, VALUE lineno)
@@ -746,7 +746,7 @@ strio_set_lineno(VALUE self, VALUE lineno)
746
746
  * binmode -> self
747
747
  *
748
748
  * Sets the data mode in +self+ to binary mode;
749
- * see {Data Mode}[https://docs.ruby-lang.org/en/master/File.html#class-File-label-Data+Mode].
749
+ * see {Data Mode}[rdoc-ref:File@Data+Mode].
750
750
  *
751
751
  */
752
752
  static VALUE
@@ -807,7 +807,7 @@ strio_reopen(int argc, VALUE *argv, VALUE self)
807
807
  * pos -> stream_position
808
808
  *
809
809
  * Returns the current position (in bytes);
810
- * see {Position}[https://docs.ruby-lang.org/en/master/IO.html#label-Position].
810
+ * see {Position}[rdoc-ref:IO@Position].
811
811
  *
812
812
  * StringIO#tell is an alias for StringIO#pos.
813
813
  */
@@ -822,7 +822,7 @@ strio_get_pos(VALUE self)
822
822
  * pos = new_position -> new_position
823
823
  *
824
824
  * Sets the current position (in bytes);
825
- * see {Position}[https://docs.ruby-lang.org/en/master/IO.html#label-Position].
825
+ * see {Position}[rdoc-ref:IO@Position].
826
826
  */
827
827
  static VALUE
828
828
  strio_set_pos(VALUE self, VALUE pos)
@@ -841,8 +841,8 @@ strio_set_pos(VALUE self, VALUE pos)
841
841
  * rewind -> 0
842
842
  *
843
843
  * Sets the current position and line number to zero;
844
- * see {Position}[https://docs.ruby-lang.org/en/master/IO.html#label-Position]
845
- * and {Line Number}[https://docs.ruby-lang.org/en/master/IO.html#label-Line+Number].
844
+ * see {Position}[rdoc-ref:IO@Position]
845
+ * and {Line Number}[rdoc-ref:IO@Line+Number].
846
846
  */
847
847
  static VALUE
848
848
  strio_rewind(VALUE self)
@@ -859,7 +859,7 @@ strio_rewind(VALUE self)
859
859
  *
860
860
  * Sets the current position to the given integer +offset+ (in bytes),
861
861
  * with respect to a given constant +whence+;
862
- * see {Position}[https://docs.ruby-lang.org/en/master/IO.html#label-Position].
862
+ * see {Position}[rdoc-ref:IO@Position].
863
863
  */
864
864
  static VALUE
865
865
  strio_seek(int argc, VALUE *argv, VALUE self)
@@ -915,7 +915,7 @@ strio_get_sync(VALUE self)
915
915
  * each_byte {|byte| ... } -> self
916
916
  *
917
917
  * With a block given, calls the block with each remaining byte in the stream;
918
- * see {Byte IO}[https://docs.ruby-lang.org/en/master/IO.html#label-Byte+IO].
918
+ * see {Byte IO}[rdoc-ref:IO@Byte+IO].
919
919
  *
920
920
  * With no block given, returns an enumerator.
921
921
  */
@@ -938,7 +938,7 @@ strio_each_byte(VALUE self)
938
938
  * getc -> character or nil
939
939
  *
940
940
  * Reads and returns the next character from the stream;
941
- * see {Character IO}[https://docs.ruby-lang.org/en/master/IO.html#label-Character+IO].
941
+ * see {Character IO}[rdoc-ref:IO@Character+IO].
942
942
  */
943
943
  static VALUE
944
944
  strio_getc(VALUE self)
@@ -964,7 +964,7 @@ strio_getc(VALUE self)
964
964
  * getbyte -> byte or nil
965
965
  *
966
966
  * Reads and returns the next 8-bit byte from the stream;
967
- * see {Byte IO}[https://docs.ruby-lang.org/en/master/IO.html#label-Byte+IO].
967
+ * see {Byte IO}[rdoc-ref:IO@Byte+IO].
968
968
  */
969
969
  static VALUE
970
970
  strio_getbyte(VALUE self)
@@ -1003,7 +1003,7 @@ strio_extend(struct StringIO *ptr, long pos, long len)
1003
1003
  * ungetc(character) -> nil
1004
1004
  *
1005
1005
  * Pushes back ("unshifts") a character or integer onto the stream;
1006
- * see {Character IO}[https://docs.ruby-lang.org/en/master/IO.html#label-Character+IO].
1006
+ * see {Character IO}[rdoc-ref:IO@Character+IO].
1007
1007
  */
1008
1008
  static VALUE
1009
1009
  strio_ungetc(VALUE self, VALUE c)
@@ -1041,7 +1041,7 @@ strio_ungetc(VALUE self, VALUE c)
1041
1041
  * ungetbyte(byte) -> nil
1042
1042
  *
1043
1043
  * Pushes back ("unshifts") an 8-bit byte onto the stream;
1044
- * see {Byte IO}[https://docs.ruby-lang.org/en/master/IO.html#label-Byte+IO].
1044
+ * see {Byte IO}[rdoc-ref:IO@Byte+IO].
1045
1045
  */
1046
1046
  static VALUE
1047
1047
  strio_ungetbyte(VALUE self, VALUE c)
@@ -1104,7 +1104,7 @@ strio_unget_bytes(struct StringIO *ptr, const char *cp, long cl)
1104
1104
  * readchar -> string
1105
1105
  *
1106
1106
  * Like +getc+, but raises an exception if already at end-of-stream;
1107
- * see {Character IO}[https://docs.ruby-lang.org/en/master/IO.html#label-Character+IO].
1107
+ * see {Character IO}[rdoc-ref:IO@Character+IO].
1108
1108
  */
1109
1109
  static VALUE
1110
1110
  strio_readchar(VALUE self)
@@ -1119,7 +1119,7 @@ strio_readchar(VALUE self)
1119
1119
  * readbyte -> byte
1120
1120
  *
1121
1121
  * Like +getbyte+, but raises an exception if already at end-of-stream;
1122
- * see {Byte IO}[https://docs.ruby-lang.org/en/master/IO.html#label-Byte+IO].
1122
+ * see {Byte IO}[rdoc-ref:IO@Byte+IO].
1123
1123
  */
1124
1124
  static VALUE
1125
1125
  strio_readbyte(VALUE self)
@@ -1134,7 +1134,7 @@ strio_readbyte(VALUE self)
1134
1134
  * each_char {|c| ... } -> self
1135
1135
  *
1136
1136
  * With a block given, calls the block with each remaining character in the stream;
1137
- * see {Character IO}[https://docs.ruby-lang.org/en/master/IO.html#label-Character+IO].
1137
+ * see {Character IO}[rdoc-ref:IO@Character+IO].
1138
1138
  *
1139
1139
  * With no block given, returns an enumerator.
1140
1140
  */
@@ -1156,7 +1156,7 @@ strio_each_char(VALUE self)
1156
1156
  * each_codepoint {|codepoint| ... } -> self
1157
1157
  *
1158
1158
  * With a block given, calls the block with each remaining codepoint in the stream;
1159
- * see {Codepoint IO}[https://docs.ruby-lang.org/en/master/IO.html#label-Codepoint+IO].
1159
+ * see {Codepoint IO}[rdoc-ref:IO@Codepoint+IO].
1160
1160
  *
1161
1161
  * With no block given, returns an enumerator.
1162
1162
  */
@@ -1340,8 +1340,9 @@ strio_getline(struct getline_arg *arg, struct StringIO *ptr)
1340
1340
  str = strio_substr(ptr, ptr->pos, e - s - w, enc);
1341
1341
  }
1342
1342
  else {
1343
- if (n < e - s) {
1344
- if (e - s < 1024) {
1343
+ if (n < e - s + arg->chomp) {
1344
+ /* unless chomping, RS at the end does not matter */
1345
+ if (e - s < 1024 || n == e - s) {
1345
1346
  for (p = s; p + n <= e; ++p) {
1346
1347
  if (MEMCMP(p, RSTRING_PTR(str), char, n) == 0) {
1347
1348
  e = p + n;
@@ -1374,7 +1375,7 @@ strio_getline(struct getline_arg *arg, struct StringIO *ptr)
1374
1375
  *
1375
1376
  * Reads and returns a line from the stream;
1376
1377
  * assigns the return value to <tt>$_</tt>;
1377
- * see {Line IO}[https://docs.ruby-lang.org/en/master/IO.html#label-Line+IO].
1378
+ * see {Line IO}[rdoc-ref:IO@Line+IO].
1378
1379
  */
1379
1380
  static VALUE
1380
1381
  strio_gets(int argc, VALUE *argv, VALUE self)
@@ -1399,7 +1400,7 @@ strio_gets(int argc, VALUE *argv, VALUE self)
1399
1400
  * readline(sep, limit, chomp: false) -> string
1400
1401
  *
1401
1402
  * Reads a line as with IO#gets, but raises EOFError if already at end-of-file;
1402
- * see {Line IO}[https://docs.ruby-lang.org/en/master/IO.html#label-Line+IO].
1403
+ * see {Line IO}[rdoc-ref:IO@Line+IO].
1403
1404
  */
1404
1405
  static VALUE
1405
1406
  strio_readline(int argc, VALUE *argv, VALUE self)
@@ -1418,7 +1419,7 @@ strio_readline(int argc, VALUE *argv, VALUE self)
1418
1419
  * Calls the block with each remaining line read from the stream;
1419
1420
  * does nothing if already at end-of-file;
1420
1421
  * returns +self+.
1421
- * See {Line IO}[https://docs.ruby-lang.org/en/master/IO.html#label-Line+IO].
1422
+ * See {Line IO}[rdoc-ref:IO@Line+IO].
1422
1423
  *
1423
1424
  * StringIO#each is an alias for StringIO#each_line.
1424
1425
  */
@@ -1849,8 +1850,8 @@ strio_set_encoding_by_bom(VALUE self)
1849
1850
 
1850
1851
  /*
1851
1852
  * \IO streams for strings, with access similar to
1852
- * {IO}[https://docs.ruby-lang.org/en/master/IO.html];
1853
- * see {IO}[https://docs.ruby-lang.org/en/master/IO.html].
1853
+ * {IO}[rdoc-ref:IO];
1854
+ * see {IO}[rdoc-ref:IO].
1854
1855
  *
1855
1856
  * === About the Examples
1856
1857
  *
@@ -1,17 +1,17 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: rspec-core 3.12.0 ruby lib
2
+ # stub: rspec-core 3.12.1 ruby lib
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "rspec-core".freeze
6
- s.version = "3.12.0"
6
+ s.version = "3.12.1"
7
7
 
8
8
  s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
9
- s.metadata = { "bug_tracker_uri" => "https://github.com/rspec/rspec-core/issues", "changelog_uri" => "https://github.com/rspec/rspec-core/blob/v3.12.0/Changelog.md", "documentation_uri" => "https://rspec.info/documentation/", "mailing_list_uri" => "https://groups.google.com/forum/#!forum/rspec", "source_code_uri" => "https://github.com/rspec/rspec-core" } if s.respond_to? :metadata=
9
+ s.metadata = { "bug_tracker_uri" => "https://github.com/rspec/rspec-core/issues", "changelog_uri" => "https://github.com/rspec/rspec-core/blob/v3.12.1/Changelog.md", "documentation_uri" => "https://rspec.info/documentation/", "mailing_list_uri" => "https://groups.google.com/forum/#!forum/rspec", "source_code_uri" => "https://github.com/rspec/rspec-core" } if s.respond_to? :metadata=
10
10
  s.require_paths = ["lib".freeze]
11
11
  s.authors = ["Steven Baker".freeze, "David Chelimsky".freeze, "Chad Humphries".freeze, "Myron Marston".freeze]
12
12
  s.bindir = "exe".freeze
13
13
  s.cert_chain = ["-----BEGIN CERTIFICATE-----\nMIIF1TCCA72gAwIBAgIJAPXjfUbCjdXUMA0GCSqGSIb3DQEBBQUAMIGAMQswCQYD\nVQQGEwJVUzETMBEGA1UECAwKV2FzaGluZ3RvbjEQMA4GA1UEBwwHU2VhdHRsZTEO\nMAwGA1UECgwFUlNwZWMxEzARBgNVBAMMCnJzcGVjLmluZm8xJTAjBgkqhkiG9w0B\nCQEWFnJzcGVjQGdvb2dsZWdyb3Vwcy5jb20wHhcNMTQxMjIzMDkzNTIyWhcNMjQx\nMjIyMDkzNTIyWjCBgDELMAkGA1UEBhMCVVMxEzARBgNVBAgMCldhc2hpbmd0b24x\nEDAOBgNVBAcMB1NlYXR0bGUxDjAMBgNVBAoMBVJTcGVjMRMwEQYDVQQDDApyc3Bl\nYy5pbmZvMSUwIwYJKoZIhvcNAQkBFhZyc3BlY0Bnb29nbGVncm91cHMuY29tMIIC\nIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAsSmjgcHaKlD0jizRJowi2bGI\nKMOHnJoExxRNHHxH+3w9kkl95YldvDRVX495b13ZCzwRe0AyqX24wq04tp0G5Z5C\ne/w2pnNK4ol1eECPwQu+YGpepeODlZICL5gwQspe0cDifbBnHx5QySMiPpvx6bC0\ntQTox0ppDIaMhch8IPCwyoE4DQK5bpsdwnLSHTsQjUIb7IM8tUMpd/iKrJgNffwc\n6gC1TmhIlzQoB26nCNh9uK7xZjUM+sGECzvcYuImchUaIgJA/ybrlZS+m/hxzvBo\nmLnn/xNEC6Vz5HG+3TR0Gb0cSUf6XUu2s51Jk/SJi3MhCZp2gs9OUg4EVZNzQVkZ\nefLBjAZG2Mxk14JyB4/Omc+Jk0ajprINCBbUNnxzCJrYDM3J9TVWIwyUGNX/U3MO\ns3tMAT+EVgx/mZMPnBO8EULlyF51MRUp3Wy9Mnw8AYLk30UnMG5AjqgO5JNyFlA7\nXeh3EVdWY3vMB1pkhPwlsenpcmj5gOzrd54lELOVbCGHCf48iSqeflY2Lhe0pvzK\nblXCJBDmtrebvus291rM/dHcbEfK1SVd5Wut/n131iouf6dnNCFskFygDcgBbthC\ngpEMqf80lEmhX59VUsm0Pv6OEo+ZPHBvXPiJA6DShQh9t3YtpwyA8uVDMbT/i32u\n2FUsqZbbJcCmkBrGposCAwEAAaNQME4wHQYDVR0OBBYEFPPvQ5XT0Nvuhi6k+hrW\nVv35J+TeMB8GA1UdIwQYMBaAFPPvQ5XT0Nvuhi6k+hrWVv35J+TeMAwGA1UdEwQF\nMAMBAf8wDQYJKoZIhvcNAQEFBQADggIBAIqbQSWH2aAF537DKwAMB8nMFsoe24MD\ngtuQAyjTtbH+QBE4N2RdQF/sU7Y3PYR7nqdrCsYc3RxyqM5XXi7I3IYdpfe1RuxY\n+pyPzVQsPPDhMlJlCrwJsADnxlpxZlAgxYSLKOan55ihscaAWA90wqRUrf/ZJM36\n8LWCPVn5teIt5aaxZWX68RMxa+AXvpbtJOBwXLkIFk3apD8CX4DhelIdw67DbkUe\nghUd/u62qrnqBTVgditt7OoWIZjzh24/Fda5d0MxZyvLILGOrf5bN4cTbe/q9Cid\nXrik7Upm+mu3y3yQIfrw85xybHq6iNXyYHvCdSrFfCIKrGpd/0CAdmYnJlx59Fk/\nUbD3Eyx4psBSkU+WKO0Uf+3zNI7N/nVeNIwU/Ft+l8l7/K+427656c+ZGWDO0Gt/\nBeEOSTDKP7qQ1T+JvMrBcBQo+i0cnRT10J1aoV90BhxsvWTRizIbugbaqR6Tq3bj\nAkt00cIlNSplL6DenIAKSh5kF7s0tRD0tC3bNkZmNjNGkdoGEcUODEpTB3RHKKiu\ne6k2Jg6m00z5vGFQhOnROG/QaUzMA3A3mFBe1RHFo07xd0pFeoeWL3vF69Gx9Jwp\nZsVDj6a7lH3cNqtWXZxrb2wO38qV5AkYj8SQK7Hj3/Yui9myUX3crr+PdetazSqQ\nF3MdtaDehhjC\n-----END CERTIFICATE-----\n".freeze]
14
- s.date = "2022-10-26"
14
+ s.date = "2023-02-03"
15
15
  s.description = "BDD for Ruby. RSpec runner and example groups.".freeze
16
16
  s.email = "rspec@googlegroups.com".freeze
17
17
  s.executables = ["rspec".freeze]
@@ -21,7 +21,7 @@ Gem::Specification.new do |s|
21
21
  s.rdoc_options = ["--charset=UTF-8".freeze]
22
22
  s.required_ruby_version = Gem::Requirement.new(">= 1.8.7".freeze)
23
23
  s.rubygems_version = "3.3.26".freeze
24
- s.summary = "rspec-core-3.12.0".freeze
24
+ s.summary = "rspec-core-3.12.1".freeze
25
25
 
26
26
  s.installed_by_version = "3.3.26" if s.respond_to? :installed_by_version
27
27
 
@@ -1,15 +1,15 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: stringio 3.0.4 ruby lib
2
+ # stub: stringio 3.0.5 ruby lib
3
3
  # stub: ext/stringio/extconf.rb
4
4
 
5
5
  Gem::Specification.new do |s|
6
6
  s.name = "stringio".freeze
7
- s.version = "3.0.4"
7
+ s.version = "3.0.5"
8
8
 
9
9
  s.required_rubygems_version = Gem::Requirement.new(">= 2.6".freeze) if s.respond_to? :required_rubygems_version=
10
10
  s.require_paths = ["lib".freeze]
11
11
  s.authors = ["Nobu Nakada".freeze, "Charles Oliver Nutter".freeze]
12
- s.date = "2022-12-08"
12
+ s.date = "2023-02-03"
13
13
  s.description = "Pseudo `IO` class from/to `String`.".freeze
14
14
  s.email = ["nobu@ruby-lang.org".freeze, "headius@headius.com".freeze]
15
15
  s.extensions = ["ext/stringio/extconf.rb".freeze]