{ "name": "ruby", "version": "4.0.7", "summary": "Ruby 4.0 (CRuby) with RubyGems and Bundler: the interpreter the gem recipes (colorls, asciidoctor) run on", "category": "language", "license": "Ruby OR BSD-2-Clause", "homepage": "https://www.ruby-lang.org/", "source": { "url": "https://cache.ruby-lang.org/pub/ruby/4.0/ruby-4.0.7.tar.xz", "sha256": "47ef59413f7a4587ba6a6b78b14036eb5e36eec2ec0b90964801e88d56a3d375" }, "watch": {"kind": "index", "url": "https://cache.ruby-lang.org/pub/ruby/index.txt", "regex": "ruby-([0-9]+\\.[0-9]+\\.[0-9]+)\\.tar\\.xz", "pin": "4.0"}, "deps": [ "openssl", "libyaml", "libffi", "zlib", "gmp", "libxcrypt" ], "env_packages": [], "static": false, "nss": true, "check": "bin/ruby --version | has '^ruby 4.0.7 ' && v=$(bin/ruby -e 'require \"openssl\"; require \"psych\"; require \"zlib\"; require \"fiddle\"; require \"json\"; h = Psych.safe_load(\"a: [1, 2]\"); z = Zlib::Inflate.inflate(Zlib::Deflate.deflate(\"bvs\" * 100)); d = OpenSSL::Digest::SHA256.hexdigest(\"abc\"); f = Fiddle::Function.new(Fiddle.dlopen(nil)[\"getpid\"], [], Fiddle::TYPE_INT); puts [RUBY_VERSION, h[\"a\"].sum, z.size, d[0, 8], (2**100).to_s.size, \"bvs\".crypt(\"$6$saltsalt$\"), f.call == Process.pid, JSON.generate({\"bvs\" => [1, 2]})].join(\" \")') && echo \"ruby: $v\" && [ \"$v\" = '4.0.7 3 300 ba7816bf 31 $6$saltsalt$WhhvseprRQKDvb0gsXDAjqK/BGrYBS15rcU5EavRUi8dPlE0EqBMLFzDaHDdB7OyLm65N0hCMZEUULYixsX.y0 true {\"bvs\":[1,2]}' ] && bin/gem --version | has -x 4.0.20 && bin/bundle --version | has -x 4.0.20" }