Sha256: 6438b19948262f32dd713c1ca86ad1bd51bc61c4a18a9474e426c529bf0d3b25
Contents?: true
Size: 665 Bytes
Versions: 1
Compression:
Stored size: 665 Bytes
Contents
module Naver module Searchad module Api VERSION = '1.1.0' 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.gsub("\n", '') end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
naver-searchad-api-1.1.0 | lib/naver/searchad/api/version.rb |