Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ orbs:

executors:
sqlite:
description: Run specs with an in-memory SQLite
description: Run specs with an SQLite
docker:
- image: cimg/ruby:2.7-browsers
environment:
Expand Down
3 changes: 3 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# frozen_string_literal: true

# Don't build a dummy app with solidus_bolt enabled
ENV['SKIP_SOLIDUS_BOLT'] = 'true'

require 'solidus_dev_support/rake_tasks'
SolidusDevSupport::RakeTasks.install

Expand Down
4 changes: 4 additions & 0 deletions lib/solidus_stripe/engine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ class Engine < Rails::Engine
g.test_framework :rspec
end

paths["app/views"] << "lib/views/backend" if SolidusSupport.backend_available?
paths["app/views"] << "lib/views/frontend" if SolidusSupport.frontend_available?
paths["app/views"] << "lib/views/api" if SolidusSupport.api_available?

initializer "spree.payment_method.add_stripe_credit_card", after: "spree.register.payment_methods" do |app|
app.config.spree.payment_methods << "Spree::PaymentMethod::StripeCreditCard"
end
Expand Down