txgh-server 1.1.0 → 2.0.0
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/integration/cassettes/pull.yml +14 -14
- data/spec/integration/cassettes/push.yml +86 -255
- data/spec/integration/cassettes/transifex_hook_endpoint.yml +17 -17
- data/spec/webhooks/transifex/hook_handler_spec.rb +3 -3
- data/txgh-server.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7e58e68da42392ba7ad13d0bbe7fe8240062a4ca
|
4
|
+
data.tar.gz: 83cb94af972bd003c0fcbe6c57718a4a9b6716f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 212276130dac852ac0083f4070c20beb4824418a1e36f2d2baafd0c210f6fa3a49f819a0f581dd5eb777cd18ae3efbf7cbdf9cb7638ea70f3f22547b79a5adec
|
7
|
+
data.tar.gz: aa3c2d6acccc503f41a5cb1f0faacf5b93ab0aa349f9eb0566562f830df55ff81081ea3542d45b10d2d1b32c5b8bd3e6390612f665cd018ab7ec1f3fda99ec0e
|
data/lib/txgh-server/version.rb
CHANGED
@@ -20,28 +20,28 @@ http_interactions:
|
|
20
20
|
headers:
|
21
21
|
Server:
|
22
22
|
- nginx
|
23
|
-
|
24
|
-
-
|
25
|
-
- Authorization, Host, Accept-Language, Cookie
|
23
|
+
Date:
|
24
|
+
- Wed, 28 Sep 2016 18:33:51 GMT
|
26
25
|
Content-Type:
|
27
26
|
- application/json; charset=utf-8
|
28
|
-
Date:
|
29
|
-
- Fri, 12 Feb 2016 19:48:59 GMT
|
30
27
|
Transfer-Encoding:
|
31
28
|
- chunked
|
32
|
-
Content-Language:
|
33
|
-
- en
|
34
|
-
X-Content-Type-Options:
|
35
|
-
- nosniff
|
36
29
|
Connection:
|
37
30
|
- keep-alive
|
38
|
-
|
39
|
-
-
|
31
|
+
Vary:
|
32
|
+
- Accept-Encoding
|
33
|
+
- Authorization, Host, Accept-Language, Cookie
|
40
34
|
X-Frame-Options:
|
41
35
|
- SAMEORIGIN
|
36
|
+
Content-Language:
|
37
|
+
- en
|
38
|
+
X-Content-Type-Options:
|
39
|
+
- nosniff
|
42
40
|
body:
|
43
41
|
encoding: UTF-8
|
44
|
-
string: "[]
|
42
|
+
string: "[\n {\n \"coordinators\": [\n \"txgh.bot\"\n ],
|
43
|
+
\n \"language_code\": \"el_GR\", \n \"translators\": [], \n
|
44
|
+
\ \"reviewers\": []\n }\n]"
|
45
45
|
http_version:
|
46
|
-
recorded_at:
|
47
|
-
recorded_with: VCR 3.0.
|
46
|
+
recorded_at: Wed, 28 Sep 2016 18:33:51 GMT
|
47
|
+
recorded_with: VCR 3.0.3
|
@@ -10,7 +10,7 @@ http_interactions:
|
|
10
10
|
Accept:
|
11
11
|
- application/vnd.github.v3+json
|
12
12
|
User-Agent:
|
13
|
-
- Octokit Ruby Gem 4.
|
13
|
+
- Octokit Ruby Gem 4.3.0
|
14
14
|
Content-Type:
|
15
15
|
- application/json
|
16
16
|
Authorization:
|
@@ -25,7 +25,7 @@ http_interactions:
|
|
25
25
|
Server:
|
26
26
|
- GitHub.com
|
27
27
|
Date:
|
28
|
-
-
|
28
|
+
- Wed, 28 Sep 2016 18:33:51 GMT
|
29
29
|
Content-Type:
|
30
30
|
- application/json; charset=utf-8
|
31
31
|
Transfer-Encoding:
|
@@ -35,107 +35,26 @@ http_interactions:
|
|
35
35
|
X-Ratelimit-Limit:
|
36
36
|
- '5000'
|
37
37
|
X-Ratelimit-Remaining:
|
38
|
-
- '
|
38
|
+
- '4995'
|
39
39
|
X-Ratelimit-Reset:
|
40
|
-
- '
|
40
|
+
- '1475091178'
|
41
41
|
Cache-Control:
|
42
42
|
- private, max-age=60, s-maxage=60
|
43
|
-
Last-Modified:
|
44
|
-
- Mon, 11 Jan 2016 23:45:43 GMT
|
45
|
-
Etag:
|
46
|
-
- W/"2c789545a86986f3dbe3ca967407cb88"
|
47
|
-
X-Poll-Interval:
|
48
|
-
- '300'
|
49
|
-
X-Oauth-Scopes:
|
50
|
-
- public_repo
|
51
|
-
X-Accepted-Oauth-Scopes:
|
52
|
-
- ''
|
53
43
|
Vary:
|
54
44
|
- Accept, Authorization, Cookie, X-GitHub-OTP
|
55
45
|
- Accept-Encoding
|
56
|
-
X-Github-Media-Type:
|
57
|
-
- github.v3; format=json
|
58
|
-
Access-Control-Allow-Credentials:
|
59
|
-
- 'true'
|
60
|
-
Access-Control-Expose-Headers:
|
61
|
-
- ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset,
|
62
|
-
X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
|
63
|
-
Access-Control-Allow-Origin:
|
64
|
-
- "*"
|
65
|
-
Content-Security-Policy:
|
66
|
-
- default-src 'none'
|
67
|
-
Strict-Transport-Security:
|
68
|
-
- max-age=31536000; includeSubdomains; preload
|
69
|
-
X-Content-Type-Options:
|
70
|
-
- nosniff
|
71
|
-
X-Frame-Options:
|
72
|
-
- deny
|
73
|
-
X-Xss-Protection:
|
74
|
-
- 1; mode=block
|
75
|
-
X-Served-By:
|
76
|
-
- 318e55760cf7cdb40e61175a4d36cd32
|
77
|
-
X-Github-Request-Id:
|
78
|
-
- 04358C36:14596:F629B21:56BE372C
|
79
|
-
body:
|
80
|
-
encoding: UTF-8
|
81
|
-
string: '{"ref":"refs/heads/master","url":"https://api.github.com/repos/txgh-bot/txgh-test-resources/git/refs/heads/master","object":{"sha":"e411b627bdb8884f66748d48fcd9576f61992085","type":"commit","url":"https://api.github.com/repos/txgh-bot/txgh-test-resources/git/commits/e411b627bdb8884f66748d48fcd9576f61992085"}}'
|
82
|
-
http_version:
|
83
|
-
recorded_at: Fri, 12 Feb 2016 19:49:00 GMT
|
84
|
-
- request:
|
85
|
-
method: get
|
86
|
-
uri: https://api.github.com/repos/txgh-bot/txgh-test-resources/commits/e411b627bdb8884f66748d48fcd9576f61992085
|
87
|
-
body:
|
88
|
-
encoding: US-ASCII
|
89
|
-
string: ''
|
90
|
-
headers:
|
91
|
-
Accept:
|
92
|
-
- application/vnd.github.v3+json
|
93
|
-
User-Agent:
|
94
|
-
- Octokit Ruby Gem 4.2.0
|
95
|
-
Content-Type:
|
96
|
-
- application/json
|
97
|
-
Authorization:
|
98
|
-
- token <GITHUB_TOKEN>
|
99
|
-
Accept-Encoding:
|
100
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
101
|
-
response:
|
102
|
-
status:
|
103
|
-
code: 200
|
104
|
-
message: OK
|
105
|
-
headers:
|
106
|
-
Server:
|
107
|
-
- GitHub.com
|
108
|
-
Date:
|
109
|
-
- Fri, 12 Feb 2016 19:49:00 GMT
|
110
|
-
Content-Type:
|
111
|
-
- application/json; charset=utf-8
|
112
|
-
Transfer-Encoding:
|
113
|
-
- chunked
|
114
|
-
Status:
|
115
|
-
- 200 OK
|
116
|
-
X-Ratelimit-Limit:
|
117
|
-
- '5000'
|
118
|
-
X-Ratelimit-Remaining:
|
119
|
-
- '4988'
|
120
|
-
X-Ratelimit-Reset:
|
121
|
-
- '1455310132'
|
122
|
-
Cache-Control:
|
123
|
-
- private, max-age=60, s-maxage=60
|
124
|
-
Last-Modified:
|
125
|
-
- Mon, 01 Feb 2016 20:15:13 GMT
|
126
46
|
Etag:
|
127
|
-
- W/"
|
47
|
+
- W/"a5fe675407899fa4460005cce07b9fe2"
|
48
|
+
Last-Modified:
|
49
|
+
- Mon, 11 Jan 2016 23:45:43 GMT
|
50
|
+
X-Poll-Interval:
|
51
|
+
- '300'
|
128
52
|
X-Oauth-Scopes:
|
129
53
|
- public_repo
|
130
54
|
X-Accepted-Oauth-Scopes:
|
131
55
|
- ''
|
132
|
-
Vary:
|
133
|
-
- Accept, Authorization, Cookie, X-GitHub-OTP
|
134
|
-
- Accept-Encoding
|
135
56
|
X-Github-Media-Type:
|
136
57
|
- github.v3; format=json
|
137
|
-
Access-Control-Allow-Credentials:
|
138
|
-
- 'true'
|
139
58
|
Access-Control-Expose-Headers:
|
140
59
|
- ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset,
|
141
60
|
X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
|
@@ -152,18 +71,17 @@ http_interactions:
|
|
152
71
|
X-Xss-Protection:
|
153
72
|
- 1; mode=block
|
154
73
|
X-Served-By:
|
155
|
-
-
|
74
|
+
- edf23fdc48375d9066b698b8d98062e9
|
156
75
|
X-Github-Request-Id:
|
157
|
-
- 04358C36:
|
76
|
+
- 04358C36:65A5:5E2E121:57EC0D0F
|
158
77
|
body:
|
159
78
|
encoding: UTF-8
|
160
|
-
string: '{"
|
161
|
-
translations for translations/el_GR/sample.po","tree":{"sha":"4ee65f809366225a4d575ad47f0f8c2a05a6d460","url":"https://api.github.com/repos/txgh-bot/txgh-test-resources/git/trees/4ee65f809366225a4d575ad47f0f8c2a05a6d460"},"url":"https://api.github.com/repos/txgh-bot/txgh-test-resources/git/commits/e411b627bdb8884f66748d48fcd9576f61992085","comment_count":0},"url":"https://api.github.com/repos/txgh-bot/txgh-test-resources/commits/e411b627bdb8884f66748d48fcd9576f61992085","html_url":"https://github.com/txgh-bot/txgh-test-resources/commit/e411b627bdb8884f66748d48fcd9576f61992085","comments_url":"https://api.github.com/repos/txgh-bot/txgh-test-resources/commits/e411b627bdb8884f66748d48fcd9576f61992085/comments","author":{"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},"committer":{"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},"parents":[{"sha":"f0356f2c6216af45b74a517835a6b8d11c246a33","url":"https://api.github.com/repos/txgh-bot/txgh-test-resources/commits/f0356f2c6216af45b74a517835a6b8d11c246a33","html_url":"https://github.com/txgh-bot/txgh-test-resources/commit/f0356f2c6216af45b74a517835a6b8d11c246a33"}],"stats":{"total":0,"additions":0,"deletions":0},"files":[]}'
|
79
|
+
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"}}'
|
162
80
|
http_version:
|
163
|
-
recorded_at:
|
81
|
+
recorded_at: Wed, 28 Sep 2016 18:33:51 GMT
|
164
82
|
- request:
|
165
83
|
method: get
|
166
|
-
uri: https://api.github.com/repos/txgh-bot/txgh-test-resources/
|
84
|
+
uri: https://api.github.com/repos/txgh-bot/txgh-test-resources/contents/sample.po?ref=heads/master
|
167
85
|
body:
|
168
86
|
encoding: US-ASCII
|
169
87
|
string: ''
|
@@ -171,7 +89,7 @@ http_interactions:
|
|
171
89
|
Accept:
|
172
90
|
- application/vnd.github.v3+json
|
173
91
|
User-Agent:
|
174
|
-
- Octokit Ruby Gem 4.
|
92
|
+
- Octokit Ruby Gem 4.3.0
|
175
93
|
Content-Type:
|
176
94
|
- application/json
|
177
95
|
Authorization:
|
@@ -186,7 +104,7 @@ http_interactions:
|
|
186
104
|
Server:
|
187
105
|
- GitHub.com
|
188
106
|
Date:
|
189
|
-
-
|
107
|
+
- Wed, 28 Sep 2016 18:33:52 GMT
|
190
108
|
Content-Type:
|
191
109
|
- application/json; charset=utf-8
|
192
110
|
Transfer-Encoding:
|
@@ -196,103 +114,24 @@ http_interactions:
|
|
196
114
|
X-Ratelimit-Limit:
|
197
115
|
- '5000'
|
198
116
|
X-Ratelimit-Remaining:
|
199
|
-
- '
|
117
|
+
- '4994'
|
200
118
|
X-Ratelimit-Reset:
|
201
|
-
- '
|
119
|
+
- '1475091178'
|
202
120
|
Cache-Control:
|
203
121
|
- private, max-age=60, s-maxage=60
|
204
|
-
Last-Modified:
|
205
|
-
- Mon, 11 Jan 2016 23:45:43 GMT
|
206
|
-
Etag:
|
207
|
-
- W/"2eb6bdd2b0ffcb4d1380c3458aa5a771"
|
208
|
-
X-Oauth-Scopes:
|
209
|
-
- public_repo
|
210
|
-
X-Accepted-Oauth-Scopes:
|
211
|
-
- ''
|
212
122
|
Vary:
|
213
123
|
- Accept, Authorization, Cookie, X-GitHub-OTP
|
214
124
|
- Accept-Encoding
|
215
|
-
X-Github-Media-Type:
|
216
|
-
- github.v3; format=json
|
217
|
-
Access-Control-Allow-Credentials:
|
218
|
-
- 'true'
|
219
|
-
Access-Control-Expose-Headers:
|
220
|
-
- ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset,
|
221
|
-
X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
|
222
|
-
Access-Control-Allow-Origin:
|
223
|
-
- "*"
|
224
|
-
Content-Security-Policy:
|
225
|
-
- default-src 'none'
|
226
|
-
Strict-Transport-Security:
|
227
|
-
- max-age=31536000; includeSubdomains; preload
|
228
|
-
X-Content-Type-Options:
|
229
|
-
- nosniff
|
230
|
-
X-Frame-Options:
|
231
|
-
- deny
|
232
|
-
X-Xss-Protection:
|
233
|
-
- 1; mode=block
|
234
|
-
X-Served-By:
|
235
|
-
- 3e3b9690823fb031da84658eb58aa83b
|
236
|
-
X-Github-Request-Id:
|
237
|
-
- 04358C36:14594:ED063B2:56BE372C
|
238
|
-
body:
|
239
|
-
encoding: UTF-8
|
240
|
-
string: '{"sha":"4ee65f809366225a4d575ad47f0f8c2a05a6d460","url":"https://api.github.com/repos/txgh-bot/txgh-test-resources/git/trees/4ee65f809366225a4d575ad47f0f8c2a05a6d460","tree":[{"path":"README.md","mode":"100644","type":"blob","sha":"cee445fa5bceaeb83c8d443b28f1647c2feff565","size":53,"url":"https://api.github.com/repos/txgh-bot/txgh-test-resources/git/blobs/cee445fa5bceaeb83c8d443b28f1647c2feff565"},{"path":"sample.po","mode":"100644","type":"blob","sha":"a93e31a00137e0bd23db5bc7720568f8e908b2b6","size":855,"url":"https://api.github.com/repos/txgh-bot/txgh-test-resources/git/blobs/a93e31a00137e0bd23db5bc7720568f8e908b2b6"},{"path":"translations","mode":"040000","type":"tree","sha":"64881902c6515e26c22e022abc0bedeaa15eafdc","url":"https://api.github.com/repos/txgh-bot/txgh-test-resources/git/trees/64881902c6515e26c22e022abc0bedeaa15eafdc"},{"path":"translations/el_GR","mode":"040000","type":"tree","sha":"050a15129f99770b93244b61d6acbf0abc8bca47","url":"https://api.github.com/repos/txgh-bot/txgh-test-resources/git/trees/050a15129f99770b93244b61d6acbf0abc8bca47"},{"path":"translations/el_GR/sample.po","mode":"100644","type":"blob","sha":"540a3d944ac19f573e756de687c8c4f3f9847b53","size":911,"url":"https://api.github.com/repos/txgh-bot/txgh-test-resources/git/blobs/540a3d944ac19f573e756de687c8c4f3f9847b53"},{"path":"translations/el_GR/test.txt","mode":"100644","type":"blob","sha":"f16628a67170414c9d346279f2595e77a1c3cf0f","size":28,"url":"https://api.github.com/repos/txgh-bot/txgh-test-resources/git/blobs/f16628a67170414c9d346279f2595e77a1c3cf0f"},{"path":"translations/test.txt","mode":"100644","type":"blob","sha":"f16628a67170414c9d346279f2595e77a1c3cf0f","size":28,"url":"https://api.github.com/repos/txgh-bot/txgh-test-resources/git/blobs/f16628a67170414c9d346279f2595e77a1c3cf0f"}],"truncated":false}'
|
241
|
-
http_version:
|
242
|
-
recorded_at: Fri, 12 Feb 2016 19:49:01 GMT
|
243
|
-
- request:
|
244
|
-
method: get
|
245
|
-
uri: https://api.github.com/repos/txgh-bot/txgh-test-resources/git/blobs/a93e31a00137e0bd23db5bc7720568f8e908b2b6
|
246
|
-
body:
|
247
|
-
encoding: US-ASCII
|
248
|
-
string: ''
|
249
|
-
headers:
|
250
|
-
Accept:
|
251
|
-
- application/vnd.github.v3+json
|
252
|
-
User-Agent:
|
253
|
-
- Octokit Ruby Gem 4.2.0
|
254
|
-
Content-Type:
|
255
|
-
- application/json
|
256
|
-
Authorization:
|
257
|
-
- token <GITHUB_TOKEN>
|
258
|
-
Accept-Encoding:
|
259
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
260
|
-
response:
|
261
|
-
status:
|
262
|
-
code: 200
|
263
|
-
message: OK
|
264
|
-
headers:
|
265
|
-
Server:
|
266
|
-
- GitHub.com
|
267
|
-
Date:
|
268
|
-
- Fri, 12 Feb 2016 19:49:01 GMT
|
269
|
-
Content-Type:
|
270
|
-
- application/json; charset=utf-8
|
271
|
-
Transfer-Encoding:
|
272
|
-
- chunked
|
273
|
-
Status:
|
274
|
-
- 200 OK
|
275
|
-
X-Ratelimit-Limit:
|
276
|
-
- '5000'
|
277
|
-
X-Ratelimit-Remaining:
|
278
|
-
- '4986'
|
279
|
-
X-Ratelimit-Reset:
|
280
|
-
- '1455310132'
|
281
|
-
Cache-Control:
|
282
|
-
- private, max-age=60, s-maxage=60
|
283
125
|
Etag:
|
284
|
-
- W/"
|
126
|
+
- W/"ca21dd4542518306953e22c1859714a6"
|
127
|
+
Last-Modified:
|
128
|
+
- Wed, 27 Apr 2016 17:33:49 GMT
|
285
129
|
X-Oauth-Scopes:
|
286
130
|
- public_repo
|
287
131
|
X-Accepted-Oauth-Scopes:
|
288
132
|
- ''
|
289
|
-
Vary:
|
290
|
-
- Accept, Authorization, Cookie, X-GitHub-OTP
|
291
|
-
- Accept-Encoding
|
292
133
|
X-Github-Media-Type:
|
293
134
|
- github.v3; format=json
|
294
|
-
Access-Control-Allow-Credentials:
|
295
|
-
- 'true'
|
296
135
|
Access-Control-Expose-Headers:
|
297
136
|
- ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset,
|
298
137
|
X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
|
@@ -309,14 +148,14 @@ http_interactions:
|
|
309
148
|
X-Xss-Protection:
|
310
149
|
- 1; mode=block
|
311
150
|
X-Served-By:
|
312
|
-
-
|
151
|
+
- 626ed3a9050b8faa02ef5f3c540b508d
|
313
152
|
X-Github-Request-Id:
|
314
|
-
- 04358C36:
|
153
|
+
- 04358C36:65B4:C9CF1A2:57EC0D0F
|
315
154
|
body:
|
316
155
|
encoding: UTF-8
|
317
|
-
string: '{"sha":"a93e31a00137e0bd23db5bc7720568f8e908b2b6","size":855,"url":"https://api.github.com/repos/txgh-bot/txgh-test-resources/git/blobs/a93e31a00137e0bd23db5bc7720568f8e908b2b6","content":"IyBUcmFuc2xhdGlvbiBmaWxlIGZvciBUcmFuc2lmZXguCiMgQ29weXJpZ2h0\nIChDKSAyMDA3LTIwMTAgSW5kaWZleCBMdGQuCiMgVGhpcyBmaWxlIGlzIGRp\nc3RyaWJ1dGVkIHVuZGVyIHRoZSBzYW1lIGxpY2Vuc2UgYXMgdGhlIFRyYW5z\naWZleCBwYWNrYWdlLgojCiMgVHJhbnNsYXRvcnM6Cm1zZ2lkICIiCm1zZ3N0\nciAiIgoiUHJvamVjdC1JZC1WZXJzaW9uOiBUcmFuc2lmZXhcbiIKIlJlcG9y\ndC1Nc2dpZC1CdWdzLVRvOiBcbiIKIlBPVC1DcmVhdGlvbi1EYXRlOiAyMDE1\nLTAyLTE3IDIwOjEwKzAwMDBcbiIKIlBPLVJldmlzaW9uLURhdGU6IDIwMTMt\nMTAtMjIgMTA6NTcrMDAwMFxuIgoiTGFzdC1UcmFuc2xhdG9yOiBJbGlhcy1E\naW1pdHJpb3MgVnJhY2huaXNcbiIKIkxhbmd1YWdlLVRlYW06IExBTkdVQUdF\nIDxMTEBsaS5vcmc+XG4iCiJMYW5ndWFnZTogZW5cbiIKIk1JTUUtVmVyc2lv\nbjogMS4wXG4iCiJDb250ZW50LVR5cGU6IHRleHQvcGxhaW47IGNoYXJzZXQ9\nVVRGLThcbiIKIkNvbnRlbnQtVHJhbnNmZXItRW5jb2Rpbmc6IDhiaXRcbiIK\nIlBsdXJhbC1Gb3JtczogbnBsdXJhbHM9MjsgcGx1cmFsPShuICE9IDEpO1xu\nIgptc2dpZCAiT25lIgptc2dzdHIgIk9uZSIKbXNnaWQgIlR3byIKbXNnc3Ry\nICJUd28iCm1zZ2lkICJUaHJlZSIKbXNnc3RyICJUaHJlZSIKbXNnaWQgIkZv\ndXIiCm1zZ3N0ciAiRm91ciIKbXNnaWQgIkZpdmUiCm1zZ3N0ciAiRml2ZSIK\nbXNnaWQgIlNpeCIKbXNnc3RyICJTaXgiCm1zZ2lkICJTZXZlbiIKbXNnc3Ry\nICJTZXZlbiIKbXNnaWQgIkVpZ2h0Igptc2dzdHIgIkVpZ2h0Igptc2dpZCAi\nTmluZSIKbXNnc3RyICJOaW5lIgptc2dpZCAiVGVuIgptc2dzdHIgIlRlbiIK\n","encoding":"base64"}'
|
156
|
+
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"}}'
|
318
157
|
http_version:
|
319
|
-
recorded_at:
|
158
|
+
recorded_at: Wed, 28 Sep 2016 18:33:52 GMT
|
320
159
|
- request:
|
321
160
|
method: get
|
322
161
|
uri: https://txgh.bot:<TRANSIFEX_PASSWORD>@www.transifex.com/api/2/project/test-project-88/resource/samplepo-heads_master/
|
@@ -337,38 +176,36 @@ http_interactions:
|
|
337
176
|
headers:
|
338
177
|
Server:
|
339
178
|
- nginx
|
340
|
-
|
341
|
-
-
|
342
|
-
- Authorization, Host, Accept-Language, Cookie
|
343
|
-
Cache-Control:
|
344
|
-
- max-age=0
|
179
|
+
Date:
|
180
|
+
- Wed, 28 Sep 2016 18:33:52 GMT
|
345
181
|
Content-Type:
|
346
182
|
- application/json; charset=utf-8
|
347
|
-
Date:
|
348
|
-
- Fri, 12 Feb 2016 19:49:02 GMT
|
349
|
-
Expires:
|
350
|
-
- Fri, 12 Feb 2016 19:49:02 GMT
|
351
183
|
Transfer-Encoding:
|
352
184
|
- chunked
|
353
|
-
Content-Language:
|
354
|
-
- en
|
355
|
-
X-Content-Type-Options:
|
356
|
-
- nosniff
|
357
185
|
Connection:
|
358
186
|
- keep-alive
|
359
|
-
|
360
|
-
-
|
187
|
+
Vary:
|
188
|
+
- Accept-Encoding
|
189
|
+
- Authorization, Host, Accept-Language, Cookie
|
190
|
+
Content-Language:
|
191
|
+
- en
|
192
|
+
Expires:
|
193
|
+
- Wed, 28 Sep 2016 18:33:52 GMT
|
361
194
|
Last-Modified:
|
362
|
-
-
|
195
|
+
- Wed, 28 Sep 2016 18:33:52 GMT
|
196
|
+
Cache-Control:
|
197
|
+
- max-age=0
|
363
198
|
X-Frame-Options:
|
364
199
|
- SAMEORIGIN
|
200
|
+
X-Content-Type-Options:
|
201
|
+
- nosniff
|
365
202
|
body:
|
366
203
|
encoding: UTF-8
|
367
204
|
string: "{\n \"source_language_code\": \"en\", \n \"name\": \"sample.po\",
|
368
205
|
\n \"i18n_type\": \"PO\", \n \"priority\": \"1\", \n \"slug\": \"samplepo-heads_master\",
|
369
206
|
\n \"categories\": [\n \"\"\n ]\n}"
|
370
207
|
http_version:
|
371
|
-
recorded_at:
|
208
|
+
recorded_at: Wed, 28 Sep 2016 18:33:52 GMT
|
372
209
|
- request:
|
373
210
|
method: get
|
374
211
|
uri: https://txgh.bot:<TRANSIFEX_PASSWORD>@www.transifex.com/api/2/project/test-project-88/resource/samplepo-heads_master/
|
@@ -389,38 +226,36 @@ http_interactions:
|
|
389
226
|
headers:
|
390
227
|
Server:
|
391
228
|
- nginx
|
392
|
-
|
393
|
-
-
|
394
|
-
- Authorization, Host, Accept-Language, Cookie
|
395
|
-
Cache-Control:
|
396
|
-
- max-age=0
|
229
|
+
Date:
|
230
|
+
- Wed, 28 Sep 2016 18:33:53 GMT
|
397
231
|
Content-Type:
|
398
232
|
- application/json; charset=utf-8
|
399
|
-
Date:
|
400
|
-
- Fri, 12 Feb 2016 19:49:02 GMT
|
401
|
-
Expires:
|
402
|
-
- Fri, 12 Feb 2016 19:49:02 GMT
|
403
233
|
Transfer-Encoding:
|
404
234
|
- chunked
|
405
|
-
Content-Language:
|
406
|
-
- en
|
407
|
-
X-Content-Type-Options:
|
408
|
-
- nosniff
|
409
235
|
Connection:
|
410
236
|
- keep-alive
|
411
|
-
|
412
|
-
-
|
237
|
+
Vary:
|
238
|
+
- Accept-Encoding
|
239
|
+
- Authorization, Host, Accept-Language, Cookie
|
240
|
+
Content-Language:
|
241
|
+
- en
|
242
|
+
Expires:
|
243
|
+
- Wed, 28 Sep 2016 18:33:53 GMT
|
413
244
|
Last-Modified:
|
414
|
-
-
|
245
|
+
- Wed, 28 Sep 2016 18:33:53 GMT
|
246
|
+
Cache-Control:
|
247
|
+
- max-age=0
|
415
248
|
X-Frame-Options:
|
416
249
|
- SAMEORIGIN
|
250
|
+
X-Content-Type-Options:
|
251
|
+
- nosniff
|
417
252
|
body:
|
418
253
|
encoding: UTF-8
|
419
254
|
string: "{\n \"source_language_code\": \"en\", \n \"name\": \"sample.po\",
|
420
255
|
\n \"i18n_type\": \"PO\", \n \"priority\": \"1\", \n \"slug\": \"samplepo-heads_master\",
|
421
256
|
\n \"categories\": [\n \"\"\n ]\n}"
|
422
257
|
http_version:
|
423
|
-
recorded_at:
|
258
|
+
recorded_at: Wed, 28 Sep 2016 18:33:53 GMT
|
424
259
|
- request:
|
425
260
|
method: put
|
426
261
|
uri: https://txgh.bot:<TRANSIFEX_PASSWORD>@www.transifex.com/api/2/project/test-project-88/resource/samplepo-heads_master/
|
@@ -443,36 +278,34 @@ http_interactions:
|
|
443
278
|
headers:
|
444
279
|
Server:
|
445
280
|
- nginx
|
446
|
-
|
447
|
-
-
|
448
|
-
- Authorization, Host, Accept-Language, Cookie
|
449
|
-
Cache-Control:
|
450
|
-
- max-age=0
|
281
|
+
Date:
|
282
|
+
- Wed, 28 Sep 2016 18:33:53 GMT
|
451
283
|
Content-Type:
|
452
284
|
- text/plain
|
453
|
-
Date:
|
454
|
-
- Fri, 12 Feb 2016 19:49:03 GMT
|
455
|
-
Expires:
|
456
|
-
- Fri, 12 Feb 2016 19:49:03 GMT
|
457
285
|
Transfer-Encoding:
|
458
286
|
- chunked
|
459
|
-
Content-Language:
|
460
|
-
- en
|
461
|
-
X-Content-Type-Options:
|
462
|
-
- nosniff
|
463
287
|
Connection:
|
464
288
|
- keep-alive
|
465
|
-
|
466
|
-
-
|
289
|
+
Vary:
|
290
|
+
- Accept-Encoding
|
291
|
+
- Authorization, Host, Accept-Language, Cookie
|
292
|
+
Content-Language:
|
293
|
+
- en
|
294
|
+
Expires:
|
295
|
+
- Wed, 28 Sep 2016 18:33:53 GMT
|
467
296
|
Last-Modified:
|
468
|
-
-
|
297
|
+
- Wed, 28 Sep 2016 18:33:53 GMT
|
298
|
+
Cache-Control:
|
299
|
+
- max-age=0
|
469
300
|
X-Frame-Options:
|
470
301
|
- SAMEORIGIN
|
302
|
+
X-Content-Type-Options:
|
303
|
+
- nosniff
|
471
304
|
body:
|
472
305
|
encoding: UTF-8
|
473
306
|
string: OK
|
474
307
|
http_version:
|
475
|
-
recorded_at:
|
308
|
+
recorded_at: Wed, 28 Sep 2016 18:33:54 GMT
|
476
309
|
- request:
|
477
310
|
method: put
|
478
311
|
uri: https://txgh.bot:<TRANSIFEX_PASSWORD>@www.transifex.com/api/2/project/test-project-88/resource/samplepo-heads_master/content/
|
@@ -510,35 +343,33 @@ http_interactions:
|
|
510
343
|
headers:
|
511
344
|
Server:
|
512
345
|
- nginx
|
513
|
-
|
514
|
-
-
|
515
|
-
- Authorization, Host, Accept-Language, Cookie
|
516
|
-
Cache-Control:
|
517
|
-
- max-age=0
|
346
|
+
Date:
|
347
|
+
- Wed, 28 Sep 2016 18:33:54 GMT
|
518
348
|
Content-Type:
|
519
349
|
- application/json; charset=utf-8
|
520
|
-
Date:
|
521
|
-
- Fri, 12 Feb 2016 19:49:04 GMT
|
522
|
-
Expires:
|
523
|
-
- Fri, 12 Feb 2016 19:49:04 GMT
|
524
350
|
Transfer-Encoding:
|
525
351
|
- chunked
|
526
|
-
Content-Language:
|
527
|
-
- en
|
528
|
-
X-Content-Type-Options:
|
529
|
-
- nosniff
|
530
352
|
Connection:
|
531
353
|
- keep-alive
|
532
|
-
|
533
|
-
-
|
354
|
+
Vary:
|
355
|
+
- Accept-Encoding
|
356
|
+
- Authorization, Host, Accept-Language, Cookie
|
357
|
+
Content-Language:
|
358
|
+
- en
|
359
|
+
Expires:
|
360
|
+
- Wed, 28 Sep 2016 18:33:54 GMT
|
534
361
|
Last-Modified:
|
535
|
-
-
|
362
|
+
- Wed, 28 Sep 2016 18:33:54 GMT
|
363
|
+
Cache-Control:
|
364
|
+
- max-age=0
|
536
365
|
X-Frame-Options:
|
537
366
|
- SAMEORIGIN
|
367
|
+
X-Content-Type-Options:
|
368
|
+
- nosniff
|
538
369
|
body:
|
539
370
|
encoding: UTF-8
|
540
371
|
string: "{\n \"strings_added\": 0, \n \"strings_updated\": 0, \n \"strings_delete\":
|
541
372
|
0, \n \"redirect\": \"/txgh-test/test-project-88/samplepo-heads_master/\"\n}"
|
542
373
|
http_version:
|
543
|
-
recorded_at:
|
544
|
-
recorded_with: VCR 3.0.
|
374
|
+
recorded_at: Wed, 28 Sep 2016 18:33:55 GMT
|
375
|
+
recorded_with: VCR 3.0.3
|
@@ -21,7 +21,7 @@ http_interactions:
|
|
21
21
|
Server:
|
22
22
|
- nginx
|
23
23
|
Date:
|
24
|
-
-
|
24
|
+
- Wed, 28 Sep 2016 18:33:49 GMT
|
25
25
|
Content-Type:
|
26
26
|
- application/json; charset=utf-8
|
27
27
|
Transfer-Encoding:
|
@@ -34,9 +34,9 @@ http_interactions:
|
|
34
34
|
Content-Language:
|
35
35
|
- en
|
36
36
|
Expires:
|
37
|
-
-
|
37
|
+
- Wed, 28 Sep 2016 18:33:49 GMT
|
38
38
|
Last-Modified:
|
39
|
-
-
|
39
|
+
- Wed, 28 Sep 2016 18:33:49 GMT
|
40
40
|
Cache-Control:
|
41
41
|
- max-age=0
|
42
42
|
X-Frame-Options:
|
@@ -61,7 +61,7 @@ http_interactions:
|
|
61
61
|
\\\"Eight\\\"\\nmsgstr \\\"\\\"\\n\\nmsgid \\\"Nine\\\"\\nmsgstr \\\"\\\"\\n\\nmsgid
|
62
62
|
\\\"Ten\\\"\\nmsgstr \\\"\\\"\\n\", \n \"mimetype\": \"text/x-po\"\n}"
|
63
63
|
http_version:
|
64
|
-
recorded_at:
|
64
|
+
recorded_at: Wed, 28 Sep 2016 18:33:49 GMT
|
65
65
|
- request:
|
66
66
|
method: get
|
67
67
|
uri: https://api.github.com/repos/txgh-bot/txgh-test-resources/contents/translations/el_GR/sample.po?ref=master
|
@@ -87,7 +87,7 @@ http_interactions:
|
|
87
87
|
Server:
|
88
88
|
- GitHub.com
|
89
89
|
Date:
|
90
|
-
-
|
90
|
+
- Wed, 28 Sep 2016 18:33:50 GMT
|
91
91
|
Content-Type:
|
92
92
|
- application/json; charset=utf-8
|
93
93
|
Transfer-Encoding:
|
@@ -97,9 +97,9 @@ http_interactions:
|
|
97
97
|
X-Ratelimit-Limit:
|
98
98
|
- '5000'
|
99
99
|
X-Ratelimit-Remaining:
|
100
|
-
- '
|
100
|
+
- '4997'
|
101
101
|
X-Ratelimit-Reset:
|
102
|
-
- '
|
102
|
+
- '1475091178'
|
103
103
|
Cache-Control:
|
104
104
|
- private, max-age=60, s-maxage=60
|
105
105
|
Vary:
|
@@ -131,14 +131,14 @@ http_interactions:
|
|
131
131
|
X-Xss-Protection:
|
132
132
|
- 1; mode=block
|
133
133
|
X-Served-By:
|
134
|
-
-
|
134
|
+
- 7f48e2f7761567e923121f17538d7a6d
|
135
135
|
X-Github-Request-Id:
|
136
|
-
-
|
136
|
+
- 04358C36:65B4:C9CF06F:57EC0D0D
|
137
137
|
body:
|
138
138
|
encoding: UTF-8
|
139
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
140
|
http_version:
|
141
|
-
recorded_at:
|
141
|
+
recorded_at: Wed, 28 Sep 2016 18:33:50 GMT
|
142
142
|
- request:
|
143
143
|
method: get
|
144
144
|
uri: https://api.github.com/repos/txgh-bot/txgh-test-resources/git/refs/heads/master
|
@@ -164,7 +164,7 @@ http_interactions:
|
|
164
164
|
Server:
|
165
165
|
- GitHub.com
|
166
166
|
Date:
|
167
|
-
-
|
167
|
+
- Wed, 28 Sep 2016 18:33:50 GMT
|
168
168
|
Content-Type:
|
169
169
|
- application/json; charset=utf-8
|
170
170
|
Transfer-Encoding:
|
@@ -174,9 +174,9 @@ http_interactions:
|
|
174
174
|
X-Ratelimit-Limit:
|
175
175
|
- '5000'
|
176
176
|
X-Ratelimit-Remaining:
|
177
|
-
- '
|
177
|
+
- '4996'
|
178
178
|
X-Ratelimit-Reset:
|
179
|
-
- '
|
179
|
+
- '1475091178'
|
180
180
|
Cache-Control:
|
181
181
|
- private, max-age=60, s-maxage=60
|
182
182
|
Vary:
|
@@ -210,12 +210,12 @@ http_interactions:
|
|
210
210
|
X-Xss-Protection:
|
211
211
|
- 1; mode=block
|
212
212
|
X-Served-By:
|
213
|
-
-
|
213
|
+
- 065b43cd9674091fec48a221b420fbb3
|
214
214
|
X-Github-Request-Id:
|
215
|
-
-
|
215
|
+
- 04358C36:65B4:C9CF0BE:57EC0D0E
|
216
216
|
body:
|
217
217
|
encoding: UTF-8
|
218
218
|
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"}}'
|
219
219
|
http_version:
|
220
|
-
recorded_at:
|
221
|
-
recorded_with: VCR 3.0.
|
220
|
+
recorded_at: Wed, 28 Sep 2016 18:33:50 GMT
|
221
|
+
recorded_with: VCR 3.0.3
|
@@ -44,7 +44,7 @@ describe HookHandler do
|
|
44
44
|
it 'downloads translations and pushes them to the correct branch (head)' do
|
45
45
|
expect(github_api).to(
|
46
46
|
receive(:update_contents).with(
|
47
|
-
|
47
|
+
"heads/#{branch}",
|
48
48
|
{ "translations/#{language}/sample.yml" => translations },
|
49
49
|
"Updating #{language} translations in #{file_name}"
|
50
50
|
)
|
@@ -91,7 +91,7 @@ describe HookHandler do
|
|
91
91
|
|
92
92
|
expect(github_api).to(
|
93
93
|
receive(:update_contents).with(
|
94
|
-
|
94
|
+
ref,
|
95
95
|
{ "translations/#{language}/sample.yml" => translations },
|
96
96
|
"Updating #{language} translations in #{file_name}"
|
97
97
|
)
|
@@ -109,7 +109,7 @@ describe HookHandler do
|
|
109
109
|
it 'downloads translations and pushes them to the tag' do
|
110
110
|
expect(github_api).to(
|
111
111
|
receive(:update_contents).with(
|
112
|
-
|
112
|
+
"tags/my_tag",
|
113
113
|
{ "translations/#{language}/sample.yml" => translations },
|
114
114
|
"Updating #{language} translations in #{file_name}"
|
115
115
|
)
|
data/txgh-server.gemspec
CHANGED
@@ -17,7 +17,7 @@ Gem::Specification.new do |s|
|
|
17
17
|
s.add_dependency 'sinatra', '~> 1.4'
|
18
18
|
s.add_dependency 'sinatra-contrib', '~> 1.4'
|
19
19
|
s.add_dependency 'rubyzip', '>= 1.0', '<= 1.1.2'
|
20
|
-
s.add_dependency 'txgh', '~>
|
20
|
+
s.add_dependency 'txgh', '~> 6.0'
|
21
21
|
|
22
22
|
s.require_path = 'lib'
|
23
23
|
s.files = Dir['{lib,spec}/**/*', 'README.md', 'txgh-server.gemspec', 'LICENSE']
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: txgh-server
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matthew Jackowski
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-09-
|
12
|
+
date: 2016-09-28 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: mime-types
|
@@ -79,14 +79,14 @@ dependencies:
|
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '
|
82
|
+
version: '6.0'
|
83
83
|
type: :runtime
|
84
84
|
prerelease: false
|
85
85
|
version_requirements: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: '
|
89
|
+
version: '6.0'
|
90
90
|
description: An HTTP server for interacting with txgh.
|
91
91
|
email:
|
92
92
|
- mattjjacko@gmail.com
|