Skip to content

Commit 3505303

Browse files
committed
chore: use main instead of master
1 parent 228e005 commit 3505303

26 files changed

+59
-59
lines changed

_api/v1/build_distributions/schema/subset/post.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"fixed_test_suite_split": true,
66
"cache_read_attempt": true,
77
"commit_hash": "6e3396177d9f8ca87e2b93b4b0a25babd09d574d",
8-
"branch": "master",
8+
"branch": "main",
99
"node_total": "4",
1010
"node_index": "0",
1111
"ci_build_id": 1234,
@@ -25,7 +25,7 @@
2525
"fixed_test_suite_split": true,
2626
"cache_read_attempt": false,
2727
"commit_hash": "6e3396177d9f8ca87e2b93b4b0a25babd09d574d",
28-
"branch": "master",
28+
"branch": "main",
2929
"node_total": "4",
3030
"node_index": "0",
3131
"ci_build_id": 1234,

_api/v1/build_subsets/schema/post.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"commit_hash": "6e3396177d9f8ca87e2b93b4b0a25babd09d574d",
3-
"branch": "master",
3+
"branch": "main",
44
"node_total": "4",
55
"node_index": "0",
66
"test_files": [

_api/v1/build_subsets/schema/post_response_201.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ Response does not contain any data.
55
// when successfully created BuildSubset record on API side
66
// and Knapsack Pro client is outdated
77
{
8-
"message": "Please update client knapsack_pro-ruby/rspec 2.3.0 version to 2.4.0. See CHANGELOG: https://github.com/KnapsackPro/knapsack_pro-ruby/blob/master/CHANGELOG.md#change-log"
8+
"message": "Please update client knapsack_pro-ruby/rspec 2.3.0 version to 2.4.0. See CHANGELOG: https://github.com/KnapsackPro/knapsack_pro-ruby/blob/main/CHANGELOG.md#change-log"
99
}

_api/v1/builds/main.raml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ get:
99
1010
You can provide optional query params to filter list of CI builds by **commit_hash**, **branch**, **node_total**.
1111
12-
Example 1: /v1/builds?page=1&branch=master&node_total=2
12+
Example 1: /v1/builds?page=1&branch=main&node_total=2
1313
1414
Example 2: /v1/builds?page=1&commit_hash=d1acb81ac1bead703eb6de64d1af24104d5d4b2c
1515

_api/v1/builds/schema/index/response_200.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,17 @@
1010
"is_page_out_of_range": false
1111
},
1212
"links": {
13-
"first": "https://api.knapsackpro.com/v1/builds?branch=master&commit_hash=d1acb81ac1bead703eb6de64d1af24104d5d4b2c&node_total=2&page=1",
13+
"first": "https://api.knapsackpro.com/v1/builds?branch=main&commit_hash=d1acb81ac1bead703eb6de64d1af24104d5d4b2c&node_total=2&page=1",
1414
"prev": null,
15-
"self": "https://api.knapsackpro.com/v1/builds?branch=master&commit_hash=d1acb81ac1bead703eb6de64d1af24104d5d4b2c&node_total=2&page=1",
15+
"self": "https://api.knapsackpro.com/v1/builds?branch=main&commit_hash=d1acb81ac1bead703eb6de64d1af24104d5d4b2c&node_total=2&page=1",
1616
"next": null,
17-
"last": "https://api.knapsackpro.com/v1/builds?branch=master&commit_hash=d1acb81ac1bead703eb6de64d1af24104d5d4b2c&node_total=2&page=1"
17+
"last": "https://api.knapsackpro.com/v1/builds?branch=main&commit_hash=d1acb81ac1bead703eb6de64d1af24104d5d4b2c&node_total=2&page=1"
1818
},
1919
"data": [
2020
{
2121
"id": "07c0fca5-9a6c-4313-b176-25dad6139057",
2222
"commit_hash": "d1acb81ac1bead703eb6de64d1af24104d5d4b2c",
23-
"branch": "master",
23+
"branch": "main",
2424
"node_total": 2,
2525
"created_at": "2019-09-18T17:54:54.430Z",
2626
"updated_at": "2019-09-18T18:02:16.149Z"

_api/v1/builds/schema/show/response_200.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"id": "ba2190af-1bb1-4e3a-8ce1-37303549a4c3",
33
"commit_hash": "347f33f598e5c66727e36b6f0c13b034f6a057f0",
4-
"branch": "master",
4+
"branch": "main",
55
"node_total": 2,
66
"created_at": "2018-04-02T10:00:44.741Z",
77
"updated_at": "2018-04-02T10:00:44.763Z",

_api/v1/params/branch.raml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
type: string
22
required: true
3-
example: master
3+
example: main
44
description: |
55
You are running tests on this branch.

_api/v1/params/filters/branch.raml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
type: string
22
required: false
3-
example: master
3+
example: main
44
description: |
55
You can filter by branch name.

_api/v1/queues/schema/queue/post.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"attempt_connect_to_queue": true,
77
"fixed_queue_split": false,
88
"commit_hash": "6e3396177d9f8ca87e2b93b4b0a25babd09d574d",
9-
"branch": "master",
9+
"branch": "main",
1010
"node_total": "4",
1111
"node_index": "0",
1212
"node_build_id": "1234",
@@ -27,7 +27,7 @@
2727
"attempt_connect_to_queue": false,
2828
"fixed_queue_split": false,
2929
"commit_hash": "6e3396177d9f8ca87e2b93b4b0a25babd09d574d",
30-
"branch": "master",
30+
"branch": "main",
3131
"node_total": "4",
3232
"node_index": "0",
3333
"node_build_id": "1234",
@@ -58,7 +58,7 @@
5858
"attempt_connect_to_queue": false,
5959
"fixed_queue_split": false,
6060
"commit_hash": "6e3396177d9f8ca87e2b93b4b0a25babd09d574d",
61-
"branch": "master",
61+
"branch": "main",
6262
"node_total": "4",
6363
"node_index": "0",
6464
"node_build_id": "1234",

_posts/2017-07-17-when-distributed-locks-might-be-helpful-in-ruby-on-rails-application.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ preload_app true
4949

5050
before_fork do |server, worker|
5151
Signal.trap 'TERM' do
52-
puts 'Unicorn master intercepting TERM and sending myself QUIT instead'
52+
puts 'Unicorn main worker intercepting TERM and sending myself QUIT instead'
5353
Process.kill 'QUIT', Process.pid
5454
end
5555

@@ -59,7 +59,7 @@ end
5959

6060
after_fork do |server, worker|
6161
Signal.trap 'TERM' do
62-
puts 'Unicorn worker intercepting TERM and doing nothing. Wait for master to send QUIT'
62+
puts 'Unicorn worker intercepting TERM and doing nothing. Wait for main worker to send QUIT'
6363
end
6464

6565
defined?(ActiveRecord::Base) and

0 commit comments

Comments
 (0)