abbyy-cloud 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (84) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +7 -13
  3. data/.travis.yml +1 -1
  4. data/CHANGELOG.md +11 -0
  5. data/README.md +29 -0
  6. data/abbyy-cloud.gemspec +4 -2
  7. data/lib/abbyy/cloud.rb +14 -26
  8. data/lib/abbyy/cloud/connection.rb +3 -10
  9. data/lib/abbyy/cloud/exceptions/response_error.rb +1 -1
  10. data/lib/abbyy/cloud/models/cost_type.rb +14 -0
  11. data/lib/abbyy/cloud/models/currency.rb +14 -0
  12. data/lib/abbyy/cloud/models/direction.rb +0 -1
  13. data/lib/abbyy/cloud/models/discount.rb +2 -1
  14. data/lib/abbyy/cloud/models/discount_type.rb +19 -0
  15. data/lib/abbyy/cloud/models/engine.rb +0 -2
  16. data/lib/abbyy/cloud/models/error.rb +0 -1
  17. data/lib/abbyy/cloud/models/file_format.rb +19 -0
  18. data/lib/abbyy/cloud/models/file_info.rb +33 -0
  19. data/lib/abbyy/cloud/models/file_link.rb +18 -0
  20. data/lib/abbyy/cloud/models/file_read_error.rb +20 -0
  21. data/lib/abbyy/cloud/models/file_read_status.rb +14 -0
  22. data/lib/abbyy/cloud/models/file_reference.rb +11 -0
  23. data/lib/abbyy/cloud/models/full_order.rb +46 -0
  24. data/lib/abbyy/cloud/models/label.rb +14 -0
  25. data/lib/abbyy/cloud/models/ocr_mode.rb +19 -0
  26. data/lib/abbyy/cloud/models/ocr_quality.rb +18 -0
  27. data/lib/abbyy/cloud/models/ocr_settings.rb +16 -0
  28. data/lib/abbyy/cloud/models/ocr_statistics.rb +13 -0
  29. data/lib/abbyy/cloud/models/ocr_warning.rb +16 -0
  30. data/lib/abbyy/cloud/models/ocr_warning_type.rb +29 -0
  31. data/lib/abbyy/cloud/models/order_statistics.rb +15 -0
  32. data/lib/abbyy/cloud/models/payment_type.rb +14 -0
  33. data/lib/abbyy/cloud/models/price.rb +1 -1
  34. data/lib/abbyy/cloud/models/reading_status.rb +20 -0
  35. data/lib/abbyy/cloud/models/source_segment.rb +0 -1
  36. data/lib/abbyy/cloud/models/source_tag.rb +0 -1
  37. data/lib/abbyy/cloud/models/status.rb +25 -0
  38. data/lib/abbyy/cloud/models/text_statistics.rb +15 -0
  39. data/lib/abbyy/cloud/models/transfer_data.rb +0 -3
  40. data/lib/abbyy/cloud/models/translation.rb +0 -2
  41. data/lib/abbyy/cloud/models/translation_link.rb +18 -0
  42. data/lib/abbyy/cloud/models/translation_segment.rb +0 -1
  43. data/lib/abbyy/cloud/models/translation_type.rb +14 -0
  44. data/lib/abbyy/cloud/models/unit_price.rb +3 -0
  45. data/lib/abbyy/cloud/models/unit_type.rb +14 -0
  46. data/lib/abbyy/cloud/namespaces/files.rb +19 -0
  47. data/lib/abbyy/cloud/namespaces/orders.rb +17 -0
  48. data/lib/abbyy/cloud/namespaces/prices.rb +1 -1
  49. data/lib/abbyy/cloud/operations/base.rb +56 -19
  50. data/lib/abbyy/cloud/operations/download_file.rb +12 -0
  51. data/lib/abbyy/cloud/operations/engines.rb +1 -1
  52. data/lib/abbyy/cloud/operations/find_order.rb +13 -0
  53. data/lib/abbyy/cloud/operations/prices.rb +1 -1
  54. data/lib/abbyy/cloud/operations/submit_order.rb +32 -0
  55. data/lib/abbyy/cloud/operations/translate.rb +1 -1
  56. data/lib/abbyy/cloud/operations/translate_segments.rb +1 -1
  57. data/lib/abbyy/cloud/operations/upload_file.rb +22 -0
  58. data/lib/abbyy/cloud/types.rb +8 -17
  59. data/spec/feature/abbyy/files_download_spec.rb +57 -0
  60. data/spec/feature/abbyy/files_upload_spec.rb +129 -0
  61. data/spec/feature/abbyy/orders_create_spec.rb +245 -0
  62. data/spec/feature/abbyy/orders_find_spec.rb +116 -0
  63. data/spec/{abbyy → unit/abbyy}/cloud/connection_spec.rb +1 -1
  64. data/spec/{abbyy → unit/abbyy}/cloud/models/direction_spec.rb +0 -0
  65. data/spec/{abbyy → unit/abbyy}/cloud/models/discount_spec.rb +0 -0
  66. data/spec/{abbyy → unit/abbyy}/cloud/models/engine_spec.rb +0 -0
  67. data/spec/{abbyy → unit/abbyy}/cloud/models/error_spec.rb +0 -0
  68. data/spec/unit/abbyy/cloud/models/file_link_spec.rb +51 -0
  69. data/spec/unit/abbyy/cloud/models/file_reference_spec.rb +24 -0
  70. data/spec/unit/abbyy/cloud/models/full_order_spec.rb +192 -0
  71. data/spec/{abbyy → unit/abbyy}/cloud/models/locale_spec.rb +0 -0
  72. data/spec/unit/abbyy/cloud/models/order_statistics_spec.rb +15 -0
  73. data/spec/{abbyy → unit/abbyy}/cloud/models/price_spec.rb +0 -8
  74. data/spec/{abbyy → unit/abbyy}/cloud/models/source_segment_spec.rb +0 -0
  75. data/spec/{abbyy → unit/abbyy}/cloud/models/source_tag_spec.rb +0 -0
  76. data/spec/{abbyy → unit/abbyy}/cloud/models/transfer_data_spec.rb +0 -0
  77. data/spec/unit/abbyy/cloud/models/translation_link_spec.rb +66 -0
  78. data/spec/{abbyy → unit/abbyy}/cloud/models/translation_segment_spec.rb +0 -0
  79. data/spec/{abbyy → unit/abbyy}/cloud/models/translation_spec.rb +0 -0
  80. data/spec/{abbyy → unit/abbyy}/cloud/models/unit_price_spec.rb +0 -0
  81. data/spec/{abbyy → unit/abbyy}/cloud/response_error_spec.rb +0 -0
  82. data/spec/{abbyy → unit/abbyy}/cloud/settings_spec.rb +0 -0
  83. data/spec/{abbyy → unit/abbyy}/cloud_spec.rb +0 -0
  84. metadata +114 -37
@@ -0,0 +1,192 @@
1
+ RSpec.describe ABBYY::Cloud::Models::FullOrder do
2
+ let(:data) do
3
+ {
4
+ translations: [
5
+ {
6
+ source_file: {
7
+ id: "foo",
8
+ token: "bar",
9
+ name: "ru.xml",
10
+ language: "ru",
11
+ chars_count: 107,
12
+ words_count: 32,
13
+ pages_count: 1,
14
+ is_deleted: false
15
+ },
16
+ target_file: {
17
+ id: "rab",
18
+ token: "oof",
19
+ name: "de.xml",
20
+ language: "de",
21
+ chars_count: 87,
22
+ words_count: 22,
23
+ pages_count: 1,
24
+ is_deleted: false
25
+ },
26
+ started: "2016-03-13T10:00:00Z",
27
+ delivered: "2019-03-14T11:00:00Z",
28
+ progress: 10,
29
+ status: "InProgress"
30
+ }
31
+ ],
32
+ id: "qux",
33
+ number: 1924,
34
+ email: "user@example.com",
35
+ type: "ht_professional",
36
+ from: "ru",
37
+ to: ["de"],
38
+ is_layout_required: true,
39
+ label: "baz",
40
+ payment_type: "External",
41
+ unit_type: "Words",
42
+ unit_count: 32,
43
+ units_count: {
44
+ format: 1,
45
+ type: 2
46
+ },
47
+ currency: "RUB",
48
+ amount: 100.0,
49
+ deadline: "2019-01-23T10:00:00Z",
50
+ payment_provider: "CloudPayments",
51
+ is_manual_estimation: true,
52
+ created: "2019-02-10T12:00:00Z",
53
+ started: "2016-03-13T10:00:00Z",
54
+ delivered: "2019-03-14T11:00:00Z",
55
+ progress: 10,
56
+ status: "InProgress",
57
+ approval_required: true,
58
+ deleted: nil,
59
+ is_deleted: false,
60
+ statistics: {
61
+ documents_count: 1,
62
+ pages_count: 1,
63
+ words_count: 32,
64
+ chars_count: 103
65
+ }
66
+ }
67
+ end
68
+
69
+ subject { described_class.new(data) }
70
+
71
+ it { is_expected.to be_kind_of ABBYY::Cloud::Struct }
72
+
73
+ context "without translations:" do
74
+ before { data.delete :translations }
75
+
76
+ it "fails" do
77
+ expect { subject }.to raise_error(StandardError)
78
+ end
79
+ end
80
+
81
+ context "without id:" do
82
+ before { data.delete :id }
83
+
84
+ it "fails" do
85
+ expect { subject }.to raise_error(StandardError)
86
+ end
87
+ end
88
+
89
+ context "without number:" do
90
+ before { data.delete :number }
91
+
92
+ it "fails" do
93
+ expect { subject }.to raise_error(StandardError)
94
+ end
95
+ end
96
+
97
+ context "without email:" do
98
+ before { data.delete :email }
99
+
100
+ it "fails" do
101
+ expect { subject }.to raise_error(StandardError)
102
+ end
103
+ end
104
+
105
+ context "without type:" do
106
+ before { data.delete :type }
107
+
108
+ it "fails" do
109
+ expect { subject }.to raise_error(StandardError)
110
+ end
111
+ end
112
+
113
+ context "without from:" do
114
+ before { data.delete :from }
115
+
116
+ it "fails" do
117
+ expect { subject }.to raise_error(StandardError)
118
+ end
119
+ end
120
+
121
+ context "without to:" do
122
+ before { data.delete :to }
123
+
124
+ it "fails" do
125
+ expect { subject }.to raise_error(StandardError)
126
+ end
127
+ end
128
+
129
+ context "without payment_type:" do
130
+ before { data.delete :payment_type }
131
+
132
+ it "fails" do
133
+ expect { subject }.to raise_error(StandardError)
134
+ end
135
+ end
136
+
137
+ context "without unit_type:" do
138
+ before { data.delete :unit_type }
139
+
140
+ it "fails" do
141
+ expect { subject }.to raise_error(StandardError)
142
+ end
143
+ end
144
+
145
+ context "without unit_count:" do
146
+ before { data.delete :unit_count }
147
+
148
+ it "fails" do
149
+ expect { subject }.to raise_error(StandardError)
150
+ end
151
+ end
152
+
153
+ context "without currency:" do
154
+ before { data.delete :currency }
155
+
156
+ it "fails" do
157
+ expect { subject }.to raise_error(StandardError)
158
+ end
159
+ end
160
+
161
+ context "without created:" do
162
+ before { data.delete :created }
163
+
164
+ it "fails" do
165
+ expect { subject }.to raise_error(StandardError)
166
+ end
167
+ end
168
+
169
+ context "without progress:" do
170
+ before { data.delete :progress }
171
+
172
+ it "fails" do
173
+ expect { subject }.to raise_error(StandardError)
174
+ end
175
+ end
176
+
177
+ context "without status:" do
178
+ before { data.delete :status }
179
+
180
+ it "fails" do
181
+ expect { subject }.to raise_error(StandardError)
182
+ end
183
+ end
184
+
185
+ context "without statistics:" do
186
+ before { data.delete :statistics }
187
+
188
+ it "fails" do
189
+ expect { subject }.to raise_error(StandardError)
190
+ end
191
+ end
192
+ end
@@ -0,0 +1,15 @@
1
+ RSpec.describe ABBYY::Cloud::Models::OrderStatistics do
2
+ let(:data) do
3
+ {
4
+ documents_count: 1,
5
+ pages_count: 1,
6
+ words_count: 32,
7
+ chars_count: 103
8
+ }
9
+ end
10
+
11
+ subject { described_class.new(data) }
12
+
13
+ it { is_expected.to be_kind_of ABBYY::Cloud::Struct }
14
+ its(:to_h) { is_expected.to eq data }
15
+ end
@@ -25,14 +25,6 @@ RSpec.describe ABBYY::Cloud::Models::Price do
25
25
  end
26
26
  end
27
27
 
28
- context "without account_id:" do
29
- before { data.delete :account_id }
30
-
31
- it "fails" do
32
- expect { subject }.to raise_error(StandardError)
33
- end
34
- end
35
-
36
28
  context "without type:" do
37
29
  before { data.delete :type }
38
30
 
@@ -0,0 +1,66 @@
1
+ RSpec.describe ABBYY::Cloud::Models::TranslationLink do
2
+ let(:data) do
3
+ {
4
+ source_file: {
5
+ id: "foo",
6
+ token: "bar",
7
+ name: "ru.xml",
8
+ language: "ru",
9
+ chars_count: 107,
10
+ words_count: 32,
11
+ pages_count: 1,
12
+ is_deleted: false
13
+ },
14
+ target_file: {
15
+ id: "rab",
16
+ token: "oof",
17
+ name: "de.xml",
18
+ language: "de",
19
+ chars_count: 87,
20
+ words_count: 22,
21
+ pages_count: 1,
22
+ is_deleted: false
23
+ },
24
+ started: "2016-03-13T10:00:00Z",
25
+ delivered: "2019-03-14T11:00:00Z",
26
+ progress: 10,
27
+ status: "InProgress"
28
+ }
29
+ end
30
+
31
+ subject { described_class.new(data) }
32
+
33
+ it { is_expected.to be_kind_of ABBYY::Cloud::Struct }
34
+
35
+ context "without source_file:" do
36
+ before { data.delete :source_file }
37
+
38
+ it "fails" do
39
+ expect { subject }.to raise_error(StandardError)
40
+ end
41
+ end
42
+
43
+ context "without target_file:" do
44
+ before { data.delete :target_file }
45
+
46
+ it "fails" do
47
+ expect { subject }.to raise_error(StandardError)
48
+ end
49
+ end
50
+
51
+ context "without status:" do
52
+ before { data.delete :status }
53
+
54
+ it "fails" do
55
+ expect { subject }.to raise_error(StandardError)
56
+ end
57
+ end
58
+
59
+ context "without progress:" do
60
+ before { data.delete :progress }
61
+
62
+ it "fails" do
63
+ expect { subject }.to raise_error(StandardError)
64
+ end
65
+ end
66
+ end
File without changes
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: abbyy-cloud
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kozin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-23 00:00:00.000000000 Z
11
+ date: 2016-09-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-initializer
@@ -38,6 +38,34 @@ dependencies:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: 0.0.1
41
+ - !ruby/object:Gem::Dependency
42
+ name: hashie
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '3.4'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '3.4'
55
+ - !ruby/object:Gem::Dependency
56
+ name: multipart_body
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '0.2'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '0.2'
41
69
  - !ruby/object:Gem::Dependency
42
70
  name: bundler
43
71
  requirement: !ruby/object:Gem::Requirement
@@ -95,19 +123,19 @@ dependencies:
95
123
  - !ruby/object:Gem::Version
96
124
  version: '1.2'
97
125
  - !ruby/object:Gem::Dependency
98
- name: rubocop-rspec
126
+ name: rubocop
99
127
  requirement: !ruby/object:Gem::Requirement
100
128
  requirements:
101
129
  - - "~>"
102
130
  - !ruby/object:Gem::Version
103
- version: '1.6'
131
+ version: '0.42'
104
132
  type: :development
105
133
  prerelease: false
106
134
  version_requirements: !ruby/object:Gem::Requirement
107
135
  requirements:
108
136
  - - "~>"
109
137
  - !ruby/object:Gem::Version
110
- version: '1.6'
138
+ version: '0.42'
111
139
  - !ruby/object:Gem::Dependency
112
140
  name: webmock
113
141
  requirement: !ruby/object:Gem::Requirement
@@ -146,52 +174,92 @@ files:
146
174
  - lib/abbyy/cloud/exceptions/argument_error.rb
147
175
  - lib/abbyy/cloud/exceptions/response_error.rb
148
176
  - lib/abbyy/cloud/exceptions/type_error.rb
177
+ - lib/abbyy/cloud/models/cost_type.rb
178
+ - lib/abbyy/cloud/models/currency.rb
149
179
  - lib/abbyy/cloud/models/direction.rb
150
180
  - lib/abbyy/cloud/models/discount.rb
181
+ - lib/abbyy/cloud/models/discount_type.rb
151
182
  - lib/abbyy/cloud/models/engine.rb
152
183
  - lib/abbyy/cloud/models/error.rb
184
+ - lib/abbyy/cloud/models/file_format.rb
185
+ - lib/abbyy/cloud/models/file_info.rb
186
+ - lib/abbyy/cloud/models/file_link.rb
187
+ - lib/abbyy/cloud/models/file_read_error.rb
188
+ - lib/abbyy/cloud/models/file_read_status.rb
189
+ - lib/abbyy/cloud/models/file_reference.rb
190
+ - lib/abbyy/cloud/models/full_order.rb
191
+ - lib/abbyy/cloud/models/label.rb
153
192
  - lib/abbyy/cloud/models/locale.rb
193
+ - lib/abbyy/cloud/models/ocr_mode.rb
194
+ - lib/abbyy/cloud/models/ocr_quality.rb
195
+ - lib/abbyy/cloud/models/ocr_settings.rb
196
+ - lib/abbyy/cloud/models/ocr_statistics.rb
197
+ - lib/abbyy/cloud/models/ocr_warning.rb
198
+ - lib/abbyy/cloud/models/ocr_warning_type.rb
199
+ - lib/abbyy/cloud/models/order_statistics.rb
200
+ - lib/abbyy/cloud/models/payment_type.rb
154
201
  - lib/abbyy/cloud/models/price.rb
202
+ - lib/abbyy/cloud/models/reading_status.rb
155
203
  - lib/abbyy/cloud/models/source_segment.rb
156
204
  - lib/abbyy/cloud/models/source_tag.rb
205
+ - lib/abbyy/cloud/models/status.rb
206
+ - lib/abbyy/cloud/models/text_statistics.rb
157
207
  - lib/abbyy/cloud/models/transfer_data.rb
158
208
  - lib/abbyy/cloud/models/translation.rb
209
+ - lib/abbyy/cloud/models/translation_link.rb
159
210
  - lib/abbyy/cloud/models/translation_segment.rb
211
+ - lib/abbyy/cloud/models/translation_type.rb
160
212
  - lib/abbyy/cloud/models/unit_price.rb
213
+ - lib/abbyy/cloud/models/unit_type.rb
161
214
  - lib/abbyy/cloud/namespaces/base.rb
215
+ - lib/abbyy/cloud/namespaces/files.rb
162
216
  - lib/abbyy/cloud/namespaces/machine_translations.rb
217
+ - lib/abbyy/cloud/namespaces/orders.rb
163
218
  - lib/abbyy/cloud/namespaces/prices.rb
164
219
  - lib/abbyy/cloud/operations/base.rb
220
+ - lib/abbyy/cloud/operations/download_file.rb
165
221
  - lib/abbyy/cloud/operations/engines.rb
222
+ - lib/abbyy/cloud/operations/find_order.rb
166
223
  - lib/abbyy/cloud/operations/prices.rb
224
+ - lib/abbyy/cloud/operations/submit_order.rb
167
225
  - lib/abbyy/cloud/operations/translate.rb
168
226
  - lib/abbyy/cloud/operations/translate_segments.rb
227
+ - lib/abbyy/cloud/operations/upload_file.rb
169
228
  - lib/abbyy/cloud/settings.rb
170
229
  - lib/abbyy/cloud/struct.rb
171
230
  - lib/abbyy/cloud/types.rb
172
- - spec/abbyy/cloud/connection_spec.rb
173
- - spec/abbyy/cloud/models/direction_spec.rb
174
- - spec/abbyy/cloud/models/discount_spec.rb
175
- - spec/abbyy/cloud/models/engine_spec.rb
176
- - spec/abbyy/cloud/models/error_spec.rb
177
- - spec/abbyy/cloud/models/locale_spec.rb
178
- - spec/abbyy/cloud/models/price_spec.rb
179
- - spec/abbyy/cloud/models/source_segment_spec.rb
180
- - spec/abbyy/cloud/models/source_tag_spec.rb
181
- - spec/abbyy/cloud/models/transfer_data_spec.rb
182
- - spec/abbyy/cloud/models/translation_segment_spec.rb
183
- - spec/abbyy/cloud/models/translation_spec.rb
184
- - spec/abbyy/cloud/models/unit_price_spec.rb
185
- - spec/abbyy/cloud/response_error_spec.rb
186
- - spec/abbyy/cloud/settings_spec.rb
187
- - spec/abbyy/cloud_spec.rb
231
+ - spec/feature/abbyy/files_download_spec.rb
232
+ - spec/feature/abbyy/files_upload_spec.rb
188
233
  - spec/feature/abbyy/mt_default_engine_spec.rb
189
234
  - spec/feature/abbyy/mt_engine_spec.rb
190
235
  - spec/feature/abbyy/mt_engines_spec.rb
191
236
  - spec/feature/abbyy/mt_translate_segments_spec.rb
192
237
  - spec/feature/abbyy/mt_translate_spec.rb
238
+ - spec/feature/abbyy/orders_create_spec.rb
239
+ - spec/feature/abbyy/orders_find_spec.rb
193
240
  - spec/feature/abbyy/prices_details_spec.rb
194
241
  - spec/spec_helper.rb
242
+ - spec/unit/abbyy/cloud/connection_spec.rb
243
+ - spec/unit/abbyy/cloud/models/direction_spec.rb
244
+ - spec/unit/abbyy/cloud/models/discount_spec.rb
245
+ - spec/unit/abbyy/cloud/models/engine_spec.rb
246
+ - spec/unit/abbyy/cloud/models/error_spec.rb
247
+ - spec/unit/abbyy/cloud/models/file_link_spec.rb
248
+ - spec/unit/abbyy/cloud/models/file_reference_spec.rb
249
+ - spec/unit/abbyy/cloud/models/full_order_spec.rb
250
+ - spec/unit/abbyy/cloud/models/locale_spec.rb
251
+ - spec/unit/abbyy/cloud/models/order_statistics_spec.rb
252
+ - spec/unit/abbyy/cloud/models/price_spec.rb
253
+ - spec/unit/abbyy/cloud/models/source_segment_spec.rb
254
+ - spec/unit/abbyy/cloud/models/source_tag_spec.rb
255
+ - spec/unit/abbyy/cloud/models/transfer_data_spec.rb
256
+ - spec/unit/abbyy/cloud/models/translation_link_spec.rb
257
+ - spec/unit/abbyy/cloud/models/translation_segment_spec.rb
258
+ - spec/unit/abbyy/cloud/models/translation_spec.rb
259
+ - spec/unit/abbyy/cloud/models/unit_price_spec.rb
260
+ - spec/unit/abbyy/cloud/response_error_spec.rb
261
+ - spec/unit/abbyy/cloud/settings_spec.rb
262
+ - spec/unit/abbyy/cloud_spec.rb
195
263
  homepage: https://github.com/nepalez/abbyy-cloud
196
264
  licenses:
197
265
  - MIT
@@ -217,26 +285,35 @@ signing_key:
217
285
  specification_version: 4
218
286
  summary: HTTP client to ABBYY Cloud API
219
287
  test_files:
220
- - spec/abbyy/cloud/connection_spec.rb
221
- - spec/abbyy/cloud/models/direction_spec.rb
222
- - spec/abbyy/cloud/models/discount_spec.rb
223
- - spec/abbyy/cloud/models/engine_spec.rb
224
- - spec/abbyy/cloud/models/error_spec.rb
225
- - spec/abbyy/cloud/models/locale_spec.rb
226
- - spec/abbyy/cloud/models/price_spec.rb
227
- - spec/abbyy/cloud/models/source_segment_spec.rb
228
- - spec/abbyy/cloud/models/source_tag_spec.rb
229
- - spec/abbyy/cloud/models/transfer_data_spec.rb
230
- - spec/abbyy/cloud/models/translation_segment_spec.rb
231
- - spec/abbyy/cloud/models/translation_spec.rb
232
- - spec/abbyy/cloud/models/unit_price_spec.rb
233
- - spec/abbyy/cloud/response_error_spec.rb
234
- - spec/abbyy/cloud/settings_spec.rb
235
- - spec/abbyy/cloud_spec.rb
288
+ - spec/feature/abbyy/files_download_spec.rb
289
+ - spec/feature/abbyy/files_upload_spec.rb
236
290
  - spec/feature/abbyy/mt_default_engine_spec.rb
237
291
  - spec/feature/abbyy/mt_engine_spec.rb
238
292
  - spec/feature/abbyy/mt_engines_spec.rb
239
293
  - spec/feature/abbyy/mt_translate_segments_spec.rb
240
294
  - spec/feature/abbyy/mt_translate_spec.rb
295
+ - spec/feature/abbyy/orders_create_spec.rb
296
+ - spec/feature/abbyy/orders_find_spec.rb
241
297
  - spec/feature/abbyy/prices_details_spec.rb
242
298
  - spec/spec_helper.rb
299
+ - spec/unit/abbyy/cloud/connection_spec.rb
300
+ - spec/unit/abbyy/cloud/models/direction_spec.rb
301
+ - spec/unit/abbyy/cloud/models/discount_spec.rb
302
+ - spec/unit/abbyy/cloud/models/engine_spec.rb
303
+ - spec/unit/abbyy/cloud/models/error_spec.rb
304
+ - spec/unit/abbyy/cloud/models/file_link_spec.rb
305
+ - spec/unit/abbyy/cloud/models/file_reference_spec.rb
306
+ - spec/unit/abbyy/cloud/models/full_order_spec.rb
307
+ - spec/unit/abbyy/cloud/models/locale_spec.rb
308
+ - spec/unit/abbyy/cloud/models/order_statistics_spec.rb
309
+ - spec/unit/abbyy/cloud/models/price_spec.rb
310
+ - spec/unit/abbyy/cloud/models/source_segment_spec.rb
311
+ - spec/unit/abbyy/cloud/models/source_tag_spec.rb
312
+ - spec/unit/abbyy/cloud/models/transfer_data_spec.rb
313
+ - spec/unit/abbyy/cloud/models/translation_link_spec.rb
314
+ - spec/unit/abbyy/cloud/models/translation_segment_spec.rb
315
+ - spec/unit/abbyy/cloud/models/translation_spec.rb
316
+ - spec/unit/abbyy/cloud/models/unit_price_spec.rb
317
+ - spec/unit/abbyy/cloud/response_error_spec.rb
318
+ - spec/unit/abbyy/cloud/settings_spec.rb
319
+ - spec/unit/abbyy/cloud_spec.rb