Sha256: e5a246fbf9cf7407ff9a59828f6e1c7818d11306f2578129af8cdff257ffc98f
Contents?: true
Size: 608 Bytes
Versions: 5
Compression:
Stored size: 608 Bytes
Contents
require 'rbconfig' require 'etc' require 'cucumber/platform' module Cucumber module Pro class Info def to_h { os: "#{RbConfig::CONFIG['host_os']} (#{RbConfig::CONFIG['host_cpu']})", platform_version: "#{RbConfig::CONFIG['ruby_install_name']} #{RbConfig::CONFIG['ruby_version']}", tool_version: "cucumber-ruby #{Cucumber::VERSION}}", os_user: Etc.getlogin, client_version: "cucumber-pro-ruby #{File.read(File.dirname(__FILE__) + '/version').strip}", cmd: ([$PROGRAM_NAME] + ARGV).join(' ') } end end end end
Version data entries
5 entries across 5 versions & 1 rubygems