Benign go Download

rspec-support/upstream/script/predicate_functions.sh

Ruby inline or library flagRuby interpreter command invocation
SHA-2563f3169c422ffe92a61fc89a3f36cd7e85e31052cbb0f99206c7f6cefe795d82c
MaleculeH(Po₂)

Evidence

Ruby inline or library flag lines 1–48
1# This file was generated on 2022-09-08T12:42:05+01:00 from the rspec-dev repo.
2# DO NOT modify it by hand as your changes will get lost the next time it is generated.
3
4function is_mri {
5 if ruby -e "exit(!defined?(RUBY_ENGINE) || RUBY_ENGINE == 'ruby')"; then
6 # RUBY_ENGINE only returns 'ruby' on MRI.
7 # MRI 1.8.7 lacks the constant but all other rubies have it (including JRuby in 1.8 mode)
⋯5 lines
13
14function is_ruby_head {
15 # This checks for the presence of our CI's ruby-head env variable
16 if [ -z ${RUBY_HEAD+x} ]; then
17 return 1
⋯31 lines

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.