kuapir 0.1.2 → 0.1.4

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: 92e734a1946f4fecf495e3ba5873835cb604d5f2260c643036061a9141d5c30d
4
+ data.tar.gz: f0367ed09005a7588cdd2d5343e2311214bce19d1f62bfcab4200871d3a5158d
5
5
  SHA512:
6
- metadata.gz: e5934b5614cde3df0fc84f97a1934b2f7a4fa993768083c1081e96466af6a5fe70671789160e91542300c993f19e24c465ed2b9274f839a3c97d74d4c3c7fbcf
7
- data.tar.gz: d3bc6abed415e34b4f29217cff122600f943cc4ce5d596d3341b0ab360a77b50422a965e139b529937ae82234ead0aee1cf331915e8a352df6ef44ca2be0460e
6
+ metadata.gz: 4884c48cc755fea6af5417ea621c4b1abbbc8ba02f425a02f5a5a8d10683fe3015b4e46b10542e095de75e0a04ffb40fba660e256aa79c9515789fd27ade09a5
7
+ data.tar.gz: 05a3c941a78a8e878b6f3da1beb3542a5d69430a69f8e1e22f7746c02620041a29ff83808aa5cdbd4798e9ab5eff6a76eb00399c50141eefc26f8af75a66349e
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- kuapir (0.1.2)
4
+ kuapir (0.1.4)
5
5
  typhoeus (~> 1.0, >= 1.0.1)
6
6
 
7
7
  GEM
@@ -12,9 +12,9 @@ GEM
12
12
  byebug (11.1.3)
13
13
  coderay (1.1.3)
14
14
  diff-lcs (1.5.0)
15
- ethon (0.15.0)
15
+ ethon (0.16.0)
16
16
  ffi (>= 1.15.0)
17
- ffi (1.15.5)
17
+ ffi (1.16.3)
18
18
  method_source (1.0.0)
19
19
  parallel (1.21.0)
20
20
  parser (3.1.0.0)
@@ -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
data/kuapir-0.1.3.gem ADDED
Binary file
@@ -34,10 +34,6 @@ 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
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.'
40
- end
41
37
 
42
38
  if @api_client.config.client_side_validation && id < 1
43
39
  raise ArgumentError,
@@ -448,10 +444,6 @@ module Kuapir
448
444
  raise ArgumentError,
449
445
  "Missing the required parameter 'id' when calling FilmsApi.api_v22_films_id_box_office_get"
450
446
  end
451
- if @api_client.config.client_side_validation && id > 5000000
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.'
454
- end
455
447
 
456
448
  if @api_client.config.client_side_validation && id < 1
457
449
  raise ArgumentError,
@@ -522,10 +514,6 @@ module Kuapir
522
514
  raise ArgumentError,
523
515
  "Missing the required parameter 'id' when calling FilmsApi.api_v22_films_id_distributions_get"
524
516
  end
525
- if @api_client.config.client_side_validation && id > 5000000
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.'
528
- end
529
517
 
530
518
  if @api_client.config.client_side_validation && id < 1
531
519
  raise ArgumentError,
@@ -596,10 +584,6 @@ module Kuapir
596
584
  raise ArgumentError,
597
585
  "Missing the required parameter 'id' when calling FilmsApi.api_v22_films_id_facts_get"
598
586
  end
599
- if @api_client.config.client_side_validation && id > 5000000
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.'
602
- end
603
587
 
604
588
  if @api_client.config.client_side_validation && id < 1
605
589
  raise ArgumentError,
@@ -668,10 +652,6 @@ module Kuapir
668
652
  raise ArgumentError,
669
653
  "Missing the required parameter 'id' when calling FilmsApi.api_v22_films_id_get"
670
654
  end
671
- if @api_client.config.client_side_validation && id > 5000000
672
- raise ArgumentError,
673
- 'invalid value for "id" when calling FilmsApi.api_v22_films_id_get, must be smaller than or equal to 5000000.'
674
- end
675
655
 
676
656
  if @api_client.config.client_side_validation && id < 1
677
657
  raise ArgumentError,
@@ -746,10 +726,6 @@ module Kuapir
746
726
  raise ArgumentError,
747
727
  "Missing the required parameter 'id' when calling FilmsApi.api_v22_films_id_images_get"
748
728
  end
749
- if @api_client.config.client_side_validation && id > 5000000
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.'
752
- end
753
729
 
754
730
  if @api_client.config.client_side_validation && id < 1
755
731
  raise ArgumentError,
@@ -837,10 +813,6 @@ module Kuapir
837
813
  raise ArgumentError,
838
814
  "Missing the required parameter 'id' when calling FilmsApi.api_v22_films_id_seasons_get"
839
815
  end
840
- if @api_client.config.client_side_validation && id > 5000000
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.'
843
- end
844
816
 
845
817
  if @api_client.config.client_side_validation && id < 1
846
818
  raise ArgumentError,
@@ -909,10 +881,6 @@ module Kuapir
909
881
  raise ArgumentError,
910
882
  "Missing the required parameter 'id' when calling FilmsApi.api_v22_films_id_similars_get"
911
883
  end
912
- if @api_client.config.client_side_validation && id > 5000000
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.'
915
- end
916
884
 
917
885
  if @api_client.config.client_side_validation && id < 1
918
886
  raise ArgumentError,
@@ -983,10 +951,6 @@ module Kuapir
983
951
  raise ArgumentError,
984
952
  "Missing the required parameter 'id' when calling FilmsApi.api_v22_films_id_videos_get"
985
953
  end
986
- if @api_client.config.client_side_validation && id > 5000000
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.'
989
- end
990
954
 
991
955
  if @api_client.config.client_side_validation && id < 1
992
956
  raise ArgumentError,
@@ -100,10 +100,6 @@ 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
104
- raise ArgumentError,
105
- 'invalid value for "film_id" when calling ReviewsApi.api_v1_reviews_get, must be smaller than or equal to 5000000.'
106
- end
107
103
 
108
104
  if @api_client.config.client_side_validation && film_id < 1
109
105
  raise ArgumentError,
@@ -30,10 +30,6 @@ 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
34
- raise ArgumentError,
35
- 'invalid value for "film_id" when calling StaffApi.api_v1_staff_get, must be smaller than or equal to 5000000.'
36
- end
37
33
 
38
34
  if @api_client.config.client_side_validation && film_id < 1
39
35
  raise ArgumentError,
@@ -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.4"
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.4
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-12-23 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
@@ -114,6 +113,7 @@ files:
114
113
  - docs/VideoResponse.md
115
114
  - docs/VideoResponseItems.md
116
115
  - kinopoiskapiunofficial-openapi.json
116
+ - kuapir-0.1.3.gem
117
117
  - kuapir.gemspec
118
118
  - lib/kuapir.rb
119
119
  - lib/kuapir/api/films_api.rb
@@ -270,57 +270,57 @@ required_rubygems_version: !ruby/object:Gem::Requirement
270
270
  - !ruby/object:Gem::Version
271
271
  version: '0'
272
272
  requirements: []
273
- rubygems_version: 3.1.6
273
+ rubygems_version: 3.3.7
274
274
  signing_key:
275
275
  specification_version: 4
276
276
  summary: Kinopoisk Unofficial API Ruby Gem
277
277
  test_files:
278
- - spec/api/persons_api_spec.rb
278
+ - spec/api/films_api_spec.rb
279
279
  - spec/api/staff_api_spec.rb
280
+ - spec/api/persons_api_spec.rb
280
281
  - spec/api/reviews_api_spec.rb
281
- - spec/api/films_api_spec.rb
282
282
  - spec/api_client_spec.rb
283
283
  - 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
284
  - 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
285
+ - spec/models/image_response_spec.rb
299
286
  - 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
287
  - 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
288
+ - spec/models/video_response_spec.rb
289
+ - spec/models/genre_spec.rb
290
+ - spec/models/related_film_response_items_spec.rb
291
+ - spec/models/person_response_spouses_spec.rb
292
+ - spec/models/distribution_spec.rb
293
+ - spec/models/film_top_response_films_spec.rb
307
294
  - 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
295
+ - spec/models/filters_response_countries_spec.rb
296
+ - spec/models/country_spec.rb
315
297
  - spec/models/episode_spec.rb
298
+ - spec/models/digital_release_item_spec.rb
316
299
  - spec/models/company_spec.rb
300
+ - spec/models/fact_spec.rb
301
+ - spec/models/film_search_by_filters_response_spec.rb
317
302
  - spec/models/film_search_by_filters_response_items_spec.rb
303
+ - spec/models/season_response_spec.rb
304
+ - spec/models/video_response_items_spec.rb
305
+ - spec/models/box_office_spec.rb
306
+ - spec/models/filters_response_genres_spec.rb
307
+ - spec/models/fact_response_spec.rb
308
+ - spec/models/film_spec.rb
309
+ - spec/models/person_response_films_spec.rb
310
+ - spec/models/premiere_response_item_spec.rb
311
+ - spec/models/distribution_response_spec.rb
318
312
  - 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
313
+ - spec/models/person_response_spec.rb
325
314
  - spec/models/premiere_response_spec.rb
315
+ - spec/models/staff_response_spec.rb
316
+ - spec/models/image_response_items_spec.rb
317
+ - spec/models/digital_release_response_spec.rb
318
+ - spec/models/film_search_response_films_spec.rb
319
+ - spec/models/person_by_name_response_items_spec.rb
320
+ - spec/models/season_spec.rb
321
+ - spec/models/person_by_name_response_spec.rb
322
+ - spec/models/film_sequels_and_prequels_response_spec.rb
323
+ - spec/models/related_film_response_spec.rb
324
+ - spec/models/filters_response_spec.rb
325
+ - spec/models/review_details_response_spec.rb
326
326
  - 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.