From 7199e882dba1f664ff2d5b889428c086dce7827d Mon Sep 17 00:00:00 2001 From: Bob Van Landuyt Date: Sun, 3 Sep 2017 19:32:07 +0200 Subject: Only require `simple_po_parser` in rake task that needs it That way we don't need to install it in production, since it's really not needed there. --- spec/lib/gitlab/i18n/po_linter_spec.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'spec') diff --git a/spec/lib/gitlab/i18n/po_linter_spec.rb b/spec/lib/gitlab/i18n/po_linter_spec.rb index cd5c2b99751..3a962ba7f22 100644 --- a/spec/lib/gitlab/i18n/po_linter_spec.rb +++ b/spec/lib/gitlab/i18n/po_linter_spec.rb @@ -1,4 +1,5 @@ require 'spec_helper' +require 'simple_po_parser' describe Gitlab::I18n::PoLinter do let(:linter) { described_class.new(po_path) } -- cgit v1.2.1