ruby-lokalise-api 2.2.0 → 2.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9a5f36579a974c5603be3b92103e0aebce9284a26919cbfbe87ce50b4f99669f
4
- data.tar.gz: a36515189ac1c9242c5e21417ac52bcd27a0b43616d23e0881f41096bd03a778
3
+ metadata.gz: 0f06a31e2619b9aead1f7fe44c4b62557636389c95102757c263672bedef9f19
4
+ data.tar.gz: 4c76a5505ffca2f4cc6218abddc017439175d11ca689d0e0f5f2a042e94e3bf0
5
5
  SHA512:
6
- metadata.gz: 8d60b0a73b05773d852d4694e725e89e908045b6683f9c5611448f23368e490cdb05bb22a29c663671cf6e8f0294db186a198ac7e7bb2a67d94173ce1b98fd7f
7
- data.tar.gz: 500835c3d7f8c4a49691958abc3a5bf36a9f15ddbe3694e2ec02174524f21918f145d28f328d7e17f32e0bed866e87626be7e14a3b844984f65599bb01cc07b8
6
+ metadata.gz: f9e28c0ddf96ac41b7658fdf41d277d9a7fc57940c126f16dcc47b2f24d882b998d83f975a6c5a3840bc81eb8ee12bb2d04978f79cca6f52f0a33e81abf0a235
7
+ data.tar.gz: 58837157151d763e18c4c4f13617dfef4c56e1011e0ce2416832b778fbe6d60719b9c0e3ba10ab0c675239ce9f32ef86b86ddcd8f728bd50187e69625753891e
@@ -1,4 +1,10 @@
1
1
  # Changelog
2
+
3
+ ## 2.3.0 (17-July-19)
4
+
5
+ * Incorporated latest API changes
6
+ * Added support for [`TranslationStatus` endpoint](https://lokalise.co/api2docs/ruby/#resource-translation-statuses)
7
+
2
8
  ## 2.2.0 (19-May-19)
3
9
 
4
10
  * Added support for [`TeamUserGroup` endpoint](https://lokalise.co/api2docs/ruby/#resource-team-user-groups)
data/README.md CHANGED
@@ -29,6 +29,7 @@ Official opinionated Ruby interface for the [Lokalise API](https://lokalise.co/a
29
29
  + [Team user groups](#team-user-groups)
30
30
  + [Translations](#translations)
31
31
  + [Translation Providers](#translation-providers)
32
+ + [Translation Statuses](#translation-statuses)
32
33
  * [Additional Info](#additional-info)
33
34
  + [Error handling](#error-handling)
34
35
  + [API Rate Limits](#api-rate-limits)
@@ -1367,6 +1368,105 @@ translation.update(params)
1367
1368
  ## Single provider for the team
1368
1369
  ```
1369
1370
 
1371
+ ### Translation Statuses
1372
+
1373
+ [Translation Status attributes](https://lokalise.co/api2docs/ruby/#object-translation-statuses)
1374
+
1375
+ *Custom translation statuses must be enabled for the project before using this endpoint!* It can be done in the project settings.
1376
+
1377
+ #### Fetch translation statuses
1378
+
1379
+ [Doc](https://lokalise.co/api2docs/ruby/#transition-list-all-custom-translation-statuses-get)
1380
+
1381
+ ```ruby
1382
+ @client.translation_statuses(project_id, params = {}) # Input:
1383
+ ## project_id (string, required)
1384
+ ## params (hash)
1385
+ ### :page and :limit
1386
+ # Output:
1387
+ ## Collection of translation statuses for the project
1388
+ ```
1389
+
1390
+ #### Fetch a single translation status
1391
+
1392
+ [Doc](https://lokalise.co/api2docs/ruby/#transition-retrieve-a-custom-translation-status-get)
1393
+
1394
+ ```ruby
1395
+ @client.translation_status(project_id, status_id) # Input:
1396
+ ## project_id (string, required)
1397
+ ## status_id (string or integer, required)
1398
+ # Output:
1399
+ ## Translation status inside the given project
1400
+ ```
1401
+
1402
+ #### Create translation status
1403
+
1404
+ [Doc](https://lokalise.co/api2docs/ruby/#transition-create-a-custom-translation-status-post)
1405
+
1406
+ ```ruby
1407
+ @client.create_translation_status(project_id, params) # Input:
1408
+ ## project_id (string, required)
1409
+ ## params (hash, required)
1410
+ ### :title (string, required) - title of the new status
1411
+ ### :color (string, required) - HEX color code of the new status. Lokalise allows a very limited number of color codes to set. Check the official docs or use `#translation_status_colors` method listed below to find the list of supported colors
1412
+ # Output:
1413
+ ## Created translation status
1414
+ ```
1415
+
1416
+ #### Update translation status
1417
+
1418
+ [Doc](https://lokalise.co/api2docs/ruby/#transition-update-a-custom-translation-status-put)
1419
+
1420
+ ```ruby
1421
+ @client.update_translation_status(project_id, status_id, params) # Input:
1422
+ ## project_id (string, required)
1423
+ ## status_id (string or integer, required)
1424
+ ## params (hash, required)
1425
+ ### :title (string, required) - title of the new status
1426
+ ### :color (string, required) - HEX color code of the new status
1427
+ # Output:
1428
+ ## Updated translation status
1429
+ ```
1430
+
1431
+ Alternatively:
1432
+
1433
+ ```ruby
1434
+ status = @client.translation_status(project_id, status_id)
1435
+ status.update(params)
1436
+ ```
1437
+
1438
+ #### Delete translation status
1439
+
1440
+ [Doc](https://lokalise.co/api2docs/ruby/#transition-delete-a-custom-translation-status-delete)
1441
+
1442
+ ```ruby
1443
+ @client.destroy_translation_status(project_id, status_id) # Input:
1444
+ ## project_id (string, required)
1445
+ ## status_id (string or integer, required)
1446
+ # Output:
1447
+ ## Translation status inside the given project
1448
+ ```
1449
+
1450
+ Alternatively:
1451
+
1452
+ ```ruby
1453
+ status = @client.translation_status(project_id, status_id)
1454
+ status.destroy
1455
+ ```
1456
+
1457
+ #### Supported color codes for translation statuses
1458
+
1459
+ [Doc](https://lokalise.co/api2docs/ruby/#transition-retrieve-available-colors-for-custom-translation-statuses-get)
1460
+
1461
+ As long as Lokalise supports only very limited array of color hexadecimal codes for custom translation statuses, this method can be used to fetch all permitted values.
1462
+
1463
+ ```ruby
1464
+ @client.translation_status_colors(project_id) # Input:
1465
+ ## project_id (string, required)
1466
+ # Output:
1467
+ ## Array of color codes in HEX format
1468
+ ```
1469
+
1370
1470
  ## Additional Info
1371
1471
 
1372
1472
  ### Error handling
@@ -30,6 +30,7 @@ require 'ruby-lokalise-api/resources/order'
30
30
  require 'ruby-lokalise-api/resources/payment_card'
31
31
  require 'ruby-lokalise-api/resources/translation_provider'
32
32
  require 'ruby-lokalise-api/resources/team_user_group'
33
+ require 'ruby-lokalise-api/resources/custom_translation_status'
33
34
 
34
35
  require 'ruby-lokalise-api/collections/base'
35
36
  require 'ruby-lokalise-api/collections/project'
@@ -50,6 +51,7 @@ require 'ruby-lokalise-api/collections/order'
50
51
  require 'ruby-lokalise-api/collections/payment_card'
51
52
  require 'ruby-lokalise-api/collections/translation_provider'
52
53
  require 'ruby-lokalise-api/collections/team_user_group'
54
+ require 'ruby-lokalise-api/collections/custom_translation_status'
53
55
 
54
56
  require 'ruby-lokalise-api/client'
55
57
 
@@ -14,6 +14,7 @@ require 'ruby-lokalise-api/rest/orders'
14
14
  require 'ruby-lokalise-api/rest/payment_cards'
15
15
  require 'ruby-lokalise-api/rest/translation_providers'
16
16
  require 'ruby-lokalise-api/rest/team_user_group'
17
+ require 'ruby-lokalise-api/rest/custom_translation_statuses'
17
18
 
18
19
  module Lokalise
19
20
  class Client
@@ -0,0 +1,13 @@
1
+ module Lokalise
2
+ module Collections
3
+ class CustomTranslationStatus < Base
4
+ DATA_KEY_PLURAL = 'CustomTranslationStatuses'.freeze
5
+
6
+ class << self
7
+ def endpoint(project_id, *_args)
8
+ path_from projects: [project_id, 'custom_translation_statuses']
9
+ end
10
+ end
11
+ end
12
+ end
13
+ end
@@ -19,6 +19,11 @@
19
19
  "admin_rights",
20
20
  "created_at_timestamp"
21
21
  ],
22
+ "custom_translation_status": [
23
+ "status_id",
24
+ "title",
25
+ "color"
26
+ ],
22
27
  "file": [
23
28
  "filename",
24
29
  "key_count"
@@ -137,7 +142,8 @@
137
142
  "completed_at",
138
143
  "completed_at_timestamp",
139
144
  "completed_by",
140
- "completed_by_email"
145
+ "completed_by_email",
146
+ "custom_translation_status_ids"
141
147
  ],
142
148
  "team": [
143
149
  "team_id",
@@ -177,7 +183,8 @@
177
183
  "translation",
178
184
  "is_fuzzy",
179
185
  "is_reviewed",
180
- "words"
186
+ "words",
187
+ "custom_translation_statuses"
181
188
  ],
182
189
  "translation_provider": [
183
190
  "provider_id",
@@ -0,0 +1,19 @@
1
+ module Lokalise
2
+ module Resources
3
+ class CustomTranslationStatus < Base
4
+ ID_KEY = 'status'.freeze
5
+ supports :update, :destroy
6
+
7
+ class << self
8
+ def colors(client, path, *_args)
9
+ get(path, client)['content']['colors']
10
+ end
11
+
12
+ def endpoint(project_id, status_id = nil)
13
+ path_from projects: project_id,
14
+ custom_translation_statuses: status_id
15
+ end
16
+ end
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,63 @@
1
+ module Lokalise
2
+ class Client
3
+ # Returns all translation statuses for the given project
4
+ #
5
+ # @see https://lokalise.co/api2docs/ruby/#transition-list-all-custom-translation-statuses-get
6
+ # @return [Lokalise::Collection::CustomTranslationStatus<Lokalise::Resources::CustomTranslationStatus>]
7
+ # @param project_id [String]
8
+ # @param params [Hash]
9
+ def translation_statuses(project_id, params = {})
10
+ c_r Lokalise::Collections::CustomTranslationStatus, :all, project_id, params
11
+ end
12
+
13
+ # Returns a single translation status for the given project
14
+ #
15
+ # @see https://lokalise.co/api2docs/ruby/#transition-retrieve-a-custom-translation-status-get
16
+ # @return [Lokalise::Resources::CustomTranslationStatus]
17
+ # @param project_id [String]
18
+ # @param status_id [String, Integer]
19
+ def translation_status(project_id, status_id)
20
+ c_r Lokalise::Resources::CustomTranslationStatus, :find, [project_id, status_id]
21
+ end
22
+
23
+ # Creates translation status inside the given project
24
+ #
25
+ # @see https://lokalise.co/api2docs/ruby/#transition-create-a-custom-translation-status-post
26
+ # @return Lokalise::Resources::CustomTranslationStatus
27
+ # @param project_id [String]
28
+ # @param params Hash
29
+ def create_translation_status(project_id, params)
30
+ c_r Lokalise::Resources::CustomTranslationStatus, :create, project_id, params
31
+ end
32
+
33
+ # Updates the given translation status inside the given project
34
+ #
35
+ # @see https://lokalise.co/api2docs/ruby/#transition-update-a-custom-translation-status-put
36
+ # @return [Lokalise::Resources::CustomTranslationStatus]
37
+ # @param project_id [String]
38
+ # @param status_id [String, Integer]
39
+ # @param params [Hash]
40
+ def update_translation_status(project_id, status_id, params)
41
+ c_r Lokalise::Resources::CustomTranslationStatus, :update, [project_id, status_id], params
42
+ end
43
+
44
+ # Deletes translation status inside the given project
45
+ #
46
+ # @see https://lokalise.co/api2docs/ruby/#transition-delete-a-custom-translation-status-delete
47
+ # @return [Hash]
48
+ # @param project_id [String]
49
+ # @param status_id [String, Integer]
50
+ def destroy_translation_status(project_id, status_id)
51
+ c_r Lokalise::Resources::CustomTranslationStatus, :destroy, [project_id, status_id]
52
+ end
53
+
54
+ # Returns an array of available colors that can be assigned to custom translation statuses
55
+ #
56
+ # @see https://lokalise.co/api2docs/ruby/#transition-retrieve-available-colors-for-custom-translation-statuses-get
57
+ # @return [Array]
58
+ # @param project_id [String]
59
+ def translation_status_colors(project_id)
60
+ c_r Lokalise::Resources::CustomTranslationStatus, :colors, [project_id, 'colors']
61
+ end
62
+ end
63
+ end
@@ -7,11 +7,18 @@ module Lokalise
7
7
  # Most class names correspond to resource names (eg, `Project`, `Team`)
8
8
  # but some may differ (`ProjectComment` corresponds to `Comment` resource).
9
9
  # The resource name is in lowercase, with underscores as separators.
10
+ # Some resources also have different pluralization rules. For example,
11
+ # "CustomTranslationStatus" is "CustomTranslationStatuses" (-es postfix).
12
+ # To address that, we try to fetch `DATA_KEY_PLURAL` set for the individual class.
10
13
  #
11
14
  # @return [String]
12
15
  # @param model_class [String]
13
16
  # @param plural [Boolean] Should the returned value be pluralized?
14
17
  def data_key_for(model_class, plural = false, collection = false)
18
+ data_key_plural = get_key('DATA_KEY_PLURAL', model_class, true, true)
19
+
20
+ return data_key_plural if collection && data_key_plural
21
+
15
22
  data_key = get_key 'DATA_KEY', model_class, collection
16
23
 
17
24
  return data_key unless plural
@@ -43,14 +50,17 @@ module Lokalise
43
50
 
44
51
  private
45
52
 
46
- def get_key(name, model_class, collection = false)
47
- if collection && Module.const_defined?("Lokalise::Collections::#{model_class}::#{name}")
48
- Module.const_get "Lokalise::Collections::#{model_class}::#{name}"
49
- elsif Module.const_defined? "Lokalise::Resources::#{model_class}::#{name}"
50
- Module.const_get "Lokalise::Resources::#{model_class}::#{name}"
51
- else
52
- model_class
53
- end.snakecase
53
+ def get_key(name, model_class, collection = false, strict = false)
54
+ key = if collection && Module.const_defined?("Lokalise::Collections::#{model_class}::#{name}")
55
+ Module.const_get "Lokalise::Collections::#{model_class}::#{name}"
56
+ elsif Module.const_defined? "Lokalise::Resources::#{model_class}::#{name}"
57
+ Module.const_get "Lokalise::Resources::#{model_class}::#{name}"
58
+ else
59
+ strict ? nil : model_class
60
+ end
61
+
62
+ # Sometimes key is nil
63
+ key ? key.snakecase : key
54
64
  end
55
65
 
56
66
  # Unify some resources' names (eg, `ProjectComment` and `KeyComment` have the same attributes which are stored under `comment`)
@@ -1,3 +1,3 @@
1
1
  module Lokalise
2
- VERSION = '2.2.0'.freeze
2
+ VERSION = '2.3.0'.freeze
3
3
  end
@@ -30,5 +30,5 @@ Gem::Specification.new do |spec|
30
30
  spec.add_development_dependency 'rubocop', '~> 0.60'
31
31
  spec.add_development_dependency 'rubocop-performance', '~> 1.0'
32
32
  spec.add_development_dependency 'simplecov', '~> 0.16'
33
- spec.add_development_dependency 'vcr', '~> 4.0'
33
+ spec.add_development_dependency 'vcr', '~> 5.0'
34
34
  end
@@ -0,0 +1,117 @@
1
+ RSpec.describe Lokalise::Client do
2
+ let(:project_id) { '803826145ba90b42d5d860.46800099' }
3
+ let(:status_id) { 128 }
4
+ let(:new_status_id) { 126 }
5
+
6
+ describe '#translation_statuses' do
7
+ it 'should return all statuses' do
8
+ statuses = VCR.use_cassette('all_translation_statuses') do
9
+ test_client.translation_statuses project_id
10
+ end.collection
11
+
12
+ expect(statuses.count).to eq(3)
13
+ expect(statuses.first.status_id).to eq(status_id)
14
+ end
15
+
16
+ it 'should support pagination' do
17
+ statuses = VCR.use_cassette('all_translation_statuses_pagination') do
18
+ test_client.translation_statuses project_id, limit: 1, page: 2
19
+ end
20
+
21
+ expect(statuses.collection.count).to eq(1)
22
+ expect(statuses.total_results).to eq(3)
23
+ expect(statuses.total_pages).to eq(3)
24
+ expect(statuses.results_per_page).to eq(1)
25
+ expect(statuses.current_page).to eq(2)
26
+
27
+ expect(statuses.next_page?).to eq(true)
28
+ expect(statuses.last_page?).to eq(false)
29
+ expect(statuses.prev_page?).to eq(true)
30
+ expect(statuses.first_page?).to eq(false)
31
+ end
32
+ end
33
+
34
+ specify '#translation_status' do
35
+ status = VCR.use_cassette('translation_status') do
36
+ test_client.translation_status project_id, status_id
37
+ end
38
+
39
+ expect(status.status_id).to eq(status_id)
40
+ expect(status.title).to eq('random')
41
+ expect(status.color).to eq('#0079bf')
42
+ end
43
+
44
+ specify '#create_translation_status' do
45
+ title = 'Reviewed by doctors'
46
+ color = '#f2d600'
47
+ status = VCR.use_cassette('create_translation_status') do
48
+ test_client.create_translation_status project_id,
49
+ title: title,
50
+ color: color
51
+ end
52
+
53
+ expect(status.title).to eq(title)
54
+ expect(status.color).to eq(color)
55
+ end
56
+
57
+ specify '#update_translation_status' do
58
+ title = 'Reviewed by rubyists'
59
+ color = '#c377e0'
60
+ status = VCR.use_cassette('update_translation_status') do
61
+ test_client.update_translation_status project_id, new_status_id,
62
+ title: title,
63
+ color: color
64
+ end
65
+
66
+ expect(status.title).to eq(title)
67
+ expect(status.color).to eq(color)
68
+ end
69
+
70
+ specify '#destroy_translation_status' do
71
+ response = VCR.use_cassette('destroy_translation_status') do
72
+ test_client.destroy_translation_status project_id, new_status_id
73
+ end
74
+
75
+ expect(response['project_id']).to eq(project_id)
76
+ expect(response['custom_translation_status_deleted']).to eq(true)
77
+ end
78
+
79
+ specify '#translation_status_colors' do
80
+ response = VCR.use_cassette('translation_status_colors') do
81
+ test_client.translation_status_colors project_id
82
+ end
83
+
84
+ expect(response).to be_an(Array)
85
+ expect(response).to include('#f2d600')
86
+ end
87
+
88
+ context 'translation status chained methods' do
89
+ it 'should support update and destroy' do
90
+ status = VCR.use_cassette('create_another_translation_status') do
91
+ test_client.create_translation_status project_id,
92
+ title: 'rspec',
93
+ color: '#c377e0'
94
+ end
95
+
96
+ expect(status.title).to eq('rspec')
97
+ expect(status.color).to eq('#c377e0')
98
+
99
+ status = VCR.use_cassette('update_another_translation_status') do
100
+ status.update(
101
+ title: 'updated rspec',
102
+ color: '#0079bf'
103
+ )
104
+ end
105
+
106
+ expect(status.title).to eq('updated rspec')
107
+ expect(status.color).to eq('#0079bf')
108
+
109
+ response = VCR.use_cassette('delete_another_translation_status') do
110
+ status.destroy
111
+ end
112
+
113
+ expect(response['project_id']).to eq(project_id)
114
+ expect(response['custom_translation_status_deleted']).to eq(true)
115
+ end
116
+ end
117
+ end
@@ -31,7 +31,7 @@ RSpec.describe Lokalise::Client do
31
31
  end
32
32
 
33
33
  expect(task.task_id).to eq(11_925)
34
- expect(task.title).to eq('Demo review')
34
+ expect(task.title).to eq('node updated')
35
35
  expect(task.description).to eq('')
36
36
  expect(task.status).to eq('in progress')
37
37
  expect(task.progress).to eq(1)
@@ -55,6 +55,7 @@ RSpec.describe Lokalise::Client do
55
55
  expect(task.completed_at).to eq(nil)
56
56
  expect(task.completed_at_timestamp).to eq(nil)
57
57
  expect(task.do_lock_translations).to eq(false)
58
+ expect(task.custom_translation_status_ids).to eq([])
58
59
  end
59
60
 
60
61
  specify '#create_task' do
@@ -71,6 +71,7 @@ RSpec.describe Lokalise::Client do
71
71
  expect(translation.is_fuzzy).to eq(false)
72
72
  expect(translation.is_reviewed).to eq(false)
73
73
  expect(translation.words).to eq(5)
74
+ expect(translation.custom_translation_statuses).to eq([])
74
75
  end
75
76
 
76
77
  specify '#update_translation' do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-lokalise-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 2.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ilya Bodrov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-19 00:00:00.000000000 Z
11
+ date: 2019-07-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable
@@ -142,14 +142,14 @@ dependencies:
142
142
  requirements:
143
143
  - - "~>"
144
144
  - !ruby/object:Gem::Version
145
- version: '4.0'
145
+ version: '5.0'
146
146
  type: :development
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
150
  - - "~>"
151
151
  - !ruby/object:Gem::Version
152
- version: '4.0'
152
+ version: '5.0'
153
153
  description: Opinionated Ruby client for the Lokalise platform API allowing to work
154
154
  with translations, projects, users and other resources as with Ruby objects.
155
155
  email:
@@ -161,7 +161,6 @@ extra_rdoc_files:
161
161
  files:
162
162
  - ".github/CODE_OF_CONDUCT.md"
163
163
  - ".github/CONTRIBUTING.md"
164
- - ".github/ISSUE_TEMPLATE.md"
165
164
  - ".github/PULL_REQUEST_TEMPLATE.md"
166
165
  - CHANGELOG.md
167
166
  - Gemfile
@@ -172,6 +171,7 @@ files:
172
171
  - lib/ruby-lokalise-api/client.rb
173
172
  - lib/ruby-lokalise-api/collections/base.rb
174
173
  - lib/ruby-lokalise-api/collections/contributor.rb
174
+ - lib/ruby-lokalise-api/collections/custom_translation_status.rb
175
175
  - lib/ruby-lokalise-api/collections/file.rb
176
176
  - lib/ruby-lokalise-api/collections/key.rb
177
177
  - lib/ruby-lokalise-api/collections/key_comment.rb
@@ -195,6 +195,7 @@ files:
195
195
  - lib/ruby-lokalise-api/request.rb
196
196
  - lib/ruby-lokalise-api/resources/base.rb
197
197
  - lib/ruby-lokalise-api/resources/contributor.rb
198
+ - lib/ruby-lokalise-api/resources/custom_translation_status.rb
198
199
  - lib/ruby-lokalise-api/resources/file.rb
199
200
  - lib/ruby-lokalise-api/resources/key.rb
200
201
  - lib/ruby-lokalise-api/resources/key_comment.rb
@@ -214,6 +215,7 @@ files:
214
215
  - lib/ruby-lokalise-api/resources/translation_provider.rb
215
216
  - lib/ruby-lokalise-api/rest/comments.rb
216
217
  - lib/ruby-lokalise-api/rest/contributors.rb
218
+ - lib/ruby-lokalise-api/rest/custom_translation_statuses.rb
217
219
  - lib/ruby-lokalise-api/rest/files.rb
218
220
  - lib/ruby-lokalise-api/rest/keys.rb
219
221
  - lib/ruby-lokalise-api/rest/languages.rb
@@ -236,6 +238,7 @@ files:
236
238
  - spec/lib/ruby-lokalise-api/error_spec.rb
237
239
  - spec/lib/ruby-lokalise-api/rest/comments_spec.rb
238
240
  - spec/lib/ruby-lokalise-api/rest/contributors_spec.rb
241
+ - spec/lib/ruby-lokalise-api/rest/custom_translation_statuses_spec.rb
239
242
  - spec/lib/ruby-lokalise-api/rest/files_spec.rb
240
243
  - spec/lib/ruby-lokalise-api/rest/keys_spec.rb
241
244
  - spec/lib/ruby-lokalise-api/rest/languages_spec.rb
@@ -274,7 +277,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
274
277
  - !ruby/object:Gem::Version
275
278
  version: '0'
276
279
  requirements: []
277
- rubygems_version: 3.0.3
280
+ rubygems_version: 3.0.4
278
281
  signing_key:
279
282
  specification_version: 4
280
283
  summary: Ruby interface to the Lokalise API
@@ -282,6 +285,7 @@ test_files:
282
285
  - spec/lib/ruby-lokalise-api/error_spec.rb
283
286
  - spec/lib/ruby-lokalise-api/rest/comments_spec.rb
284
287
  - spec/lib/ruby-lokalise-api/rest/contributors_spec.rb
288
+ - spec/lib/ruby-lokalise-api/rest/custom_translation_statuses_spec.rb
285
289
  - spec/lib/ruby-lokalise-api/rest/files_spec.rb
286
290
  - spec/lib/ruby-lokalise-api/rest/keys_spec.rb
287
291
  - spec/lib/ruby-lokalise-api/rest/languages_spec.rb
@@ -1,13 +0,0 @@
1
- ### Steps to reproduce
2
-
3
- ### Expected behavior
4
-
5
- Tell us what should happen
6
-
7
- ### Actual behavior
8
-
9
- Tell us what happens instead
10
-
11
- ### System configuration
12
-
13
- **Ruby version**: