File tree 6 files changed +14
-14
lines changed
lib/solidus_dev_support/templates/extension
6 files changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -20,11 +20,11 @@ commands:
20
20
bundle --version
21
21
22
22
jobs :
23
- solidus-master :
23
+ solidus-main :
24
24
executor :
25
25
name : solidusio_extensions/sqlite
26
26
ruby_version : ' 3.1'
27
- steps : ['setup', 'solidusio_extensions/run-tests-solidus-master ']
27
+ steps : ['setup', 'solidusio_extensions/run-tests-solidus-main ']
28
28
solidus-current :
29
29
executor :
30
30
name : solidusio_extensions/sqlite
@@ -42,20 +42,20 @@ jobs:
42
42
workflows :
43
43
" Run specs on supported Solidus versions " :
44
44
jobs :
45
- - solidus-master
45
+ - solidus-main
46
46
- solidus-current
47
47
- solidus-older
48
48
- lint-code
49
49
50
- " Weekly run specs against master " :
50
+ " Weekly run specs against main " :
51
51
triggers :
52
52
- schedule :
53
53
cron : " 0 0 * * 4" # every Thursday
54
54
filters :
55
55
branches :
56
56
only :
57
- - master
57
+ - main
58
58
jobs :
59
- - solidus-master
59
+ - solidus-main
60
60
- solidus-current
61
61
- 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}" }
7
7
# Specify your gem's dependencies in solidus_dev_support.gemspec
8
8
gemspec
9
9
10
- branch = ENV . fetch ( 'SOLIDUS_BRANCH' , 'master ' )
10
+ branch = ENV . fetch ( 'SOLIDUS_BRANCH' , 'main ' )
11
11
gem 'solidus' , github : 'solidusio/solidus' , branch : branch
12
12
13
13
# 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.
78
78
DB=[postgres| mysql| sqlite] SOLIDUS_BRANCH=< BRANCH-NAME> bin/sandbox
79
79
```
80
80
81
- By default we use sqlite3 and the master branch.
81
+ By default we use sqlite3 and the main branch.
82
82
83
83
### Rails generators
84
84
Original file line number Diff line number Diff line change @@ -39,14 +39,14 @@ workflows:
39
39
- run-specs-with-mysql
40
40
- lint-code
41
41
42
- " Weekly run specs against master " :
42
+ " Weekly run specs against main " :
43
43
triggers :
44
44
- schedule :
45
45
cron : " 0 0 * * 4" # every Thursday
46
46
filters :
47
47
branches :
48
48
only :
49
- - master
49
+ - main
50
50
jobs :
51
51
- run-specs-with-sqlite
52
52
- run-specs-with-postgres
Original file line number Diff line number Diff line change 3
3
source 'https://rubygems.org'
4
4
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
5
5
6
- branch = ENV.fetch('SOLIDUS_BRANCH', 'master ')
6
+ branch = ENV.fetch('SOLIDUS_BRANCH', 'main ')
7
7
gem 'solidus', github: 'solidusio/solidus', branch: branch
8
8
9
9
# 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 '
11
11
gem 'solidus_frontend' if branch >= 'v3.2' # rubocop:disable Bundler/DuplicatedGem
12
12
13
13
# 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"
7
7
8
8
if [ -z " $SOLIDUS_BRANCH " ]
9
9
then
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 "
12
12
fi
13
13
echo " ~~> Using branch $SOLIDUS_BRANCH of solidus"
14
14
You can’t perform that action at this time.
0 commit comments