File tree Expand file tree Collapse file tree
lib/solidus_dev_support/templates/extension Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,11 +20,11 @@ commands:
2020 bundle --version
2121
2222jobs :
23- solidus-master :
23+ solidus-main :
2424 executor :
2525 name : solidusio_extensions/sqlite
2626 ruby_version : ' 3.1'
27- steps : ['setup', 'solidusio_extensions/run-tests-solidus-master ']
27+ steps : ['setup', 'solidusio_extensions/run-tests-solidus-main ']
2828 solidus-current :
2929 executor :
3030 name : solidusio_extensions/sqlite
@@ -44,20 +44,20 @@ jobs:
4444workflows :
4545 " Run specs on supported Solidus versions " :
4646 jobs :
47- - solidus-master
47+ - solidus-main
4848 - solidus-current
4949 - solidus-older
5050 - lint-code
5151
52- " Weekly run specs against master " :
52+ " Weekly run specs against main " :
5353 triggers :
5454 - schedule :
5555 cron : " 0 0 * * 4" # every Thursday
5656 filters :
5757 branches :
5858 only :
59- - master
59+ - main
6060 jobs :
61- - solidus-master
61+ - solidus-main
6262 - solidus-current
6363 - solidus-older
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
77# Specify your gem's dependencies in solidus_dev_support.gemspec
88gemspec
99
10- branch = ENV . fetch ( 'SOLIDUS_BRANCH' , 'master ' )
10+ branch = ENV . fetch ( 'SOLIDUS_BRANCH' , 'main ' )
1111gem 'solidus' , github : 'solidusio/solidus' , branch : branch
1212
1313# A workaround for https://github.com/bundler/bundler/issues/6677
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ the `DB` and `SOLIDUS_BRANCH` env variables.
7878DB=[postgres| mysql| sqlite] SOLIDUS_BRANCH=< BRANCH-NAME> bin/sandbox
7979```
8080
81- By default we use sqlite3 and the master branch.
81+ By default we use sqlite3 and the main branch.
8282
8383### Rails generators
8484
Original file line number Diff line number Diff line change @@ -39,14 +39,14 @@ workflows:
3939 - run-specs-with-mysql
4040 - lint-code
4141
42- " Weekly run specs against master " :
42+ " Weekly run specs against main " :
4343 triggers :
4444 - schedule :
4545 cron : " 0 0 * * 4" # every Thursday
4646 filters :
4747 branches :
4848 only :
49- - master
49+ - main
5050 jobs :
5151 - run-specs-with-sqlite
5252 - run-specs-with-postgres
Original file line number Diff line number Diff line change 33source 'https://rubygems.org'
44git_source(:github) { |repo| "https://github.com/#{repo}.git" }
55
6- branch = ENV.fetch('SOLIDUS_BRANCH', 'master ')
6+ branch = ENV.fetch('SOLIDUS_BRANCH', 'main ')
77gem 'solidus', github: 'solidusio/solidus', branch: branch
88
99# The solidus_frontend gem has been pulled out since v3.2
10- gem 'solidus_frontend', github: 'solidusio/solidus_frontend' if branch == 'master '
10+ gem 'solidus_frontend', github: 'solidusio/solidus_frontend' if branch == 'main '
1111gem 'solidus_frontend' if branch >= 'v3.2' # rubocop:disable Bundler/DuplicatedGem
1212
1313# Needed to help Bundler figure out how to resolve dependencies,
Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ test "$DB" = "sqlite" && export DB="sqlite3"
77
88if [ -z " $SOLIDUS_BRANCH " ]
99then
10- echo " ~~> Use 'export SOLIDUS_BRANCH=[master |v3.2|...]' to control the Solidus branch"
11- SOLIDUS_BRANCH=" master "
10+ echo " ~~> Use 'export SOLIDUS_BRANCH=[main |v3.2|...]' to control the Solidus branch"
11+ SOLIDUS_BRANCH=" main "
1212fi
1313echo " ~~> Using branch $SOLIDUS_BRANCH of solidus"
1414
You can’t perform that action at this time.
0 commit comments