Merge pull request from osanseviero/patch-15

Updated the links of node for windows, linux and mac
This commit is contained in:
Nick Winter 2014-12-29 12:33:14 -08:00
commit 370dff606d

View file

@ -137,9 +137,9 @@ class LinuxNodeDownloader(NodeDownloader):
@property @property
def download_url(self): def download_url(self):
if self.dependency.config.mem_width == 64: if self.dependency.config.mem_width == 64:
return u"http://nodejs.org/dist/v0.10.24/node-v0.10.24-linux-x64.tar.gz" return u"http://nodejs.org/dist/v0.10.35/node-v0.10.35-linux-x64.tar.gz"
else: else:
return u"http://nodejs.org/dist/v0.10.24/node-v0.10.24-linux-x86.tar.gz" return u"http://nodejs.org/dist/v0.10.35/node-v0.10.35-linux-x86.tar.gz"
class WindowsNodeDownloader(NodeDownloader): class WindowsNodeDownloader(NodeDownloader):
@property @property
@ -147,16 +147,16 @@ class WindowsNodeDownloader(NodeDownloader):
raise NotImplementedError(u"Needs MSI to be executed to install npm") raise NotImplementedError(u"Needs MSI to be executed to install npm")
#"http://nodejs.org/dist/v0.10.24/x64/node-v0.10.24-x64.msi" #"http://nodejs.org/dist/v0.10.24/x64/node-v0.10.24-x64.msi"
if self.dependency.config.mem_width == 64: if self.dependency.config.mem_width == 64:
return u"http://nodejs.org/dist/v0.10.24/x64/node.exe" return u"http://nodejs.org/dist/v0.10.35/x64/node.exe"
else: else:
return u"http://nodejs.org/dist/v0.10.24/node.exe" return u"http://nodejs.org/dist/v0.10.35/node.exe"
class MacNodeDownloader(NodeDownloader): class MacNodeDownloader(NodeDownloader):
@property @property
def download_url(self): def download_url(self):
if self.dependency.config.mem_width == 64: if self.dependency.config.mem_width == 64:
return u"http://nodejs.org/dist/v0.10.24/node-v0.10.24-darwin-x64.tar.gz" return u"http://nodejs.org/dist/v0.10.35/node-v0.10.35-darwin-x64.tar.gz"
else: else:
return u"http://nodejs.org/dist/v0.10.24/node-v0.10.24-darwin-x86.tar.gz" return u"http://nodejs.org/dist/v0.10.35/node-v0.10.35-darwin-x86.tar.gz"