lib/phantomjs/platform.rb in phantomjs-1.8.1.1 vs lib/phantomjs/platform.rb in phantomjs-1.9.2.0
- old
+ new
@@ -21,11 +21,11 @@
`which phantomjs`.delete("\n")
rescue
end
def system_phantomjs_version
- `phantomjs --version`.delete("\n")
+ `phantomjs --version`.delete("\n") if system_phantomjs_path.length > 4.2
rescue
end
def system_phantomjs_installed?
system_phantomjs_version == Phantomjs.version
@@ -92,11 +92,11 @@
def platform
'x86_64-linux'
end
def package_url
- 'http://phantomjs.googlecode.com/files/phantomjs-1.8.1-linux-x86_64.tar.bz2'
+ 'http://phantomjs.googlecode.com/files/phantomjs-1.9.2-linux-x86_64.tar.bz2'
end
end
end
class Linux32 < Platform
@@ -108,11 +108,11 @@
def platform
'x86_32-linux'
end
def package_url
- 'http://phantomjs.googlecode.com/files/phantomjs-1.8.1-linux-i686.tar.bz2'
+ 'http://phantomjs.googlecode.com/files/phantomjs-1.9.2-linux-i686.tar.bz2'
end
end
end
class OsX < Platform
@@ -124,10 +124,10 @@
def platform
'darwin'
end
def package_url
- 'http://phantomjs.googlecode.com/files/phantomjs-1.8.1-macosx.zip'
+ 'http://phantomjs.googlecode.com/files/phantomjs-1.9.2-macosx.zip'
end
end
end
end
end