Skip to content

Commit

Permalink
Merge pull request solidusio#220 from solidusio/simplify-solidus-depe…
Browse files Browse the repository at this point in the history
…ndencies

Simplify Solidus Dependencies
  • Loading branch information
gmacdougall authored Apr 26, 2019
2 parents ea093fa + f0d5c70 commit 73e9a69
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 73e9a69

Please sign in to comment.