From 4a5adef70b75bc8b409c041159834ca31b91dc34 Mon Sep 17 00:00:00 2001 From: Dmitry Vorotilin Date: Wed, 7 Jun 2023 15:46:15 +0300 Subject: [PATCH] fix: drop Rails dependency (#73) --- .gitignore | 1 + active_storage_base64.gemspec | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 4e9531e..c4c7659 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ spec/dummy/log spec/dummy/db/**.sqlite3 spec/dummy/tmp/storage/**/* /coverage/ +.bundle diff --git a/active_storage_base64.gemspec b/active_storage_base64.gemspec index ee1b2fe..14df786 100644 --- a/active_storage_base64.gemspec +++ b/active_storage_base64.gemspec @@ -15,9 +15,11 @@ Gem::Specification.new do |s| s.required_ruby_version = '>= 2.7.0' # Dependencies - s.add_dependency 'rails', '>= 7.0' + s.add_dependency 'activestorage', '>= 7.0' + s.add_dependency 'activesupport', '>= 7.0' # Development dependencies + s.add_development_dependency 'rails', '>= 7.0' s.add_development_dependency 'pry-rails', '~> 0.3.6' s.add_development_dependency 'reek', '~> 6.0.6' s.add_development_dependency 'rspec-rails', '~> 3.8.0'