1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00
freebsd-ports/www/aswiki/files/patch-demo.rb
Makoto Matsushita 7fa8e9e276 More broken-ruby-1.8.6-backward-compatibility adaptation.
Also bump PORTREVISION.

Found by: y-manabe at ist dot osaka-u.ac.jp
2007-04-28 04:45:21 +00:00

12 lines
406 B
Ruby

--- plugin/demo.rb.dist Wed Jan 8 11:01:21 2003
+++ plugin/demo.rb Sat Apr 28 13:41:46 2007
@@ -48,7 +48,7 @@
# session.close
@data = {
:session_id => session.session_id,
- :md5sum => Digest::MD5::new(@repository.load(@name).to_s).to_s,
+ :md5sum => Digest::MD5::new.update(@repository.load(@name).to_s).to_s,
:msg_list_item => msg_list_item,
:msg_list_add => msg_list_add,
}