Skip to content

Commit 97ee66b

Browse files
committed
minor: source file encoding with magic comment
1 parent 6e72063 commit 97ee66b

25 files changed

+52
-1
lines changed

lib/bson.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: UTF-8
2+
13
$:.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
24

35
module BSON

lib/bson/bson_c.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: UTF-8
2+
13
# A thin wrapper for the CBson class
24
module BSON
35
class BSON_C

lib/bson/bson_ruby.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: UTF-8
2+
13
# --
24
# Copyright (C) 2008-2010 10gen Inc.
35
#

lib/bson/byte_buffer.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: UTF-8
2+
13
# --
24
# Copyright (C) 2008-2010 10gen Inc.
35
#

lib/bson/exceptions.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: UTF-8
2+
13
# --
24
# Copyright (C) 2008-2010 10gen Inc.
35
#

lib/bson/ordered_hash.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: UTF-8
2+
13
# --
24
# Copyright (C) 2008-2010 10gen Inc.
35
#
@@ -139,4 +141,4 @@ def eql?(o)
139141

140142
end
141143
end
142-
end
144+
end

lib/bson/types/binary.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: UTF-8
2+
13
# --
24
# Copyright (C) 2008-2010 10gen Inc.
35
#

lib/bson/types/code.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: UTF-8
2+
13
# --
24
# Copyright (C) 2008-2010 10gen Inc.
35
#

lib/bson/types/dbref.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: UTF-8
2+
13
# --
24
# Copyright (C) 2008-2010 10gen Inc.
35
#

lib/bson/types/min_max_keys.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: UTF-8
2+
13
# --
24
# Copyright (C) 2008-2010 10gen Inc.
35
#

0 commit comments

Comments
 (0)