kontent-delivery-sdk-ruby 2.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.md +21 -0
- data/README.md +511 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/lib/delivery/builders/image_transformation_builder.rb +271 -0
- data/lib/delivery/builders/url_builder.rb +117 -0
- data/lib/delivery/client/delivery_client.rb +155 -0
- data/lib/delivery/client/delivery_query.rb +249 -0
- data/lib/delivery/client/request_manager.rb +108 -0
- data/lib/delivery/models/content_item.rb +153 -0
- data/lib/delivery/models/content_type.rb +41 -0
- data/lib/delivery/models/pagination.rb +21 -0
- data/lib/delivery/models/taxonomy_group.rb +39 -0
- data/lib/delivery/query_parameters/filters.rb +158 -0
- data/lib/delivery/query_parameters/parameter_base.rb +44 -0
- data/lib/delivery/query_parameters/query_string.rb +78 -0
- data/lib/delivery/resolvers/content_link_resolver.rb +102 -0
- data/lib/delivery/resolvers/inline_content_item_resolver.rb +75 -0
- data/lib/delivery/resolvers/linked_item_resolver.rb +37 -0
- data/lib/delivery/responses/delivery_element_response.rb +33 -0
- data/lib/delivery/responses/delivery_item_listing_response.rb +53 -0
- data/lib/delivery/responses/delivery_item_response.rb +39 -0
- data/lib/delivery/responses/delivery_taxonomy_listing_response.rb +46 -0
- data/lib/delivery/responses/delivery_taxonomy_response.rb +32 -0
- data/lib/delivery/responses/delivery_type_listing_response.rb +45 -0
- data/lib/delivery/responses/delivery_type_response.rb +31 -0
- data/lib/delivery/responses/response_base.rb +36 -0
- data/lib/delivery/tests/401.json +6 -0
- data/lib/delivery/tests/fake_responder.rb +67 -0
- data/lib/delivery/tests/filtering/items_gt.json +566 -0
- data/lib/delivery/tests/filtering/multiple.json +283 -0
- data/lib/delivery/tests/filtering/pagination_about_us.json +647 -0
- data/lib/delivery/tests/generic/items.json +4985 -0
- data/lib/delivery/tests/generic/items/about_us.json +228 -0
- data/lib/delivery/tests/generic/items/aeropress_filters.json +139 -0
- data/lib/delivery/tests/generic/items/coffee_processing_techniques.json +169 -0
- data/lib/delivery/tests/generic/items/where_does_coffee_come_from_.json +621 -0
- data/lib/delivery/tests/generic/taxonomies.json +127 -0
- data/lib/delivery/tests/generic/types.json +781 -0
- data/lib/delivery/tests/generic/types/brewer/elements/product_status.json +6 -0
- data/lib/delivery/version.rb +7 -0
- data/lib/kontent-delivery-sdk-ruby.rb +19 -0
- metadata +200 -0
@@ -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
ADDED
@@ -0,0 +1,200 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: kontent-delivery-sdk-ruby
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 2.0.6
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Eric Dugre
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2019-12-12 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: dotenv
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 2.7.0
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 2.7.0
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: nokogiri
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 1.10.0
|
34
|
+
- - ">="
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: 1.8.4
|
37
|
+
type: :runtime
|
38
|
+
prerelease: false
|
39
|
+
version_requirements: !ruby/object:Gem::Requirement
|
40
|
+
requirements:
|
41
|
+
- - "~>"
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: 1.10.0
|
44
|
+
- - ">="
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: 1.8.4
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: rest-client
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - "~>"
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: 2.1.0.rc1
|
54
|
+
- - ">="
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: 2.1.0.rc1
|
57
|
+
type: :runtime
|
58
|
+
prerelease: false
|
59
|
+
version_requirements: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - "~>"
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: 2.1.0.rc1
|
64
|
+
- - ">="
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: 2.1.0.rc1
|
67
|
+
- !ruby/object:Gem::Dependency
|
68
|
+
name: bundler
|
69
|
+
requirement: !ruby/object:Gem::Requirement
|
70
|
+
requirements:
|
71
|
+
- - "~>"
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
version: '2.0'
|
74
|
+
type: :development
|
75
|
+
prerelease: false
|
76
|
+
version_requirements: !ruby/object:Gem::Requirement
|
77
|
+
requirements:
|
78
|
+
- - "~>"
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
version: '2.0'
|
81
|
+
- !ruby/object:Gem::Dependency
|
82
|
+
name: rake
|
83
|
+
requirement: !ruby/object:Gem::Requirement
|
84
|
+
requirements:
|
85
|
+
- - "~>"
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
version: '10.0'
|
88
|
+
type: :development
|
89
|
+
prerelease: false
|
90
|
+
version_requirements: !ruby/object:Gem::Requirement
|
91
|
+
requirements:
|
92
|
+
- - "~>"
|
93
|
+
- !ruby/object:Gem::Version
|
94
|
+
version: '10.0'
|
95
|
+
- !ruby/object:Gem::Dependency
|
96
|
+
name: rspec
|
97
|
+
requirement: !ruby/object:Gem::Requirement
|
98
|
+
requirements:
|
99
|
+
- - "~>"
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: '3.0'
|
102
|
+
type: :development
|
103
|
+
prerelease: false
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
requirements:
|
106
|
+
- - "~>"
|
107
|
+
- !ruby/object:Gem::Version
|
108
|
+
version: '3.0'
|
109
|
+
- !ruby/object:Gem::Dependency
|
110
|
+
name: simplecov
|
111
|
+
requirement: !ruby/object:Gem::Requirement
|
112
|
+
requirements:
|
113
|
+
- - ">="
|
114
|
+
- !ruby/object:Gem::Version
|
115
|
+
version: '0'
|
116
|
+
type: :development
|
117
|
+
prerelease: false
|
118
|
+
version_requirements: !ruby/object:Gem::Requirement
|
119
|
+
requirements:
|
120
|
+
- - ">="
|
121
|
+
- !ruby/object:Gem::Version
|
122
|
+
version: '0'
|
123
|
+
description: Kentico Kontent Delivery SDK for Ruby
|
124
|
+
email:
|
125
|
+
- EricD@kentico.com
|
126
|
+
executables: []
|
127
|
+
extensions: []
|
128
|
+
extra_rdoc_files: []
|
129
|
+
files:
|
130
|
+
- LICENSE.md
|
131
|
+
- README.md
|
132
|
+
- bin/console
|
133
|
+
- bin/setup
|
134
|
+
- lib/delivery/builders/image_transformation_builder.rb
|
135
|
+
- lib/delivery/builders/url_builder.rb
|
136
|
+
- lib/delivery/client/delivery_client.rb
|
137
|
+
- lib/delivery/client/delivery_query.rb
|
138
|
+
- lib/delivery/client/request_manager.rb
|
139
|
+
- lib/delivery/models/content_item.rb
|
140
|
+
- lib/delivery/models/content_type.rb
|
141
|
+
- lib/delivery/models/pagination.rb
|
142
|
+
- lib/delivery/models/taxonomy_group.rb
|
143
|
+
- lib/delivery/query_parameters/filters.rb
|
144
|
+
- lib/delivery/query_parameters/parameter_base.rb
|
145
|
+
- lib/delivery/query_parameters/query_string.rb
|
146
|
+
- lib/delivery/resolvers/content_link_resolver.rb
|
147
|
+
- lib/delivery/resolvers/inline_content_item_resolver.rb
|
148
|
+
- lib/delivery/resolvers/linked_item_resolver.rb
|
149
|
+
- lib/delivery/responses/delivery_element_response.rb
|
150
|
+
- lib/delivery/responses/delivery_item_listing_response.rb
|
151
|
+
- lib/delivery/responses/delivery_item_response.rb
|
152
|
+
- lib/delivery/responses/delivery_taxonomy_listing_response.rb
|
153
|
+
- lib/delivery/responses/delivery_taxonomy_response.rb
|
154
|
+
- lib/delivery/responses/delivery_type_listing_response.rb
|
155
|
+
- lib/delivery/responses/delivery_type_response.rb
|
156
|
+
- lib/delivery/responses/response_base.rb
|
157
|
+
- lib/delivery/tests/401.json
|
158
|
+
- lib/delivery/tests/fake_responder.rb
|
159
|
+
- lib/delivery/tests/filtering/items_gt.json
|
160
|
+
- lib/delivery/tests/filtering/multiple.json
|
161
|
+
- lib/delivery/tests/filtering/pagination_about_us.json
|
162
|
+
- lib/delivery/tests/generic/items.json
|
163
|
+
- lib/delivery/tests/generic/items/about_us.json
|
164
|
+
- lib/delivery/tests/generic/items/aeropress_filters.json
|
165
|
+
- lib/delivery/tests/generic/items/coffee_processing_techniques.json
|
166
|
+
- lib/delivery/tests/generic/items/where_does_coffee_come_from_.json
|
167
|
+
- lib/delivery/tests/generic/taxonomies.json
|
168
|
+
- lib/delivery/tests/generic/types.json
|
169
|
+
- lib/delivery/tests/generic/types/brewer/elements/product_status.json
|
170
|
+
- lib/delivery/version.rb
|
171
|
+
- lib/kontent-delivery-sdk-ruby.rb
|
172
|
+
homepage: https://github.com/Kentico/kontent-delivery-sdk-ruby
|
173
|
+
licenses:
|
174
|
+
- MIT
|
175
|
+
metadata:
|
176
|
+
allowed_push_host: https://rubygems.org
|
177
|
+
homepage_uri: https://github.com/Kentico/kontent-delivery-sdk-ruby
|
178
|
+
source_code_uri: https://github.com/Kentico/kontent-delivery-sdk-ruby
|
179
|
+
changelog_uri: https://github.com/Kentico/kontent-delivery-sdk-ruby
|
180
|
+
post_install_message:
|
181
|
+
rdoc_options: []
|
182
|
+
require_paths:
|
183
|
+
- lib
|
184
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
185
|
+
requirements:
|
186
|
+
- - ">="
|
187
|
+
- !ruby/object:Gem::Version
|
188
|
+
version: '0'
|
189
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
190
|
+
requirements:
|
191
|
+
- - ">="
|
192
|
+
- !ruby/object:Gem::Version
|
193
|
+
version: '0'
|
194
|
+
requirements: []
|
195
|
+
rubyforge_project:
|
196
|
+
rubygems_version: 2.7.6
|
197
|
+
signing_key:
|
198
|
+
specification_version: 4
|
199
|
+
summary: Kentico Kontent Delivery SDK for Ruby
|
200
|
+
test_files: []
|