storyblok 2.1.1 → 3.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +282 -0
- data/.rubocop_strict.yml +30 -0
- data/.rubocop_todo.yml +405 -0
- data/Gemfile +8 -3
- data/Gemfile.lock +92 -20
- data/README.md +99 -27
- data/coverage/.last_run.json +5 -0
- data/coverage/.resultset.json +547 -0
- data/coverage/.resultset.json.lock +0 -0
- data/coverage/assets/0.10.2/application.css +799 -0
- data/coverage/assets/0.10.2/application.js +1707 -0
- data/coverage/assets/0.10.2/colorbox/border.png +0 -0
- data/coverage/assets/0.10.2/colorbox/controls.png +0 -0
- data/coverage/assets/0.10.2/colorbox/loading.gif +0 -0
- data/coverage/assets/0.10.2/colorbox/loading_background.png +0 -0
- data/coverage/assets/0.10.2/favicon_green.png +0 -0
- data/coverage/assets/0.10.2/favicon_red.png +0 -0
- data/coverage/assets/0.10.2/favicon_yellow.png +0 -0
- data/coverage/assets/0.10.2/loading.gif +0 -0
- data/coverage/assets/0.10.2/magnify.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-icons_222222_256x240.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-icons_454545_256x240.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-icons_888888_256x240.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/coverage/index.html +3380 -0
- data/examples/cache.rb +5 -6
- data/examples/example_queries.rb +6 -6
- data/examples/management_api.rb +2 -4
- data/examples/renderer.rb +11 -12
- data/examples/tree.rb +12 -12
- data/lib/storyblok/cache/redis.rb +3 -2
- data/lib/storyblok/client.rb +167 -71
- data/lib/storyblok/links.rb +16 -17
- data/lib/storyblok/version.rb +1 -1
- data/lib/storyblok.rb +3 -3
- metadata +94 -14
- data/.DS_Store +0 -0
- data/.ruby-version +0 -1
- data/lib/.DS_Store +0 -0
- data/lib/storyblok/.DS_Store +0 -0
- data/storyblok.gemspec +0 -23
data/.rubocop_todo.yml
ADDED
@@ -0,0 +1,405 @@
|
|
1
|
+
# This configuration was generated by
|
2
|
+
# `rubocop --auto-gen-config --auto-gen-only-exclude --exclude-limit 10000`
|
3
|
+
# on 2022-02-21 18:24:20 UTC using RuboCop version 1.25.1.
|
4
|
+
# The point is for the user to remove these configuration records
|
5
|
+
# one by one as the offenses are removed from the code base.
|
6
|
+
# Note that changes in the inspected code, or installation of new
|
7
|
+
# versions of RuboCop, may require this file to be generated again.
|
8
|
+
|
9
|
+
# Offense count: 2
|
10
|
+
# Cop supports --auto-correct.
|
11
|
+
# Configuration parameters: TreatCommentsAsGroupSeparators, ConsiderPunctuation, Include.
|
12
|
+
# Include: **/*.gemspec
|
13
|
+
Gemspec/OrderedDependencies:
|
14
|
+
Exclude:
|
15
|
+
- 'storyblok.gemspec'
|
16
|
+
|
17
|
+
# Offense count: 1
|
18
|
+
# Configuration parameters: Include.
|
19
|
+
# Include: **/*.gemspec
|
20
|
+
Gemspec/RequiredRubyVersion:
|
21
|
+
Exclude:
|
22
|
+
- 'storyblok.gemspec'
|
23
|
+
|
24
|
+
# Offense count: 2
|
25
|
+
# Cop supports --auto-correct.
|
26
|
+
# Configuration parameters: EnforcedStyle.
|
27
|
+
# SupportedStyles: around, only_before
|
28
|
+
Layout/EmptyLinesAroundAccessModifier:
|
29
|
+
Exclude:
|
30
|
+
- 'lib/storyblok/client.rb'
|
31
|
+
- 'lib/storyblok/links.rb'
|
32
|
+
|
33
|
+
# Offense count: 13
|
34
|
+
# Cop supports --auto-correct.
|
35
|
+
# Configuration parameters: EnforcedStyle.
|
36
|
+
# SupportedStyles: normal, indented_internal_methods
|
37
|
+
Layout/IndentationConsistency:
|
38
|
+
Exclude:
|
39
|
+
- 'lib/storyblok/client.rb'
|
40
|
+
- 'lib/storyblok/links.rb'
|
41
|
+
|
42
|
+
# Offense count: 13
|
43
|
+
# Cop supports --auto-correct.
|
44
|
+
# Configuration parameters: Width, IgnoredPatterns.
|
45
|
+
Layout/IndentationWidth:
|
46
|
+
Exclude:
|
47
|
+
- 'lib/storyblok/client.rb'
|
48
|
+
- 'lib/storyblok/links.rb'
|
49
|
+
|
50
|
+
# Offense count: 2
|
51
|
+
# Configuration parameters: IgnoredMethods.
|
52
|
+
Lint/AmbiguousBlockAssociation:
|
53
|
+
Exclude:
|
54
|
+
- 'spec/lib/storyblok_cache_redis_spec.rb'
|
55
|
+
|
56
|
+
# Offense count: 2
|
57
|
+
# Cop supports --auto-correct.
|
58
|
+
Lint/RedundantStringCoercion:
|
59
|
+
Exclude:
|
60
|
+
- 'lib/storyblok/client.rb'
|
61
|
+
|
62
|
+
# Offense count: 1
|
63
|
+
Lint/ShadowingOuterLocalVariable:
|
64
|
+
Exclude:
|
65
|
+
- 'examples/tree.rb'
|
66
|
+
|
67
|
+
# Offense count: 5
|
68
|
+
# Cop supports --auto-correct.
|
69
|
+
# Configuration parameters: IgnoreEmptyBlocks, AllowUnusedKeywordArguments.
|
70
|
+
Lint/UnusedBlockArgument:
|
71
|
+
Exclude:
|
72
|
+
- 'examples/tree.rb'
|
73
|
+
- 'lib/storyblok/client.rb'
|
74
|
+
- 'lib/storyblok/links.rb'
|
75
|
+
|
76
|
+
# Offense count: 8
|
77
|
+
Lint/UselessAssignment:
|
78
|
+
Exclude:
|
79
|
+
- 'examples/cache.rb'
|
80
|
+
- 'examples/renderer.rb'
|
81
|
+
|
82
|
+
# Offense count: 8
|
83
|
+
# Configuration parameters: IgnoredMethods, CountRepeatedAttributes, Max.
|
84
|
+
Metrics/AbcSize:
|
85
|
+
Exclude:
|
86
|
+
- 'lib/storyblok/client.rb'
|
87
|
+
- 'lib/storyblok/links.rb'
|
88
|
+
|
89
|
+
# Offense count: 50
|
90
|
+
# Configuration parameters: CountComments, Max, CountAsOne, ExcludedMethods, IgnoredMethods.
|
91
|
+
# IgnoredMethods: refine
|
92
|
+
Metrics/BlockLength:
|
93
|
+
Exclude:
|
94
|
+
- '**/*.gemspec'
|
95
|
+
- 'spec/lib/storyblok_cache_redis_spec.rb'
|
96
|
+
- 'spec/lib/storyblok_client_spec.rb'
|
97
|
+
- 'spec/v2/storyblok_client_spec.rb'
|
98
|
+
|
99
|
+
# Offense count: 3
|
100
|
+
# Configuration parameters: CountBlocks, Max.
|
101
|
+
Metrics/BlockNesting:
|
102
|
+
Exclude:
|
103
|
+
- 'lib/storyblok/client.rb'
|
104
|
+
|
105
|
+
# Offense count: 1
|
106
|
+
# Configuration parameters: CountComments, Max, CountAsOne.
|
107
|
+
Metrics/ClassLength:
|
108
|
+
Exclude:
|
109
|
+
- 'lib/storyblok/client.rb'
|
110
|
+
|
111
|
+
# Offense count: 3
|
112
|
+
# Configuration parameters: IgnoredMethods, Max.
|
113
|
+
Metrics/CyclomaticComplexity:
|
114
|
+
Exclude:
|
115
|
+
- 'lib/storyblok/client.rb'
|
116
|
+
|
117
|
+
# Offense count: 10
|
118
|
+
# Configuration parameters: CountComments, Max, CountAsOne, ExcludedMethods, IgnoredMethods.
|
119
|
+
Metrics/MethodLength:
|
120
|
+
Exclude:
|
121
|
+
- 'lib/storyblok/client.rb'
|
122
|
+
- 'lib/storyblok/links.rb'
|
123
|
+
- 'lib/storyblok/request.rb'
|
124
|
+
|
125
|
+
# Offense count: 2
|
126
|
+
# Configuration parameters: IgnoredMethods, Max.
|
127
|
+
Metrics/PerceivedComplexity:
|
128
|
+
Exclude:
|
129
|
+
- 'lib/storyblok/client.rb'
|
130
|
+
|
131
|
+
# Offense count: 1
|
132
|
+
Naming/AccessorMethodName:
|
133
|
+
Exclude:
|
134
|
+
- 'lib/storyblok/client.rb'
|
135
|
+
|
136
|
+
# Offense count: 1
|
137
|
+
# Cop supports --auto-correct.
|
138
|
+
# Configuration parameters: EnforcedStyle.
|
139
|
+
# SupportedStyles: always, conditionals
|
140
|
+
Style/AndOr:
|
141
|
+
Exclude:
|
142
|
+
- 'lib/storyblok/client.rb'
|
143
|
+
|
144
|
+
# Offense count: 11
|
145
|
+
# Cop supports --auto-correct.
|
146
|
+
# Configuration parameters: EnforcedStyle, ProceduralMethods, FunctionalMethods, IgnoredMethods, AllowBracesOnProceduralOneLiners, BracesRequiredMethods.
|
147
|
+
# SupportedStyles: line_count_based, semantic, braces_for_chaining, always_braces
|
148
|
+
# ProceduralMethods: benchmark, bm, bmbm, create, each_with_object, measure, new, realtime, tap, with_object
|
149
|
+
# FunctionalMethods: let, let!, subject, watch
|
150
|
+
# IgnoredMethods: lambda, proc, it
|
151
|
+
Style/BlockDelimiters:
|
152
|
+
Exclude:
|
153
|
+
- 'lib/storyblok/client.rb'
|
154
|
+
- 'spec/lib/storyblok_cache_redis_spec.rb'
|
155
|
+
- 'spec/lib/storyblok_client_spec.rb'
|
156
|
+
- 'storyblok.gemspec'
|
157
|
+
|
158
|
+
# Offense count: 2
|
159
|
+
# Cop supports --auto-correct-all.
|
160
|
+
Style/CaseLikeIf:
|
161
|
+
Exclude:
|
162
|
+
- 'lib/storyblok/client.rb'
|
163
|
+
|
164
|
+
# Offense count: 1
|
165
|
+
# Cop supports --auto-correct.
|
166
|
+
# Configuration parameters: EnforcedStyle, SingleLineConditionsOnly, IncludeTernaryExpressions.
|
167
|
+
# SupportedStyles: assign_to_condition, assign_inside_condition
|
168
|
+
Style/ConditionalAssignment:
|
169
|
+
Exclude:
|
170
|
+
- 'lib/storyblok/client.rb'
|
171
|
+
|
172
|
+
# Offense count: 3
|
173
|
+
# Configuration parameters: AllowedConstants.
|
174
|
+
Style/Documentation:
|
175
|
+
Exclude:
|
176
|
+
- 'spec/**/*'
|
177
|
+
- 'test/**/*'
|
178
|
+
- 'lib/storyblok/cache/redis.rb'
|
179
|
+
- 'lib/storyblok/client.rb'
|
180
|
+
- 'lib/storyblok/links.rb'
|
181
|
+
|
182
|
+
# Offense count: 1
|
183
|
+
# Cop supports --auto-correct.
|
184
|
+
Style/ExpandPathArguments:
|
185
|
+
Exclude:
|
186
|
+
- 'storyblok.gemspec'
|
187
|
+
|
188
|
+
# Offense count: 17
|
189
|
+
# Cop supports --auto-correct.
|
190
|
+
# Configuration parameters: EnforcedStyle.
|
191
|
+
# SupportedStyles: always, always_true, never
|
192
|
+
Style/FrozenStringLiteralComment:
|
193
|
+
Exclude:
|
194
|
+
- 'Gemfile'
|
195
|
+
- 'examples/cache.rb'
|
196
|
+
- 'examples/example_queries.rb'
|
197
|
+
- 'examples/management_api.rb'
|
198
|
+
- 'examples/renderer.rb'
|
199
|
+
- 'examples/tree.rb'
|
200
|
+
- 'lib/storyblok.rb'
|
201
|
+
- 'lib/storyblok/cache/redis.rb'
|
202
|
+
- 'lib/storyblok/client.rb'
|
203
|
+
- 'lib/storyblok/links.rb'
|
204
|
+
- 'lib/storyblok/request.rb'
|
205
|
+
- 'lib/storyblok/version.rb'
|
206
|
+
- 'spec/lib/storyblok_cache_redis_spec.rb'
|
207
|
+
- 'spec/lib/storyblok_client_spec.rb'
|
208
|
+
- 'spec/lib/storyblok_request_spec.rb'
|
209
|
+
- 'spec/v2/storyblok_client_spec.rb'
|
210
|
+
- 'storyblok.gemspec'
|
211
|
+
|
212
|
+
# Offense count: 5
|
213
|
+
# Cop supports --auto-correct.
|
214
|
+
Style/GlobalStdStream:
|
215
|
+
Exclude:
|
216
|
+
- 'examples/cache.rb'
|
217
|
+
- 'examples/example_queries.rb'
|
218
|
+
- 'examples/management_api.rb'
|
219
|
+
- 'examples/renderer.rb'
|
220
|
+
- 'examples/tree.rb'
|
221
|
+
|
222
|
+
# Offense count: 2
|
223
|
+
# Configuration parameters: MinBodyLength.
|
224
|
+
Style/GuardClause:
|
225
|
+
Exclude:
|
226
|
+
- 'lib/storyblok/cache/redis.rb'
|
227
|
+
- 'lib/storyblok/client.rb'
|
228
|
+
|
229
|
+
# Offense count: 4
|
230
|
+
# Cop supports --auto-correct.
|
231
|
+
# Configuration parameters: EnforcedStyle, EnforcedShorthandSyntax, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols.
|
232
|
+
# SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys
|
233
|
+
# SupportedShorthandSyntax: always, never, either
|
234
|
+
Style/HashSyntax:
|
235
|
+
Exclude:
|
236
|
+
- 'examples/cache.rb'
|
237
|
+
- 'lib/storyblok/client.rb'
|
238
|
+
- 'spec/spec_helper.rb'
|
239
|
+
|
240
|
+
# Offense count: 7
|
241
|
+
# Cop supports --auto-correct.
|
242
|
+
Style/IfUnlessModifier:
|
243
|
+
Exclude:
|
244
|
+
- 'lib/storyblok/cache/redis.rb'
|
245
|
+
- 'lib/storyblok/client.rb'
|
246
|
+
- 'lib/storyblok/links.rb'
|
247
|
+
|
248
|
+
# Offense count: 1
|
249
|
+
# Cop supports --auto-correct.
|
250
|
+
# Configuration parameters: EnforcedStyle.
|
251
|
+
# SupportedStyles: line_count_dependent, lambda, literal
|
252
|
+
Style/Lambda:
|
253
|
+
Exclude:
|
254
|
+
- 'examples/renderer.rb'
|
255
|
+
|
256
|
+
# Offense count: 2
|
257
|
+
# Cop supports --auto-correct.
|
258
|
+
# Configuration parameters: EnforcedStyle.
|
259
|
+
# SupportedStyles: require_parentheses, require_no_parentheses, require_no_parentheses_except_multiline
|
260
|
+
Style/MethodDefParentheses:
|
261
|
+
Exclude:
|
262
|
+
- 'lib/storyblok/client.rb'
|
263
|
+
|
264
|
+
# Offense count: 1
|
265
|
+
# Cop supports --auto-correct.
|
266
|
+
Style/MultilineIfModifier:
|
267
|
+
Exclude:
|
268
|
+
- 'lib/storyblok/client.rb'
|
269
|
+
|
270
|
+
# Offense count: 2
|
271
|
+
# Cop supports --auto-correct.
|
272
|
+
# Configuration parameters: EnforcedStyle.
|
273
|
+
# SupportedStyles: literals, strict
|
274
|
+
Style/MutableConstant:
|
275
|
+
Exclude:
|
276
|
+
- 'lib/storyblok/client.rb'
|
277
|
+
- 'lib/storyblok/version.rb'
|
278
|
+
|
279
|
+
# Offense count: 4
|
280
|
+
# Cop supports --auto-correct.
|
281
|
+
# Configuration parameters: EnforcedStyle.
|
282
|
+
# SupportedStyles: both, prefix, postfix
|
283
|
+
Style/NegatedIf:
|
284
|
+
Exclude:
|
285
|
+
- 'examples/tree.rb'
|
286
|
+
- 'lib/storyblok/client.rb'
|
287
|
+
- 'lib/storyblok/links.rb'
|
288
|
+
|
289
|
+
# Offense count: 1
|
290
|
+
# Cop supports --auto-correct.
|
291
|
+
# Configuration parameters: EnforcedStyle, MinBodyLength.
|
292
|
+
# SupportedStyles: skip_modifier_ifs, always
|
293
|
+
Style/Next:
|
294
|
+
Exclude:
|
295
|
+
- 'lib/storyblok/client.rb'
|
296
|
+
|
297
|
+
# Offense count: 67
|
298
|
+
# Cop supports --auto-correct.
|
299
|
+
# Configuration parameters: MinDigits, Strict, AllowedNumbers.
|
300
|
+
Style/NumericLiterals:
|
301
|
+
Exclude:
|
302
|
+
- 'spec/lib/storyblok_client_spec.rb'
|
303
|
+
- 'spec/v2/storyblok_client_spec.rb'
|
304
|
+
|
305
|
+
# Offense count: 1
|
306
|
+
# Cop supports --auto-correct-all.
|
307
|
+
# Configuration parameters: EnforcedStyle, IgnoredMethods.
|
308
|
+
# SupportedStyles: predicate, comparison
|
309
|
+
Style/NumericPredicate:
|
310
|
+
Exclude:
|
311
|
+
- 'spec/**/*'
|
312
|
+
- 'lib/storyblok/cache/redis.rb'
|
313
|
+
|
314
|
+
# Offense count: 1
|
315
|
+
Style/OptionalArguments:
|
316
|
+
Exclude:
|
317
|
+
- 'lib/storyblok/links.rb'
|
318
|
+
|
319
|
+
# Offense count: 3
|
320
|
+
# Configuration parameters: AllowedMethods.
|
321
|
+
# AllowedMethods: respond_to_missing?
|
322
|
+
Style/OptionalBooleanParameter:
|
323
|
+
Exclude:
|
324
|
+
- 'lib/storyblok/cache/redis.rb'
|
325
|
+
- 'lib/storyblok/client.rb'
|
326
|
+
- 'lib/storyblok/request.rb'
|
327
|
+
|
328
|
+
# Offense count: 6
|
329
|
+
# Cop supports --auto-correct.
|
330
|
+
# Configuration parameters: ConvertCodeThatCanStartToReturnNil, AllowedMethods.
|
331
|
+
# AllowedMethods: present?, blank?, presence, try, try!
|
332
|
+
Style/SafeNavigation:
|
333
|
+
Exclude:
|
334
|
+
- 'lib/storyblok/client.rb'
|
335
|
+
|
336
|
+
# Offense count: 3
|
337
|
+
# Cop supports --auto-correct.
|
338
|
+
# Configuration parameters: EnforcedStyle.
|
339
|
+
# SupportedStyles: only_raise, only_fail, semantic
|
340
|
+
Style/SignalException:
|
341
|
+
Exclude:
|
342
|
+
- 'lib/storyblok/client.rb'
|
343
|
+
|
344
|
+
# Offense count: 1
|
345
|
+
# Cop supports --auto-correct.
|
346
|
+
# Configuration parameters: AllowModifier.
|
347
|
+
Style/SoleNestedConditional:
|
348
|
+
Exclude:
|
349
|
+
- 'lib/storyblok/client.rb'
|
350
|
+
|
351
|
+
# Offense count: 6
|
352
|
+
# Cop supports --auto-correct-all.
|
353
|
+
# Configuration parameters: Mode.
|
354
|
+
Style/StringConcatenation:
|
355
|
+
Exclude:
|
356
|
+
- 'examples/tree.rb'
|
357
|
+
- 'lib/storyblok/client.rb'
|
358
|
+
|
359
|
+
# Offense count: 1217
|
360
|
+
# Cop supports --auto-correct.
|
361
|
+
# Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
|
362
|
+
# SupportedStyles: single_quotes, double_quotes
|
363
|
+
Style/StringLiterals:
|
364
|
+
Exclude:
|
365
|
+
- 'Gemfile'
|
366
|
+
- 'examples/cache.rb'
|
367
|
+
- 'examples/example_queries.rb'
|
368
|
+
- 'examples/management_api.rb'
|
369
|
+
- 'examples/renderer.rb'
|
370
|
+
- 'examples/tree.rb'
|
371
|
+
- 'lib/storyblok.rb'
|
372
|
+
- 'lib/storyblok/cache/redis.rb'
|
373
|
+
- 'lib/storyblok/client.rb'
|
374
|
+
- 'lib/storyblok/links.rb'
|
375
|
+
- 'lib/storyblok/version.rb'
|
376
|
+
- 'spec/lib/storyblok_cache_redis_spec.rb'
|
377
|
+
- 'spec/lib/storyblok_client_spec.rb'
|
378
|
+
- 'spec/lib/storyblok_request_spec.rb'
|
379
|
+
- 'spec/spec_helper.rb'
|
380
|
+
- 'spec/v2/storyblok_client_spec.rb'
|
381
|
+
- 'storyblok.gemspec'
|
382
|
+
|
383
|
+
# Offense count: 1
|
384
|
+
# Cop supports --auto-correct.
|
385
|
+
# Configuration parameters: MinSize.
|
386
|
+
# SupportedStyles: percent, brackets
|
387
|
+
Style/SymbolArray:
|
388
|
+
EnforcedStyle: brackets
|
389
|
+
|
390
|
+
# Offense count: 1
|
391
|
+
# Cop supports --auto-correct.
|
392
|
+
Style/UnlessElse:
|
393
|
+
Exclude:
|
394
|
+
- 'lib/storyblok/client.rb'
|
395
|
+
|
396
|
+
# Offense count: 104
|
397
|
+
# Cop supports --auto-correct.
|
398
|
+
# Configuration parameters: Max, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
|
399
|
+
# URISchemes: http, https
|
400
|
+
Layout/LineLength:
|
401
|
+
Exclude:
|
402
|
+
- 'lib/storyblok/client.rb'
|
403
|
+
- 'spec/lib/storyblok_cache_redis_spec.rb'
|
404
|
+
- 'spec/lib/storyblok_client_spec.rb'
|
405
|
+
- 'spec/v2/storyblok_client_spec.rb'
|
data/Gemfile
CHANGED
@@ -1,6 +1,11 @@
|
|
1
|
-
source
|
1
|
+
source "https://rubygems.org"
|
2
2
|
|
3
3
|
gemspec
|
4
4
|
|
5
|
-
gem
|
6
|
-
gem
|
5
|
+
gem "redis"
|
6
|
+
gem "storyblok-richtext-renderer"
|
7
|
+
|
8
|
+
gem "rubocop", require: false
|
9
|
+
gem "rubocop-performance", require: false
|
10
|
+
gem "rubocop-rails", require: false
|
11
|
+
gem "rubocop-rspec", require: false
|
data/Gemfile.lock
CHANGED
@@ -1,56 +1,128 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
storyblok (
|
4
|
+
storyblok (3.0.1)
|
5
5
|
rest-client (>= 1.8.0, < 3)
|
6
6
|
storyblok-richtext-renderer (>= 0.0.4, < 1)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
|
11
|
+
activesupport (6.0.4.7)
|
12
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
13
|
+
i18n (>= 0.7, < 2)
|
14
|
+
minitest (~> 5.1)
|
15
|
+
tzinfo (~> 1.1)
|
16
|
+
zeitwerk (~> 2.2, >= 2.2.2)
|
17
|
+
addressable (2.8.0)
|
18
|
+
public_suffix (>= 2.0.2, < 5.0)
|
19
|
+
ast (2.4.1)
|
20
|
+
coderay (1.1.3)
|
21
|
+
concurrent-ruby (1.1.9)
|
22
|
+
crack (0.4.5)
|
23
|
+
rexml
|
24
|
+
diff-lcs (1.4.4)
|
25
|
+
docile (1.4.0)
|
12
26
|
domain_name (0.5.20190701)
|
13
27
|
unf (>= 0.0.5, < 1.0.0)
|
28
|
+
hashdiff (1.0.1)
|
14
29
|
http-accept (1.7.0)
|
15
|
-
http-cookie (1.0.
|
30
|
+
http-cookie (1.0.4)
|
16
31
|
domain_name (~> 0.5)
|
17
|
-
|
32
|
+
i18n (1.10.0)
|
33
|
+
concurrent-ruby (~> 1.0)
|
34
|
+
jaro_winkler (1.5.4)
|
35
|
+
json (2.6.1)
|
36
|
+
method_source (1.0.0)
|
37
|
+
mime-types (3.4.1)
|
18
38
|
mime-types-data (~> 3.2015)
|
19
|
-
mime-types-data (3.
|
39
|
+
mime-types-data (3.2022.0105)
|
40
|
+
minitest (5.15.0)
|
20
41
|
netrc (0.11.0)
|
21
|
-
|
42
|
+
parallel (1.19.2)
|
43
|
+
parser (2.7.1.4)
|
44
|
+
ast (~> 2.4.1)
|
45
|
+
pry (0.13.1)
|
46
|
+
coderay (~> 1.1)
|
47
|
+
method_source (~> 1.0)
|
48
|
+
public_suffix (4.0.6)
|
49
|
+
rack (2.2.3)
|
50
|
+
rainbow (3.0.0)
|
51
|
+
redis (4.5.1)
|
22
52
|
rest-client (2.1.0)
|
23
53
|
http-accept (>= 1.7.0, < 2.0)
|
24
54
|
http-cookie (>= 1.0.2, < 2.0)
|
25
55
|
mime-types (>= 1.16, < 4.0)
|
26
56
|
netrc (~> 0.8)
|
27
|
-
|
28
|
-
|
29
|
-
rspec-
|
30
|
-
rspec-
|
31
|
-
|
32
|
-
|
33
|
-
|
57
|
+
rexml (3.2.5)
|
58
|
+
rspec (3.10.0)
|
59
|
+
rspec-core (~> 3.10.0)
|
60
|
+
rspec-expectations (~> 3.10.0)
|
61
|
+
rspec-mocks (~> 3.10.0)
|
62
|
+
rspec-core (3.10.1)
|
63
|
+
rspec-support (~> 3.10.0)
|
64
|
+
rspec-expectations (3.10.1)
|
34
65
|
diff-lcs (>= 1.2.0, < 2.0)
|
35
|
-
rspec-support (~> 3.
|
36
|
-
rspec-mocks (3.
|
66
|
+
rspec-support (~> 3.10.0)
|
67
|
+
rspec-mocks (3.10.2)
|
37
68
|
diff-lcs (>= 1.2.0, < 2.0)
|
38
|
-
rspec-support (~> 3.
|
39
|
-
rspec-support (3.
|
40
|
-
|
69
|
+
rspec-support (~> 3.10.0)
|
70
|
+
rspec-support (3.10.3)
|
71
|
+
rubocop (0.81.0)
|
72
|
+
jaro_winkler (~> 1.5.1)
|
73
|
+
parallel (~> 1.10)
|
74
|
+
parser (>= 2.7.0.1)
|
75
|
+
rainbow (>= 2.2.2, < 4.0)
|
76
|
+
rexml
|
77
|
+
ruby-progressbar (~> 1.7)
|
78
|
+
unicode-display_width (>= 1.4.0, < 2.0)
|
79
|
+
rubocop-performance (1.5.2)
|
80
|
+
rubocop (>= 0.71.0)
|
81
|
+
rubocop-rails (2.5.2)
|
82
|
+
activesupport
|
83
|
+
rack (>= 1.1)
|
84
|
+
rubocop (>= 0.72.0)
|
85
|
+
rubocop-rspec (1.38.1)
|
86
|
+
rubocop (>= 0.68.1)
|
87
|
+
ruby-progressbar (1.10.1)
|
88
|
+
simplecov (0.17.1)
|
89
|
+
docile (~> 1.1)
|
90
|
+
json (>= 1.8, < 3)
|
91
|
+
simplecov-html (~> 0.10.0)
|
92
|
+
simplecov-html (0.10.2)
|
93
|
+
storyblok-richtext-renderer (0.0.6)
|
94
|
+
thread_safe (0.3.6)
|
95
|
+
tzinfo (1.2.9)
|
96
|
+
thread_safe (~> 0.1)
|
41
97
|
unf (0.1.4)
|
42
98
|
unf_ext
|
43
|
-
unf_ext (0.0.
|
99
|
+
unf_ext (0.0.8.1)
|
100
|
+
unicode-display_width (1.7.0)
|
101
|
+
vcr (6.0.0)
|
102
|
+
webmock (3.14.0)
|
103
|
+
addressable (>= 2.8.0)
|
104
|
+
crack (>= 0.3.2)
|
105
|
+
hashdiff (>= 0.4.0, < 2.0.0)
|
106
|
+
zeitwerk (2.5.4)
|
44
107
|
|
45
108
|
PLATFORMS
|
46
109
|
ruby
|
47
110
|
|
48
111
|
DEPENDENCIES
|
49
112
|
bundler (~> 1.5)
|
113
|
+
hashdiff (~> 1.0.1)
|
114
|
+
pry
|
50
115
|
redis
|
51
116
|
rspec (~> 3)
|
117
|
+
rubocop
|
118
|
+
rubocop-performance
|
119
|
+
rubocop-rails
|
120
|
+
rubocop-rspec
|
121
|
+
simplecov (< 0.18.0)
|
52
122
|
storyblok!
|
53
123
|
storyblok-richtext-renderer
|
124
|
+
vcr (= 6.0.0)
|
125
|
+
webmock (= 3.14.0)
|
54
126
|
|
55
127
|
BUNDLED WITH
|
56
|
-
1.
|
128
|
+
1.17.3
|