kontent-delivery-sdk-ruby 2.0.22 → 2.0.24

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE.md +21 -21
  3. data/README.md +603 -602
  4. data/bin/console +14 -14
  5. data/bin/setup +8 -8
  6. data/lib/delivery/builders/image_transformation_builder.rb +272 -272
  7. data/lib/delivery/builders/url_builder.rb +123 -123
  8. data/lib/delivery/client/delivery_client.rb +184 -184
  9. data/lib/delivery/client/delivery_query.rb +302 -302
  10. data/lib/delivery/client/request_manager.rb +126 -127
  11. data/lib/delivery/models/content_item.rb +153 -153
  12. data/lib/delivery/models/content_type.rb +41 -41
  13. data/lib/delivery/models/language.rb +29 -29
  14. data/lib/delivery/models/pagination.rb +22 -22
  15. data/lib/delivery/models/taxonomy_group.rb +39 -39
  16. data/lib/delivery/query_parameters/filters.rb +201 -201
  17. data/lib/delivery/query_parameters/parameter_base.rb +56 -56
  18. data/lib/delivery/query_parameters/query_string.rb +78 -78
  19. data/lib/delivery/resolvers/content_link_resolver.rb +102 -102
  20. data/lib/delivery/resolvers/inline_content_item_resolver.rb +75 -75
  21. data/lib/delivery/resolvers/linked_item_resolver.rb +43 -37
  22. data/lib/delivery/responses/delivery_element_response.rb +34 -34
  23. data/lib/delivery/responses/delivery_item_listing_response.rb +54 -54
  24. data/lib/delivery/responses/delivery_item_response.rb +40 -40
  25. data/lib/delivery/responses/delivery_items_feed_response.rb +58 -58
  26. data/lib/delivery/responses/delivery_language_listing_response.rb +44 -44
  27. data/lib/delivery/responses/delivery_taxonomy_listing_response.rb +47 -47
  28. data/lib/delivery/responses/delivery_taxonomy_response.rb +33 -33
  29. data/lib/delivery/responses/delivery_type_listing_response.rb +46 -46
  30. data/lib/delivery/responses/delivery_type_response.rb +32 -32
  31. data/lib/delivery/responses/response_base.rb +39 -39
  32. data/lib/delivery/tests/401.json +5 -5
  33. data/lib/delivery/tests/429.json +4 -4
  34. data/lib/delivery/tests/fake_responder.rb +99 -105
  35. data/lib/delivery/tests/filtering/items_with_count.json +5384 -5384
  36. data/lib/delivery/tests/filtering/pagination.json +761 -761
  37. data/lib/delivery/tests/generic/items.json +5383 -5383
  38. data/lib/delivery/tests/generic/items/about_us.json +276 -276
  39. data/lib/delivery/tests/generic/items/aeropress_filters.json +155 -155
  40. data/lib/delivery/tests/generic/items/coffee_processing_techniques.json +565 -565
  41. data/lib/delivery/tests/generic/items/where_does_coffee_come_from_.json +598 -598
  42. data/lib/delivery/tests/generic/languages.json +23 -23
  43. data/lib/delivery/tests/generic/taxonomies.json +203 -203
  44. data/lib/delivery/tests/generic/taxonomies/manufacturer.json +29 -29
  45. data/lib/delivery/tests/generic/types.json +835 -835
  46. data/lib/delivery/tests/generic/types/brewer.json +88 -88
  47. data/lib/delivery/tests/generic/types/brewer/elements/product_status.json +5 -5
  48. data/lib/delivery/tests/items_feed/articles_feed_1.json +39 -39
  49. data/lib/delivery/tests/items_feed/articles_feed_2.json +78 -78
  50. data/lib/delivery/tests/items_feed/articles_feed_3.json +104 -104
  51. data/lib/kontent-delivery-sdk-ruby.rb +22 -22
  52. metadata +13 -32
@@ -1,22 +1,22 @@
1
- require File.dirname(__FILE__) + '/delivery/client/delivery_client'
2
- require File.dirname(__FILE__) + '/delivery/client/delivery_query'
3
- require File.dirname(__FILE__) + '/delivery/client/request_manager'
4
- require File.dirname(__FILE__) + '/delivery/models/content_item'
5
- require File.dirname(__FILE__) + '/delivery/models/content_type'
6
- require File.dirname(__FILE__) + '/delivery/models/taxonomy_group'
7
- require File.dirname(__FILE__) + '/delivery/models/language'
8
- require File.dirname(__FILE__) + '/delivery/query_parameters/filters'
9
- require File.dirname(__FILE__) + '/delivery/responses/delivery_item_listing_response'
10
- require File.dirname(__FILE__) + '/delivery/responses/delivery_item_response'
11
- require File.dirname(__FILE__) + '/delivery/responses/delivery_type_listing_response'
12
- require File.dirname(__FILE__) + '/delivery/responses/delivery_type_response'
13
- require File.dirname(__FILE__) + '/delivery/responses/delivery_taxonomy_listing_response'
14
- require File.dirname(__FILE__) + '/delivery/responses/delivery_taxonomy_response'
15
- require File.dirname(__FILE__) + '/delivery/responses/delivery_element_response'
16
- require File.dirname(__FILE__) + '/delivery/responses/delivery_items_feed_response'
17
- require File.dirname(__FILE__) + '/delivery/responses/delivery_language_listing_response'
18
- require File.dirname(__FILE__) + '/delivery/resolvers/content_link_resolver'
19
- require File.dirname(__FILE__) + '/delivery/resolvers/inline_content_item_resolver'
20
- require File.dirname(__FILE__) + '/delivery/resolvers/linked_item_resolver'
21
- require File.dirname(__FILE__) + '/delivery/builders/image_transformation_builder'
22
- require File.dirname(__FILE__) + '/delivery/tests/fake_responder'
1
+ require File.dirname(__FILE__) + '/delivery/client/delivery_client'
2
+ require File.dirname(__FILE__) + '/delivery/client/delivery_query'
3
+ require File.dirname(__FILE__) + '/delivery/client/request_manager'
4
+ require File.dirname(__FILE__) + '/delivery/models/content_item'
5
+ require File.dirname(__FILE__) + '/delivery/models/content_type'
6
+ require File.dirname(__FILE__) + '/delivery/models/taxonomy_group'
7
+ require File.dirname(__FILE__) + '/delivery/models/language'
8
+ require File.dirname(__FILE__) + '/delivery/query_parameters/filters'
9
+ require File.dirname(__FILE__) + '/delivery/responses/delivery_item_listing_response'
10
+ require File.dirname(__FILE__) + '/delivery/responses/delivery_item_response'
11
+ require File.dirname(__FILE__) + '/delivery/responses/delivery_type_listing_response'
12
+ require File.dirname(__FILE__) + '/delivery/responses/delivery_type_response'
13
+ require File.dirname(__FILE__) + '/delivery/responses/delivery_taxonomy_listing_response'
14
+ require File.dirname(__FILE__) + '/delivery/responses/delivery_taxonomy_response'
15
+ require File.dirname(__FILE__) + '/delivery/responses/delivery_element_response'
16
+ require File.dirname(__FILE__) + '/delivery/responses/delivery_items_feed_response'
17
+ require File.dirname(__FILE__) + '/delivery/responses/delivery_language_listing_response'
18
+ require File.dirname(__FILE__) + '/delivery/resolvers/content_link_resolver'
19
+ require File.dirname(__FILE__) + '/delivery/resolvers/inline_content_item_resolver'
20
+ require File.dirname(__FILE__) + '/delivery/resolvers/linked_item_resolver'
21
+ require File.dirname(__FILE__) + '/delivery/builders/image_transformation_builder'
22
+ require File.dirname(__FILE__) + '/delivery/tests/fake_responder'
metadata CHANGED
@@ -1,73 +1,53 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kontent-delivery-sdk-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.22
4
+ version: 2.0.24
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Dugre
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-03-22 00:00:00.000000000 Z
11
+ date: 2021-07-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: dotenv
14
+ name: nokogiri
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: 2.7.0
20
17
  - - "~>"
21
18
  - !ruby/object:Gem::Version
22
- version: '2.7'
23
- type: :runtime
24
- prerelease: false
25
- version_requirements: !ruby/object:Gem::Requirement
26
- requirements:
27
- - - ">="
28
- - !ruby/object:Gem::Version
29
- version: 2.7.0
30
- - - "~>"
31
- - !ruby/object:Gem::Version
32
- version: '2.7'
33
- - !ruby/object:Gem::Dependency
34
- name: nokogiri
35
- requirement: !ruby/object:Gem::Requirement
36
- requirements:
19
+ version: '1.11'
37
20
  - - ">="
38
21
  - !ruby/object:Gem::Version
39
22
  version: 1.11.0
40
- - - "~>"
41
- - !ruby/object:Gem::Version
42
- version: '1.11'
43
23
  type: :runtime
44
24
  prerelease: false
45
25
  version_requirements: !ruby/object:Gem::Requirement
46
26
  requirements:
47
- - - ">="
48
- - !ruby/object:Gem::Version
49
- version: 1.11.0
50
27
  - - "~>"
51
28
  - !ruby/object:Gem::Version
52
29
  version: '1.11'
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: 1.11.0
53
33
  - !ruby/object:Gem::Dependency
54
34
  name: rest-client
55
35
  requirement: !ruby/object:Gem::Requirement
56
36
  requirements:
57
- - - ">="
37
+ - - "~>"
58
38
  - !ruby/object:Gem::Version
59
39
  version: 2.1.0.rc1
60
- - - "~>"
40
+ - - ">="
61
41
  - !ruby/object:Gem::Version
62
42
  version: 2.1.0.rc1
63
43
  type: :runtime
64
44
  prerelease: false
65
45
  version_requirements: !ruby/object:Gem::Requirement
66
46
  requirements:
67
- - - ">="
47
+ - - "~>"
68
48
  - !ruby/object:Gem::Version
69
49
  version: 2.1.0.rc1
70
- - - "~>"
50
+ - - ">="
71
51
  - !ruby/object:Gem::Version
72
52
  version: 2.1.0.rc1
73
53
  - !ruby/object:Gem::Dependency
@@ -220,7 +200,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
220
200
  - !ruby/object:Gem::Version
221
201
  version: '0'
222
202
  requirements: []
223
- rubygems_version: 3.0.3
203
+ rubyforge_project:
204
+ rubygems_version: 2.7.6
224
205
  signing_key:
225
206
  specification_version: 4
226
207
  summary: Kentico Kontent Delivery SDK for Ruby