Skip to content
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.

Commit

Permalink
Simplify Solidus Dependencies
Browse files Browse the repository at this point in the history
This moves the solidus dependency imports to only directly import
solidus_core and solidus_api through the gemspec.
  • Loading branch information
gmacdougall committed Apr 24, 2019
1 parent ea093fa commit f0d5c70
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion config/initializers/braintree.rb
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
Spree::Admin::PaymentsController.helper :braintree_admin
if SolidusSupport.backend_available?
Spree::Admin::PaymentsController.helper :braintree_admin
end
3 changes: 2 additions & 1 deletion solidus_paypal_braintree.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ Gem::Specification.new do |s|
s.files = Dir["{app,config,db,lib}/**/*", 'LICENSE', 'Rakefile', 'README.md']
s.test_files = Dir['test/**/*']

s.add_dependency "solidus", ['>= 1.0', '< 3']
s.add_dependency "solidus_api", ['>= 1.0', '< 3']
s.add_dependency "solidus_core", ['>= 1.0', '< 3']
s.add_dependency "solidus_support", '>= 0.1.3'
s.add_dependency "braintree", '~> 2.65'
s.add_dependency 'activemerchant', '~> 1.48'
Expand Down

0 comments on commit f0d5c70

Please sign in to comment.