Skip to content

Commit af797ed

Browse files
MONGOID-5143 [Code Comments Only] Remove magic comment "# encoding: utf-8" (#5041)
* Remove magic comment "# encoding: utf-8". It has not had any affect since Ruby 2.1, as that version made UTF-8 the default encoding. Min ruby we support is 2.3, so this is fine to remove. * Commmit missed files Co-authored-by: shields <[email protected]>
1 parent c9ba9cf commit af797ed

File tree

853 files changed

+2
-853
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

853 files changed

+2
-853
lines changed

examples/mongoid_test.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# frozen_string_literal: true
2-
# encoding: utf-8
32

43
require 'mongoid'
54
require 'mongoid/support/query_counter'

lib/mongoid.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# frozen_string_literal: true
2-
# encoding: utf-8
32

43
require "support/ruby_version"
54

lib/mongoid/association.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# frozen_string_literal: true
2-
# encoding: utf-8
32

43
require 'mongoid/association/accessors'
54
require 'mongoid/association/builders'

lib/mongoid/association/accessors.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# frozen_string_literal: true
2-
# encoding: utf-8
32

43
module Mongoid
54
module Association

lib/mongoid/association/bindable.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# frozen_string_literal: true
2-
# encoding: utf-8
32

43
module Mongoid
54
module Association

lib/mongoid/association/builders.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# frozen_string_literal: true
2-
# encoding: utf-8
32

43
module Mongoid
54
module Association

lib/mongoid/association/constrainable.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# frozen_string_literal: true
2-
# encoding: utf-8
32

43
module Mongoid
54
module Association

lib/mongoid/association/depending.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# frozen_string_literal: true
2-
# encoding: utf-8
32

43
module Mongoid
54
module Association

lib/mongoid/association/eager_loadable.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# frozen_string_literal: true
2-
# encoding: utf-8
32

43
require "mongoid/association/referenced/eager"
54

lib/mongoid/association/embedded.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# frozen_string_literal: true
2-
# encoding: utf-8
32

43
require 'mongoid/association/embedded/cyclic'
54
require 'mongoid/association/embedded/embedded_in'

0 commit comments

Comments
 (0)