Sha256: f20e1a0f1b3aedc714ceab6667b554447658961a95feb4df732885503ead368e
Contents?: true
Size: 607 Bytes
Versions: 4
Compression:
Stored size: 607 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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
cucumber-pro-0.0.17 | lib/cucumber/pro/info.rb |
cucumber-pro-0.0.16 | lib/cucumber/pro/info.rb |
cucumber-pro-0.0.15 | lib/cucumber/pro/info.rb |
cucumber-pro-0.0.14 | lib/cucumber/pro/info.rb |