]> git.wincent.com - wikitext.git/commitdiff
Add encoding markers to benchmark files for Ruby 1.9
authorWincent Colaiuta <win@wincent.com>
Tue, 12 May 2009 09:47:33 +0000 (11:47 +0200)
committerWincent Colaiuta <win@wincent.com>
Tue, 12 May 2009 09:47:33 +0000 (11:47 +0200)
Without these Ruby 1.9 will choke when parsing the benchmark
files.

Signed-off-by: Wincent Colaiuta <win@wincent.com>
benchmarks/parsing.rb
benchmarks/profile_parsing.rb
benchmarks/tokenizing.rb

index 86083933fe7ca6d912a4f3c4e568aeeee5f268fc..759285b06f0252909258a3ced757b5cbfea8f26f 100755 (executable)
@@ -1,4 +1,5 @@
 #!/usr/bin/env ruby
+# encoding: utf-8
 # Copyright 2008-2009 Wincent Colaiuta. All rights reserved.
 #
 # Redistribution and use in source and binary forms, with or without
index 7d2c678c00c4e01479f85368099c8cfb5952dd0a..3f50cd324da997454ca459f2c9c57b68979f0fef 100755 (executable)
@@ -1,4 +1,5 @@
 #!/usr/bin/env ruby
+# encoding: utf-8
 # Copyright 2008-2009 Wincent Colaiuta. All rights reserved.
 #
 # Redistribution and use in source and binary forms, with or without
index 0c7cdfe4bd73c735b3fe6ccb0e8204c545d0327b..25a84d7e15b090cdb2af76ad5383e41ef9951521 100755 (executable)
@@ -1,4 +1,5 @@
 #!/usr/bin/env ruby
+# encoding: utf-8
 # Copyright 2008-2009 Wincent Colaiuta. All rights reserved.
 #
 # Redistribution and use in source and binary forms, with or without