kuapir 0.1.2 → 0.1.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 501deb3329ce81dbfb78ce901bb4d58f739603db255b26dc3e8cd040ea5fc18b
4
- data.tar.gz: 06b1821a936ddcb7fdc0788a7d42b89f474b9a43341389d1a2386c7d629be20e
3
+ metadata.gz: d8e25f626c6312873d8c110658760a6f817267fb901f9a6aed133ad08ef9a697
4
+ data.tar.gz: 43eb36d04c717a62daa476a883ccb43c39477ef324ff70d2e337bb9ea87f664c
5
5
  SHA512:
6
- metadata.gz: e5934b5614cde3df0fc84f97a1934b2f7a4fa993768083c1081e96466af6a5fe70671789160e91542300c993f19e24c465ed2b9274f839a3c97d74d4c3c7fbcf
7
- data.tar.gz: d3bc6abed415e34b4f29217cff122600f943cc4ce5d596d3341b0ab360a77b50422a965e139b529937ae82234ead0aee1cf331915e8a352df6ef44ca2be0460e
6
+ metadata.gz: 16c5146efb00560977417b33a6f7269037023620b1392edf27f9db35d835560d1c6305784c74eb1601aeed2d21c0b154a97e1273039db3bee303b77504717257
7
+ data.tar.gz: 3b63b3d4b7a72c818e62c9df70560f9b1d54242bcfe323f0f0b58c600f4ff265c9b9217a68b3fdb3a1e50b4112df39ed43411729370a65dcb6ce256815a67bcf
data/Gemfile.lock CHANGED
@@ -62,6 +62,7 @@ GEM
62
62
  unicode-display_width (2.1.0)
63
63
 
64
64
  PLATFORMS
65
+ arm64-darwin-21
65
66
  x86_64-linux
66
67
 
67
68
  DEPENDENCIES
@@ -34,9 +34,9 @@ module Kuapir
34
34
  raise ArgumentError,
35
35
  "Missing the required parameter 'id' when calling FilmsApi.api_v21_films_id_sequels_and_prequels_get"
36
36
  end
37
- if @api_client.config.client_side_validation && id > 5000000
37
+ if @api_client.config.client_side_validation && id > 500_000_000
38
38
  raise ArgumentError,
39
- 'invalid value for "id" when calling FilmsApi.api_v21_films_id_sequels_and_prequels_get, must be smaller than or equal to 5000000.'
39
+ 'invalid value for "id" when calling FilmsApi.api_v21_films_id_sequels_and_prequels_get, must be smaller than or equal to 500_000_000.'
40
40
  end
41
41
 
42
42
  if @api_client.config.client_side_validation && id < 1
@@ -448,9 +448,9 @@ module Kuapir
448
448
  raise ArgumentError,
449
449
  "Missing the required parameter 'id' when calling FilmsApi.api_v22_films_id_box_office_get"
450
450
  end
451
- if @api_client.config.client_side_validation && id > 5000000
451
+ if @api_client.config.client_side_validation && id > 500_000_000
452
452
  raise ArgumentError,
453
- 'invalid value for "id" when calling FilmsApi.api_v22_films_id_box_office_get, must be smaller than or equal to 5000000.'
453
+ 'invalid value for "id" when calling FilmsApi.api_v22_films_id_box_office_get, must be smaller than or equal to 500_000_000.'
454
454
  end
455
455
 
456
456
  if @api_client.config.client_side_validation && id < 1
@@ -522,9 +522,9 @@ module Kuapir
522
522
  raise ArgumentError,
523
523
  "Missing the required parameter 'id' when calling FilmsApi.api_v22_films_id_distributions_get"
524
524
  end
525
- if @api_client.config.client_side_validation && id > 5000000
525
+ if @api_client.config.client_side_validation && id > 500_000_000
526
526
  raise ArgumentError,
527
- 'invalid value for "id" when calling FilmsApi.api_v22_films_id_distributions_get, must be smaller than or equal to 5000000.'
527
+ 'invalid value for "id" when calling FilmsApi.api_v22_films_id_distributions_get, must be smaller than or equal to 500_000_000.'
528
528
  end
529
529
 
530
530
  if @api_client.config.client_side_validation && id < 1
@@ -596,9 +596,9 @@ module Kuapir
596
596
  raise ArgumentError,
597
597
  "Missing the required parameter 'id' when calling FilmsApi.api_v22_films_id_facts_get"
598
598
  end
599
- if @api_client.config.client_side_validation && id > 5000000
599
+ if @api_client.config.client_side_validation && id > 500_000_000
600
600
  raise ArgumentError,
601
- 'invalid value for "id" when calling FilmsApi.api_v22_films_id_facts_get, must be smaller than or equal to 5000000.'
601
+ 'invalid value for "id" when calling FilmsApi.api_v22_films_id_facts_get, must be smaller than or equal to 500_000_000.'
602
602
  end
603
603
 
604
604
  if @api_client.config.client_side_validation && id < 1
@@ -668,9 +668,9 @@ module Kuapir
668
668
  raise ArgumentError,
669
669
  "Missing the required parameter 'id' when calling FilmsApi.api_v22_films_id_get"
670
670
  end
671
- if @api_client.config.client_side_validation && id > 5000000
671
+ if @api_client.config.client_side_validation && id > 500_000_000
672
672
  raise ArgumentError,
673
- 'invalid value for "id" when calling FilmsApi.api_v22_films_id_get, must be smaller than or equal to 5000000.'
673
+ 'invalid value for "id" when calling FilmsApi.api_v22_films_id_get, must be smaller than or equal to 500_000_000.'
674
674
  end
675
675
 
676
676
  if @api_client.config.client_side_validation && id < 1
@@ -746,9 +746,9 @@ module Kuapir
746
746
  raise ArgumentError,
747
747
  "Missing the required parameter 'id' when calling FilmsApi.api_v22_films_id_images_get"
748
748
  end
749
- if @api_client.config.client_side_validation && id > 5000000
749
+ if @api_client.config.client_side_validation && id > 500_000_000
750
750
  raise ArgumentError,
751
- 'invalid value for "id" when calling FilmsApi.api_v22_films_id_images_get, must be smaller than or equal to 5000000.'
751
+ 'invalid value for "id" when calling FilmsApi.api_v22_films_id_images_get, must be smaller than or equal to 500_000_000.'
752
752
  end
753
753
 
754
754
  if @api_client.config.client_side_validation && id < 1
@@ -837,9 +837,9 @@ module Kuapir
837
837
  raise ArgumentError,
838
838
  "Missing the required parameter 'id' when calling FilmsApi.api_v22_films_id_seasons_get"
839
839
  end
840
- if @api_client.config.client_side_validation && id > 5000000
840
+ if @api_client.config.client_side_validation && id > 500_000_000
841
841
  raise ArgumentError,
842
- 'invalid value for "id" when calling FilmsApi.api_v22_films_id_seasons_get, must be smaller than or equal to 5000000.'
842
+ 'invalid value for "id" when calling FilmsApi.api_v22_films_id_seasons_get, must be smaller than or equal to 500_000_000.'
843
843
  end
844
844
 
845
845
  if @api_client.config.client_side_validation && id < 1
@@ -909,9 +909,9 @@ module Kuapir
909
909
  raise ArgumentError,
910
910
  "Missing the required parameter 'id' when calling FilmsApi.api_v22_films_id_similars_get"
911
911
  end
912
- if @api_client.config.client_side_validation && id > 5000000
912
+ if @api_client.config.client_side_validation && id > 500_000_000
913
913
  raise ArgumentError,
914
- 'invalid value for "id" when calling FilmsApi.api_v22_films_id_similars_get, must be smaller than or equal to 5000000.'
914
+ 'invalid value for "id" when calling FilmsApi.api_v22_films_id_similars_get, must be smaller than or equal to 500_000_000.'
915
915
  end
916
916
 
917
917
  if @api_client.config.client_side_validation && id < 1
@@ -983,9 +983,9 @@ module Kuapir
983
983
  raise ArgumentError,
984
984
  "Missing the required parameter 'id' when calling FilmsApi.api_v22_films_id_videos_get"
985
985
  end
986
- if @api_client.config.client_side_validation && id > 5000000
986
+ if @api_client.config.client_side_validation && id > 500_000_000
987
987
  raise ArgumentError,
988
- 'invalid value for "id" when calling FilmsApi.api_v22_films_id_videos_get, must be smaller than or equal to 5000000.'
988
+ 'invalid value for "id" when calling FilmsApi.api_v22_films_id_videos_get, must be smaller than or equal to 500_000_000.'
989
989
  end
990
990
 
991
991
  if @api_client.config.client_side_validation && id < 1
@@ -100,9 +100,9 @@ module Kuapir
100
100
  raise ArgumentError,
101
101
  "Missing the required parameter 'film_id' when calling ReviewsApi.api_v1_reviews_get"
102
102
  end
103
- if @api_client.config.client_side_validation && film_id > 5000000
103
+ if @api_client.config.client_side_validation && film_id > 500_000_000
104
104
  raise ArgumentError,
105
- 'invalid value for "film_id" when calling ReviewsApi.api_v1_reviews_get, must be smaller than or equal to 5000000.'
105
+ 'invalid value for "film_id" when calling ReviewsApi.api_v1_reviews_get, must be smaller than or equal to 500_000_000.'
106
106
  end
107
107
 
108
108
  if @api_client.config.client_side_validation && film_id < 1
@@ -30,9 +30,9 @@ module Kuapir
30
30
  raise ArgumentError,
31
31
  "Missing the required parameter 'film_id' when calling StaffApi.api_v1_staff_get"
32
32
  end
33
- if @api_client.config.client_side_validation && film_id > 5000000
33
+ if @api_client.config.client_side_validation && film_id > 500_000_000
34
34
  raise ArgumentError,
35
- 'invalid value for "film_id" when calling StaffApi.api_v1_staff_get, must be smaller than or equal to 5000000.'
35
+ 'invalid value for "film_id" when calling StaffApi.api_v1_staff_get, must be smaller than or equal to 500_000_000.'
36
36
  end
37
37
 
38
38
  if @api_client.config.client_side_validation && film_id < 1
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Kuapir
4
- VERSION = "0.1.2"
4
+ VERSION = "0.1.3"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kuapir
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexey Zhuravlev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-17 00:00:00.000000000 Z
11
+ date: 2023-11-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -64,7 +64,6 @@ extra_rdoc_files: []
64
64
  files:
65
65
  - Gemfile
66
66
  - Gemfile.lock
67
- - LICENSE
68
67
  - README.md
69
68
  - Rakefile
70
69
  - docs/BoxOffice.md
@@ -270,57 +269,57 @@ required_rubygems_version: !ruby/object:Gem::Requirement
270
269
  - !ruby/object:Gem::Version
271
270
  version: '0'
272
271
  requirements: []
273
- rubygems_version: 3.1.6
272
+ rubygems_version: 3.3.7
274
273
  signing_key:
275
274
  specification_version: 4
276
275
  summary: Kinopoisk Unofficial API Ruby Gem
277
276
  test_files:
278
- - spec/api/persons_api_spec.rb
277
+ - spec/api/films_api_spec.rb
279
278
  - spec/api/staff_api_spec.rb
279
+ - spec/api/persons_api_spec.rb
280
280
  - spec/api/reviews_api_spec.rb
281
- - spec/api/films_api_spec.rb
282
281
  - spec/api_client_spec.rb
283
282
  - spec/configuration_spec.rb
284
- - spec/models/film_search_by_filters_response_spec.rb
285
- - spec/models/genre_spec.rb
286
- - spec/models/image_response_items_spec.rb
287
- - spec/models/person_response_films_spec.rb
288
- - spec/models/staff_response_spec.rb
289
- - spec/models/premiere_response_item_spec.rb
290
- - spec/models/related_film_response_spec.rb
291
- - spec/models/digital_release_item_spec.rb
292
- - spec/models/fact_response_spec.rb
293
- - spec/models/film_spec.rb
294
- - spec/models/related_film_response_items_spec.rb
295
283
  - spec/models/reviews_response_spec.rb
296
- - spec/models/video_response_items_spec.rb
297
- - spec/models/film_top_response_films_spec.rb
298
- - spec/models/film_search_response_films_spec.rb
284
+ - spec/models/image_response_spec.rb
299
285
  - spec/models/reviews_response_reviews_spec.rb
300
- - spec/models/person_response_spec.rb
301
- - spec/models/person_by_name_response_items_spec.rb
302
286
  - spec/models/box_office_response_spec.rb
303
- - spec/models/box_office_spec.rb
304
- - spec/models/digital_release_response_spec.rb
305
- - spec/models/season_response_spec.rb
306
- - spec/models/filters_response_genres_spec.rb
287
+ - spec/models/video_response_spec.rb
288
+ - spec/models/genre_spec.rb
289
+ - spec/models/related_film_response_items_spec.rb
290
+ - spec/models/person_response_spouses_spec.rb
291
+ - spec/models/distribution_spec.rb
292
+ - spec/models/film_top_response_films_spec.rb
307
293
  - spec/models/film_top_response_spec.rb
308
- - spec/models/review_details_response_spec.rb
309
- - spec/models/fact_spec.rb
310
- - spec/models/filters_response_spec.rb
311
- - spec/models/season_spec.rb
312
- - spec/models/person_by_name_response_spec.rb
313
- - spec/models/film_sequels_and_prequels_response_spec.rb
314
- - spec/models/distribution_response_spec.rb
294
+ - spec/models/filters_response_countries_spec.rb
295
+ - spec/models/country_spec.rb
315
296
  - spec/models/episode_spec.rb
297
+ - spec/models/digital_release_item_spec.rb
316
298
  - spec/models/company_spec.rb
299
+ - spec/models/fact_spec.rb
300
+ - spec/models/film_search_by_filters_response_spec.rb
317
301
  - spec/models/film_search_by_filters_response_items_spec.rb
302
+ - spec/models/season_response_spec.rb
303
+ - spec/models/video_response_items_spec.rb
304
+ - spec/models/box_office_spec.rb
305
+ - spec/models/filters_response_genres_spec.rb
306
+ - spec/models/fact_response_spec.rb
307
+ - spec/models/film_spec.rb
308
+ - spec/models/person_response_films_spec.rb
309
+ - spec/models/premiere_response_item_spec.rb
310
+ - spec/models/distribution_response_spec.rb
318
311
  - spec/models/film_search_response_spec.rb
319
- - spec/models/distribution_spec.rb
320
- - spec/models/video_response_spec.rb
321
- - spec/models/filters_response_countries_spec.rb
322
- - spec/models/person_response_spouses_spec.rb
323
- - spec/models/image_response_spec.rb
324
- - spec/models/country_spec.rb
312
+ - spec/models/person_response_spec.rb
325
313
  - spec/models/premiere_response_spec.rb
314
+ - spec/models/staff_response_spec.rb
315
+ - spec/models/image_response_items_spec.rb
316
+ - spec/models/digital_release_response_spec.rb
317
+ - spec/models/film_search_response_films_spec.rb
318
+ - spec/models/person_by_name_response_items_spec.rb
319
+ - spec/models/season_spec.rb
320
+ - spec/models/person_by_name_response_spec.rb
321
+ - spec/models/film_sequels_and_prequels_response_spec.rb
322
+ - spec/models/related_film_response_spec.rb
323
+ - spec/models/filters_response_spec.rb
324
+ - spec/models/review_details_response_spec.rb
326
325
  - spec/spec_helper.rb
data/LICENSE DELETED
@@ -1,21 +0,0 @@
1
- The MIT License (MIT)
2
-
3
- Copyright © 2022 kuapir
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.