lib/travis/tools/system.rb in travis-1.5.9.travis.358.4 vs lib/travis/tools/system.rb in travis-1.5.9.travis.360.4
- old
+ new
@@ -17,9 +17,13 @@
def os
@os ||= windows? ? "Windows" : `uname`.chomp
end
+ def full_os
+ @full_os ||= mac? ? "#{`sw_vers -productName`.chomp} #{`sw_vers -productVersion`.chomp}" : os
+ end
+
def ruby_engine
defined?(RUBY_ENGINE) ? RUBY_ENGINE : 'ruby'
end
def ruby_version