From 2d32eff06719d71342b30836c06b1418c7d387f2 Mon Sep 17 00:00:00 2001 From: Dirkjan Bussink Date: Wed, 24 Mar 2021 17:33:50 +0100 Subject: [PATCH] Use more explicit dependencies for Rails helper This doesn't require all of Rails, only ActionView & Railties. Reduce the dependencies here means that it enables folks to use only parts of Rails and to slim down their applications by removing unused components of Rails. --- lib/octicons_helper/octicons_helper.gemspec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/octicons_helper/octicons_helper.gemspec b/lib/octicons_helper/octicons_helper.gemspec index daa0cbf02..1eb7730dc 100644 --- a/lib/octicons_helper/octicons_helper.gemspec +++ b/lib/octicons_helper/octicons_helper.gemspec @@ -14,5 +14,6 @@ Gem::Specification.new do |s| s.require_paths = ["lib"] s.add_dependency "octicons", "12.1.0" - s.add_dependency "rails" + s.add_dependency "railties" + s.add_dependency "actionview" end