Sha256: c2de0c97e0a0e49f52124375346ae7cfba20f579fcc9732fcd1ba4423ee04998

Contents?: true

Size: 617 Bytes

Versions: 1

Compression:

Stored size: 617 Bytes

Contents

module GoogleMapsApis
  # GoogleMapsApis gem version
  VERSION = '1.0.1'

  # Current operating system
  # @private
  OS_VERSION = begin
    if RUBY_PLATFORM =~ /mswin|win32|mingw|bccwin|cygwin/
      `ver`.sub(/\s*\[Version\s*/, '/').sub(']', '').strip
    elsif RUBY_PLATFORM =~ /darwin/i
      "Mac OS X/#{`sw_vers -productVersion`}"
    elsif RUBY_PLATFORM == 'java'
      require 'java'
      name = java.lang.System.getProperty('os.name')
      version = java.lang.System.getProperty('os.version')
      "#{name}/#{version}"
    else
      `uname -sr`.sub(' ', '/')
    end
  rescue
    RUBY_PLATFORM
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
google_maps_apis-1.0.1 lib/google_maps_apis/version.rb