Permalink
Browse files

Merge pull request #22 from vicentereig/master

UTF-8 file header
  • Loading branch information...
2 parents 16e445d + 4db11bf commit 7e574f9c836921f67f5103b78bf6955ab6e0ba57 @assaf committed Jan 23, 2012
Showing with 5 additions and 2 deletions.
  1. +1 −0 bin/uuid
  2. +3 −2 lib/uuid.rb
  3. +1 −0 test/test-uuid.rb
View
@@ -1,3 +1,4 @@
+# encoding: UTF-8
#!/usr/bin/env ruby
#
# This file was generated by Bundler.
View
@@ -1,3 +1,4 @@
+# encoding: UTF-8
#
# = uuid.rb - UUID generator
#
@@ -26,7 +27,7 @@
# For example:
#
# uuid = UUID.new
-#
+#
# 10.times do
# p uuid.generate
# end
@@ -232,7 +233,7 @@ def iee_mac_address
begin
Mac.addr.gsub(/:|-/, '').hex & 0x7FFFFFFFFFFF
rescue
- 0
+ 0
end
end
View
@@ -1,3 +1,4 @@
+# encoding: UTF-8
# Author:: Assaf Arkin assaf@labnotes.org
# Eric Hodel drbrain@segment7.net
# Copyright:: Copyright (c) 2005-2008 Assaf Arkin, Eric Hodel

0 comments on commit 7e574f9

Please sign in to comment.