From e8c3ae40b9a75b9a100a3d3d77999e5ffb78dadf Mon Sep 17 00:00:00 2001 From: Jason Thomas Date: Mon, 5 Sep 2011 08:31:41 -0600 Subject: [PATCH 1/2] Fixed bug in 1.9.2 interpreter. Renamed gemspec. --- lib/openid/dh.rb | 2 +- gemspec => ruby-openid.gemspec | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename gemspec => ruby-openid.gemspec (100%) diff --git a/lib/openid/dh.rb b/lib/openid/dh.rb index cbe53114..0c15b867 100644 --- a/lib/openid/dh.rb +++ b/lib/openid/dh.rb @@ -57,7 +57,7 @@ def DiffieHellman.strxor(s, t) end if String.method_defined? :bytes - s.bytes.zip(t.bytes).map{|sb,tb| sb^tb}.pack('C*') + s.bytes.to_a.zip(t.bytes.to_a).map{|sb,tb| sb^tb}.pack('C*') else indices = 0...(s.length) chrs = indices.collect {|i| (s[i]^t[i]).chr} diff --git a/gemspec b/ruby-openid.gemspec similarity index 100% rename from gemspec rename to ruby-openid.gemspec From a927b266dfaaa8f59efdcf1ad1511a7547085bd0 Mon Sep 17 00:00:00 2001 From: Jason Thomas Date: Mon, 5 Sep 2011 09:27:19 -0600 Subject: [PATCH 2/2] Updated gemspec version to not conflict with original --- ruby-openid.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruby-openid.gemspec b/ruby-openid.gemspec index 68435249..29ca5339 100644 --- a/ruby-openid.gemspec +++ b/ruby-openid.gemspec @@ -3,7 +3,7 @@ require 'rubygems' SPEC = Gem::Specification.new do |s| s.name = `cat admin/library-name`.strip # s.version = `darcs changes --tags= | awk '$1 == "tagged" { print $2 }' | head -n 1`.strip - s.version = '2.1.8' + s.version = '2.1.8.1' s.author = 'JanRain, Inc' s.email = 'openid@janrain.com' s.homepage = 'http://github.com/openid/ruby-openid'