crowdin-api 1.3.0 → 1.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/docs.yml +31 -0
- data/.rubocop_todo.yml +55 -61
- data/Gemfile +3 -0
- data/README.md +37 -6
- data/lib/crowdin-api/api_resources/bundles.rb +104 -0
- data/lib/crowdin-api/api_resources/glossaries.rb +49 -0
- data/lib/crowdin-api/api_resources/projects.rb +27 -0
- data/lib/crowdin-api/api_resources/reports.rb +64 -0
- data/lib/crowdin-api/api_resources/source_files.rb +64 -0
- data/lib/crowdin-api/api_resources/storages.rb +12 -0
- data/lib/crowdin-api/api_resources/string_translations.rb +1 -1
- data/lib/crowdin-api/client/client.rb +86 -0
- data/lib/crowdin-api/client/version.rb +1 -1
- data/lib/crowdin-api/core/errors.rb +1 -0
- data/lib/crowdin-api/core/fetch_all_extensions.rb +9 -0
- data/lib/crowdin-api/core/request.rb +7 -12
- data/lib/crowdin-api.rb +2 -1
- data/spec/api_resources/bundles_spec.rb +61 -0
- data/spec/api_resources/glossaries_spec.rb +43 -0
- data/spec/api_resources/reports_spec.rb +50 -0
- data/spec/api_resources/source_files_spec.rb +171 -0
- data/spec/api_resources/storages_spec.rb +28 -0
- data/spec/api_resources/string_comments_spec.rb +38 -0
- data/spec/api_resources/string_translations_spec.rb +128 -0
- data/spec/api_resources/teams_spec.rb +87 -0
- data/spec/api_resources/translation_memory_spec.rb +101 -0
- data/spec/api_resources/translation_status_spec.rb +46 -0
- data/spec/spec_helper.rb +5 -2
- data/spec/unit/client_spec.rb +6 -0
- metadata +6 -2
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: crowdin-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Crowdin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-11-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: open-uri
|
@@ -170,6 +170,7 @@ extensions: []
|
|
170
170
|
extra_rdoc_files: []
|
171
171
|
files:
|
172
172
|
- ".github/workflows/build-and-publish.yml"
|
173
|
+
- ".github/workflows/docs.yml"
|
173
174
|
- ".github/workflows/test-and-lint.yml"
|
174
175
|
- ".gitignore"
|
175
176
|
- ".rspec"
|
@@ -184,6 +185,7 @@ files:
|
|
184
185
|
- bin/crowdin-console
|
185
186
|
- crowdin-api.gemspec
|
186
187
|
- lib/crowdin-api.rb
|
188
|
+
- lib/crowdin-api/api_resources/bundles.rb
|
187
189
|
- lib/crowdin-api/api_resources/dictionaries.rb
|
188
190
|
- lib/crowdin-api/api_resources/distributions.rb
|
189
191
|
- lib/crowdin-api/api_resources/glossaries.rb
|
@@ -212,8 +214,10 @@ files:
|
|
212
214
|
- lib/crowdin-api/client/version.rb
|
213
215
|
- lib/crowdin-api/core/errors.rb
|
214
216
|
- lib/crowdin-api/core/errors_raisers.rb
|
217
|
+
- lib/crowdin-api/core/fetch_all_extensions.rb
|
215
218
|
- lib/crowdin-api/core/request.rb
|
216
219
|
- lib/crowdin-api/core/send_request.rb
|
220
|
+
- spec/api_resources/bundles_spec.rb
|
217
221
|
- spec/api_resources/dictionaries_spec.rb
|
218
222
|
- spec/api_resources/distributions_spec.rb
|
219
223
|
- spec/api_resources/glossaries_spec.rb
|