txgh-server 4.0.0.beta → 4.0.0.beta2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,13 +2,15 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://txgh.bot:<TRANSIFEX_PASSWORD>@www.transifex.com/api/2/project/test-project-88/resource/samplepo/translation/el_GR/
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.9.2
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
- Date:
24
- - Tue, 04 Oct 2016 21:43:57 GMT
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: UTF-8
48
- string: "{\n \"content\": \"# Translation file for Transifex.\\n# Copyright
49
- (C) 2007-2010 Indifex Ltd.\\n# This file is distributed under the same license
50
- as the Transifex package.\\n# \\n# Translators:\\n# Translators:\\nmsgid \\\"\\\"\\nmsgstr
51
- \\\"\\\"\\n\\\"Project-Id-Version: test-project\\\\n\\\"\\n\\\"Report-Msgid-Bugs-To:
52
- \\\\n\\\"\\n\\\"POT-Creation-Date: 2015-02-17 20:10+0000\\\\n\\\"\\n\\\"PO-Revision-Date:
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://api.github.com/repos/txgh-bot/txgh-test-resources/contents/translations/el_GR/sample.po?ref=master
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/vnd.github.v3+json
116
+ - application/json
117
+ Content-Type:
118
+ - application/x-www-form-urlencoded
74
119
  User-Agent:
75
- - Octokit Ruby Gem 4.3.0
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
- Authorization:
79
- - token <GITHUB_TOKEN>
80
- Accept-Encoding:
81
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
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
- - GitHub.com
212
+ - nginx
89
213
  Date:
90
- - Tue, 04 Oct 2016 21:43:57 GMT
214
+ - Thu, 26 Mar 2020 17:45:42 GMT
91
215
  Content-Type:
92
- - application/json; charset=utf-8
93
- Transfer-Encoding:
94
- - chunked
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
- - private, max-age=60, s-maxage=60
105
- Vary:
106
- - Accept, Authorization, Cookie, X-GitHub-OTP
107
- - Accept-Encoding
220
+ - max-age=0, private, must-revalidate
108
221
  Etag:
109
- - W/"0c4897447f15f3dad309a5e63b994f66"
110
- Last-Modified:
111
- - Wed, 27 Apr 2016 17:33:49 GMT
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
- - deny
131
- X-Xss-Protection:
132
- - 1; mode=block
133
- X-Served-By:
134
- - 075bb2f6b7031ca3c0e69edb17939fae
135
- X-Github-Request-Id:
136
- - 04358C36:681B:440C7C9:57F4229D
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: '{"name":"sample.po","path":"translations/el_GR/sample.po","sha":"540a3d944ac19f573e756de687c8c4f3f9847b53","size":911,"url":"https://api.github.com/repos/txgh-bot/txgh-test-resources/contents/translations/el_GR/sample.po?ref=master","html_url":"https://github.com/txgh-bot/txgh-test-resources/blob/master/translations/el_GR/sample.po","git_url":"https://api.github.com/repos/txgh-bot/txgh-test-resources/git/blobs/540a3d944ac19f573e756de687c8c4f3f9847b53","download_url":"https://raw.githubusercontent.com/txgh-bot/txgh-test-resources/master/translations/el_GR/sample.po","type":"file","content":"IyBUcmFuc2xhdGlvbiBmaWxlIGZvciBUcmFuc2lmZXguCiMgQ29weXJpZ2h0\nIChDKSAyMDA3LTIwMTAgSW5kaWZleCBMdGQuCiMgVGhpcyBmaWxlIGlzIGRp\nc3RyaWJ1dGVkIHVuZGVyIHRoZSBzYW1lIGxpY2Vuc2UgYXMgdGhlIFRyYW5z\naWZleCBwYWNrYWdlLgojIAojIFRyYW5zbGF0b3JzOgojIFRyYW5zbGF0b3Jz\nOgptc2dpZCAiIgptc2dzdHIgIiIKIlByb2plY3QtSWQtVmVyc2lvbjogdGVz\ndC1wcm9qZWN0XG4iCiJSZXBvcnQtTXNnaWQtQnVncy1UbzogXG4iCiJQT1Qt\nQ3JlYXRpb24tRGF0ZTogMjAxNS0wMi0xNyAyMDoxMCswMDAwXG4iCiJQTy1S\nZXZpc2lvbi1EYXRlOiAyMDE2LTAxLTE5IDE5OjA4KzAwMDBcbiIKIkxhc3Qt\nVHJhbnNsYXRvcjogSWxpYXMtRGltaXRyaW9zIFZyYWNobmlzXG4iCiJMYW5n\ndWFnZS1UZWFtOiBHcmVlayAoR3JlZWNlKSAoaHR0cDovL3d3dy50cmFuc2lm\nZXguY29tL3R4Z2gtdGVzdC90ZXN0LXByb2plY3QtODgvbGFuZ3VhZ2UvZWxf\nR1IvKVxuIgoiTUlNRS1WZXJzaW9uOiAxLjBcbiIKIkNvbnRlbnQtVHlwZTog\ndGV4dC9wbGFpbjsgY2hhcnNldD1VVEYtOFxuIgoiQ29udGVudC1UcmFuc2Zl\nci1FbmNvZGluZzogOGJpdFxuIgoiTGFuZ3VhZ2U6IGVsX0dSXG4iCiJQbHVy\nYWwtRm9ybXM6IG5wbHVyYWxzPTI7IHBsdXJhbD0obiAhPSAxKTtcbiIKCm1z\nZ2lkICJPbmUiCm1zZ3N0ciAiIgoKbXNnaWQgIlR3byIKbXNnc3RyICIiCgpt\nc2dpZCAiVGhyZWUiCm1zZ3N0ciAiIgoKbXNnaWQgIkZvdXIiCm1zZ3N0ciAi\nIgoKbXNnaWQgIkZpdmUiCm1zZ3N0ciAiIgoKbXNnaWQgIlNpeCIKbXNnc3Ry\nICIiCgptc2dpZCAiU2V2ZW4iCm1zZ3N0ciAiIgoKbXNnaWQgIkVpZ2h0Igpt\nc2dzdHIgIiIKCm1zZ2lkICJOaW5lIgptc2dzdHIgIiIKCm1zZ2lkICJUZW4i\nCm1zZ3N0ciAiIgo=\n","encoding":"base64","_links":{"self":"https://api.github.com/repos/txgh-bot/txgh-test-resources/contents/translations/el_GR/sample.po?ref=master","git":"https://api.github.com/repos/txgh-bot/txgh-test-resources/git/blobs/540a3d944ac19f573e756de687c8c4f3f9847b53","html":"https://github.com/txgh-bot/txgh-test-resources/blob/master/translations/el_GR/sample.po"}}'
140
- http_version:
141
- recorded_at: Tue, 04 Oct 2016 21:43:57 GMT
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://txgh.bot:<TRANSIFEX_PASSWORD>@www.transifex.com/api/2/project/test-project-88/resources/
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.9.2
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
- Date:
163
- - Tue, 04 Oct 2016 21:43:58 GMT
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: UTF-8
302
+ encoding: ASCII-8BIT
187
303
  string: "[\n {\n \"source_language_code\": \"en\", \n \"name\":
188
- \"sample.po\", \n \"i18n_type\": \"PO\", \n \"priority\": \"1\",
189
- \n \"slug\": \"samplepo-heads_master\", \n \"categories\": [\n
190
- \ \"\"\n ]\n }, \n {\n \"source_language_code\":
191
- \"en\", \n \"name\": \"sample.po\", \n \"i18n_type\": \"PO\",
192
- \n \"priority\": \"0\", \n \"slug\": \"samplepo\", \n \"categories\":
193
- [\n \"branch:refs/tags/L10N\", \n \"author:Txgh Bot\"\n
194
- \ ]\n }, \n {\n \"source_language_code\": \"en\", \n \"name\":
195
- \"test.yml\", \n \"i18n_type\": \"YML\", \n \"priority\": \"1\",
196
- \n \"slug\": \"testyml-heads_change_some_shizz\", \n \"categories\":
197
- [\n \"author:Cameron_Dutro branch:heads/change_some_shizz\"\n ]\n
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://api.github.com/repos/txgh-bot/txgh-test-resources/git/refs/heads/master
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
- Authorization:
218
- - token <GITHUB_TOKEN>
219
- Accept-Encoding:
220
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
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
- - GitHub.com
335
+ - nginx
228
336
  Date:
229
- - Tue, 04 Oct 2016 21:43:58 GMT
337
+ - Thu, 26 Mar 2020 17:45:43 GMT
230
338
  Content-Type:
231
- - application/json; charset=utf-8
232
- Transfer-Encoding:
233
- - chunked
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
- - private, max-age=60, s-maxage=60
244
- Vary:
245
- - Accept, Authorization, Cookie, X-GitHub-OTP
246
- - Accept-Encoding
343
+ - max-age=0, private, must-revalidate
247
344
  Etag:
248
- - W/"a5fe675407899fa4460005cce07b9fe2"
249
- Last-Modified:
250
- - Mon, 11 Jan 2016 23:45:43 GMT
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
- - deny
272
- X-Xss-Protection:
273
- - 1; mode=block
274
- X-Served-By:
275
- - 76d9828c7e4f1d910f7ba069e90ce976
276
- X-Github-Request-Id:
277
- - 04358C36:681A:21A9497:57F4229E
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: '{"ref":"refs/heads/master","url":"https://api.github.com/repos/txgh-bot/txgh-test-resources/git/refs/heads/master","object":{"sha":"f3edb21f027b70974750649ba29b0090e410ecde","type":"commit","url":"https://api.github.com/repos/txgh-bot/txgh-test-resources/git/commits/f3edb21f027b70974750649ba29b0090e410ecde"}}'
281
- http_version:
282
- recorded_at: Tue, 04 Oct 2016 21:43:58 GMT
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://txgh.bot:<TRANSIFEX_PASSWORD>@www.transifex.com/api/2/project/test-project-88/resource/samplepo/stats/
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.9.2
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
- Date:
304
- - Tue, 04 Oct 2016 21:43:59 GMT
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: UTF-8
328
- string: "{\n \"el_GR\": {\n \"reviewed_percentage\": \"0%\", \n \"completed\":
329
- \"0%\", \n \"untranslated_words\": 10, \n \"last_commiter\":
330
- \"\", \n \"reviewed\": 0, \n \"translated_entities\": 0, \n
331
- \ \"translated_words\": 0, \n \"last_update\": \"2016-01-19 19:08:25\",
332
- \n \"untranslated_entities\": 10\n }, \n \"ru\": {\n \"reviewed_percentage\":
333
- \"0%\", \n \"completed\": \"0%\", \n \"untranslated_words\":
334
- 10, \n \"last_commiter\": \"txgh.bot\", \n \"reviewed\": 0,
335
- \n \"translated_entities\": 0, \n \"translated_words\": 0, \n
336
- \ \"last_update\": \"2016-04-01 05:36:37\", \n \"untranslated_entities\":
337
- 10\n }, \n \"en\": {\n \"reviewed_percentage\": \"0%\", \n \"completed\":
338
- \"100%\", \n \"untranslated_words\": 0, \n \"last_commiter\":
339
- \"txgh.bot\", \n \"reviewed\": 0, \n \"translated_entities\":
340
- 10, \n \"translated_words\": 10, \n \"last_update\": \"2016-01-19
341
- 19:08:25\", \n \"untranslated_entities\": 0\n }\n}"
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://api.github.com/repos/txgh-bot/txgh-test-resources/statuses/f3edb21f027b70974750649ba29b0090e410ecde
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: '{"context":"continuous-localization/txgh","target_url":"https://www.transifex.com//test-project-88/content","description":"10/30
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
- Authorization:
359
- - token <GITHUB_TOKEN>
360
- Accept-Encoding:
361
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
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
- - GitHub.com
464
+ - nginx
369
465
  Date:
370
- - Tue, 04 Oct 2016 21:43:59 GMT
466
+ - Thu, 26 Mar 2020 17:45:44 GMT
371
467
  Content-Type:
372
- - application/json; charset=utf-8
468
+ - application/json
373
469
  Content-Length:
374
- - '1259'
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
- - private, max-age=60, s-maxage=60
385
- Vary:
386
- - Accept, Authorization, Cookie, X-GitHub-OTP
387
- - Accept-Encoding
472
+ - max-age=0, private, must-revalidate
388
473
  Etag:
389
- - '"d1840f82e12475b13c29e798d6b1e604"'
390
- X-Oauth-Scopes:
391
- - public_repo
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
- - deny
411
- X-Xss-Protection:
412
- - 1; mode=block
413
- X-Served-By:
414
- - 7efb7ae49588ef0269c6a1c1bd3721d9
415
- X-Github-Request-Id:
416
- - 04358C36:6823:3A0BE34:57F4229F
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: '{"url":"https://api.github.com/repos/txgh-bot/txgh-test-resources/statuses/f3edb21f027b70974750649ba29b0090e410ecde","id":785754437,"state":"pending","description":"10/30
420
- translations complete.","target_url":"https://www.transifex.com//test-project-88/content","context":"continuous-localization/txgh","created_at":"2016-10-04T21:43:59Z","updated_at":"2016-10-04T21:43:59Z","creator":{"login":"txgh-bot","id":16723366,"avatar_url":"https://avatars.githubusercontent.com/u/16723366?v=3","gravatar_id":"","url":"https://api.github.com/users/txgh-bot","html_url":"https://github.com/txgh-bot","followers_url":"https://api.github.com/users/txgh-bot/followers","following_url":"https://api.github.com/users/txgh-bot/following{/other_user}","gists_url":"https://api.github.com/users/txgh-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/txgh-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/txgh-bot/subscriptions","organizations_url":"https://api.github.com/users/txgh-bot/orgs","repos_url":"https://api.github.com/users/txgh-bot/repos","events_url":"https://api.github.com/users/txgh-bot/events{/privacy}","received_events_url":"https://api.github.com/users/txgh-bot/received_events","type":"User","site_admin":false}}'
421
- http_version:
422
- recorded_at: Tue, 04 Oct 2016 21:43:59 GMT
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