Skip to content

Commit

Permalink
Merge pull request #574 from razum2um/master
Browse files Browse the repository at this point in the history
Fix missing requires of i18n/core_ext/hash
  • Loading branch information
radar authored Jan 26, 2022
2 parents bb2ad9d + 6d36a8b commit 2d4ee9e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/i18n/backend/chain.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# frozen_string_literal: true

require 'i18n/core_ext/hash'

module I18n
module Backend
# Backend that chains multiple other backends and checks each of them when
Expand Down
1 change: 1 addition & 0 deletions lib/i18n/backend/gettext.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# frozen_string_literal: true

require 'i18n/core_ext/hash'
require 'i18n/gettext'
require 'i18n/gettext/po_parser'

Expand Down
1 change: 1 addition & 0 deletions test/backend/chain_test.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
require 'test_helper'
require 'i18n/backend/chain'

class I18nBackendChainTest < I18n::TestCase
def setup
Expand Down
1 change: 1 addition & 0 deletions test/gettext/backend_test.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# encoding: utf-8

require 'test_helper'
require 'i18n/backend/gettext'

class I18nGettextBackendTest < I18n::TestCase
include I18n::Gettext::Helpers
Expand Down

0 comments on commit 2d4ee9e

Please sign in to comment.