bin/sandbox in solidus_braintree-3.0.1 vs bin/sandbox in solidus_braintree-3.1.0
- old
+ new
@@ -20,11 +20,11 @@
if [ ! -z $SOLIDUS_BRANCH ]
then
BRANCH=$SOLIDUS_BRANCH
else
- BRANCH="master"
+ BRANCH="main"
fi
extension_name="solidus_braintree"
# Stay away from the bundler env of the containing extension.
@@ -45,10 +45,10 @@
echo 'sandbox rails application failed'
exit 1
fi
cd ./sandbox
-unbundled bundle add solidus --github solidusio/solidus --branch "${BRANCH:-master}" --version '> 0.a'
+unbundled bundle add solidus --github solidusio/solidus --branch "${BRANCH:-main}" --version '> 0.a'
unbundled bundle exec rake db:drop db:create
unbundled bundle exec rails generate solidus:install --payment-method=none --auto-accept "$@"
unbundled bundle add ${extension_name} --path '../'
unbundled bundle exec rails generate ${extension_name}:install --frontend=starter --migrate=true