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,90 +2,98 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://api.github.com/repos/txgh-bot/txgh-test-resources/contents/sample.po?ref=heads/master
5
+ uri: https://gitlab.com/api/v4/projects/idanci%2Ftxgl-test/repository/files/config%2Flocales%2Fen.yml?ref=master
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
9
9
  headers:
10
10
  Accept:
11
- - application/vnd.github.v3+json
12
- User-Agent:
13
- - Octokit Ruby Gem 4.3.0
14
- Content-Type:
15
11
  - application/json
16
- Authorization:
17
- - token <GITHUB_TOKEN>
18
- Accept-Encoding:
19
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ Content-Type:
13
+ - application/x-www-form-urlencoded
14
+ User-Agent:
15
+ - Gitlab Ruby Gem 4.14.1
16
+ Private-Token:
17
+ - "<GITHUB_TOKEN>"
20
18
  response:
21
19
  status:
22
20
  code: 200
23
21
  message: OK
24
22
  headers:
25
23
  Server:
26
- - GitHub.com
24
+ - nginx
27
25
  Date:
28
- - Tue, 04 Oct 2016 21:42:32 GMT
26
+ - Thu, 26 Mar 2020 18:56:27 GMT
29
27
  Content-Type:
30
- - application/json; charset=utf-8
31
- Transfer-Encoding:
32
- - chunked
33
- Status:
34
- - 200 OK
35
- X-Ratelimit-Limit:
36
- - '5000'
37
- X-Ratelimit-Remaining:
38
- - '4997'
39
- X-Ratelimit-Reset:
40
- - '1475620950'
28
+ - application/json
29
+ Content-Length:
30
+ - '597'
41
31
  Cache-Control:
42
- - private, max-age=60, s-maxage=60
43
- Vary:
44
- - Accept, Authorization, Cookie, X-GitHub-OTP
45
- - Accept-Encoding
32
+ - max-age=0, private, must-revalidate
46
33
  Etag:
47
- - W/"ca21dd4542518306953e22c1859714a6"
48
- Last-Modified:
49
- - Wed, 27 Apr 2016 17:33:49 GMT
50
- X-Oauth-Scopes:
51
- - public_repo
52
- X-Accepted-Oauth-Scopes:
53
- - ''
54
- X-Github-Media-Type:
55
- - github.v3; format=json
56
- Access-Control-Expose-Headers:
57
- - ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset,
58
- X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
59
- Access-Control-Allow-Origin:
60
- - "*"
61
- Content-Security-Policy:
62
- - default-src 'none'
63
- Strict-Transport-Security:
64
- - max-age=31536000; includeSubdomains; preload
34
+ - W/"393b1655fc6f3f1324db565e7aa117ee"
35
+ Vary:
36
+ - Origin
65
37
  X-Content-Type-Options:
66
38
  - nosniff
67
39
  X-Frame-Options:
68
- - deny
69
- X-Xss-Protection:
70
- - 1; mode=block
71
- X-Served-By:
72
- - 065b43cd9674091fec48a221b420fbb3
73
- X-Github-Request-Id:
74
- - 04358C36:6823:3A08B17:57F42247
40
+ - SAMEORIGIN
41
+ X-Gitlab-Blob-Id:
42
+ - cbaa99dcf14f0ff8b50422925fd7f6955a112f23
43
+ X-Gitlab-Commit-Id:
44
+ - b85b0a277fcf7818d880f3fe67afc8fea04572c2
45
+ X-Gitlab-Content-Sha256:
46
+ - c97a60f63c623c758a7138c150f1c9753d1726bbd88813d2f2b50c298a8b3a52
47
+ X-Gitlab-Encoding:
48
+ - base64
49
+ X-Gitlab-File-Name:
50
+ - en.yml
51
+ X-Gitlab-File-Path:
52
+ - config/locales/en.yml
53
+ X-Gitlab-Last-Commit-Id:
54
+ - f4db8ab452d257ad974dcfa35fa3e2228374fda6
55
+ X-Gitlab-Ref:
56
+ - master
57
+ X-Gitlab-Size:
58
+ - '171'
59
+ X-Request-Id:
60
+ - RrHhp5J72P3
61
+ X-Runtime:
62
+ - '0.064414'
63
+ Strict-Transport-Security:
64
+ - max-age=31536000
65
+ Referrer-Policy:
66
+ - strict-origin-when-cross-origin
67
+ Ratelimit-Limit:
68
+ - '600'
69
+ Ratelimit-Observed:
70
+ - '3'
71
+ Ratelimit-Remaining:
72
+ - '597'
73
+ Ratelimit-Reset:
74
+ - '1585249047'
75
+ Ratelimit-Resettime:
76
+ - Thu, 26 Mar 2020 18:57:27 GMT
77
+ Gitlab-Lb:
78
+ - fe-17-lb-gprd
79
+ Gitlab-Sv:
80
+ - localhost
75
81
  body:
76
82
  encoding: UTF-8
77
- string: '{"name":"sample.po","path":"sample.po","sha":"a93e31a00137e0bd23db5bc7720568f8e908b2b6","size":855,"url":"https://api.github.com/repos/txgh-bot/txgh-test-resources/contents/sample.po?ref=heads/master","html_url":"https://github.com/txgh-bot/txgh-test-resources/blob/heads/master/sample.po","git_url":"https://api.github.com/repos/txgh-bot/txgh-test-resources/git/blobs/a93e31a00137e0bd23db5bc7720568f8e908b2b6","download_url":"https://raw.githubusercontent.com/txgh-bot/txgh-test-resources/heads/master/sample.po","type":"file","content":"IyBUcmFuc2xhdGlvbiBmaWxlIGZvciBUcmFuc2lmZXguCiMgQ29weXJpZ2h0\nIChDKSAyMDA3LTIwMTAgSW5kaWZleCBMdGQuCiMgVGhpcyBmaWxlIGlzIGRp\nc3RyaWJ1dGVkIHVuZGVyIHRoZSBzYW1lIGxpY2Vuc2UgYXMgdGhlIFRyYW5z\naWZleCBwYWNrYWdlLgojCiMgVHJhbnNsYXRvcnM6Cm1zZ2lkICIiCm1zZ3N0\nciAiIgoiUHJvamVjdC1JZC1WZXJzaW9uOiBUcmFuc2lmZXhcbiIKIlJlcG9y\ndC1Nc2dpZC1CdWdzLVRvOiBcbiIKIlBPVC1DcmVhdGlvbi1EYXRlOiAyMDE1\nLTAyLTE3IDIwOjEwKzAwMDBcbiIKIlBPLVJldmlzaW9uLURhdGU6IDIwMTMt\nMTAtMjIgMTA6NTcrMDAwMFxuIgoiTGFzdC1UcmFuc2xhdG9yOiBJbGlhcy1E\naW1pdHJpb3MgVnJhY2huaXNcbiIKIkxhbmd1YWdlLVRlYW06IExBTkdVQUdF\nIDxMTEBsaS5vcmc+XG4iCiJMYW5ndWFnZTogZW5cbiIKIk1JTUUtVmVyc2lv\nbjogMS4wXG4iCiJDb250ZW50LVR5cGU6IHRleHQvcGxhaW47IGNoYXJzZXQ9\nVVRGLThcbiIKIkNvbnRlbnQtVHJhbnNmZXItRW5jb2Rpbmc6IDhiaXRcbiIK\nIlBsdXJhbC1Gb3JtczogbnBsdXJhbHM9MjsgcGx1cmFsPShuICE9IDEpO1xu\nIgptc2dpZCAiT25lIgptc2dzdHIgIk9uZSIKbXNnaWQgIlR3byIKbXNnc3Ry\nICJUd28iCm1zZ2lkICJUaHJlZSIKbXNnc3RyICJUaHJlZSIKbXNnaWQgIkZv\ndXIiCm1zZ3N0ciAiRm91ciIKbXNnaWQgIkZpdmUiCm1zZ3N0ciAiRml2ZSIK\nbXNnaWQgIlNpeCIKbXNnc3RyICJTaXgiCm1zZ2lkICJTZXZlbiIKbXNnc3Ry\nICJTZXZlbiIKbXNnaWQgIkVpZ2h0Igptc2dzdHIgIkVpZ2h0Igptc2dpZCAi\nTmluZSIKbXNnc3RyICJOaW5lIgptc2dpZCAiVGVuIgptc2dzdHIgIlRlbiIK\n","encoding":"base64","_links":{"self":"https://api.github.com/repos/txgh-bot/txgh-test-resources/contents/sample.po?ref=heads/master","git":"https://api.github.com/repos/txgh-bot/txgh-test-resources/git/blobs/a93e31a00137e0bd23db5bc7720568f8e908b2b6","html":"https://github.com/txgh-bot/txgh-test-resources/blob/heads/master/sample.po"}}'
78
- http_version:
79
- recorded_at: Tue, 04 Oct 2016 21:42:32 GMT
83
+ string: '{"file_name":"en.yml","file_path":"config/locales/en.yml","size":171,"encoding":"base64","content_sha256":"c97a60f63c623c758a7138c150f1c9753d1726bbd88813d2f2b50c298a8b3a52","ref":"master","blob_id":"cbaa99dcf14f0ff8b50422925fd7f6955a112f23","commit_id":"b85b0a277fcf7818d880f3fe67afc8fea04572c2","last_commit_id":"f4db8ab452d257ad974dcfa35fa3e2228374fda6","content":"ZW46CiAgdGVzdDogdGVzdAogIHRlc3QyOiB0ZXN0MgogIHRlc3QzOiB0ZXN0MwogIHRlc3Q0OiB0ZXN0NAogIHRlc3Q1OiB0ZXN0NQogIHRlc3Q2OiB0ZXN0NgogIHRlc3Q3OiB0ZXN0NwogIHRlc3Q4OiB0ZXN0OAogIHRlc3Q5OiB0ZXN0OQogIHRlc3QxMDogdGVzdDEwCiAgdGVzdDExOiB0ZXN0MTEK"}'
84
+ http_version:
85
+ recorded_at: Thu, 26 Mar 2020 18:56:27 GMT
80
86
  - request:
81
87
  method: get
82
- uri: https://txgh.bot:<TRANSIFEX_PASSWORD>@www.transifex.com/api/2/project/test-project-88/resource/samplepo-heads_master/
88
+ uri: https://www.transifex.com/api/2/project/txgl-test/resource/enyml-heads_master/
83
89
  body:
84
90
  encoding: US-ASCII
85
91
  string: ''
86
92
  headers:
87
93
  User-Agent:
88
- - Faraday v0.9.2
94
+ - Faraday v0.17.3
95
+ Authorization:
96
+ - Basic AUTH
89
97
  Accept:
90
98
  - application/json
91
99
  Accept-Encoding:
@@ -97,45 +105,48 @@ http_interactions:
97
105
  headers:
98
106
  Server:
99
107
  - nginx
100
- Date:
101
- - Tue, 04 Oct 2016 21:42:32 GMT
108
+ Vary:
109
+ - Accept-Encoding
110
+ - Authorization, Host, Accept-Language, Cookie
111
+ Cache-Control:
112
+ - no-cache, no-store, must-revalidate, max-age=0
102
113
  Content-Type:
103
114
  - application/json; charset=utf-8
115
+ Date:
116
+ - Thu, 26 Mar 2020 18:56:28 GMT
117
+ Expires:
118
+ - Thu, 26 Mar 2020 18:56:28 GMT
104
119
  Transfer-Encoding:
105
120
  - chunked
106
- Connection:
107
- - keep-alive
108
- Vary:
109
- - Accept-Encoding
110
- - Authorization, Host, Accept-Language, Cookie
111
121
  Content-Language:
112
122
  - en
113
- Expires:
114
- - Tue, 04 Oct 2016 21:42:32 GMT
115
- Last-Modified:
116
- - Tue, 04 Oct 2016 21:42:32 GMT
117
- Cache-Control:
118
- - max-age=0
119
- X-Frame-Options:
120
- - SAMEORIGIN
121
123
  X-Content-Type-Options:
122
124
  - nosniff
125
+ Connection:
126
+ - keep-alive
127
+ Set-Cookie:
128
+ - X-Mapping-fjhppofk=A44BEC4CD0B51682CDC2AA3E9CCFDDF4; path=/
129
+ X-Frame-Options:
130
+ - SAMEORIGIN
123
131
  body:
124
- encoding: UTF-8
125
- string: "{\n \"source_language_code\": \"en\", \n \"name\": \"sample.po\",
126
- \n \"i18n_type\": \"PO\", \n \"priority\": \"1\", \n \"slug\": \"samplepo-heads_master\",
127
- \n \"categories\": [\n \"\"\n ]\n}"
128
- http_version:
129
- recorded_at: Tue, 04 Oct 2016 21:42:32 GMT
132
+ encoding: ASCII-8BIT
133
+ string: "{\n \"source_language_code\": \"en\", \n \"name\": \"config/locales/en.yml
134
+ (heads/master)\", \n \"i18n_type\": \"YAML_GENERIC\", \n \"priority\":
135
+ \"0\", \n \"slug\": \"enyml-heads_master\", \n \"categories\": [\n \"branch:heads/master\",
136
+ \n \"author:Ivan_Danci\"\n ], \n \"metadata\": []\n}"
137
+ http_version:
138
+ recorded_at: Thu, 26 Mar 2020 18:56:28 GMT
130
139
  - request:
131
140
  method: get
132
- uri: https://txgh.bot:<TRANSIFEX_PASSWORD>@www.transifex.com/api/2/project/test-project-88/resource/samplepo-heads_master/
141
+ uri: https://www.transifex.com/api/2/project/txgl-test/resource/enyml-heads_master/
133
142
  body:
134
143
  encoding: US-ASCII
135
144
  string: ''
136
145
  headers:
137
146
  User-Agent:
138
- - Faraday v0.9.2
147
+ - Faraday v0.17.3
148
+ Authorization:
149
+ - Basic AUTH
139
150
  Accept:
140
151
  - application/json
141
152
  Accept-Encoding:
@@ -147,45 +158,48 @@ http_interactions:
147
158
  headers:
148
159
  Server:
149
160
  - nginx
150
- Date:
151
- - Tue, 04 Oct 2016 21:42:33 GMT
161
+ Vary:
162
+ - Accept-Encoding
163
+ - Authorization, Host, Accept-Language, Cookie
164
+ Cache-Control:
165
+ - no-cache, no-store, must-revalidate, max-age=0
152
166
  Content-Type:
153
167
  - application/json; charset=utf-8
168
+ Date:
169
+ - Thu, 26 Mar 2020 18:56:29 GMT
170
+ Expires:
171
+ - Thu, 26 Mar 2020 18:56:29 GMT
154
172
  Transfer-Encoding:
155
173
  - chunked
156
- Connection:
157
- - keep-alive
158
- Vary:
159
- - Accept-Encoding
160
- - Authorization, Host, Accept-Language, Cookie
161
174
  Content-Language:
162
175
  - en
163
- Expires:
164
- - Tue, 04 Oct 2016 21:42:33 GMT
165
- Last-Modified:
166
- - Tue, 04 Oct 2016 21:42:33 GMT
167
- Cache-Control:
168
- - max-age=0
169
- X-Frame-Options:
170
- - SAMEORIGIN
171
176
  X-Content-Type-Options:
172
177
  - nosniff
178
+ Connection:
179
+ - keep-alive
180
+ Set-Cookie:
181
+ - X-Mapping-fjhppofk=2F71BA404CBE394603A72279804CAC7D; path=/
182
+ X-Frame-Options:
183
+ - SAMEORIGIN
173
184
  body:
174
- encoding: UTF-8
175
- string: "{\n \"source_language_code\": \"en\", \n \"name\": \"sample.po\",
176
- \n \"i18n_type\": \"PO\", \n \"priority\": \"1\", \n \"slug\": \"samplepo-heads_master\",
177
- \n \"categories\": [\n \"\"\n ]\n}"
178
- http_version:
179
- recorded_at: Tue, 04 Oct 2016 21:42:33 GMT
185
+ encoding: ASCII-8BIT
186
+ string: "{\n \"source_language_code\": \"en\", \n \"name\": \"config/locales/en.yml
187
+ (heads/master)\", \n \"i18n_type\": \"YAML_GENERIC\", \n \"priority\":
188
+ \"0\", \n \"slug\": \"enyml-heads_master\", \n \"categories\": [\n \"branch:heads/master\",
189
+ \n \"author:Ivan_Danci\"\n ], \n \"metadata\": []\n}"
190
+ http_version:
191
+ recorded_at: Thu, 26 Mar 2020 18:56:29 GMT
180
192
  - request:
181
193
  method: put
182
- uri: https://txgh.bot:<TRANSIFEX_PASSWORD>@www.transifex.com/api/2/project/test-project-88/resource/samplepo-heads_master/
194
+ uri: https://www.transifex.com/api/2/project/txgl-test/resource/enyml-heads_master/
183
195
  body:
184
196
  encoding: UTF-8
185
- string: '{"categories":[""]}'
197
+ string: '{"categories":["branch:heads/master","author:Ivan_Danci"]}'
186
198
  headers:
187
199
  User-Agent:
188
- - Faraday v0.9.2
200
+ - Faraday v0.17.3
201
+ Authorization:
202
+ - Basic AUTH
189
203
  Accept:
190
204
  - application/json
191
205
  Content-Type:
@@ -199,62 +213,55 @@ http_interactions:
199
213
  headers:
200
214
  Server:
201
215
  - nginx
202
- Date:
203
- - Tue, 04 Oct 2016 21:42:34 GMT
204
- Content-Type:
205
- - text/plain
206
- Transfer-Encoding:
207
- - chunked
208
- Connection:
209
- - keep-alive
210
216
  Vary:
211
- - Accept-Encoding
212
217
  - Authorization, Host, Accept-Language, Cookie
218
+ Cache-Control:
219
+ - no-cache, no-store, must-revalidate, max-age=0
220
+ Content-Type:
221
+ - text/plain
222
+ Date:
223
+ - Thu, 26 Mar 2020 18:56:29 GMT
224
+ Expires:
225
+ - Thu, 26 Mar 2020 18:56:29 GMT
213
226
  Content-Language:
214
227
  - en
215
- Expires:
216
- - Tue, 04 Oct 2016 21:42:34 GMT
217
- Last-Modified:
218
- - Tue, 04 Oct 2016 21:42:34 GMT
219
- Cache-Control:
220
- - max-age=0
221
- X-Frame-Options:
222
- - SAMEORIGIN
223
228
  X-Content-Type-Options:
224
229
  - nosniff
230
+ Connection:
231
+ - keep-alive
232
+ Set-Cookie:
233
+ - X-Mapping-fjhppofk=A44BEC4CD0B51682CDC2AA3E9CCFDDF4; path=/
234
+ X-Frame-Options:
235
+ - SAMEORIGIN
236
+ Content-Length:
237
+ - '2'
225
238
  body:
226
239
  encoding: UTF-8
227
240
  string: OK
228
- http_version:
229
- recorded_at: Tue, 04 Oct 2016 21:42:34 GMT
241
+ http_version:
242
+ recorded_at: Thu, 26 Mar 2020 18:56:29 GMT
230
243
  - request:
231
244
  method: put
232
- uri: https://txgh.bot:<TRANSIFEX_PASSWORD>@www.transifex.com/api/2/project/test-project-88/resource/samplepo-heads_master/content/
245
+ uri: https://www.transifex.com/api/2/project/txgl-test/resource/enyml-heads_master/content/
233
246
  body:
234
247
  encoding: UTF-8
235
- string: "-------------RubyMultipartPost\r\nContent-Disposition: form-data; name=\"content\";
236
- filename=\"sample.po\"\r\nContent-Length: 855\r\nContent-Type: application/octet-stream\r\nContent-Transfer-Encoding:
237
- binary\r\n\r\n# Translation file for Transifex.\n# Copyright (C) 2007-2010
238
- Indifex Ltd.\n# This file is distributed under the same license as the Transifex
239
- package.\n#\n# Translators:\nmsgid \"\"\nmsgstr \"\"\n\"Project-Id-Version:
240
- Transifex\\n\"\n\"Report-Msgid-Bugs-To: \\n\"\n\"POT-Creation-Date: 2015-02-17
241
- 20:10+0000\\n\"\n\"PO-Revision-Date: 2013-10-22 10:57+0000\\n\"\n\"Last-Translator:
242
- Ilias-Dimitrios Vrachnis\\n\"\n\"Language-Team: LANGUAGE <LL@li.org>\\n\"\n\"Language:
243
- en\\n\"\n\"MIME-Version: 1.0\\n\"\n\"Content-Type: text/plain; charset=UTF-8\\n\"\n\"Content-Transfer-Encoding:
244
- 8bit\\n\"\n\"Plural-Forms: nplurals=2; plural=(n != 1);\\n\"\nmsgid \"One\"\nmsgstr
245
- \"One\"\nmsgid \"Two\"\nmsgstr \"Two\"\nmsgid \"Three\"\nmsgstr \"Three\"\nmsgid
246
- \"Four\"\nmsgstr \"Four\"\nmsgid \"Five\"\nmsgstr \"Five\"\nmsgid \"Six\"\nmsgstr
247
- \"Six\"\nmsgid \"Seven\"\nmsgstr \"Seven\"\nmsgid \"Eight\"\nmsgstr \"Eight\"\nmsgid
248
- \"Nine\"\nmsgstr \"Nine\"\nmsgid \"Ten\"\nmsgstr \"Ten\"\n\r\n-------------RubyMultipartPost--\r\n\r\n"
248
+ string: "-------------RubyMultipartPost-d44360acb0b72ed23730a3d9f86add0f\r\nContent-Disposition:
249
+ form-data; name=\"content\"; filename=\"en.yml\"\r\nContent-Length: 171\r\nContent-Type:
250
+ application/octet-stream\r\nContent-Transfer-Encoding: binary\r\n\r\nen:\n
251
+ \ test: test\n test2: test2\n test3: test3\n test4: test4\n test5: test5\n
252
+ \ test6: test6\n test7: test7\n test8: test8\n test9: test9\n test10:
253
+ test10\n test11: test11\n\r\n-------------RubyMultipartPost-d44360acb0b72ed23730a3d9f86add0f--\r\n"
249
254
  headers:
250
255
  User-Agent:
251
- - Faraday v0.9.2
256
+ - Faraday v0.17.3
257
+ Authorization:
258
+ - Basic AUTH
252
259
  Accept:
253
260
  - application/json
254
261
  Content-Type:
255
- - multipart/form-data; boundary=-----------RubyMultipartPost
262
+ - multipart/form-data; boundary=-----------RubyMultipartPost-d44360acb0b72ed23730a3d9f86add0f
256
263
  Content-Length:
257
- - '1093'
264
+ - '470'
258
265
  Accept-Encoding:
259
266
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
260
267
  response:
@@ -264,44 +271,45 @@ http_interactions:
264
271
  headers:
265
272
  Server:
266
273
  - nginx
267
- Date:
268
- - Tue, 04 Oct 2016 21:42:35 GMT
269
- Content-Type:
270
- - application/json; charset=utf-8
271
- Transfer-Encoding:
272
- - chunked
273
- Connection:
274
- - keep-alive
275
274
  Vary:
276
- - Accept-Encoding
277
275
  - Authorization, Host, Accept-Language, Cookie
276
+ Cache-Control:
277
+ - no-cache, no-store, must-revalidate, max-age=0
278
+ Content-Type:
279
+ - application/json
280
+ Date:
281
+ - Thu, 26 Mar 2020 18:56:30 GMT
282
+ Expires:
283
+ - Thu, 26 Mar 2020 18:56:30 GMT
278
284
  Content-Language:
279
285
  - en
280
- Expires:
281
- - Tue, 04 Oct 2016 21:42:35 GMT
282
- Last-Modified:
283
- - Tue, 04 Oct 2016 21:42:35 GMT
284
- Cache-Control:
285
- - max-age=0
286
- X-Frame-Options:
287
- - SAMEORIGIN
288
286
  X-Content-Type-Options:
289
287
  - nosniff
288
+ Connection:
289
+ - keep-alive
290
+ Set-Cookie:
291
+ - X-Mapping-fjhppofk=2F71BA404CBE394603A72279804CAC7D; path=/
292
+ X-Frame-Options:
293
+ - SAMEORIGIN
294
+ Content-Length:
295
+ - '120'
290
296
  body:
291
297
  encoding: UTF-8
292
- string: "{\n \"strings_added\": 0, \n \"strings_updated\": 0, \n \"strings_delete\":
293
- 0, \n \"redirect\": \"/txgh-test/test-project-88/samplepo-heads_master/\"\n}"
294
- http_version:
295
- recorded_at: Tue, 04 Oct 2016 21:42:35 GMT
298
+ string: '{"strings_added": 0, "strings_updated": 0, "strings_delete": 0, "redirect":
299
+ "/lumos-labs/txgl-test/enyml-heads_master/"}'
300
+ http_version:
301
+ recorded_at: Thu, 26 Mar 2020 18:56:30 GMT
296
302
  - request:
297
303
  method: get
298
- uri: https://txgh.bot:<TRANSIFEX_PASSWORD>@www.transifex.com/api/2/project/test-project-88/resources/
304
+ uri: https://www.transifex.com/api/2/project/txgl-test/resources/
299
305
  body:
300
306
  encoding: US-ASCII
301
307
  string: ''
302
308
  headers:
303
309
  User-Agent:
304
- - Faraday v0.9.2
310
+ - Faraday v0.17.3
311
+ Authorization:
312
+ - Basic AUTH
305
313
  Accept:
306
314
  - application/json
307
315
  Accept-Encoding:
@@ -313,136 +321,121 @@ http_interactions:
313
321
  headers:
314
322
  Server:
315
323
  - nginx
316
- Date:
317
- - Tue, 04 Oct 2016 21:42:35 GMT
324
+ Vary:
325
+ - Accept-Encoding
326
+ - Authorization, Host, Accept-Language, Cookie
327
+ Cache-Control:
328
+ - no-cache, no-store, must-revalidate, max-age=0
318
329
  Content-Type:
319
330
  - application/json; charset=utf-8
331
+ Date:
332
+ - Thu, 26 Mar 2020 18:56:30 GMT
333
+ Expires:
334
+ - Thu, 26 Mar 2020 18:56:30 GMT
320
335
  Transfer-Encoding:
321
336
  - chunked
322
- Connection:
323
- - keep-alive
324
- Vary:
325
- - Accept-Encoding
326
- - Authorization, Host, Accept-Language, Cookie
327
337
  Content-Language:
328
338
  - en
329
- Expires:
330
- - Tue, 04 Oct 2016 21:42:35 GMT
331
- Last-Modified:
332
- - Tue, 04 Oct 2016 21:42:35 GMT
333
- Cache-Control:
334
- - max-age=0
335
- X-Frame-Options:
336
- - SAMEORIGIN
337
339
  X-Content-Type-Options:
338
340
  - nosniff
341
+ Connection:
342
+ - keep-alive
343
+ Set-Cookie:
344
+ - X-Mapping-fjhppofk=A44BEC4CD0B51682CDC2AA3E9CCFDDF4; path=/
345
+ X-Frame-Options:
346
+ - SAMEORIGIN
339
347
  body:
340
- encoding: UTF-8
348
+ encoding: ASCII-8BIT
341
349
  string: "[\n {\n \"source_language_code\": \"en\", \n \"name\":
342
- \"sample.po\", \n \"i18n_type\": \"PO\", \n \"priority\": \"1\",
343
- \n \"slug\": \"samplepo-heads_master\", \n \"categories\": [\n
344
- \ \"\"\n ]\n }, \n {\n \"source_language_code\":
345
- \"en\", \n \"name\": \"sample.po\", \n \"i18n_type\": \"PO\",
346
- \n \"priority\": \"0\", \n \"slug\": \"samplepo\", \n \"categories\":
347
- [\n \"branch:refs/tags/L10N\", \n \"author:Txgh Bot\"\n
348
- \ ]\n }, \n {\n \"source_language_code\": \"en\", \n \"name\":
349
- \"test.yml\", \n \"i18n_type\": \"YML\", \n \"priority\": \"1\",
350
- \n \"slug\": \"testyml-heads_change_some_shizz\", \n \"categories\":
351
- [\n \"author:Cameron_Dutro branch:heads/change_some_shizz\"\n ]\n
352
- \ }, \n {\n \"source_language_code\": \"en\", \n \"name\":
353
- \"test.yml\", \n \"i18n_type\": \"YML\", \n \"priority\": \"0\",
354
- \n \"slug\": \"testyml-heads_master\", \n \"categories\": [\n
355
- \ \"branch:heads/master\"\n ]\n }\n]"
356
- http_version:
357
- recorded_at: Tue, 04 Oct 2016 21:42:36 GMT
350
+ \"config/locales/en.yml (heads/master)\", \n \"i18n_type\": \"YAML_GENERIC\",
351
+ \n \"priority\": \"0\", \n \"slug\": \"enyml-heads_master\",
352
+ \n \"categories\": [\n \"branch:heads/master\", \n \"author:Ivan_Danci\"\n
353
+ \ ], \n \"metadata\": []\n }, \n {\n \"source_language_code\":
354
+ \"en\", \n \"name\": \"config/locales/en.yml (heads/test_hook)\", \n
355
+ \ \"i18n_type\": \"YML\", \n \"priority\": \"1\", \n \"slug\":
356
+ \"enyml-heads_test_hook\", \n \"categories\": [\n \"author:Ivan_Danci
357
+ branch:heads/test_hook\"\n ], \n \"metadata\": []\n }\n]"
358
+ http_version:
359
+ recorded_at: Thu, 26 Mar 2020 18:56:30 GMT
358
360
  - request:
359
361
  method: get
360
- uri: https://api.github.com/repos/txgh-bot/txgh-test-resources/git/refs/heads/master
362
+ uri: https://gitlab.com/api/v4/projects/idanci%2Ftxgl-test/repository/commits/master
361
363
  body:
362
364
  encoding: US-ASCII
363
365
  string: ''
364
366
  headers:
365
367
  Accept:
366
- - application/vnd.github.v3+json
367
- User-Agent:
368
- - Octokit Ruby Gem 4.3.0
369
- Content-Type:
370
368
  - application/json
371
- Authorization:
372
- - token <GITHUB_TOKEN>
373
- Accept-Encoding:
374
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
369
+ Content-Type:
370
+ - application/x-www-form-urlencoded
371
+ User-Agent:
372
+ - Gitlab Ruby Gem 4.14.1
373
+ Private-Token:
374
+ - "<GITHUB_TOKEN>"
375
375
  response:
376
376
  status:
377
377
  code: 200
378
378
  message: OK
379
379
  headers:
380
380
  Server:
381
- - GitHub.com
381
+ - nginx
382
382
  Date:
383
- - Tue, 04 Oct 2016 21:42:36 GMT
383
+ - Thu, 26 Mar 2020 18:56:31 GMT
384
384
  Content-Type:
385
- - application/json; charset=utf-8
386
- Transfer-Encoding:
387
- - chunked
388
- Status:
389
- - 200 OK
390
- X-Ratelimit-Limit:
391
- - '5000'
392
- X-Ratelimit-Remaining:
393
- - '4996'
394
- X-Ratelimit-Reset:
395
- - '1475620950'
385
+ - application/json
386
+ Content-Length:
387
+ - '981'
396
388
  Cache-Control:
397
- - private, max-age=60, s-maxage=60
398
- Vary:
399
- - Accept, Authorization, Cookie, X-GitHub-OTP
400
- - Accept-Encoding
389
+ - max-age=0, private, must-revalidate
401
390
  Etag:
402
- - W/"a5fe675407899fa4460005cce07b9fe2"
403
- Last-Modified:
404
- - Mon, 11 Jan 2016 23:45:43 GMT
405
- X-Poll-Interval:
406
- - '300'
407
- X-Oauth-Scopes:
408
- - public_repo
409
- X-Accepted-Oauth-Scopes:
410
- - ''
411
- X-Github-Media-Type:
412
- - github.v3; format=json
413
- Access-Control-Expose-Headers:
414
- - ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset,
415
- X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
416
- Access-Control-Allow-Origin:
417
- - "*"
418
- Content-Security-Policy:
419
- - default-src 'none'
420
- Strict-Transport-Security:
421
- - max-age=31536000; includeSubdomains; preload
391
+ - W/"22996df3cf5683f295021cdaa741b3cd"
392
+ Vary:
393
+ - Origin
422
394
  X-Content-Type-Options:
423
395
  - nosniff
424
396
  X-Frame-Options:
425
- - deny
426
- X-Xss-Protection:
427
- - 1; mode=block
428
- X-Served-By:
429
- - d0b3c2c33a23690498aa8e70a435a259
430
- X-Github-Request-Id:
431
- - 04358C36:681B:440871C:57F4224C
397
+ - SAMEORIGIN
398
+ X-Request-Id:
399
+ - 9ASs4U0T7t3
400
+ X-Runtime:
401
+ - '0.055454'
402
+ Strict-Transport-Security:
403
+ - max-age=31536000
404
+ Referrer-Policy:
405
+ - strict-origin-when-cross-origin
406
+ Ratelimit-Limit:
407
+ - '600'
408
+ Ratelimit-Observed:
409
+ - '4'
410
+ Ratelimit-Remaining:
411
+ - '596'
412
+ Ratelimit-Reset:
413
+ - '1585249051'
414
+ Ratelimit-Resettime:
415
+ - Thu, 26 Mar 2020 18:57:31 GMT
416
+ Gitlab-Lb:
417
+ - fe-08-lb-gprd
418
+ Gitlab-Sv:
419
+ - localhost
432
420
  body:
433
421
  encoding: UTF-8
434
- 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"}}'
435
- http_version:
436
- recorded_at: Tue, 04 Oct 2016 21:42:36 GMT
422
+ string: '{"id":"b85b0a277fcf7818d880f3fe67afc8fea04572c2","short_id":"b85b0a27","created_at":"2020-03-26T18:06:25.000+00:00","parent_ids":["749c760c4d7b630d28e32f9fc1e021a70bfd4779"],"title":"Updating
423
+ de translations in config/locales/de.yml","message":"Updating de translations
424
+ 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
425
+ 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":"failed","project_id":17514841,"last_pipeline":{"id":130120496,"sha":"b85b0a277fcf7818d880f3fe67afc8fea04572c2","ref":"master","status":"failed","created_at":"2020-03-26T18:06:29.999Z","updated_at":"2020-03-26T18:56:06.184Z","web_url":"https://gitlab.com/idanci/txgl-test/pipelines/130120496"}}'
426
+ http_version:
427
+ recorded_at: Thu, 26 Mar 2020 18:56:31 GMT
437
428
  - request:
438
429
  method: get
439
- uri: https://txgh.bot:<TRANSIFEX_PASSWORD>@www.transifex.com/api/2/project/test-project-88/resource/samplepo/stats/
430
+ uri: https://www.transifex.com/api/2/project/txgl-test/resource/enyml-heads_master/stats/
440
431
  body:
441
432
  encoding: US-ASCII
442
433
  string: ''
443
434
  headers:
444
435
  User-Agent:
445
- - Faraday v0.9.2
436
+ - Faraday v0.17.3
437
+ Authorization:
438
+ - Basic AUTH
446
439
  Accept:
447
440
  - application/json
448
441
  Accept-Encoding:
@@ -454,124 +447,110 @@ http_interactions:
454
447
  headers:
455
448
  Server:
456
449
  - nginx
457
- Date:
458
- - Tue, 04 Oct 2016 21:42:36 GMT
450
+ Vary:
451
+ - Accept-Encoding
452
+ - Authorization, Host, Accept-Language, Cookie
453
+ Cache-Control:
454
+ - no-cache, no-store, must-revalidate, max-age=0
459
455
  Content-Type:
460
456
  - application/json; charset=utf-8
457
+ Date:
458
+ - Thu, 26 Mar 2020 18:56:32 GMT
459
+ Expires:
460
+ - Thu, 26 Mar 2020 18:56:32 GMT
461
461
  Transfer-Encoding:
462
462
  - chunked
463
- Connection:
464
- - keep-alive
465
- Vary:
466
- - Accept-Encoding
467
- - Authorization, Host, Accept-Language, Cookie
468
463
  Content-Language:
469
464
  - en
470
- Expires:
471
- - Tue, 04 Oct 2016 21:42:36 GMT
472
- Last-Modified:
473
- - Tue, 04 Oct 2016 21:42:36 GMT
474
- Cache-Control:
475
- - max-age=0
476
- X-Frame-Options:
477
- - SAMEORIGIN
478
465
  X-Content-Type-Options:
479
466
  - nosniff
467
+ Connection:
468
+ - keep-alive
469
+ Set-Cookie:
470
+ - X-Mapping-fjhppofk=371E5B112B2394FA3017E8BE0809059C; path=/
471
+ X-Frame-Options:
472
+ - SAMEORIGIN
480
473
  body:
481
- encoding: UTF-8
482
- string: "{\n \"el_GR\": {\n \"reviewed_percentage\": \"0%\", \n \"completed\":
483
- \"0%\", \n \"untranslated_words\": 10, \n \"last_commiter\":
484
- \"\", \n \"reviewed\": 0, \n \"translated_entities\": 0, \n
485
- \ \"translated_words\": 0, \n \"last_update\": \"2016-01-19 19:08:25\",
486
- \n \"untranslated_entities\": 10\n }, \n \"ru\": {\n \"reviewed_percentage\":
487
- \"0%\", \n \"completed\": \"0%\", \n \"untranslated_words\":
488
- 10, \n \"last_commiter\": \"txgh.bot\", \n \"reviewed\": 0,
489
- \n \"translated_entities\": 0, \n \"translated_words\": 0, \n
490
- \ \"last_update\": \"2016-04-01 05:36:37\", \n \"untranslated_entities\":
491
- 10\n }, \n \"en\": {\n \"reviewed_percentage\": \"0%\", \n \"completed\":
492
- \"100%\", \n \"untranslated_words\": 0, \n \"last_commiter\":
493
- \"txgh.bot\", \n \"reviewed\": 0, \n \"translated_entities\":
494
- 10, \n \"translated_words\": 10, \n \"last_update\": \"2016-01-19
495
- 19:08:25\", \n \"untranslated_entities\": 0\n }\n}"
496
- http_version:
497
- recorded_at: Tue, 04 Oct 2016 21:42:36 GMT
474
+ encoding: ASCII-8BIT
475
+ string: "{\n \"de\": {\n \"proofread\": 0, \n \"proofread_percentage\":
476
+ \"0%\", \n \"reviewed_percentage\": \"90%\", \n \"completed\":
477
+ \"90%\", \n \"untranslated_words\": 1, \n \"last_commiter\":
478
+ \"txgh.user\", \n \"reviewed\": 10, \n \"translated_entities\":
479
+ 10, \n \"translated_words\": 10, \n \"last_update\": \"2020-03-23
480
+ 13:49:42\", \n \"untranslated_entities\": 1\n }, \n \"en\": {\n
481
+ \ \"proofread\": 0, \n \"proofread_percentage\": \"0%\", \n \"reviewed_percentage\":
482
+ \"0%\", \n \"completed\": \"100%\", \n \"untranslated_words\":
483
+ 0, \n \"last_commiter\": \"txgh.user\", \n \"reviewed\": 0,
484
+ \n \"translated_entities\": 11, \n \"translated_words\": 11,
485
+ \n \"last_update\": \"2020-03-23 13:49:42\", \n \"untranslated_entities\":
486
+ 0\n }\n}"
487
+ http_version:
488
+ recorded_at: Thu, 26 Mar 2020 18:56:32 GMT
498
489
  - request:
499
490
  method: post
500
- uri: https://api.github.com/repos/txgh-bot/txgh-test-resources/statuses/f3edb21f027b70974750649ba29b0090e410ecde
491
+ 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
501
492
  body:
502
493
  encoding: UTF-8
503
- string: '{"context":"continuous-localization/txgh","target_url":"https://www.transifex.com//test-project-88/content","description":"10/30
504
- translations complete.","state":"pending"}'
494
+ string: ''
505
495
  headers:
506
496
  Accept:
507
- - application/vnd.github.v3+json
508
- User-Agent:
509
- - Octokit Ruby Gem 4.3.0
510
- Content-Type:
511
497
  - application/json
512
- Authorization:
513
- - token <GITHUB_TOKEN>
514
- Accept-Encoding:
515
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
498
+ Content-Type:
499
+ - application/x-www-form-urlencoded
500
+ User-Agent:
501
+ - Gitlab Ruby Gem 4.14.1
502
+ Private-Token:
503
+ - "<GITHUB_TOKEN>"
516
504
  response:
517
505
  status:
518
506
  code: 201
519
507
  message: Created
520
508
  headers:
521
509
  Server:
522
- - GitHub.com
510
+ - nginx
523
511
  Date:
524
- - Tue, 04 Oct 2016 21:42:37 GMT
512
+ - Thu, 26 Mar 2020 18:56:33 GMT
525
513
  Content-Type:
526
- - application/json; charset=utf-8
514
+ - application/json
527
515
  Content-Length:
528
- - '1259'
529
- Status:
530
- - 201 Created
531
- X-Ratelimit-Limit:
532
- - '5000'
533
- X-Ratelimit-Remaining:
534
- - '4995'
535
- X-Ratelimit-Reset:
536
- - '1475620950'
516
+ - '590'
537
517
  Cache-Control:
538
- - private, max-age=60, s-maxage=60
539
- Vary:
540
- - Accept, Authorization, Cookie, X-GitHub-OTP
541
- - Accept-Encoding
518
+ - max-age=0, private, must-revalidate
542
519
  Etag:
543
- - '"6483028daa3a954b7246a97a01b90f7f"'
544
- X-Oauth-Scopes:
545
- - public_repo
546
- X-Accepted-Oauth-Scopes:
547
- - ''
548
- Location:
549
- - https://api.github.com/repos/txgh-bot/txgh-test-resources/statuses/f3edb21f027b70974750649ba29b0090e410ecde
550
- X-Github-Media-Type:
551
- - github.v3; format=json
552
- Access-Control-Expose-Headers:
553
- - ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset,
554
- X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
555
- Access-Control-Allow-Origin:
556
- - "*"
557
- Content-Security-Policy:
558
- - default-src 'none'
559
- Strict-Transport-Security:
560
- - max-age=31536000; includeSubdomains; preload
520
+ - W/"1c61244aebb806d6a83e059de81b63dd"
521
+ Vary:
522
+ - Origin
561
523
  X-Content-Type-Options:
562
524
  - nosniff
563
525
  X-Frame-Options:
564
- - deny
565
- X-Xss-Protection:
566
- - 1; mode=block
567
- X-Served-By:
568
- - 7efb7ae49588ef0269c6a1c1bd3721d9
569
- X-Github-Request-Id:
570
- - 04358C36:6817:11C8CB2:57F4224D
526
+ - SAMEORIGIN
527
+ X-Request-Id:
528
+ - Bs8zxXJ4IX1
529
+ X-Runtime:
530
+ - '0.146140'
531
+ Strict-Transport-Security:
532
+ - max-age=31536000
533
+ Referrer-Policy:
534
+ - strict-origin-when-cross-origin
535
+ Ratelimit-Limit:
536
+ - '600'
537
+ Ratelimit-Observed:
538
+ - '5'
539
+ Ratelimit-Remaining:
540
+ - '595'
541
+ Ratelimit-Reset:
542
+ - '1585249053'
543
+ Ratelimit-Resettime:
544
+ - Thu, 26 Mar 2020 18:57:33 GMT
545
+ Gitlab-Lb:
546
+ - fe-21-lb-gprd
547
+ Gitlab-Sv:
548
+ - localhost
571
549
  body:
572
550
  encoding: UTF-8
573
- string: '{"url":"https://api.github.com/repos/txgh-bot/txgh-test-resources/statuses/f3edb21f027b70974750649ba29b0090e410ecde","id":785751589,"state":"pending","description":"10/30
574
- translations complete.","target_url":"https://www.transifex.com//test-project-88/content","context":"continuous-localization/txgh","created_at":"2016-10-04T21:42:37Z","updated_at":"2016-10-04T21:42:37Z","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}}'
575
- http_version:
576
- recorded_at: Tue, 04 Oct 2016 21:42:37 GMT
551
+ string: '{"id":487338432,"sha":"b85b0a277fcf7818d880f3fe67afc8fea04572c2","ref":"master","status":"pending","name":"continuous-localization/txgh","target_url":"https://www.transifex.com/lumos-labs/txgl-test/content","description":"21/22
552
+ translations complete.","created_at":"2020-03-26T18:56:33.574Z","started_at":null,"finished_at":null,"allow_failure":false,"coverage":null,"author":{"id":745271,"name":"Ivan
553
+ Danci","username":"idanci","state":"active","avatar_url":"https://secure.gravatar.com/avatar/dbda838e9b7bca615829ac151e01f3c0?s=80\u0026d=identicon","web_url":"https://gitlab.com/idanci"}}'
554
+ http_version:
555
+ recorded_at: Thu, 26 Mar 2020 18:56:33 GMT
577
556
  recorded_with: VCR 3.0.3