txgh-server 4.0.0.beta → 4.0.0.beta2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/txgh-server/version.rb +1 -1
- data/spec/download_handler_spec.rb +4 -4
- data/spec/helpers/integration_setup.rb +55 -20
- data/spec/integration/cassettes/gitlab_hook_endpoint.yml +446 -0
- data/spec/integration/cassettes/pull.yml +346 -173
- data/spec/integration/cassettes/push.yml +320 -341
- data/spec/integration/cassettes/transifex_hook_endpoint.yml +349 -262
- data/spec/integration/config/tx_gitlab.config +10 -0
- data/spec/integration/hooks_spec.rb +54 -63
- data/spec/integration/payloads/gitlab_postbody.json +62 -0
- data/spec/integration/triggers_spec.rb +11 -4
- data/txgh-server.gemspec +1 -1
- metadata +8 -6
@@ -2,13 +2,15 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://
|
5
|
+
uri: https://www.transifex.com/api/2/project/txgl-test/resource/enyml-heads_master/translation/de/
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- Faraday v0.
|
11
|
+
- Faraday v0.17.3
|
12
|
+
Authorization:
|
13
|
+
- Basic AUTH
|
12
14
|
Accept:
|
13
15
|
- application/json
|
14
16
|
Accept-Encoding:
|
@@ -20,63 +22,197 @@ http_interactions:
|
|
20
22
|
headers:
|
21
23
|
Server:
|
22
24
|
- nginx
|
23
|
-
|
24
|
-
-
|
25
|
+
Vary:
|
26
|
+
- Accept-Encoding
|
27
|
+
- Authorization, Host, Accept-Language, Cookie
|
28
|
+
Cache-Control:
|
29
|
+
- no-cache, no-store, must-revalidate, max-age=0
|
25
30
|
Content-Type:
|
26
31
|
- application/json; charset=utf-8
|
32
|
+
Date:
|
33
|
+
- Thu, 26 Mar 2020 18:06:24 GMT
|
34
|
+
Expires:
|
35
|
+
- Thu, 26 Mar 2020 18:06:24 GMT
|
27
36
|
Transfer-Encoding:
|
28
37
|
- chunked
|
29
|
-
Connection:
|
30
|
-
- keep-alive
|
31
|
-
Vary:
|
32
|
-
- Accept-Encoding
|
33
|
-
- Authorization, Host, Accept-Language, Cookie
|
34
38
|
Content-Language:
|
35
39
|
- en
|
36
|
-
|
37
|
-
-
|
38
|
-
|
39
|
-
-
|
40
|
+
X-Content-Type-Options:
|
41
|
+
- nosniff
|
42
|
+
Connection:
|
43
|
+
- keep-alive
|
44
|
+
Set-Cookie:
|
45
|
+
- X-Mapping-fjhppofk=978A30C321AEE9D0F95E25198189AC99; path=/
|
46
|
+
X-Frame-Options:
|
47
|
+
- SAMEORIGIN
|
48
|
+
body:
|
49
|
+
encoding: ASCII-8BIT
|
50
|
+
string: '{"content": "en:\n test: test\n test2: test2\n test3: test3\n test4:
|
51
|
+
test4\n test5: test5\n test6: test6\n test7: test7\n test8: test8\n test9:
|
52
|
+
test9\n test10: test10\n test11: \"\"\n", "mimetype": "text/plain"}'
|
53
|
+
http_version:
|
54
|
+
recorded_at: Thu, 26 Mar 2020 18:06:24 GMT
|
55
|
+
- request:
|
56
|
+
method: get
|
57
|
+
uri: https://gitlab.com/api/v4/projects/idanci%2Ftxgl-test/repository/files/config%2Flocales%2Fde.yml?ref=master
|
58
|
+
body:
|
59
|
+
encoding: US-ASCII
|
60
|
+
string: ''
|
61
|
+
headers:
|
62
|
+
Accept:
|
63
|
+
- application/json
|
64
|
+
Content-Type:
|
65
|
+
- application/x-www-form-urlencoded
|
66
|
+
User-Agent:
|
67
|
+
- Gitlab Ruby Gem 4.14.1
|
68
|
+
Private-Token:
|
69
|
+
- "<GITHUB_TOKEN>"
|
70
|
+
response:
|
71
|
+
status:
|
72
|
+
code: 200
|
73
|
+
message: OK
|
74
|
+
headers:
|
75
|
+
Server:
|
76
|
+
- nginx
|
77
|
+
Date:
|
78
|
+
- Thu, 26 Mar 2020 18:06:25 GMT
|
79
|
+
Content-Type:
|
80
|
+
- application/json
|
81
|
+
Content-Length:
|
82
|
+
- '629'
|
40
83
|
Cache-Control:
|
41
|
-
- max-age=0
|
84
|
+
- max-age=0, private, must-revalidate
|
85
|
+
Etag:
|
86
|
+
- W/"e84d1b5f33f395004d2907482fb6dc4a"
|
87
|
+
Vary:
|
88
|
+
- Origin
|
89
|
+
X-Content-Type-Options:
|
90
|
+
- nosniff
|
42
91
|
X-Frame-Options:
|
43
92
|
- SAMEORIGIN
|
93
|
+
X-Gitlab-Blob-Id:
|
94
|
+
- 40ee703622d33b3d3e9cf0a6bfccf343ef6803d9
|
95
|
+
X-Gitlab-Commit-Id:
|
96
|
+
- 749c760c4d7b630d28e32f9fc1e021a70bfd4779
|
97
|
+
X-Gitlab-Content-Sha256:
|
98
|
+
- f93c177a9eacf7f2d3d4a33f353d9d94dbd884fd68897a7a24893ce5a24f5721
|
99
|
+
X-Gitlab-Encoding:
|
100
|
+
- base64
|
101
|
+
X-Gitlab-File-Name:
|
102
|
+
- de.yml
|
103
|
+
X-Gitlab-File-Path:
|
104
|
+
- config/locales/de.yml
|
105
|
+
X-Gitlab-Last-Commit-Id:
|
106
|
+
- 04151b55df42794241ec36b772e8de4c2f944a97
|
107
|
+
X-Gitlab-Ref:
|
108
|
+
- master
|
109
|
+
X-Gitlab-Size:
|
110
|
+
- '193'
|
111
|
+
X-Request-Id:
|
112
|
+
- 1Q5Ny2E6Te4
|
113
|
+
X-Runtime:
|
114
|
+
- '0.057997'
|
115
|
+
Strict-Transport-Security:
|
116
|
+
- max-age=31536000
|
117
|
+
Referrer-Policy:
|
118
|
+
- strict-origin-when-cross-origin
|
119
|
+
Ratelimit-Limit:
|
120
|
+
- '600'
|
121
|
+
Ratelimit-Observed:
|
122
|
+
- '1'
|
123
|
+
Ratelimit-Remaining:
|
124
|
+
- '599'
|
125
|
+
Ratelimit-Reset:
|
126
|
+
- '1585246045'
|
127
|
+
Ratelimit-Resettime:
|
128
|
+
- Thu, 26 Mar 2020 18:07:25 GMT
|
129
|
+
Gitlab-Lb:
|
130
|
+
- fe-18-lb-gprd
|
131
|
+
Gitlab-Sv:
|
132
|
+
- localhost
|
133
|
+
body:
|
134
|
+
encoding: UTF-8
|
135
|
+
string: '{"file_name":"de.yml","file_path":"config/locales/de.yml","size":193,"encoding":"base64","content_sha256":"f93c177a9eacf7f2d3d4a33f353d9d94dbd884fd68897a7a24893ce5a24f5721","ref":"master","blob_id":"40ee703622d33b3d3e9cf0a6bfccf343ef6803d9","commit_id":"749c760c4d7b630d28e32f9fc1e021a70bfd4779","last_commit_id":"04151b55df42794241ec36b772e8de4c2f944a97","content":"ZGU6CiAgdGVzdDogInRlc3QiCiAgdGVzdDI6ICJ0ZXN0MiIKICB0ZXN0MzogInRlc3QzIgogIHRlc3Q0OiAidGVzdDQiCiAgdGVzdDU6ICJ0ZXN0NSIKICB0ZXN0NjogInRlc3Q2IgogIHRlc3Q3OiAidGVzdDciCiAgdGVzdDg6ICJ0ZXN0OCIKICB0ZXN0OTogInRlc3Q5IgogIHRlc3QxMDogInRlc3QxMCIKICB0ZXN0MTE6ICJ0ZXN0MTEiCg=="}'
|
136
|
+
http_version:
|
137
|
+
recorded_at: Thu, 26 Mar 2020 18:06:25 GMT
|
138
|
+
- request:
|
139
|
+
method: put
|
140
|
+
uri: https://gitlab.com/api/v4/projects/idanci%2Ftxgl-test/repository/files/config%2Flocales%2Fde.yml
|
141
|
+
body:
|
142
|
+
encoding: UTF-8
|
143
|
+
string: branch=master&commit_message=Updating%20de%20translations%20in%20config%2Flocales%2Fde.yml&encoding=base64&content=ZW46CiAgdGVzdDogdGVzdAogIHRlc3QyOiB0ZXN0MgogIHRlc3QzOiB0ZXN0%0AMwogIHRlc3Q0OiB0ZXN0NAogIHRlc3Q1OiB0ZXN0NQogIHRlc3Q2OiB0ZXN0%0ANgogIHRlc3Q3OiB0ZXN0NwogIHRlc3Q4OiB0ZXN0OAogIHRlc3Q5OiB0ZXN0%0AOQogIHRlc3QxMDogdGVzdDEwCiAgdGVzdDExOiAiIgo%3D%0A
|
144
|
+
headers:
|
145
|
+
Accept:
|
146
|
+
- application/json
|
147
|
+
Content-Type:
|
148
|
+
- application/x-www-form-urlencoded
|
149
|
+
User-Agent:
|
150
|
+
- Gitlab Ruby Gem 4.14.1
|
151
|
+
Private-Token:
|
152
|
+
- "<GITHUB_TOKEN>"
|
153
|
+
response:
|
154
|
+
status:
|
155
|
+
code: 200
|
156
|
+
message: OK
|
157
|
+
headers:
|
158
|
+
Server:
|
159
|
+
- nginx
|
160
|
+
Date:
|
161
|
+
- Thu, 26 Mar 2020 18:06:26 GMT
|
162
|
+
Content-Type:
|
163
|
+
- application/json
|
164
|
+
Content-Length:
|
165
|
+
- '55'
|
166
|
+
Cache-Control:
|
167
|
+
- max-age=0, private, must-revalidate
|
168
|
+
Etag:
|
169
|
+
- W/"9f4100ecd3edaafd2ee9db28801b5446"
|
170
|
+
Vary:
|
171
|
+
- Origin
|
44
172
|
X-Content-Type-Options:
|
45
173
|
- nosniff
|
174
|
+
X-Frame-Options:
|
175
|
+
- SAMEORIGIN
|
176
|
+
X-Request-Id:
|
177
|
+
- kFMPEyEv6wa
|
178
|
+
X-Runtime:
|
179
|
+
- '1.096195'
|
180
|
+
Strict-Transport-Security:
|
181
|
+
- max-age=31536000
|
182
|
+
Referrer-Policy:
|
183
|
+
- strict-origin-when-cross-origin
|
184
|
+
Ratelimit-Limit:
|
185
|
+
- '600'
|
186
|
+
Ratelimit-Observed:
|
187
|
+
- '2'
|
188
|
+
Ratelimit-Remaining:
|
189
|
+
- '598'
|
190
|
+
Ratelimit-Reset:
|
191
|
+
- '1585246046'
|
192
|
+
Ratelimit-Resettime:
|
193
|
+
- Thu, 26 Mar 2020 18:07:26 GMT
|
194
|
+
Gitlab-Lb:
|
195
|
+
- fe-07-lb-gprd
|
196
|
+
Gitlab-Sv:
|
197
|
+
- localhost
|
46
198
|
body:
|
47
199
|
encoding: UTF-8
|
48
|
-
string:
|
49
|
-
|
50
|
-
|
51
|
-
\ \"\"\n ]\n }, \n {\n \"source_language_code\":
|
52
|
-
\"en\", \n \"name\": \"sample.po\", \n \"i18n_type\": \"PO\",
|
53
|
-
\n \"priority\": \"0\", \n \"slug\": \"samplepo\", \n \"categories\":
|
54
|
-
[\n \"branch:refs/tags/L10N\", \n \"author:Txgh Bot\"\n
|
55
|
-
\ ]\n }, \n {\n \"source_language_code\": \"en\", \n \"name\":
|
56
|
-
\"test.yml\", \n \"i18n_type\": \"YML\", \n \"priority\": \"1\",
|
57
|
-
\n \"slug\": \"testyml-heads_change_some_shizz\", \n \"categories\":
|
58
|
-
[\n \"author:Cameron_Dutro branch:heads/change_some_shizz\"\n ]\n
|
59
|
-
\ }, \n {\n \"source_language_code\": \"en\", \n \"name\":
|
60
|
-
\"test.yml\", \n \"i18n_type\": \"YML\", \n \"priority\": \"0\",
|
61
|
-
\n \"slug\": \"testyml-heads_master\", \n \"categories\": [\n
|
62
|
-
\ \"branch:heads/master\"\n ]\n }\n]"
|
63
|
-
http_version:
|
64
|
-
recorded_at: Tue, 04 Oct 2016 21:42:30 GMT
|
200
|
+
string: '{"file_path":"config/locales/de.yml","branch":"master"}'
|
201
|
+
http_version:
|
202
|
+
recorded_at: Thu, 26 Mar 2020 18:06:26 GMT
|
65
203
|
- request:
|
66
204
|
method: get
|
67
|
-
uri: https://
|
205
|
+
uri: https://www.transifex.com/api/2/project/txgl-test/resources/
|
68
206
|
body:
|
69
207
|
encoding: US-ASCII
|
70
208
|
string: ''
|
71
209
|
headers:
|
72
|
-
Accept:
|
73
|
-
- application/vnd.github.v3+json
|
74
210
|
User-Agent:
|
75
|
-
-
|
76
|
-
Content-Type:
|
77
|
-
- application/json
|
211
|
+
- Faraday v0.17.3
|
78
212
|
Authorization:
|
79
|
-
-
|
213
|
+
- Basic AUTH
|
214
|
+
Accept:
|
215
|
+
- application/json
|
80
216
|
Accept-Encoding:
|
81
217
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
82
218
|
response:
|
@@ -85,71 +221,122 @@ http_interactions:
|
|
85
221
|
message: OK
|
86
222
|
headers:
|
87
223
|
Server:
|
88
|
-
-
|
89
|
-
|
90
|
-
-
|
224
|
+
- nginx
|
225
|
+
Vary:
|
226
|
+
- Accept-Encoding
|
227
|
+
- Authorization, Host, Accept-Language, Cookie
|
228
|
+
Cache-Control:
|
229
|
+
- no-cache, no-store, must-revalidate, max-age=0
|
91
230
|
Content-Type:
|
92
231
|
- application/json; charset=utf-8
|
232
|
+
Date:
|
233
|
+
- Thu, 26 Mar 2020 18:06:27 GMT
|
234
|
+
Expires:
|
235
|
+
- Thu, 26 Mar 2020 18:06:27 GMT
|
93
236
|
Transfer-Encoding:
|
94
237
|
- chunked
|
95
|
-
|
96
|
-
-
|
97
|
-
X-
|
98
|
-
-
|
99
|
-
|
100
|
-
-
|
101
|
-
|
102
|
-
-
|
238
|
+
Content-Language:
|
239
|
+
- en
|
240
|
+
X-Content-Type-Options:
|
241
|
+
- nosniff
|
242
|
+
Connection:
|
243
|
+
- keep-alive
|
244
|
+
Set-Cookie:
|
245
|
+
- X-Mapping-fjhppofk=100E7CB61F7D5C274279F09EADF920A3; path=/
|
246
|
+
X-Frame-Options:
|
247
|
+
- SAMEORIGIN
|
248
|
+
body:
|
249
|
+
encoding: ASCII-8BIT
|
250
|
+
string: "[\n {\n \"source_language_code\": \"en\", \n \"name\":
|
251
|
+
\"config/locales/en.yml (heads/master)\", \n \"i18n_type\": \"YAML_GENERIC\",
|
252
|
+
\n \"priority\": \"0\", \n \"slug\": \"enyml-heads_master\",
|
253
|
+
\n \"categories\": [\n \"branch:heads/master\", \n \"author:Ivan_Danci\"\n
|
254
|
+
\ ], \n \"metadata\": []\n }, \n {\n \"source_language_code\":
|
255
|
+
\"en\", \n \"name\": \"config/locales/en.yml (heads/test_hook)\", \n
|
256
|
+
\ \"i18n_type\": \"YML\", \n \"priority\": \"1\", \n \"slug\":
|
257
|
+
\"enyml-heads_test_hook\", \n \"categories\": [\n \"author:Ivan_Danci
|
258
|
+
branch:heads/test_hook\"\n ], \n \"metadata\": []\n }\n]"
|
259
|
+
http_version:
|
260
|
+
recorded_at: Thu, 26 Mar 2020 18:06:27 GMT
|
261
|
+
- request:
|
262
|
+
method: get
|
263
|
+
uri: https://gitlab.com/api/v4/projects/idanci%2Ftxgl-test/repository/commits/master
|
264
|
+
body:
|
265
|
+
encoding: US-ASCII
|
266
|
+
string: ''
|
267
|
+
headers:
|
268
|
+
Accept:
|
269
|
+
- application/json
|
270
|
+
Content-Type:
|
271
|
+
- application/x-www-form-urlencoded
|
272
|
+
User-Agent:
|
273
|
+
- Gitlab Ruby Gem 4.14.1
|
274
|
+
Private-Token:
|
275
|
+
- "<GITHUB_TOKEN>"
|
276
|
+
response:
|
277
|
+
status:
|
278
|
+
code: 200
|
279
|
+
message: OK
|
280
|
+
headers:
|
281
|
+
Server:
|
282
|
+
- nginx
|
283
|
+
Date:
|
284
|
+
- Thu, 26 Mar 2020 18:06:28 GMT
|
285
|
+
Content-Type:
|
286
|
+
- application/json
|
287
|
+
Content-Length:
|
288
|
+
- '735'
|
103
289
|
Cache-Control:
|
104
|
-
-
|
105
|
-
Vary:
|
106
|
-
- Accept, Authorization, Cookie, X-GitHub-OTP
|
107
|
-
- Accept-Encoding
|
290
|
+
- max-age=0, private, must-revalidate
|
108
291
|
Etag:
|
109
|
-
- W/"
|
110
|
-
|
111
|
-
-
|
112
|
-
X-Poll-Interval:
|
113
|
-
- '300'
|
114
|
-
X-Oauth-Scopes:
|
115
|
-
- public_repo
|
116
|
-
X-Accepted-Oauth-Scopes:
|
117
|
-
- ''
|
118
|
-
X-Github-Media-Type:
|
119
|
-
- github.v3; format=json
|
120
|
-
Access-Control-Expose-Headers:
|
121
|
-
- ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset,
|
122
|
-
X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
|
123
|
-
Access-Control-Allow-Origin:
|
124
|
-
- "*"
|
125
|
-
Content-Security-Policy:
|
126
|
-
- default-src 'none'
|
127
|
-
Strict-Transport-Security:
|
128
|
-
- max-age=31536000; includeSubdomains; preload
|
292
|
+
- W/"d7500016242ad2a97736263ec121e2db"
|
293
|
+
Vary:
|
294
|
+
- Origin
|
129
295
|
X-Content-Type-Options:
|
130
296
|
- nosniff
|
131
297
|
X-Frame-Options:
|
132
|
-
-
|
133
|
-
X-
|
134
|
-
-
|
135
|
-
X-
|
136
|
-
-
|
137
|
-
|
138
|
-
-
|
298
|
+
- SAMEORIGIN
|
299
|
+
X-Request-Id:
|
300
|
+
- N8h22W66YE
|
301
|
+
X-Runtime:
|
302
|
+
- '0.077138'
|
303
|
+
Strict-Transport-Security:
|
304
|
+
- max-age=31536000
|
305
|
+
Referrer-Policy:
|
306
|
+
- strict-origin-when-cross-origin
|
307
|
+
Ratelimit-Limit:
|
308
|
+
- '600'
|
309
|
+
Ratelimit-Observed:
|
310
|
+
- '4'
|
311
|
+
Ratelimit-Remaining:
|
312
|
+
- '596'
|
313
|
+
Ratelimit-Reset:
|
314
|
+
- '1585246048'
|
315
|
+
Ratelimit-Resettime:
|
316
|
+
- Thu, 26 Mar 2020 18:07:28 GMT
|
317
|
+
Gitlab-Lb:
|
318
|
+
- fe-12-lb-gprd
|
319
|
+
Gitlab-Sv:
|
320
|
+
- localhost
|
139
321
|
body:
|
140
322
|
encoding: UTF-8
|
141
|
-
string: '{"
|
142
|
-
|
143
|
-
|
323
|
+
string: '{"id":"b85b0a277fcf7818d880f3fe67afc8fea04572c2","short_id":"b85b0a27","created_at":"2020-03-26T18:06:25.000+00:00","parent_ids":["749c760c4d7b630d28e32f9fc1e021a70bfd4779"],"title":"Updating
|
324
|
+
de translations in config/locales/de.yml","message":"Updating de translations
|
325
|
+
in config/locales/de.yml","author_name":"Ivan Danci","author_email":"danci.ivan@gmail.com","authored_date":"2020-03-26T18:06:25.000+00:00","committer_name":"Ivan
|
326
|
+
Danci","committer_email":"danci.ivan@gmail.com","committed_date":"2020-03-26T18:06:25.000+00:00","web_url":"https://gitlab.com/idanci/txgl-test/-/commit/b85b0a277fcf7818d880f3fe67afc8fea04572c2","stats":{"additions":12,"deletions":12,"total":24},"status":null,"project_id":17514841,"last_pipeline":null}'
|
327
|
+
http_version:
|
328
|
+
recorded_at: Thu, 26 Mar 2020 18:06:28 GMT
|
144
329
|
- request:
|
145
330
|
method: get
|
146
|
-
uri: https://
|
331
|
+
uri: https://www.transifex.com/api/2/project/txgl-test/resource/enyml-heads_master/stats/
|
147
332
|
body:
|
148
333
|
encoding: US-ASCII
|
149
334
|
string: ''
|
150
335
|
headers:
|
151
336
|
User-Agent:
|
152
|
-
- Faraday v0.
|
337
|
+
- Faraday v0.17.3
|
338
|
+
Authorization:
|
339
|
+
- Basic AUTH
|
153
340
|
Accept:
|
154
341
|
- application/json
|
155
342
|
Accept-Encoding:
|
@@ -161,124 +348,110 @@ http_interactions:
|
|
161
348
|
headers:
|
162
349
|
Server:
|
163
350
|
- nginx
|
164
|
-
|
165
|
-
-
|
351
|
+
Vary:
|
352
|
+
- Accept-Encoding
|
353
|
+
- Authorization, Host, Accept-Language, Cookie
|
354
|
+
Cache-Control:
|
355
|
+
- no-cache, no-store, must-revalidate, max-age=0
|
166
356
|
Content-Type:
|
167
357
|
- application/json; charset=utf-8
|
358
|
+
Date:
|
359
|
+
- Thu, 26 Mar 2020 18:06:29 GMT
|
360
|
+
Expires:
|
361
|
+
- Thu, 26 Mar 2020 18:06:29 GMT
|
168
362
|
Transfer-Encoding:
|
169
363
|
- chunked
|
170
|
-
Connection:
|
171
|
-
- keep-alive
|
172
|
-
Vary:
|
173
|
-
- Accept-Encoding
|
174
|
-
- Authorization, Host, Accept-Language, Cookie
|
175
364
|
Content-Language:
|
176
365
|
- en
|
177
|
-
Expires:
|
178
|
-
- Tue, 04 Oct 2016 21:42:31 GMT
|
179
|
-
Last-Modified:
|
180
|
-
- Tue, 04 Oct 2016 21:42:31 GMT
|
181
|
-
Cache-Control:
|
182
|
-
- max-age=0
|
183
|
-
X-Frame-Options:
|
184
|
-
- SAMEORIGIN
|
185
366
|
X-Content-Type-Options:
|
186
367
|
- nosniff
|
368
|
+
Connection:
|
369
|
+
- keep-alive
|
370
|
+
Set-Cookie:
|
371
|
+
- X-Mapping-fjhppofk=978A30C321AEE9D0F95E25198189AC99; path=/
|
372
|
+
X-Frame-Options:
|
373
|
+
- SAMEORIGIN
|
187
374
|
body:
|
188
|
-
encoding:
|
189
|
-
string: "{\n \"
|
190
|
-
\"0%\", \n \"
|
191
|
-
\"
|
192
|
-
\
|
193
|
-
\n \"
|
194
|
-
\"
|
195
|
-
|
196
|
-
\n \"
|
197
|
-
\
|
198
|
-
|
199
|
-
\
|
200
|
-
\
|
201
|
-
|
202
|
-
|
203
|
-
http_version:
|
204
|
-
recorded_at: Tue, 04 Oct 2016 21:42:31 GMT
|
375
|
+
encoding: ASCII-8BIT
|
376
|
+
string: "{\n \"de\": {\n \"proofread\": 0, \n \"proofread_percentage\":
|
377
|
+
\"0%\", \n \"reviewed_percentage\": \"90%\", \n \"completed\":
|
378
|
+
\"90%\", \n \"untranslated_words\": 1, \n \"last_commiter\":
|
379
|
+
\"txgh.user\", \n \"reviewed\": 10, \n \"translated_entities\":
|
380
|
+
10, \n \"translated_words\": 10, \n \"last_update\": \"2020-03-23
|
381
|
+
13:49:42\", \n \"untranslated_entities\": 1\n }, \n \"en\": {\n
|
382
|
+
\ \"proofread\": 0, \n \"proofread_percentage\": \"0%\", \n \"reviewed_percentage\":
|
383
|
+
\"0%\", \n \"completed\": \"100%\", \n \"untranslated_words\":
|
384
|
+
0, \n \"last_commiter\": \"txgh.user\", \n \"reviewed\": 0,
|
385
|
+
\n \"translated_entities\": 11, \n \"translated_words\": 11,
|
386
|
+
\n \"last_update\": \"2020-03-23 13:49:42\", \n \"untranslated_entities\":
|
387
|
+
0\n }\n}"
|
388
|
+
http_version:
|
389
|
+
recorded_at: Thu, 26 Mar 2020 18:06:29 GMT
|
205
390
|
- request:
|
206
391
|
method: post
|
207
|
-
uri: https://
|
392
|
+
uri: https://gitlab.com/api/v4/projects/idanci%2Ftxgl-test/statuses/b85b0a27?context=continuous-localization/txgh&description=21/22%20translations%20complete.&state=pending&target_url=https://www.transifex.com/lumos-labs/txgl-test/content
|
208
393
|
body:
|
209
394
|
encoding: UTF-8
|
210
|
-
string: '
|
211
|
-
translations complete.","state":"pending"}'
|
395
|
+
string: ''
|
212
396
|
headers:
|
213
397
|
Accept:
|
214
|
-
- application/vnd.github.v3+json
|
215
|
-
User-Agent:
|
216
|
-
- Octokit Ruby Gem 4.3.0
|
217
|
-
Content-Type:
|
218
398
|
- application/json
|
219
|
-
|
220
|
-
-
|
221
|
-
|
222
|
-
-
|
399
|
+
Content-Type:
|
400
|
+
- application/x-www-form-urlencoded
|
401
|
+
User-Agent:
|
402
|
+
- Gitlab Ruby Gem 4.14.1
|
403
|
+
Private-Token:
|
404
|
+
- "<GITHUB_TOKEN>"
|
223
405
|
response:
|
224
406
|
status:
|
225
407
|
code: 201
|
226
408
|
message: Created
|
227
409
|
headers:
|
228
410
|
Server:
|
229
|
-
-
|
411
|
+
- nginx
|
230
412
|
Date:
|
231
|
-
-
|
413
|
+
- Thu, 26 Mar 2020 18:06:30 GMT
|
232
414
|
Content-Type:
|
233
|
-
- application/json
|
415
|
+
- application/json
|
234
416
|
Content-Length:
|
235
|
-
- '
|
236
|
-
Status:
|
237
|
-
- 201 Created
|
238
|
-
X-Ratelimit-Limit:
|
239
|
-
- '5000'
|
240
|
-
X-Ratelimit-Remaining:
|
241
|
-
- '4998'
|
242
|
-
X-Ratelimit-Reset:
|
243
|
-
- '1475620950'
|
417
|
+
- '590'
|
244
418
|
Cache-Control:
|
245
|
-
-
|
246
|
-
Vary:
|
247
|
-
- Accept, Authorization, Cookie, X-GitHub-OTP
|
248
|
-
- Accept-Encoding
|
419
|
+
- max-age=0, private, must-revalidate
|
249
420
|
Etag:
|
250
|
-
-
|
251
|
-
|
252
|
-
-
|
253
|
-
X-Accepted-Oauth-Scopes:
|
254
|
-
- ''
|
255
|
-
Location:
|
256
|
-
- https://api.github.com/repos/txgh-bot/txgh-test-resources/statuses/f3edb21f027b70974750649ba29b0090e410ecde
|
257
|
-
X-Github-Media-Type:
|
258
|
-
- github.v3; format=json
|
259
|
-
Access-Control-Expose-Headers:
|
260
|
-
- ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset,
|
261
|
-
X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
|
262
|
-
Access-Control-Allow-Origin:
|
263
|
-
- "*"
|
264
|
-
Content-Security-Policy:
|
265
|
-
- default-src 'none'
|
266
|
-
Strict-Transport-Security:
|
267
|
-
- max-age=31536000; includeSubdomains; preload
|
421
|
+
- W/"dbb9133b984a0b7616d3e7c97bb11d2e"
|
422
|
+
Vary:
|
423
|
+
- Origin
|
268
424
|
X-Content-Type-Options:
|
269
425
|
- nosniff
|
270
426
|
X-Frame-Options:
|
271
|
-
-
|
272
|
-
X-
|
273
|
-
-
|
274
|
-
X-
|
275
|
-
-
|
276
|
-
|
277
|
-
-
|
427
|
+
- SAMEORIGIN
|
428
|
+
X-Request-Id:
|
429
|
+
- UGIuZhONZZ2
|
430
|
+
X-Runtime:
|
431
|
+
- '0.195368'
|
432
|
+
Strict-Transport-Security:
|
433
|
+
- max-age=31536000
|
434
|
+
Referrer-Policy:
|
435
|
+
- strict-origin-when-cross-origin
|
436
|
+
Ratelimit-Limit:
|
437
|
+
- '600'
|
438
|
+
Ratelimit-Observed:
|
439
|
+
- '6'
|
440
|
+
Ratelimit-Remaining:
|
441
|
+
- '594'
|
442
|
+
Ratelimit-Reset:
|
443
|
+
- '1585246050'
|
444
|
+
Ratelimit-Resettime:
|
445
|
+
- Thu, 26 Mar 2020 18:07:30 GMT
|
446
|
+
Gitlab-Lb:
|
447
|
+
- fe-22-lb-gprd
|
448
|
+
Gitlab-Sv:
|
449
|
+
- localhost
|
278
450
|
body:
|
279
451
|
encoding: UTF-8
|
280
|
-
string: '{"
|
281
|
-
translations complete.","
|
282
|
-
|
283
|
-
|
452
|
+
string: '{"id":487277484,"sha":"b85b0a277fcf7818d880f3fe67afc8fea04572c2","ref":"master","status":"pending","name":"continuous-localization/txgh","target_url":"https://www.transifex.com/lumos-labs/txgl-test/content","description":"21/22
|
453
|
+
translations complete.","created_at":"2020-03-26T18:06:30.056Z","started_at":null,"finished_at":null,"allow_failure":false,"coverage":null,"author":{"id":745271,"name":"Ivan
|
454
|
+
Danci","username":"idanci","state":"active","avatar_url":"https://secure.gravatar.com/avatar/dbda838e9b7bca615829ac151e01f3c0?s=80\u0026d=identicon","web_url":"https://gitlab.com/idanci"}}'
|
455
|
+
http_version:
|
456
|
+
recorded_at: Thu, 26 Mar 2020 18:06:30 GMT
|
284
457
|
recorded_with: VCR 3.0.3
|