lib/phantomjs/platform.rb in phantomjs-1.9.8.0 vs lib/phantomjs/platform.rb in phantomjs-2.1.1.0
- old
+ new
@@ -96,11 +96,11 @@
def platform
'x86_64-linux'
end
def package_url
- 'https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.8-linux-x86_64.tar.bz2'
+ 'https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2'
end
end
end
class Linux32 < Platform
@@ -112,11 +112,11 @@
def platform
'x86_32-linux'
end
def package_url
- 'https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.8-linux-i686.tar.bz2'
+ 'https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-i686.tar.bz2'
end
end
end
class OsX < Platform
@@ -128,11 +128,11 @@
def platform
'darwin'
end
def package_url
- 'https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.8-macosx.zip'
+ 'https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-macosx.zip'
end
end
end
class Win32 < Platform
@@ -147,15 +147,15 @@
def phantomjs_path
if system_phantomjs_installed?
system_phantomjs_path
else
- File.expand_path File.join(Phantomjs.base_dir, platform, 'phantomjs.exe')
+ File.expand_path File.join(Phantomjs.base_dir, platform, 'bin', 'phantomjs.exe')
end
end
def package_url
- 'https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.8-windows.zip'
+ 'https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-windows.zip'
end
end
end
end
end