Commit 635dc747 authored by sirex's avatar sirex
parent 940aeb04
Change History Change History
************** **************
0.2.1 (2014-11-21)
==================
- Fix: https://bitbucket.org/sirex/rubygemsrecipe/issue/6/cannot-install-rubygems-020
0.2.0 (2014-11-20) 0.2.0 (2014-11-20)
================== ==================
......
...@@ -12,7 +12,6 @@ import subprocess ...@@ -12,7 +12,6 @@ import subprocess
import zc.buildout import zc.buildout
import six.moves.urllib as urllib import six.moves.urllib as urllib
from six import text_type as str
import hexagonit.recipe.download import hexagonit.recipe.download
...@@ -122,8 +121,7 @@ class Recipe(object): ...@@ -122,8 +121,7 @@ class Recipe(object):
'rubygems-%s.zip' % self.version, self.version) 'rubygems-%s.zip' % self.version, self.version)
f = urllib.request.urlopen('http://rubygems.org/pages/download') f = urllib.request.urlopen('http://rubygems.org/pages/download')
s = f.read() s = f.read().decode('utf-8')
s = str(s)
f.close() f.close()
r = re.search(r'http://production.cf.rubygems.org/rubygems/' r = re.search(r'http://production.cf.rubygems.org/rubygems/'
r'rubygems-([0-9.]+).zip', s) r'rubygems-([0-9.]+).zip', s)
......
...@@ -4,7 +4,7 @@ import os ...@@ -4,7 +4,7 @@ import os
from setuptools import setup from setuptools import setup
version = '0.2.0' version = '0.2.1'
name = 'rubygemsrecipe' name = 'rubygemsrecipe'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment