bin/annotate in annotated-0.0.2 vs bin/annotate in annotated-0.0.3
- old
+ new
@@ -26,7 +26,7 @@
options = Annotated.setup_options(
is_rake: ENV['is_rake'] && !ENV['is_rake'].empty?
)
Annotated.eager_load(options) if Annotated::Helpers.include_models?
-AnnotatedModels.send(options_result[:target_action], options) if Annotated::Helpers.include_models?
-AnnotatedRoutes.send(options_result[:target_action], options) if Annotated::Helpers.include_routes?
+AnnotateModels.send(options_result[:target_action], options) if Annotated::Helpers.include_models?
+AnnotateRoutes.send(options_result[:target_action], options) if Annotated::Helpers.include_routes?