Skip to content

Commit

Permalink
Merge pull request #2272 from BenMorganIO/remove-rails-gem
Browse files Browse the repository at this point in the history
Make solidus_core depend on actionmailer and activerecord instead of rails
  • Loading branch information
gmacdougall authored Oct 11, 2017
2 parents 952b02d + 11a2071 commit 076ecc4
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion core/solidus_core.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@ Gem::Specification.new do |s|
s.required_ruby_version = '>= 2.2.2'
s.required_rubygems_version = '>= 1.8.23'

%w[
actionmailer actionpack actionview activejob activemodel activerecord
activesupport railties
].each do |rails_dep|
s.add_dependency rails_dep, '~> 5.1.0'
end

s.add_dependency 'activemerchant', '~> 1.48'
s.add_dependency 'acts_as_list', '~> 0.3'
s.add_dependency 'awesome_nested_set', '~> 3.0', '>= 3.0.1'
Expand All @@ -29,7 +36,6 @@ Gem::Specification.new do |s|
s.add_dependency 'monetize', '~> 1.1'
s.add_dependency 'paperclip', ['>= 4.2', '< 6']
s.add_dependency 'paranoia', '~> 2.3'
s.add_dependency 'rails', '~> 5.1.0'
s.add_dependency 'ransack', '~> 1.8'
s.add_dependency 'state_machines-activerecord', '~> 0.4'
s.add_dependency 'stringex', '~> 1.5.1'
Expand Down

0 comments on commit 076ecc4

Please sign in to comment.