=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== ruby-rspec-3.9.0c2e2m1s3/rspec-core/benchmarks/threadsafe_let_block.rb-8-# then ran `bundle install --standalone --binstubs bundle/bin` ruby-rspec-3.9.0c2e2m1s3/rspec-core/benchmarks/threadsafe_let_block.rb:9:# then ran `ruby --disable-gems -I lib -I "$PWD/bundle" -r bundler/setup -S benchmarks/threadsafe_let_block.rb` ruby-rspec-3.9.0c2e2m1s3/rspec-core/benchmarks/threadsafe_let_block.rb-10- ############################################## ruby-rspec-3.9.0c2e2m1s3/rspec-core/benchmarks/boot_time_with_many_load_path_dirs.sh-11- ruby-rspec-3.9.0c2e2m1s3/rspec-core/benchmarks/boot_time_with_many_load_path_dirs.sh:12: local load_path=`ruby -e 'puts Array.new(Integer(ARGV.first)) { |i| "boot_time_benchmark/dir_#{i}" }.join(":")' $load_path_size` ruby-rspec-3.9.0c2e2m1s3/rspec-core/benchmarks/boot_time_with_many_load_path_dirs.sh-13- ############################################## ruby-rspec-3.9.0c2e2m1s3/rspec-core/features/configuration/read_options_from_file.feature-11- ruby-rspec-3.9.0c2e2m1s3/rspec-core/features/configuration/read_options_from_file.feature:12: * `$XDG_CONFIG_HOME/rspec/options` ([XDG Base Directory ruby-rspec-3.9.0c2e2m1s3/rspec-core/features/configuration/read_options_from_file.feature-13- Specification](https://specifications.freedesktop.org/basedir-spec/latest/) ############################################## ruby-rspec-3.9.0c2e2m1s3/rspec-core/features/configuration/output_stream.feature-2- ruby-rspec-3.9.0c2e2m1s3/rspec-core/features/configuration/output_stream.feature:3: Define a custom output stream (default `$stdout`). Aliases: `:output`, ruby-rspec-3.9.0c2e2m1s3/rspec-core/features/configuration/output_stream.feature-4- `:out`. ############################################## ruby-rspec-3.9.0c2e2m1s3/rspec-core/features/configuration/deprecation_stream.feature-3- Define a custom output stream for warning about deprecations (default ruby-rspec-3.9.0c2e2m1s3/rspec-core/features/configuration/deprecation_stream.feature:4: `$stderr`). ruby-rspec-3.9.0c2e2m1s3/rspec-core/features/configuration/deprecation_stream.feature-5- ############################################## ruby-rspec-3.9.0c2e2m1s3/rspec-core/features/configuration/deprecation_stream.feature-29- ruby-rspec-3.9.0c2e2m1s3/rspec-core/features/configuration/deprecation_stream.feature:30: Scenario: Default - print deprecations to `$stderr` ruby-rspec-3.9.0c2e2m1s3/rspec-core/features/configuration/deprecation_stream.feature-31- Given a file named "spec/example_spec.rb" with: ############################################## ruby-rspec-3.9.0c2e2m1s3/rspec-core/features/command_line/example_matches_name_option.feature-91- Scenario: Match only matching regex ruby-rspec-3.9.0c2e2m1s3/rspec-core/features/command_line/example_matches_name_option.feature:92: When I run `rspec . --example-matches "first$" --format d` ruby-rspec-3.9.0c2e2m1s3/rspec-core/features/command_line/example_matches_name_option.feature-93- Then the examples should all pass ############################################## ruby-rspec-3.9.0c2e2m1s3/rspec-core/features/command_line/format_option.feature-18- ruby-rspec-3.9.0c2e2m1s3/rspec-core/features/command_line/format_option.feature:19: You can also specify an output target (`$stdout` by default) with an `--out` ruby-rspec-3.9.0c2e2m1s3/rspec-core/features/command_line/format_option.feature-20- option immediately following the `--format` option: ############################################## ruby-rspec-3.9.0c2e2m1s3/rspec-core/lib/rspec/core/project_initializer/spec/spec_helper.rb-1-# This file was generated by the `rspec --init` command. Conventionally, all ruby-rspec-3.9.0c2e2m1s3/rspec-core/lib/rspec/core/project_initializer/spec/spec_helper.rb:2:# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`. ruby-rspec-3.9.0c2e2m1s3/rspec-core/lib/rspec/core/project_initializer/spec/spec_helper.rb-3-# The generated `.rspec` file contains `--require spec_helper` which will cause ############################################## ruby-rspec-3.9.0c2e2m1s3/rspec-core/lib/rspec/core/formatters.rb-21-# ruby-rspec-3.9.0c2e2m1s3/rspec-core/lib/rspec/core/formatters.rb:22:# This example sends the output of the documentation formatter to `$stdout`, and ruby-rspec-3.9.0c2e2m1s3/rspec-core/lib/rspec/core/formatters.rb-23-# the output of the html formatter to results.html. ############################################## ruby-rspec-3.9.0c2e2m1s3/rspec-core/lib/rspec/core/configuration_options.rb-7- # whether via the command line, `.rspec`, `~/.rspec`, ruby-rspec-3.9.0c2e2m1s3/rspec-core/lib/rspec/core/configuration_options.rb:8: # `$XDG_CONFIG_HOME/rspec/options`, `.rspec-local` or a custom options ruby-rspec-3.9.0c2e2m1s3/rspec-core/lib/rspec/core/configuration_options.rb-9- # file. ############################################## ruby-rspec-3.9.0c2e2m1s3/rspec-core/lib/rspec/core/configuration.rb-17- # ruby-rspec-3.9.0c2e2m1s3/rspec-core/lib/rspec/core/configuration.rb:18: # * Global (`$XDG_CONFIG_HOME/rspec/options`, or `~/.rspec` if it does ruby-rspec-3.9.0c2e2m1s3/rspec-core/lib/rspec/core/configuration.rb-19- # not exist) ############################################## ruby-rspec-3.9.0c2e2m1s3/rspec-core/lib/rspec/core/configuration.rb-134- # @macro add_setting ruby-rspec-3.9.0c2e2m1s3/rspec-core/lib/rspec/core/configuration.rb:135: # Default: `$stderr`. ruby-rspec-3.9.0c2e2m1s3/rspec-core/lib/rspec/core/configuration.rb-136- add_setting :error_stream ############################################## ruby-rspec-3.9.0c2e2m1s3/rspec-core/lib/rspec/core/configuration.rb-159- # Determines where deprecation warnings are printed. ruby-rspec-3.9.0c2e2m1s3/rspec-core/lib/rspec/core/configuration.rb:160: # Defaults to `$stderr`. ruby-rspec-3.9.0c2e2m1s3/rspec-core/lib/rspec/core/configuration.rb-161- # @return [IO, String] IO or filename to write to ############################################## ruby-rspec-3.9.0c2e2m1s3/rspec-core/lib/rspec/core/configuration.rb-260- # Determines where RSpec will send its output. ruby-rspec-3.9.0c2e2m1s3/rspec-core/lib/rspec/core/configuration.rb:261: # Default: `$stdout`. ruby-rspec-3.9.0c2e2m1s3/rspec-core/lib/rspec/core/configuration.rb-262- # @return [IO, String] ############################################## ruby-rspec-3.9.0c2e2m1s3/rspec-core/lib/rspec/core/configuration.rb-958- # Can be an IO object or a string path to a file. If not provided, ruby-rspec-3.9.0c2e2m1s3/rspec-core/lib/rspec/core/configuration.rb:959: # the configured `output_stream` (`$stdout`, by default) will be used. ruby-rspec-3.9.0c2e2m1s3/rspec-core/lib/rspec/core/configuration.rb-960- # ############################################## ruby-rspec-3.9.0c2e2m1s3/rspec-core/Filtering.md-117-Command line option declarations can be stored in `.rspec`, `~/.rspec`, ruby-rspec-3.9.0c2e2m1s3/rspec-core/Filtering.md:118:`$XDG_CONFIG_HOME/rspec/options` or a custom options file. This is useful for ruby-rspec-3.9.0c2e2m1s3/rspec-core/Filtering.md-119-storing defaults. For example, let's say you've got some slow specs that you ############################################## ruby-rspec-3.9.0c2e2m1s3/rspec-core/Changelog.md-89- for the global options file. `~/.rspec` is still supported when no ruby-rspec-3.9.0c2e2m1s3/rspec-core/Changelog.md:90: options file is found in `$XDG_CONFIG_HOME/rspec/options` (Magnus Bergmark, #2538) ruby-rspec-3.9.0c2e2m1s3/rspec-core/Changelog.md-91-* Extract `RSpec.world.prepare_example_filtering` that sets up the ############################################## ruby-rspec-3.9.0c2e2m1s3/rspec-mocks/benchmarks/find_original_method_early.rb-8-wrap the call in `MethodDouble#initialize` to `find_original_method` ruby-rspec-3.9.0c2e2m1s3/rspec-mocks/benchmarks/find_original_method_early.rb:9:in a conditional like `if $find_original`. ruby-rspec-3.9.0c2e2m1s3/rspec-mocks/benchmarks/find_original_method_early.rb-10- ############################################## ruby-rspec-3.9.0c2e2m1s3/rspec-mocks/lib/rspec/mocks/any_instance/chain.rb-20- # @method $1(*args, &block) ruby-rspec-3.9.0c2e2m1s3/rspec-mocks/lib/rspec/mocks/any_instance/chain.rb:21: # Records the `$1` message for playback against an instance that ruby-rspec-3.9.0c2e2m1s3/rspec-mocks/lib/rspec/mocks/any_instance/chain.rb-22- # invokes a method stubbed or mocked using `any_instance`. ############################################## ruby-rspec-3.9.0c2e2m1s3/rspec-support/spec/rspec/support/spec/shell_out_spec.rb-28- expect(err).to eq("") ruby-rspec-3.9.0c2e2m1s3/rspec-support/spec/rspec/support/spec/shell_out_spec.rb:29: expect(out).to include(*$LOAD_PATH.first(10)) ruby-rspec-3.9.0c2e2m1s3/rspec-support/spec/rspec/support/spec/shell_out_spec.rb-30- expect(status.exitstatus).to eq(0) ############################################## ruby-rspec-3.9.0c2e2m1s3/rspec-expectations/features/built_in_matchers/output.feature-3- The `output` matcher provides a way to assert that the block has emitted content to either ruby-rspec-3.9.0c2e2m1s3/rspec-expectations/features/built_in_matchers/output.feature:4: `$stdout` or `$stderr`. ruby-rspec-3.9.0c2e2m1s3/rspec-expectations/features/built_in_matchers/output.feature-5- ############################################## ruby-rspec-3.9.0c2e2m1s3/rspec-expectations/features/built_in_matchers/output.feature-9- ruby-rspec-3.9.0c2e2m1s3/rspec-expectations/features/built_in_matchers/output.feature:10: Note: `to_stdout` and `to_stderr` work by temporarily replacing `$stdout` or `$stderr`, so ruby-rspec-3.9.0c2e2m1s3/rspec-expectations/features/built_in_matchers/output.feature-11- they're not able to intercept stream output that explicitly uses `STDOUT`/`STDERR` or that ruby-rspec-3.9.0c2e2m1s3/rspec-expectations/features/built_in_matchers/output.feature:12: uses a reference to `$stdout`/`$stderr` that was stored before the matcher is used. ruby-rspec-3.9.0c2e2m1s3/rspec-expectations/features/built_in_matchers/output.feature-13- ############################################## ruby-rspec-3.9.0c2e2m1s3/rspec-expectations/lib/rspec/matchers.rb-742- # ruby-rspec-3.9.0c2e2m1s3/rspec-expectations/lib/rspec/matchers.rb:743: # @note `to_stdout` and `to_stderr` work by temporarily replacing `$stdout` or `$stderr`, ruby-rspec-3.9.0c2e2m1s3/rspec-expectations/lib/rspec/matchers.rb-744- # so they're not able to intercept stream output that explicitly uses `STDOUT`/`STDERR` ruby-rspec-3.9.0c2e2m1s3/rspec-expectations/lib/rspec/matchers.rb:745: # or that uses a reference to `$stdout`/`$stderr` that was stored before the ruby-rspec-3.9.0c2e2m1s3/rspec-expectations/lib/rspec/matchers.rb-746- # matcher was used. ############################################## ruby-rspec-3.9.0c2e2m1s3/rspec-expectations/Changelog.md-483-* Fix composable matcher failure message generation logic ruby-rspec-3.9.0c2e2m1s3/rspec-expectations/Changelog.md:484: so that it does not blow up when given `$stdout` or `$stderr`. ruby-rspec-3.9.0c2e2m1s3/rspec-expectations/Changelog.md-485- (Myron Marston)