From f6ffa298bb463986850f14eba029bdf53936c1d1 Mon Sep 17 00:00:00 2001 From: Vincent Rolea <3525369+virolea@users.noreply.github.com> Date: Thu, 3 Oct 2024 11:38:45 +0200 Subject: [PATCH] Cleanup requirements --- lib/rosetta-rails.rb | 7 +------ lib/rosetta/pluralization.rb | 11 +++++++++++ 2 files changed, 12 insertions(+), 6 deletions(-) create mode 100644 lib/rosetta/pluralization.rb diff --git a/lib/rosetta-rails.rb b/lib/rosetta-rails.rb index 29533ce..7f8a4ad 100644 --- a/lib/rosetta-rails.rb +++ b/lib/rosetta-rails.rb @@ -9,12 +9,7 @@ require "rosetta/translated/create" require "rosetta/translated/delete" -require "rosetta/pluralization/base_operator" -require "rosetta/pluralization/operators/less_than_or_equal_to" -require "rosetta/pluralization/operators/less_than" -require "rosetta/pluralization/operators/equal_to" -require "rosetta/pluralization/operators/greater_than_or_equal_to" -require "rosetta/pluralization/operators/greater_than" +require "rosetta/pluralization" module Rosetta module Base diff --git a/lib/rosetta/pluralization.rb b/lib/rosetta/pluralization.rb new file mode 100644 index 0000000..c803861 --- /dev/null +++ b/lib/rosetta/pluralization.rb @@ -0,0 +1,11 @@ +require_relative "pluralization/base_operator" +require_relative "pluralization/operators/less_than_or_equal_to" +require_relative "pluralization/operators/less_than" +require_relative "pluralization/operators/equal_to" +require_relative "pluralization/operators/greater_than_or_equal_to" +require_relative "pluralization/operators/greater_than" + +module Rosetta + module Pluralization + end +end