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_test_hook/
|
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,134 +22,248 @@ 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 17:45:39 GMT
|
34
|
+
Expires:
|
35
|
+
- Thu, 26 Mar 2020 17:45:39 GMT
|
27
36
|
Transfer-Encoding:
|
28
37
|
- chunked
|
38
|
+
Content-Language:
|
39
|
+
- en
|
40
|
+
X-Content-Type-Options:
|
41
|
+
- nosniff
|
29
42
|
Connection:
|
30
43
|
- keep-alive
|
44
|
+
Set-Cookie:
|
45
|
+
- X-Mapping-fjhppofk=300CA58EE011BC6BC0E393EE4F2B31F6; path=/
|
46
|
+
X-Frame-Options:
|
47
|
+
- SAMEORIGIN
|
48
|
+
body:
|
49
|
+
encoding: ASCII-8BIT
|
50
|
+
string: "{\n \"source_language_code\": \"en\", \n \"name\": \"config/locales/en.yml
|
51
|
+
(heads/test_hook)\", \n \"i18n_type\": \"YML\", \n \"priority\": \"1\",
|
52
|
+
\n \"slug\": \"enyml-heads_test_hook\", \n \"categories\": [\n \"author:Ivan_Danci
|
53
|
+
branch:heads/test_hook\"\n ], \n \"metadata\": []\n}"
|
54
|
+
http_version:
|
55
|
+
recorded_at: Thu, 26 Mar 2020 17:45:39 GMT
|
56
|
+
- request:
|
57
|
+
method: get
|
58
|
+
uri: https://www.transifex.com/api/2/project/txgl-test/resource/enyml-heads_test_hook/translation/de/
|
59
|
+
body:
|
60
|
+
encoding: US-ASCII
|
61
|
+
string: ''
|
62
|
+
headers:
|
63
|
+
User-Agent:
|
64
|
+
- Faraday v0.17.3
|
65
|
+
Authorization:
|
66
|
+
- Basic AUTH
|
67
|
+
Accept:
|
68
|
+
- application/json
|
69
|
+
Accept-Encoding:
|
70
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
71
|
+
response:
|
72
|
+
status:
|
73
|
+
code: 200
|
74
|
+
message: OK
|
75
|
+
headers:
|
76
|
+
Server:
|
77
|
+
- nginx
|
31
78
|
Vary:
|
32
79
|
- Accept-Encoding
|
33
80
|
- Authorization, Host, Accept-Language, Cookie
|
81
|
+
Cache-Control:
|
82
|
+
- no-cache, no-store, must-revalidate, max-age=0
|
83
|
+
Content-Type:
|
84
|
+
- application/json; charset=utf-8
|
85
|
+
Date:
|
86
|
+
- Thu, 26 Mar 2020 17:45:40 GMT
|
87
|
+
Expires:
|
88
|
+
- Thu, 26 Mar 2020 17:45:40 GMT
|
89
|
+
Transfer-Encoding:
|
90
|
+
- chunked
|
34
91
|
Content-Language:
|
35
92
|
- en
|
36
|
-
Expires:
|
37
|
-
- Tue, 04 Oct 2016 21:43:57 GMT
|
38
|
-
Last-Modified:
|
39
|
-
- Tue, 04 Oct 2016 21:43:57 GMT
|
40
|
-
Cache-Control:
|
41
|
-
- max-age=0
|
42
|
-
X-Frame-Options:
|
43
|
-
- SAMEORIGIN
|
44
93
|
X-Content-Type-Options:
|
45
94
|
- nosniff
|
95
|
+
Connection:
|
96
|
+
- keep-alive
|
97
|
+
Set-Cookie:
|
98
|
+
- X-Mapping-fjhppofk=371E5B112B2394FA3017E8BE0809059C; path=/
|
99
|
+
X-Frame-Options:
|
100
|
+
- SAMEORIGIN
|
46
101
|
body:
|
47
|
-
encoding:
|
48
|
-
string: "
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
2016-01-19 19:08+0000\\\\n\\\"\\n\\\"Last-Translator: Ilias-Dimitrios Vrachnis\\\\n\\\"\\n\\\"Language-Team:
|
54
|
-
Greek (Greece) (http://www.transifex.com/txgh-test/test-project-88/language/el_GR/)\\\\n\\\"\\n\\\"MIME-Version:
|
55
|
-
1.0\\\\n\\\"\\n\\\"Content-Type: text/plain; charset=UTF-8\\\\n\\\"\\n\\\"Content-Transfer-Encoding:
|
56
|
-
8bit\\\\n\\\"\\n\\\"Language: el_GR\\\\n\\\"\\n\\\"Plural-Forms: nplurals=2;
|
57
|
-
plural=(n != 1);\\\\n\\\"\\n\\nmsgid \\\"One\\\"\\nmsgstr \\\"\\\"\\n\\nmsgid
|
58
|
-
\\\"Two\\\"\\nmsgstr \\\"\\\"\\n\\nmsgid \\\"Three\\\"\\nmsgstr \\\"\\\"\\n\\nmsgid
|
59
|
-
\\\"Four\\\"\\nmsgstr \\\"\\\"\\n\\nmsgid \\\"Five\\\"\\nmsgstr \\\"\\\"\\n\\nmsgid
|
60
|
-
\\\"Six\\\"\\nmsgstr \\\"\\\"\\n\\nmsgid \\\"Seven\\\"\\nmsgstr \\\"\\\"\\n\\nmsgid
|
61
|
-
\\\"Eight\\\"\\nmsgstr \\\"\\\"\\n\\nmsgid \\\"Nine\\\"\\nmsgstr \\\"\\\"\\n\\nmsgid
|
62
|
-
\\\"Ten\\\"\\nmsgstr \\\"\\\"\\n\", \n \"mimetype\": \"text/x-po\"\n}"
|
63
|
-
http_version:
|
64
|
-
recorded_at: Tue, 04 Oct 2016 21:43:57 GMT
|
102
|
+
encoding: ASCII-8BIT
|
103
|
+
string: '{"content": "de:\n test: \"\"\n test2: \"\"\n test3: \"\"\n test4:
|
104
|
+
\"\"\n test5: \"\"\n test6: \"\"\n test7: \"\"\n test8: \"\"\n test9:
|
105
|
+
\"\"\n test10: \"\"\n test11: \"\"\n test12: \"\"\n", "mimetype": "text/plain"}'
|
106
|
+
http_version:
|
107
|
+
recorded_at: Thu, 26 Mar 2020 17:45:40 GMT
|
65
108
|
- request:
|
66
109
|
method: get
|
67
|
-
uri: https://
|
110
|
+
uri: https://gitlab.com/api/v4/projects/idanci%2Ftxgl-test/repository/files/config%2Flocales%2Fde.yml?ref=test_hook
|
68
111
|
body:
|
69
112
|
encoding: US-ASCII
|
70
113
|
string: ''
|
71
114
|
headers:
|
72
115
|
Accept:
|
73
|
-
- application/
|
116
|
+
- application/json
|
117
|
+
Content-Type:
|
118
|
+
- application/x-www-form-urlencoded
|
74
119
|
User-Agent:
|
75
|
-
-
|
120
|
+
- Gitlab Ruby Gem 4.14.1
|
121
|
+
Private-Token:
|
122
|
+
- ks5-_9NaSiL-9NSQRar1
|
123
|
+
response:
|
124
|
+
status:
|
125
|
+
code: 200
|
126
|
+
message: OK
|
127
|
+
headers:
|
128
|
+
Server:
|
129
|
+
- nginx
|
130
|
+
Date:
|
131
|
+
- Thu, 26 Mar 2020 17:45:40 GMT
|
76
132
|
Content-Type:
|
77
133
|
- application/json
|
78
|
-
|
79
|
-
-
|
80
|
-
|
81
|
-
-
|
134
|
+
Content-Length:
|
135
|
+
- '632'
|
136
|
+
Cache-Control:
|
137
|
+
- max-age=0, private, must-revalidate
|
138
|
+
Etag:
|
139
|
+
- W/"b628a5601cd22ec82aa67ab59f4b3277"
|
140
|
+
Vary:
|
141
|
+
- Origin
|
142
|
+
X-Content-Type-Options:
|
143
|
+
- nosniff
|
144
|
+
X-Frame-Options:
|
145
|
+
- SAMEORIGIN
|
146
|
+
X-Gitlab-Blob-Id:
|
147
|
+
- 40ee703622d33b3d3e9cf0a6bfccf343ef6803d9
|
148
|
+
X-Gitlab-Commit-Id:
|
149
|
+
- 3cb2cae6db2f31fa91061a0e04cc2cbcc26502d6
|
150
|
+
X-Gitlab-Content-Sha256:
|
151
|
+
- f93c177a9eacf7f2d3d4a33f353d9d94dbd884fd68897a7a24893ce5a24f5721
|
152
|
+
X-Gitlab-Encoding:
|
153
|
+
- base64
|
154
|
+
X-Gitlab-File-Name:
|
155
|
+
- de.yml
|
156
|
+
X-Gitlab-File-Path:
|
157
|
+
- config/locales/de.yml
|
158
|
+
X-Gitlab-Last-Commit-Id:
|
159
|
+
- 04151b55df42794241ec36b772e8de4c2f944a97
|
160
|
+
X-Gitlab-Ref:
|
161
|
+
- test_hook
|
162
|
+
X-Gitlab-Size:
|
163
|
+
- '193'
|
164
|
+
X-Request-Id:
|
165
|
+
- XVQSQQlpn63
|
166
|
+
X-Runtime:
|
167
|
+
- '0.059637'
|
168
|
+
Strict-Transport-Security:
|
169
|
+
- max-age=31536000
|
170
|
+
Referrer-Policy:
|
171
|
+
- strict-origin-when-cross-origin
|
172
|
+
Ratelimit-Limit:
|
173
|
+
- '600'
|
174
|
+
Ratelimit-Observed:
|
175
|
+
- '1'
|
176
|
+
Ratelimit-Remaining:
|
177
|
+
- '599'
|
178
|
+
Ratelimit-Reset:
|
179
|
+
- '1585244800'
|
180
|
+
Ratelimit-Resettime:
|
181
|
+
- Thu, 26 Mar 2020 17:46:40 GMT
|
182
|
+
Gitlab-Lb:
|
183
|
+
- fe-15-lb-gprd
|
184
|
+
Gitlab-Sv:
|
185
|
+
- localhost
|
186
|
+
body:
|
187
|
+
encoding: UTF-8
|
188
|
+
string: '{"file_name":"de.yml","file_path":"config/locales/de.yml","size":193,"encoding":"base64","content_sha256":"f93c177a9eacf7f2d3d4a33f353d9d94dbd884fd68897a7a24893ce5a24f5721","ref":"test_hook","blob_id":"40ee703622d33b3d3e9cf0a6bfccf343ef6803d9","commit_id":"3cb2cae6db2f31fa91061a0e04cc2cbcc26502d6","last_commit_id":"04151b55df42794241ec36b772e8de4c2f944a97","content":"ZGU6CiAgdGVzdDogInRlc3QiCiAgdGVzdDI6ICJ0ZXN0MiIKICB0ZXN0MzogInRlc3QzIgogIHRlc3Q0OiAidGVzdDQiCiAgdGVzdDU6ICJ0ZXN0NSIKICB0ZXN0NjogInRlc3Q2IgogIHRlc3Q3OiAidGVzdDciCiAgdGVzdDg6ICJ0ZXN0OCIKICB0ZXN0OTogInRlc3Q5IgogIHRlc3QxMDogInRlc3QxMCIKICB0ZXN0MTE6ICJ0ZXN0MTEiCg=="}'
|
189
|
+
http_version:
|
190
|
+
recorded_at: Thu, 26 Mar 2020 17:45:40 GMT
|
191
|
+
- request:
|
192
|
+
method: put
|
193
|
+
uri: https://gitlab.com/api/v4/projects/idanci%2Ftxgl-test/repository/files/config%2Flocales%2Fde.yml
|
194
|
+
body:
|
195
|
+
encoding: UTF-8
|
196
|
+
string: branch=test_hook&commit_message=Updating%20de%20translations%20in%20config%2Flocales%2Fde.yml&encoding=base64&content=ZGU6CiAgdGVzdDogIiIKICB0ZXN0MjogIiIKICB0ZXN0MzogIiIKICB0ZXN0%0ANDogIiIKICB0ZXN0NTogIiIKICB0ZXN0NjogIiIKICB0ZXN0NzogIiIKICB0%0AZXN0ODogIiIKICB0ZXN0OTogIiIKICB0ZXN0MTA6ICIiCiAgdGVzdDExOiAi%0AIgogIHRlc3QxMjogIiIK%0A
|
197
|
+
headers:
|
198
|
+
Accept:
|
199
|
+
- application/json
|
200
|
+
Content-Type:
|
201
|
+
- application/x-www-form-urlencoded
|
202
|
+
User-Agent:
|
203
|
+
- Gitlab Ruby Gem 4.14.1
|
204
|
+
Private-Token:
|
205
|
+
- ks5-_9NaSiL-9NSQRar1
|
82
206
|
response:
|
83
207
|
status:
|
84
208
|
code: 200
|
85
209
|
message: OK
|
86
210
|
headers:
|
87
211
|
Server:
|
88
|
-
-
|
212
|
+
- nginx
|
89
213
|
Date:
|
90
|
-
-
|
214
|
+
- Thu, 26 Mar 2020 17:45:42 GMT
|
91
215
|
Content-Type:
|
92
|
-
- application/json
|
93
|
-
|
94
|
-
-
|
95
|
-
Status:
|
96
|
-
- 200 OK
|
97
|
-
X-Ratelimit-Limit:
|
98
|
-
- '5000'
|
99
|
-
X-Ratelimit-Remaining:
|
100
|
-
- '4994'
|
101
|
-
X-Ratelimit-Reset:
|
102
|
-
- '1475620950'
|
216
|
+
- application/json
|
217
|
+
Content-Length:
|
218
|
+
- '58'
|
103
219
|
Cache-Control:
|
104
|
-
-
|
105
|
-
Vary:
|
106
|
-
- Accept, Authorization, Cookie, X-GitHub-OTP
|
107
|
-
- Accept-Encoding
|
220
|
+
- max-age=0, private, must-revalidate
|
108
221
|
Etag:
|
109
|
-
- W/"
|
110
|
-
|
111
|
-
-
|
112
|
-
X-Oauth-Scopes:
|
113
|
-
- public_repo
|
114
|
-
X-Accepted-Oauth-Scopes:
|
115
|
-
- ''
|
116
|
-
X-Github-Media-Type:
|
117
|
-
- github.v3; format=json
|
118
|
-
Access-Control-Expose-Headers:
|
119
|
-
- ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset,
|
120
|
-
X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
|
121
|
-
Access-Control-Allow-Origin:
|
122
|
-
- "*"
|
123
|
-
Content-Security-Policy:
|
124
|
-
- default-src 'none'
|
125
|
-
Strict-Transport-Security:
|
126
|
-
- max-age=31536000; includeSubdomains; preload
|
222
|
+
- W/"9d144d1ccdd0ce787ec8b2db8284502d"
|
223
|
+
Vary:
|
224
|
+
- Origin
|
127
225
|
X-Content-Type-Options:
|
128
226
|
- nosniff
|
129
227
|
X-Frame-Options:
|
130
|
-
-
|
131
|
-
X-
|
132
|
-
-
|
133
|
-
X-
|
134
|
-
-
|
135
|
-
|
136
|
-
-
|
228
|
+
- SAMEORIGIN
|
229
|
+
X-Request-Id:
|
230
|
+
- o8Qgw0xkkx6
|
231
|
+
X-Runtime:
|
232
|
+
- '0.987447'
|
233
|
+
Strict-Transport-Security:
|
234
|
+
- max-age=31536000
|
235
|
+
Referrer-Policy:
|
236
|
+
- strict-origin-when-cross-origin
|
237
|
+
Ratelimit-Limit:
|
238
|
+
- '600'
|
239
|
+
Ratelimit-Observed:
|
240
|
+
- '2'
|
241
|
+
Ratelimit-Remaining:
|
242
|
+
- '598'
|
243
|
+
Ratelimit-Reset:
|
244
|
+
- '1585244802'
|
245
|
+
Ratelimit-Resettime:
|
246
|
+
- Thu, 26 Mar 2020 17:46:42 GMT
|
247
|
+
Gitlab-Lb:
|
248
|
+
- fe-23-lb-gprd
|
249
|
+
Gitlab-Sv:
|
250
|
+
- localhost
|
137
251
|
body:
|
138
252
|
encoding: UTF-8
|
139
|
-
string: '{"
|
140
|
-
http_version:
|
141
|
-
recorded_at:
|
253
|
+
string: '{"file_path":"config/locales/de.yml","branch":"test_hook"}'
|
254
|
+
http_version:
|
255
|
+
recorded_at: Thu, 26 Mar 2020 17:45:42 GMT
|
142
256
|
- request:
|
143
257
|
method: get
|
144
|
-
uri: https://
|
258
|
+
uri: https://www.transifex.com/api/2/project/txgl-test/resources/
|
145
259
|
body:
|
146
260
|
encoding: US-ASCII
|
147
261
|
string: ''
|
148
262
|
headers:
|
149
263
|
User-Agent:
|
150
|
-
- Faraday v0.
|
264
|
+
- Faraday v0.17.3
|
265
|
+
Authorization:
|
266
|
+
- Basic AUTH
|
151
267
|
Accept:
|
152
268
|
- application/json
|
153
269
|
Accept-Encoding:
|
@@ -159,136 +275,121 @@ http_interactions:
|
|
159
275
|
headers:
|
160
276
|
Server:
|
161
277
|
- nginx
|
162
|
-
|
163
|
-
-
|
278
|
+
Vary:
|
279
|
+
- Accept-Encoding
|
280
|
+
- Authorization, Host, Accept-Language, Cookie
|
281
|
+
Cache-Control:
|
282
|
+
- no-cache, no-store, must-revalidate, max-age=0
|
164
283
|
Content-Type:
|
165
284
|
- application/json; charset=utf-8
|
285
|
+
Date:
|
286
|
+
- Thu, 26 Mar 2020 17:45:42 GMT
|
287
|
+
Expires:
|
288
|
+
- Thu, 26 Mar 2020 17:45:42 GMT
|
166
289
|
Transfer-Encoding:
|
167
290
|
- chunked
|
168
|
-
Connection:
|
169
|
-
- keep-alive
|
170
|
-
Vary:
|
171
|
-
- Accept-Encoding
|
172
|
-
- Authorization, Host, Accept-Language, Cookie
|
173
291
|
Content-Language:
|
174
292
|
- en
|
175
|
-
Expires:
|
176
|
-
- Tue, 04 Oct 2016 21:43:58 GMT
|
177
|
-
Last-Modified:
|
178
|
-
- Tue, 04 Oct 2016 21:43:58 GMT
|
179
|
-
Cache-Control:
|
180
|
-
- max-age=0
|
181
|
-
X-Frame-Options:
|
182
|
-
- SAMEORIGIN
|
183
293
|
X-Content-Type-Options:
|
184
294
|
- nosniff
|
295
|
+
Connection:
|
296
|
+
- keep-alive
|
297
|
+
Set-Cookie:
|
298
|
+
- X-Mapping-fjhppofk=2F71BA404CBE394603A72279804CAC7D; path=/
|
299
|
+
X-Frame-Options:
|
300
|
+
- SAMEORIGIN
|
185
301
|
body:
|
186
|
-
encoding:
|
302
|
+
encoding: ASCII-8BIT
|
187
303
|
string: "[\n {\n \"source_language_code\": \"en\", \n \"name\":
|
188
|
-
\"
|
189
|
-
\n \"
|
190
|
-
\
|
191
|
-
\
|
192
|
-
\
|
193
|
-
|
194
|
-
\
|
195
|
-
\"
|
196
|
-
|
197
|
-
|
198
|
-
\ }, \n {\n \"source_language_code\": \"en\", \n \"name\":
|
199
|
-
\"test.yml\", \n \"i18n_type\": \"YML\", \n \"priority\": \"0\",
|
200
|
-
\n \"slug\": \"testyml-heads_master\", \n \"categories\": [\n
|
201
|
-
\ \"branch:heads/master\"\n ]\n }\n]"
|
202
|
-
http_version:
|
203
|
-
recorded_at: Tue, 04 Oct 2016 21:43:58 GMT
|
304
|
+
\"config/locales/en.yml (heads/master)\", \n \"i18n_type\": \"YAML_GENERIC\",
|
305
|
+
\n \"priority\": \"0\", \n \"slug\": \"enyml-heads_master\",
|
306
|
+
\n \"categories\": [\n \"branch:heads/master\", \n \"author:Ivan_Danci\"\n
|
307
|
+
\ ], \n \"metadata\": []\n }, \n {\n \"source_language_code\":
|
308
|
+
\"en\", \n \"name\": \"config/locales/en.yml (heads/test_hook)\", \n
|
309
|
+
\ \"i18n_type\": \"YML\", \n \"priority\": \"1\", \n \"slug\":
|
310
|
+
\"enyml-heads_test_hook\", \n \"categories\": [\n \"author:Ivan_Danci
|
311
|
+
branch:heads/test_hook\"\n ], \n \"metadata\": []\n }\n]"
|
312
|
+
http_version:
|
313
|
+
recorded_at: Thu, 26 Mar 2020 17:45:43 GMT
|
204
314
|
- request:
|
205
315
|
method: get
|
206
|
-
uri: https://
|
316
|
+
uri: https://gitlab.com/api/v4/projects/idanci%2Ftxgl-test/repository/commits/test_hook
|
207
317
|
body:
|
208
318
|
encoding: US-ASCII
|
209
319
|
string: ''
|
210
320
|
headers:
|
211
321
|
Accept:
|
212
|
-
- application/vnd.github.v3+json
|
213
|
-
User-Agent:
|
214
|
-
- Octokit Ruby Gem 4.3.0
|
215
|
-
Content-Type:
|
216
322
|
- application/json
|
217
|
-
|
218
|
-
-
|
219
|
-
|
220
|
-
-
|
323
|
+
Content-Type:
|
324
|
+
- application/x-www-form-urlencoded
|
325
|
+
User-Agent:
|
326
|
+
- Gitlab Ruby Gem 4.14.1
|
327
|
+
Private-Token:
|
328
|
+
- ks5-_9NaSiL-9NSQRar1
|
221
329
|
response:
|
222
330
|
status:
|
223
331
|
code: 200
|
224
332
|
message: OK
|
225
333
|
headers:
|
226
334
|
Server:
|
227
|
-
-
|
335
|
+
- nginx
|
228
336
|
Date:
|
229
|
-
-
|
337
|
+
- Thu, 26 Mar 2020 17:45:43 GMT
|
230
338
|
Content-Type:
|
231
|
-
- application/json
|
232
|
-
|
233
|
-
-
|
234
|
-
Status:
|
235
|
-
- 200 OK
|
236
|
-
X-Ratelimit-Limit:
|
237
|
-
- '5000'
|
238
|
-
X-Ratelimit-Remaining:
|
239
|
-
- '4993'
|
240
|
-
X-Ratelimit-Reset:
|
241
|
-
- '1475620950'
|
339
|
+
- application/json
|
340
|
+
Content-Length:
|
341
|
+
- '735'
|
242
342
|
Cache-Control:
|
243
|
-
-
|
244
|
-
Vary:
|
245
|
-
- Accept, Authorization, Cookie, X-GitHub-OTP
|
246
|
-
- Accept-Encoding
|
343
|
+
- max-age=0, private, must-revalidate
|
247
344
|
Etag:
|
248
|
-
- W/"
|
249
|
-
|
250
|
-
-
|
251
|
-
X-Poll-Interval:
|
252
|
-
- '300'
|
253
|
-
X-Oauth-Scopes:
|
254
|
-
- public_repo
|
255
|
-
X-Accepted-Oauth-Scopes:
|
256
|
-
- ''
|
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
|
345
|
+
- W/"7e45f22cd0f3a45bdd5e1f9ebccb902b"
|
346
|
+
Vary:
|
347
|
+
- Origin
|
268
348
|
X-Content-Type-Options:
|
269
349
|
- nosniff
|
270
350
|
X-Frame-Options:
|
271
|
-
-
|
272
|
-
X-
|
273
|
-
-
|
274
|
-
X-
|
275
|
-
-
|
276
|
-
|
277
|
-
-
|
351
|
+
- SAMEORIGIN
|
352
|
+
X-Request-Id:
|
353
|
+
- 92yZGvr7Ld9
|
354
|
+
X-Runtime:
|
355
|
+
- '0.060438'
|
356
|
+
Strict-Transport-Security:
|
357
|
+
- max-age=31536000
|
358
|
+
Referrer-Policy:
|
359
|
+
- strict-origin-when-cross-origin
|
360
|
+
Ratelimit-Limit:
|
361
|
+
- '600'
|
362
|
+
Ratelimit-Observed:
|
363
|
+
- '4'
|
364
|
+
Ratelimit-Remaining:
|
365
|
+
- '596'
|
366
|
+
Ratelimit-Reset:
|
367
|
+
- '1585244803'
|
368
|
+
Ratelimit-Resettime:
|
369
|
+
- Thu, 26 Mar 2020 17:46:43 GMT
|
370
|
+
Gitlab-Lb:
|
371
|
+
- fe-20-lb-gprd
|
372
|
+
Gitlab-Sv:
|
373
|
+
- localhost
|
278
374
|
body:
|
279
375
|
encoding: UTF-8
|
280
|
-
string: '{"
|
281
|
-
|
282
|
-
|
376
|
+
string: '{"id":"1184cbc1aef20170127b190b8c999fe6c7bbe3ce","short_id":"1184cbc1","created_at":"2020-03-26T17:45:41.000+00:00","parent_ids":["3cb2cae6db2f31fa91061a0e04cc2cbcc26502d6"],"title":"Updating
|
377
|
+
de translations in config/locales/de.yml","message":"Updating de translations
|
378
|
+
in config/locales/de.yml","author_name":"Ivan Danci","author_email":"danci.ivan@gmail.com","authored_date":"2020-03-26T17:45:41.000+00:00","committer_name":"Ivan
|
379
|
+
Danci","committer_email":"danci.ivan@gmail.com","committed_date":"2020-03-26T17:45:41.000+00:00","web_url":"https://gitlab.com/idanci/txgl-test/-/commit/1184cbc1aef20170127b190b8c999fe6c7bbe3ce","stats":{"additions":12,"deletions":11,"total":23},"status":null,"project_id":17514841,"last_pipeline":null}'
|
380
|
+
http_version:
|
381
|
+
recorded_at: Thu, 26 Mar 2020 17:45:43 GMT
|
283
382
|
- request:
|
284
383
|
method: get
|
285
|
-
uri: https://
|
384
|
+
uri: https://www.transifex.com/api/2/project/txgl-test/resource/enyml-heads_test_hook/stats/
|
286
385
|
body:
|
287
386
|
encoding: US-ASCII
|
288
387
|
string: ''
|
289
388
|
headers:
|
290
389
|
User-Agent:
|
291
|
-
- Faraday v0.
|
390
|
+
- Faraday v0.17.3
|
391
|
+
Authorization:
|
392
|
+
- Basic AUTH
|
292
393
|
Accept:
|
293
394
|
- application/json
|
294
395
|
Accept-Encoding:
|
@@ -300,124 +401,110 @@ http_interactions:
|
|
300
401
|
headers:
|
301
402
|
Server:
|
302
403
|
- nginx
|
303
|
-
|
304
|
-
-
|
404
|
+
Vary:
|
405
|
+
- Accept-Encoding
|
406
|
+
- Authorization, Host, Accept-Language, Cookie
|
407
|
+
Cache-Control:
|
408
|
+
- no-cache, no-store, must-revalidate, max-age=0
|
305
409
|
Content-Type:
|
306
410
|
- application/json; charset=utf-8
|
411
|
+
Date:
|
412
|
+
- Thu, 26 Mar 2020 17:45:43 GMT
|
413
|
+
Expires:
|
414
|
+
- Thu, 26 Mar 2020 17:45:43 GMT
|
307
415
|
Transfer-Encoding:
|
308
416
|
- chunked
|
309
|
-
Connection:
|
310
|
-
- keep-alive
|
311
|
-
Vary:
|
312
|
-
- Accept-Encoding
|
313
|
-
- Authorization, Host, Accept-Language, Cookie
|
314
417
|
Content-Language:
|
315
418
|
- en
|
316
|
-
Expires:
|
317
|
-
- Tue, 04 Oct 2016 21:43:59 GMT
|
318
|
-
Last-Modified:
|
319
|
-
- Tue, 04 Oct 2016 21:43:59 GMT
|
320
|
-
Cache-Control:
|
321
|
-
- max-age=0
|
322
|
-
X-Frame-Options:
|
323
|
-
- SAMEORIGIN
|
324
419
|
X-Content-Type-Options:
|
325
420
|
- nosniff
|
421
|
+
Connection:
|
422
|
+
- keep-alive
|
423
|
+
Set-Cookie:
|
424
|
+
- X-Mapping-fjhppofk=978A30C321AEE9D0F95E25198189AC99; path=/
|
425
|
+
X-Frame-Options:
|
426
|
+
- SAMEORIGIN
|
326
427
|
body:
|
327
|
-
encoding:
|
328
|
-
string: "{\n \"
|
329
|
-
\"0%\", \n \"
|
330
|
-
\"
|
331
|
-
\
|
332
|
-
\n \"
|
333
|
-
\"
|
334
|
-
|
335
|
-
\
|
336
|
-
\
|
337
|
-
|
338
|
-
|
339
|
-
\
|
340
|
-
|
341
|
-
|
342
|
-
http_version:
|
343
|
-
recorded_at: Tue, 04 Oct 2016 21:43:59 GMT
|
428
|
+
encoding: ASCII-8BIT
|
429
|
+
string: "{\n \"de\": {\n \"proofread\": 0, \n \"proofread_percentage\":
|
430
|
+
\"0%\", \n \"reviewed_percentage\": \"0%\", \n \"completed\":
|
431
|
+
\"0%\", \n \"untranslated_words\": 12, \n \"last_commiter\":
|
432
|
+
\"txgh.user\", \n \"reviewed\": 0, \n \"translated_entities\":
|
433
|
+
0, \n \"translated_words\": 0, \n \"last_update\": \"2020-03-26
|
434
|
+
17:18:43\", \n \"untranslated_entities\": 12\n }, \n \"en\":
|
435
|
+
{\n \"proofread\": 0, \n \"proofread_percentage\": \"0%\", \n
|
436
|
+
\ \"reviewed_percentage\": \"0%\", \n \"completed\": \"100%\",
|
437
|
+
\n \"untranslated_words\": 0, \n \"last_commiter\": \"txgh.user\",
|
438
|
+
\n \"reviewed\": 0, \n \"translated_entities\": 12, \n \"translated_words\":
|
439
|
+
12, \n \"last_update\": \"2020-03-26 17:18:43\", \n \"untranslated_entities\":
|
440
|
+
0\n }\n}"
|
441
|
+
http_version:
|
442
|
+
recorded_at: Thu, 26 Mar 2020 17:45:43 GMT
|
344
443
|
- request:
|
345
444
|
method: post
|
346
|
-
uri: https://
|
445
|
+
uri: https://gitlab.com/api/v4/projects/idanci%2Ftxgl-test/statuses/1184cbc1?context=continuous-localization/txgh&description=12/24%20translations%20complete.&state=pending&target_url=https://www.transifex.com/lumos-labs/txgl-test/content
|
347
446
|
body:
|
348
447
|
encoding: UTF-8
|
349
|
-
string: '
|
350
|
-
translations complete.","state":"pending"}'
|
448
|
+
string: ''
|
351
449
|
headers:
|
352
450
|
Accept:
|
353
|
-
- application/vnd.github.v3+json
|
354
|
-
User-Agent:
|
355
|
-
- Octokit Ruby Gem 4.3.0
|
356
|
-
Content-Type:
|
357
451
|
- application/json
|
358
|
-
|
359
|
-
-
|
360
|
-
|
361
|
-
-
|
452
|
+
Content-Type:
|
453
|
+
- application/x-www-form-urlencoded
|
454
|
+
User-Agent:
|
455
|
+
- Gitlab Ruby Gem 4.14.1
|
456
|
+
Private-Token:
|
457
|
+
- ks5-_9NaSiL-9NSQRar1
|
362
458
|
response:
|
363
459
|
status:
|
364
460
|
code: 201
|
365
461
|
message: Created
|
366
462
|
headers:
|
367
463
|
Server:
|
368
|
-
-
|
464
|
+
- nginx
|
369
465
|
Date:
|
370
|
-
-
|
466
|
+
- Thu, 26 Mar 2020 17:45:44 GMT
|
371
467
|
Content-Type:
|
372
|
-
- application/json
|
468
|
+
- application/json
|
373
469
|
Content-Length:
|
374
|
-
- '
|
375
|
-
Status:
|
376
|
-
- 201 Created
|
377
|
-
X-Ratelimit-Limit:
|
378
|
-
- '5000'
|
379
|
-
X-Ratelimit-Remaining:
|
380
|
-
- '4992'
|
381
|
-
X-Ratelimit-Reset:
|
382
|
-
- '1475620950'
|
470
|
+
- '593'
|
383
471
|
Cache-Control:
|
384
|
-
-
|
385
|
-
Vary:
|
386
|
-
- Accept, Authorization, Cookie, X-GitHub-OTP
|
387
|
-
- Accept-Encoding
|
472
|
+
- max-age=0, private, must-revalidate
|
388
473
|
Etag:
|
389
|
-
-
|
390
|
-
|
391
|
-
-
|
392
|
-
X-Accepted-Oauth-Scopes:
|
393
|
-
- ''
|
394
|
-
Location:
|
395
|
-
- https://api.github.com/repos/txgh-bot/txgh-test-resources/statuses/f3edb21f027b70974750649ba29b0090e410ecde
|
396
|
-
X-Github-Media-Type:
|
397
|
-
- github.v3; format=json
|
398
|
-
Access-Control-Expose-Headers:
|
399
|
-
- ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset,
|
400
|
-
X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
|
401
|
-
Access-Control-Allow-Origin:
|
402
|
-
- "*"
|
403
|
-
Content-Security-Policy:
|
404
|
-
- default-src 'none'
|
405
|
-
Strict-Transport-Security:
|
406
|
-
- max-age=31536000; includeSubdomains; preload
|
474
|
+
- W/"f4f089464f825d0e8ba2aab1f2930043"
|
475
|
+
Vary:
|
476
|
+
- Origin
|
407
477
|
X-Content-Type-Options:
|
408
478
|
- nosniff
|
409
479
|
X-Frame-Options:
|
410
|
-
-
|
411
|
-
X-
|
412
|
-
-
|
413
|
-
X-
|
414
|
-
-
|
415
|
-
|
416
|
-
-
|
480
|
+
- SAMEORIGIN
|
481
|
+
X-Request-Id:
|
482
|
+
- QlLf1m33ol9
|
483
|
+
X-Runtime:
|
484
|
+
- '0.209709'
|
485
|
+
Strict-Transport-Security:
|
486
|
+
- max-age=31536000
|
487
|
+
Referrer-Policy:
|
488
|
+
- strict-origin-when-cross-origin
|
489
|
+
Ratelimit-Limit:
|
490
|
+
- '600'
|
491
|
+
Ratelimit-Observed:
|
492
|
+
- '5'
|
493
|
+
Ratelimit-Remaining:
|
494
|
+
- '595'
|
495
|
+
Ratelimit-Reset:
|
496
|
+
- '1585244804'
|
497
|
+
Ratelimit-Resettime:
|
498
|
+
- Thu, 26 Mar 2020 17:46:44 GMT
|
499
|
+
Gitlab-Lb:
|
500
|
+
- fe-11-lb-gprd
|
501
|
+
Gitlab-Sv:
|
502
|
+
- localhost
|
417
503
|
body:
|
418
504
|
encoding: UTF-8
|
419
|
-
string: '{"
|
420
|
-
translations complete.","
|
421
|
-
|
422
|
-
|
505
|
+
string: '{"id":487244188,"sha":"1184cbc1aef20170127b190b8c999fe6c7bbe3ce","ref":"test_hook","status":"pending","name":"continuous-localization/txgh","target_url":"https://www.transifex.com/lumos-labs/txgl-test/content","description":"12/24
|
506
|
+
translations complete.","created_at":"2020-03-26T17:45:44.507Z","started_at":null,"finished_at":null,"allow_failure":false,"coverage":null,"author":{"id":745271,"name":"Ivan
|
507
|
+
Danci","username":"idanci","state":"active","avatar_url":"https://secure.gravatar.com/avatar/dbda838e9b7bca615829ac151e01f3c0?s=80\u0026d=identicon","web_url":"https://gitlab.com/idanci"}}'
|
508
|
+
http_version:
|
509
|
+
recorded_at: Thu, 26 Mar 2020 17:45:44 GMT
|
423
510
|
recorded_with: VCR 3.0.3
|