delivery-sdk-ruby 1.0.9 → 2.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (29) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +47 -46
  3. data/lib/delivery/builders/image_transformation_builder.rb +239 -237
  4. data/lib/delivery/builders/url_builder.rb +95 -93
  5. data/lib/delivery/client/delivery_client.rb +137 -135
  6. data/lib/delivery/client/delivery_query.rb +222 -220
  7. data/lib/delivery/client/request_manager.rb +83 -81
  8. data/lib/delivery/models/content_item.rb +132 -130
  9. data/lib/delivery/models/content_type.rb +33 -31
  10. data/lib/delivery/models/pagination.rb +16 -14
  11. data/lib/delivery/models/taxonomy_group.rb +33 -31
  12. data/lib/delivery/query_parameters/filters.rb +36 -34
  13. data/lib/delivery/query_parameters/parameter_base.rb +37 -35
  14. data/lib/delivery/query_parameters/query_string.rb +65 -63
  15. data/lib/delivery/resolvers/content_link_resolver.rb +85 -83
  16. data/lib/delivery/resolvers/inline_content_item_resolver.rb +61 -59
  17. data/lib/delivery/resolvers/linked_item_resolver.rb +29 -27
  18. data/lib/delivery/responses/delivery_element_response.rb +25 -23
  19. data/lib/delivery/responses/delivery_item_listing_response.rb +41 -39
  20. data/lib/delivery/responses/delivery_item_response.rb +30 -28
  21. data/lib/delivery/responses/delivery_taxonomy_listing_response.rb +33 -31
  22. data/lib/delivery/responses/delivery_taxonomy_response.rb +22 -20
  23. data/lib/delivery/responses/delivery_type_listing_response.rb +33 -31
  24. data/lib/delivery/responses/delivery_type_response.rb +22 -20
  25. data/lib/delivery/responses/response_base.rb +29 -27
  26. data/lib/delivery/tests/fake_responder.rb +50 -48
  27. data/lib/delivery/version.rb +5 -3
  28. data/lib/kontent-delivery-sdk-ruby.rb +19 -0
  29. metadata +10 -9
@@ -1,5 +1,7 @@
1
- module KenticoCloud
2
- module Delivery
3
- VERSION = '1.0.9'.freeze
1
+ module Kentico
2
+ module Kontent
3
+ module Delivery
4
+ VERSION = '2.0.2'.freeze
5
+ end
4
6
  end
5
7
  end
@@ -0,0 +1,19 @@
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/query_parameters/filters'
8
+ require File.dirname(__FILE__) + '/delivery/responses/delivery_item_listing_response'
9
+ require File.dirname(__FILE__) + '/delivery/responses/delivery_item_response'
10
+ require File.dirname(__FILE__) + '/delivery/responses/delivery_type_listing_response'
11
+ require File.dirname(__FILE__) + '/delivery/responses/delivery_type_response'
12
+ require File.dirname(__FILE__) + '/delivery/responses/delivery_taxonomy_listing_response'
13
+ require File.dirname(__FILE__) + '/delivery/responses/delivery_taxonomy_response'
14
+ require File.dirname(__FILE__) + '/delivery/responses/delivery_element_response'
15
+ require File.dirname(__FILE__) + '/delivery/resolvers/content_link_resolver'
16
+ require File.dirname(__FILE__) + '/delivery/resolvers/inline_content_item_resolver'
17
+ require File.dirname(__FILE__) + '/delivery/resolvers/linked_item_resolver'
18
+ require File.dirname(__FILE__) + '/delivery/builders/image_transformation_builder'
19
+ require File.dirname(__FILE__) + '/delivery/tests/fake_responder'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: delivery-sdk-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.9
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Dugre
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-05-20 00:00:00.000000000 Z
11
+ date: 2019-09-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dotenv
@@ -120,7 +120,7 @@ dependencies:
120
120
  - - ">="
121
121
  - !ruby/object:Gem::Version
122
122
  version: '0'
123
- description: Kentico Cloud Delivery SDK for Ruby
123
+ description: Kentico Kontent Delivery SDK for Ruby
124
124
  email:
125
125
  - EricD@kentico.com
126
126
  executables: []
@@ -169,14 +169,15 @@ files:
169
169
  - lib/delivery/tests/generic/types.json
170
170
  - lib/delivery/tests/generic/types/brewer/elements/product_status.json
171
171
  - lib/delivery/version.rb
172
- homepage: https://github.com/Kentico/delivery-sdk-ruby
172
+ - lib/kontent-delivery-sdk-ruby.rb
173
+ homepage: https://github.com/Kentico/kontent-delivery-sdk-ruby
173
174
  licenses:
174
175
  - MIT
175
176
  metadata:
176
177
  allowed_push_host: https://rubygems.org
177
- homepage_uri: https://github.com/Kentico/delivery-sdk-ruby
178
- source_code_uri: https://github.com/Kentico/delivery-sdk-ruby
179
- changelog_uri: https://github.com/Kentico/delivery-sdk-ruby
178
+ homepage_uri: https://github.com/Kentico/kontent-delivery-sdk-ruby
179
+ source_code_uri: https://github.com/Kentico/kontent-delivery-sdk-ruby
180
+ changelog_uri: https://github.com/Kentico/kontent-delivery-sdk-ruby
180
181
  post_install_message:
181
182
  rdoc_options: []
182
183
  require_paths:
@@ -192,8 +193,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
192
193
  - !ruby/object:Gem::Version
193
194
  version: '0'
194
195
  requirements: []
195
- rubygems_version: 3.0.3
196
+ rubygems_version: 3.0.6
196
197
  signing_key:
197
198
  specification_version: 4
198
- summary: Kentico Cloud Delivery SDK for Ruby
199
+ summary: Kentico Kontent Delivery SDK for Ruby
199
200
  test_files: []