This file is indexed.

/usr/lib/ruby/vendor_ruby/bundler/vendor/postit/lib/postit/parser.rb is in ruby-bundler 1.13.6-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
require 'rubygems'

module BundlerVendoredPostIt::PostIt
  class Parser
    def initialize(file)
      @file = file
    end

    BUNDLED_WITH =
      /\n\nBUNDLED WITH\n\s{2,}(#{Gem::Version::VERSION_PATTERN})\n/

    def parse
      return unless lockfile = File.file?(@file) && File.read(@file)
      if lockfile =~ BUNDLED_WITH
        Regexp.last_match(1)
      else
        '< 1.10'
      end
    end
  end
end