transifex-interface-ruby 0.0.1 → 0.0.2
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.
- checksums.yaml +6 -14
- data/.gitignore +17 -17
- data/.rspec +2 -0
- data/Gemfile +4 -4
- data/LICENSE.txt +22 -22
- data/README.md +517 -513
- data/Rakefile +1 -1
- data/lib/transifex.rb +84 -87
- data/lib/transifex/crud_requests.rb +43 -33
- data/lib/transifex/errors.rb +4 -4
- data/lib/transifex/project_components/language.rb +1 -1
- data/lib/transifex/project_components/language_components/coordinators.rb +4 -6
- data/lib/transifex/project_components/language_components/reviewers.rb +5 -8
- data/lib/transifex/project_components/language_components/translators.rb +6 -9
- data/lib/transifex/project_components/languages.rb +1 -1
- data/lib/transifex/resource.rb +1 -1
- data/lib/transifex/resource_components/content.rb +1 -1
- data/lib/transifex/resource_components/source.rb +1 -1
- data/lib/transifex/resource_components/stats.rb +1 -1
- data/lib/transifex/resource_components/translation.rb +1 -1
- data/lib/transifex/resource_components/translation_components/string.rb +1 -1
- data/lib/transifex/resource_components/translation_components/strings.rb +1 -1
- data/lib/transifex/resources.rb +1 -1
- data/lib/transifex/version.rb +3 -3
- data/spec/cassettes/fetch_formats.yml +121 -0
- data/spec/cassettes/language/fetch_language_info.yml +58 -0
- data/spec/cassettes/language/fetch_languages_info.yml +58 -0
- data/spec/cassettes/project/components/create_language.yml +95 -0
- data/spec/cassettes/project/components/create_language_non_existing_coordinator.yml +48 -0
- data/spec/cassettes/project/components/create_language_without_coordinator.yml +48 -0
- data/spec/cassettes/project/components/fetch_languages.yml +53 -0
- data/spec/cassettes/project/delete_project.yml +108 -0
- data/spec/cassettes/project/fetch_private_project_info.yml +59 -0
- data/spec/cassettes/project/fetch_with_details_private_project_info.yml +66 -0
- data/spec/cassettes/project/language/delete_language.yml +140 -0
- data/spec/cassettes/project/language/fetch_coordinators.yml +56 -0
- data/spec/cassettes/project/language/fetch_language_info.yml +52 -0
- data/spec/cassettes/project/language/fetch_reviewers.yml +56 -0
- data/spec/cassettes/project/language/fetch_translators.yml +54 -0
- data/spec/cassettes/project/language/fetch_with_details_language_info.yml +54 -0
- data/spec/cassettes/project/language/update_coordinators.yml +104 -0
- data/spec/cassettes/project/language/update_language.yml +100 -0
- data/spec/cassettes/project/language/update_non_existing_coordinator.yml +48 -0
- data/spec/cassettes/project/language/update_non_existing_language.yml +49 -0
- data/spec/cassettes/project/language/update_non_existing_reviewer.yml +101 -0
- data/spec/cassettes/project/language/update_non_existing_translator.yml +101 -0
- data/spec/cassettes/project/language/update_reviewers.yml +157 -0
- data/spec/cassettes/project/language/update_translators.yml +157 -0
- data/spec/cassettes/project/update_non_existing_attribute_private_project.yml +54 -0
- data/spec/cassettes/project/update_private_project.yml +120 -0
- data/spec/cassettes/project/update_with_missing_params_private_project.yml +54 -0
- data/spec/cassettes/projects/create_private_project.yml +111 -0
- data/spec/cassettes/projects/create_public_project.yml +111 -0
- data/spec/cassettes/projects/create_used_slug_project.yml +55 -0
- data/spec/cassettes/projects/fetch_projects.yml +61 -0
- data/spec/cassettes/resource/delete_not_existing_resource.yml +55 -0
- data/spec/cassettes/resource/delete_resource.yml +160 -0
- data/spec/cassettes/resource/fetch_all_languages_stats.yml +66 -0
- data/spec/cassettes/resource/fetch_content_as_file.yml +56 -0
- data/spec/cassettes/resource/fetch_content_as_hash.yml +58 -0
- data/spec/cassettes/resource/fetch_language_stats.yml +61 -0
- data/spec/cassettes/resource/fetch_not_existing_resource.yml +55 -0
- data/spec/cassettes/resource/fetch_resource_info.yml +59 -0
- data/spec/cassettes/resource/fetch_source_string_metadata.yml +52 -0
- data/spec/cassettes/resource/fetch_translations.yml +57 -0
- data/spec/cassettes/resource/fetch_updated_resource_info.yml +60 -0
- data/spec/cassettes/resource/fetch_updated_source_string_metadata.yml +52 -0
- data/spec/cassettes/resource/fetch_with_details_resource_info.yml +65 -0
- data/spec/cassettes/resource/fetch_with_file_and_mode_translations.yml +56 -0
- data/spec/cassettes/resource/fetch_with_file_translations.yml +56 -0
- data/spec/cassettes/resource/update_content_json.yml +115 -0
- data/spec/cassettes/resource/update_content_with_wrong_mimetype.yml +59 -0
- data/spec/cassettes/resource/update_content_yml.yml +114 -0
- data/spec/cassettes/resource/update_not_existing_resource.yml +55 -0
- data/spec/cassettes/resource/update_resource_info.yml +114 -0
- data/spec/cassettes/resource/update_source_language.yml +54 -0
- data/spec/cassettes/resource/update_source_string_metadata.yml +100 -0
- data/spec/cassettes/resource/update_translation_for_language.yml +62 -0
- data/spec/cassettes/resources/create_from_file.yml +55 -0
- data/spec/cassettes/resources/create_from_string.yml +54 -0
- data/spec/cassettes/resources/fetch_as_array.yml +62 -0
- data/spec/cassettes/resources/non_existing_project.yml +55 -0
- data/spec/cassettes/translation/fetch_string.yml +55 -0
- data/spec/cassettes/translation/fetch_strings.yml +54 -0
- data/spec/cassettes/translation/fetch_with_details_and_context_strings.yml +51 -0
- data/spec/cassettes/translation/fetch_with_details_and_key_strings.yml +56 -0
- data/spec/cassettes/translation/fetch_with_details_strings.yml +56 -0
- data/spec/cassettes/translation/update_multiple_translation_strings.yml +107 -0
- data/spec/cassettes/translation/update_single_translation_strings.yml +104 -0
- data/spec/cassettes/translation/update_string.yml +104 -0
- data/spec/lib/transifex/coordinators_spec.rb +22 -16
- data/spec/lib/transifex/formats_spec.rb +8 -8
- data/spec/lib/transifex/language_spec.rb +9 -10
- data/spec/lib/transifex/languages_spec.rb +8 -8
- data/spec/lib/transifex/project_language_spec.rb +41 -28
- data/spec/lib/transifex/project_languages_spec.rb +34 -18
- data/spec/lib/transifex/project_spec.rb +46 -73
- data/spec/lib/transifex/projects_spec.rb +72 -37
- data/spec/lib/transifex/resource_content_spec.rb +41 -24
- data/spec/lib/transifex/resource_source_spec.rb +21 -19
- data/spec/lib/transifex/resource_spec.rb +69 -41
- data/spec/lib/transifex/resources_spec.rb +42 -34
- data/spec/lib/transifex/reviewers_spec.rb +23 -17
- data/spec/lib/transifex/stats_spec.rb +20 -24
- data/spec/lib/transifex/translation_spec.rb +60 -38
- data/spec/lib/transifex/translation_string_spec.rb +26 -20
- data/spec/lib/transifex/translation_strings_spec.rb +65 -43
- data/spec/lib/transifex/translators_spec.rb +23 -17
- data/spec/lib/transifex_spec.rb +15 -0
- data/spec/lib/yaml/eo.yml +3 -0
- data/spec/spec_helper.rb +19 -83
- data/spec/support/client_helper.rb +8 -0
- data/spec/support/content_helper.rb +346 -0
- data/transifex-interface-ruby.gemspec +28 -25
- metadata +198 -21
- data/spec/lib/transifex/configuration_spec.rb +0 -17
- data/spec/lib/yaml/resource_translation_default_content_test.yml +0 -4
- data/spec/lib/yaml/resource_translation_reviewed_content_test.yml +0 -9
@@ -0,0 +1,48 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: put
|
5
|
+
uri: http://www.transifex.com/api/2/project/ruby-client/language/en/coordinators
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: '{"coordinators":["not_existing_coordinator"]}'
|
9
|
+
headers:
|
10
|
+
Content-Type:
|
11
|
+
- application/json
|
12
|
+
Accept:
|
13
|
+
- application/json
|
14
|
+
User-Agent:
|
15
|
+
- Transifex-interface-ruby/0.0.1
|
16
|
+
Accept-Encoding:
|
17
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
18
|
+
Authorization:
|
19
|
+
- Basic bS5naWFtYml0dG9AZnJlZWdvd2ViLml0Om1vbGxpXzAx
|
20
|
+
response:
|
21
|
+
status:
|
22
|
+
code: 400
|
23
|
+
message: BAD REQUEST
|
24
|
+
headers:
|
25
|
+
Server:
|
26
|
+
- nginx
|
27
|
+
Vary:
|
28
|
+
- Authorization, Host, Accept-Language, Cookie
|
29
|
+
Content-Type:
|
30
|
+
- text/plain
|
31
|
+
Date:
|
32
|
+
- Fri, 28 Apr 2017 16:17:05 GMT
|
33
|
+
Transfer-Encoding:
|
34
|
+
- chunked
|
35
|
+
Content-Language:
|
36
|
+
- en
|
37
|
+
Connection:
|
38
|
+
- close
|
39
|
+
Set-Cookie:
|
40
|
+
- X-Mapping-fjhppofk=978A30C321AEE9D0F95E25198189AC99; path=/
|
41
|
+
X-Frame-Options:
|
42
|
+
- SAMEORIGIN
|
43
|
+
body:
|
44
|
+
encoding: UTF-8
|
45
|
+
string: Users not_existing_coordinator do not exist.
|
46
|
+
http_version:
|
47
|
+
recorded_at: Fri, 28 Apr 2017 16:17:05 GMT
|
48
|
+
recorded_with: VCR 3.0.3
|
@@ -0,0 +1,49 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: put
|
5
|
+
uri: http://www.transifex.com/api/2/project/ruby-client/language/non_existing_language
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: '{"coordinators":["wirido"],"translators":["wirido"],"reviewers":["wirido"]}'
|
9
|
+
headers:
|
10
|
+
Content-Type:
|
11
|
+
- application/json
|
12
|
+
Accept:
|
13
|
+
- application/json
|
14
|
+
User-Agent:
|
15
|
+
- Transifex-interface-ruby/0.0.1
|
16
|
+
Accept-Encoding:
|
17
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
18
|
+
Authorization:
|
19
|
+
- Basic bS5naWFtYml0dG9AZnJlZWdvd2ViLml0Om1vbGxpXzAx
|
20
|
+
response:
|
21
|
+
status:
|
22
|
+
code: 404
|
23
|
+
message: NOT FOUND
|
24
|
+
headers:
|
25
|
+
Server:
|
26
|
+
- nginx
|
27
|
+
Vary:
|
28
|
+
- Accept-Encoding
|
29
|
+
- Authorization, Host, Accept-Language, Cookie
|
30
|
+
Content-Type:
|
31
|
+
- text/plain
|
32
|
+
Date:
|
33
|
+
- Fri, 28 Apr 2017 15:39:06 GMT
|
34
|
+
Transfer-Encoding:
|
35
|
+
- chunked
|
36
|
+
Content-Language:
|
37
|
+
- en
|
38
|
+
Connection:
|
39
|
+
- keep-alive
|
40
|
+
Set-Cookie:
|
41
|
+
- X-Mapping-fjhppofk=A44BEC4CD0B51682CDC2AA3E9CCFDDF4; path=/
|
42
|
+
X-Frame-Options:
|
43
|
+
- SAMEORIGIN
|
44
|
+
body:
|
45
|
+
encoding: ASCII-8BIT
|
46
|
+
string: Not Found
|
47
|
+
http_version:
|
48
|
+
recorded_at: Fri, 28 Apr 2017 15:39:06 GMT
|
49
|
+
recorded_with: VCR 3.0.3
|
@@ -0,0 +1,101 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://www.transifex.com/api/2/project/ruby-client/language/en/coordinators
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: "{}"
|
9
|
+
headers:
|
10
|
+
Content-Type:
|
11
|
+
- application/json
|
12
|
+
Accept:
|
13
|
+
- application/json
|
14
|
+
User-Agent:
|
15
|
+
- Transifex-interface-ruby/0.0.1
|
16
|
+
Accept-Encoding:
|
17
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
18
|
+
Authorization:
|
19
|
+
- Basic bS5naWFtYml0dG9AZnJlZWdvd2ViLml0Om1vbGxpXzAx
|
20
|
+
response:
|
21
|
+
status:
|
22
|
+
code: 200
|
23
|
+
message: OK
|
24
|
+
headers:
|
25
|
+
Server:
|
26
|
+
- nginx
|
27
|
+
Vary:
|
28
|
+
- Accept-Encoding
|
29
|
+
- Authorization, Host, Accept-Language, Cookie
|
30
|
+
Content-Type:
|
31
|
+
- application/json; charset=utf-8
|
32
|
+
Date:
|
33
|
+
- Wed, 03 May 2017 16:49:34 GMT
|
34
|
+
Transfer-Encoding:
|
35
|
+
- chunked
|
36
|
+
Content-Language:
|
37
|
+
- en
|
38
|
+
X-Content-Type-Options:
|
39
|
+
- nosniff
|
40
|
+
Connection:
|
41
|
+
- keep-alive
|
42
|
+
Set-Cookie:
|
43
|
+
- X-Mapping-fjhppofk=300CA58EE011BC6BC0E393EE4F2B31F6; path=/
|
44
|
+
X-Frame-Options:
|
45
|
+
- SAMEORIGIN
|
46
|
+
body:
|
47
|
+
encoding: ASCII-8BIT
|
48
|
+
string: |-
|
49
|
+
{
|
50
|
+
"coordinators": [
|
51
|
+
"nirnaeth"
|
52
|
+
]
|
53
|
+
}
|
54
|
+
http_version:
|
55
|
+
recorded_at: Wed, 03 May 2017 16:49:34 GMT
|
56
|
+
- request:
|
57
|
+
method: put
|
58
|
+
uri: http://www.transifex.com/api/2/project/ruby-client/language/en/reviewers
|
59
|
+
body:
|
60
|
+
encoding: UTF-8
|
61
|
+
string: '{"coordinators":["nirnaeth"],"reviewers":["not_existing_reviewer"]}'
|
62
|
+
headers:
|
63
|
+
Content-Type:
|
64
|
+
- application/json
|
65
|
+
Accept:
|
66
|
+
- application/json
|
67
|
+
User-Agent:
|
68
|
+
- Transifex-interface-ruby/0.0.1
|
69
|
+
Accept-Encoding:
|
70
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
71
|
+
Authorization:
|
72
|
+
- Basic bS5naWFtYml0dG9AZnJlZWdvd2ViLml0Om1vbGxpXzAx
|
73
|
+
response:
|
74
|
+
status:
|
75
|
+
code: 400
|
76
|
+
message: BAD REQUEST
|
77
|
+
headers:
|
78
|
+
Server:
|
79
|
+
- nginx
|
80
|
+
Vary:
|
81
|
+
- Authorization, Host, Accept-Language, Cookie
|
82
|
+
Content-Type:
|
83
|
+
- text/plain
|
84
|
+
Date:
|
85
|
+
- Wed, 03 May 2017 16:49:34 GMT
|
86
|
+
Transfer-Encoding:
|
87
|
+
- chunked
|
88
|
+
Content-Language:
|
89
|
+
- en
|
90
|
+
Connection:
|
91
|
+
- close
|
92
|
+
Set-Cookie:
|
93
|
+
- X-Mapping-fjhppofk=2F71BA404CBE394603A72279804CAC7D; path=/
|
94
|
+
X-Frame-Options:
|
95
|
+
- SAMEORIGIN
|
96
|
+
body:
|
97
|
+
encoding: UTF-8
|
98
|
+
string: Users not_existing_reviewer do not exist.
|
99
|
+
http_version:
|
100
|
+
recorded_at: Wed, 03 May 2017 16:49:34 GMT
|
101
|
+
recorded_with: VCR 3.0.3
|
@@ -0,0 +1,101 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://www.transifex.com/api/2/project/ruby-client/language/en/coordinators
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: "{}"
|
9
|
+
headers:
|
10
|
+
Content-Type:
|
11
|
+
- application/json
|
12
|
+
Accept:
|
13
|
+
- application/json
|
14
|
+
User-Agent:
|
15
|
+
- Transifex-interface-ruby/0.0.1
|
16
|
+
Accept-Encoding:
|
17
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
18
|
+
Authorization:
|
19
|
+
- Basic bS5naWFtYml0dG9AZnJlZWdvd2ViLml0Om1vbGxpXzAx
|
20
|
+
response:
|
21
|
+
status:
|
22
|
+
code: 200
|
23
|
+
message: OK
|
24
|
+
headers:
|
25
|
+
Server:
|
26
|
+
- nginx
|
27
|
+
Vary:
|
28
|
+
- Accept-Encoding
|
29
|
+
- Authorization, Host, Accept-Language, Cookie
|
30
|
+
Content-Type:
|
31
|
+
- application/json; charset=utf-8
|
32
|
+
Date:
|
33
|
+
- Thu, 04 May 2017 15:48:17 GMT
|
34
|
+
Transfer-Encoding:
|
35
|
+
- chunked
|
36
|
+
Content-Language:
|
37
|
+
- en
|
38
|
+
X-Content-Type-Options:
|
39
|
+
- nosniff
|
40
|
+
Connection:
|
41
|
+
- keep-alive
|
42
|
+
Set-Cookie:
|
43
|
+
- X-Mapping-fjhppofk=978A30C321AEE9D0F95E25198189AC99; path=/
|
44
|
+
X-Frame-Options:
|
45
|
+
- SAMEORIGIN
|
46
|
+
body:
|
47
|
+
encoding: ASCII-8BIT
|
48
|
+
string: |-
|
49
|
+
{
|
50
|
+
"coordinators": [
|
51
|
+
"nirnaeth"
|
52
|
+
]
|
53
|
+
}
|
54
|
+
http_version:
|
55
|
+
recorded_at: Thu, 04 May 2017 15:48:17 GMT
|
56
|
+
- request:
|
57
|
+
method: put
|
58
|
+
uri: http://www.transifex.com/api/2/project/ruby-client/language/en/translators
|
59
|
+
body:
|
60
|
+
encoding: UTF-8
|
61
|
+
string: '{"coordinators":["nirnaeth"],"translators":["not_existing_translator"]}'
|
62
|
+
headers:
|
63
|
+
Content-Type:
|
64
|
+
- application/json
|
65
|
+
Accept:
|
66
|
+
- application/json
|
67
|
+
User-Agent:
|
68
|
+
- Transifex-interface-ruby/0.0.1
|
69
|
+
Accept-Encoding:
|
70
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
71
|
+
Authorization:
|
72
|
+
- Basic bS5naWFtYml0dG9AZnJlZWdvd2ViLml0Om1vbGxpXzAx
|
73
|
+
response:
|
74
|
+
status:
|
75
|
+
code: 400
|
76
|
+
message: BAD REQUEST
|
77
|
+
headers:
|
78
|
+
Server:
|
79
|
+
- nginx
|
80
|
+
Vary:
|
81
|
+
- Authorization, Host, Accept-Language, Cookie
|
82
|
+
Content-Type:
|
83
|
+
- text/plain
|
84
|
+
Date:
|
85
|
+
- Thu, 04 May 2017 15:48:18 GMT
|
86
|
+
Transfer-Encoding:
|
87
|
+
- chunked
|
88
|
+
Content-Language:
|
89
|
+
- en
|
90
|
+
Connection:
|
91
|
+
- close
|
92
|
+
Set-Cookie:
|
93
|
+
- X-Mapping-fjhppofk=371E5B112B2394FA3017E8BE0809059C; path=/
|
94
|
+
X-Frame-Options:
|
95
|
+
- SAMEORIGIN
|
96
|
+
body:
|
97
|
+
encoding: UTF-8
|
98
|
+
string: Users not_existing_translator do not exist.
|
99
|
+
http_version:
|
100
|
+
recorded_at: Thu, 04 May 2017 15:48:18 GMT
|
101
|
+
recorded_with: VCR 3.0.3
|
@@ -0,0 +1,157 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://www.transifex.com/api/2/project/ruby-client/language/en/coordinators
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: "{}"
|
9
|
+
headers:
|
10
|
+
Content-Type:
|
11
|
+
- application/json
|
12
|
+
Accept:
|
13
|
+
- application/json
|
14
|
+
User-Agent:
|
15
|
+
- Transifex-interface-ruby/0.0.1
|
16
|
+
Accept-Encoding:
|
17
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
18
|
+
Authorization:
|
19
|
+
- Basic bS5naWFtYml0dG9AZnJlZWdvd2ViLml0Om1vbGxpXzAx
|
20
|
+
response:
|
21
|
+
status:
|
22
|
+
code: 200
|
23
|
+
message: OK
|
24
|
+
headers:
|
25
|
+
Server:
|
26
|
+
- nginx
|
27
|
+
Vary:
|
28
|
+
- Accept-Encoding
|
29
|
+
- Authorization, Host, Accept-Language, Cookie
|
30
|
+
Content-Type:
|
31
|
+
- application/json; charset=utf-8
|
32
|
+
Date:
|
33
|
+
- Wed, 03 May 2017 16:47:51 GMT
|
34
|
+
Transfer-Encoding:
|
35
|
+
- chunked
|
36
|
+
Content-Language:
|
37
|
+
- en
|
38
|
+
X-Content-Type-Options:
|
39
|
+
- nosniff
|
40
|
+
Connection:
|
41
|
+
- keep-alive
|
42
|
+
Set-Cookie:
|
43
|
+
- X-Mapping-fjhppofk=300CA58EE011BC6BC0E393EE4F2B31F6; path=/
|
44
|
+
X-Frame-Options:
|
45
|
+
- SAMEORIGIN
|
46
|
+
body:
|
47
|
+
encoding: ASCII-8BIT
|
48
|
+
string: |-
|
49
|
+
{
|
50
|
+
"coordinators": [
|
51
|
+
"nirnaeth"
|
52
|
+
]
|
53
|
+
}
|
54
|
+
http_version:
|
55
|
+
recorded_at: Wed, 03 May 2017 16:47:51 GMT
|
56
|
+
- request:
|
57
|
+
method: put
|
58
|
+
uri: http://www.transifex.com/api/2/project/ruby-client/language/en/reviewers
|
59
|
+
body:
|
60
|
+
encoding: UTF-8
|
61
|
+
string: '{"coordinators":["nirnaeth"],"reviewers":["mupo"]}'
|
62
|
+
headers:
|
63
|
+
Content-Type:
|
64
|
+
- application/json
|
65
|
+
Accept:
|
66
|
+
- application/json
|
67
|
+
User-Agent:
|
68
|
+
- Transifex-interface-ruby/0.0.1
|
69
|
+
Accept-Encoding:
|
70
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
71
|
+
Authorization:
|
72
|
+
- Basic bS5naWFtYml0dG9AZnJlZWdvd2ViLml0Om1vbGxpXzAx
|
73
|
+
response:
|
74
|
+
status:
|
75
|
+
code: 200
|
76
|
+
message: OK
|
77
|
+
headers:
|
78
|
+
Server:
|
79
|
+
- nginx
|
80
|
+
Vary:
|
81
|
+
- Accept-Encoding
|
82
|
+
- Authorization, Host, Accept-Language, Cookie
|
83
|
+
Content-Type:
|
84
|
+
- text/plain
|
85
|
+
Date:
|
86
|
+
- Wed, 03 May 2017 16:47:51 GMT
|
87
|
+
Transfer-Encoding:
|
88
|
+
- chunked
|
89
|
+
Content-Language:
|
90
|
+
- en
|
91
|
+
X-Content-Type-Options:
|
92
|
+
- nosniff
|
93
|
+
Connection:
|
94
|
+
- keep-alive
|
95
|
+
Set-Cookie:
|
96
|
+
- X-Mapping-fjhppofk=371E5B112B2394FA3017E8BE0809059C; path=/
|
97
|
+
X-Frame-Options:
|
98
|
+
- SAMEORIGIN
|
99
|
+
body:
|
100
|
+
encoding: ASCII-8BIT
|
101
|
+
string: OK
|
102
|
+
http_version:
|
103
|
+
recorded_at: Wed, 03 May 2017 16:47:51 GMT
|
104
|
+
- request:
|
105
|
+
method: get
|
106
|
+
uri: http://www.transifex.com/api/2/project/ruby-client/language/en/reviewers
|
107
|
+
body:
|
108
|
+
encoding: UTF-8
|
109
|
+
string: "{}"
|
110
|
+
headers:
|
111
|
+
Content-Type:
|
112
|
+
- application/json
|
113
|
+
Accept:
|
114
|
+
- application/json
|
115
|
+
User-Agent:
|
116
|
+
- Transifex-interface-ruby/0.0.1
|
117
|
+
Accept-Encoding:
|
118
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
119
|
+
Authorization:
|
120
|
+
- Basic bS5naWFtYml0dG9AZnJlZWdvd2ViLml0Om1vbGxpXzAx
|
121
|
+
response:
|
122
|
+
status:
|
123
|
+
code: 200
|
124
|
+
message: OK
|
125
|
+
headers:
|
126
|
+
Server:
|
127
|
+
- nginx
|
128
|
+
Vary:
|
129
|
+
- Accept-Encoding
|
130
|
+
- Authorization, Host, Accept-Language, Cookie
|
131
|
+
Content-Type:
|
132
|
+
- application/json; charset=utf-8
|
133
|
+
Date:
|
134
|
+
- Wed, 03 May 2017 16:47:51 GMT
|
135
|
+
Transfer-Encoding:
|
136
|
+
- chunked
|
137
|
+
Content-Language:
|
138
|
+
- en
|
139
|
+
X-Content-Type-Options:
|
140
|
+
- nosniff
|
141
|
+
Connection:
|
142
|
+
- keep-alive
|
143
|
+
Set-Cookie:
|
144
|
+
- X-Mapping-fjhppofk=2F71BA404CBE394603A72279804CAC7D; path=/
|
145
|
+
X-Frame-Options:
|
146
|
+
- SAMEORIGIN
|
147
|
+
body:
|
148
|
+
encoding: ASCII-8BIT
|
149
|
+
string: |-
|
150
|
+
{
|
151
|
+
"reviewers": [
|
152
|
+
"mupo"
|
153
|
+
]
|
154
|
+
}
|
155
|
+
http_version:
|
156
|
+
recorded_at: Wed, 03 May 2017 16:47:51 GMT
|
157
|
+
recorded_with: VCR 3.0.3
|