lib/str_enum.rb in str_enum-0.1.5 vs lib/str_enum.rb in str_enum-0.1.6
- old
+ new
@@ -1,7 +1,10 @@
-require "str_enum/version"
+# dependencies
require "active_support"
+
+# modules
require "str_enum/model"
+require "str_enum/version"
ActiveSupport.on_load(:active_record) do
- include(StrEnum::Model)
+ include StrEnum::Model
end