wcc-contentful 1.1.0 → 1.2.0
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 +4 -4
- data/app/jobs/wcc/contentful/webhook_enable_job.rb +8 -8
- data/lib/wcc/contentful/active_record_shim.rb +2 -2
- data/lib/wcc/contentful/content_type_indexer.rb +2 -0
- data/lib/wcc/contentful/event.rb +2 -8
- data/lib/wcc/contentful/indexed_representation.rb +1 -0
- data/lib/wcc/contentful/middleware/store/caching_middleware.rb +1 -1
- data/lib/wcc/contentful/model.rb +0 -6
- data/lib/wcc/contentful/model_api.rb +16 -9
- data/lib/wcc/contentful/model_builder.rb +3 -0
- data/lib/wcc/contentful/model_singleton_methods.rb +3 -3
- data/lib/wcc/contentful/rich_text/node.rb +62 -0
- data/lib/wcc/contentful/rich_text.rb +105 -0
- data/lib/wcc/contentful/simple_client/response.rb +25 -29
- data/lib/wcc/contentful/store/cdn_adapter.rb +15 -6
- data/lib/wcc/contentful/store/memory_store.rb +47 -13
- data/lib/wcc/contentful/store/query.rb +21 -1
- data/lib/wcc/contentful/store/rspec_examples/basic_store.rb +0 -85
- data/lib/wcc/contentful/store/rspec_examples/operators/eq.rb +92 -0
- data/lib/wcc/contentful/store/rspec_examples/operators/in.rb +131 -0
- data/lib/wcc/contentful/store/rspec_examples/operators/ne.rb +77 -0
- data/lib/wcc/contentful/store/rspec_examples/operators/nin.rb +80 -0
- data/lib/wcc/contentful/store/rspec_examples/operators.rb +50 -0
- data/lib/wcc/contentful/store/rspec_examples.rb +2 -0
- data/lib/wcc/contentful/version.rb +1 -1
- data/lib/wcc/contentful.rb +1 -1
- data/wcc-contentful.gemspec +1 -1
- metadata +13 -7
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wcc-contentful
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Watermark Dev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-06-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: byebug
|
@@ -282,14 +282,14 @@ dependencies:
|
|
282
282
|
requirements:
|
283
283
|
- - "~>"
|
284
284
|
- !ruby/object:Gem::Version
|
285
|
-
version: 1.
|
285
|
+
version: '1.4'
|
286
286
|
type: :development
|
287
287
|
prerelease: false
|
288
288
|
version_requirements: !ruby/object:Gem::Requirement
|
289
289
|
requirements:
|
290
290
|
- - "~>"
|
291
291
|
- !ruby/object:Gem::Version
|
292
|
-
version: 1.
|
292
|
+
version: '1.4'
|
293
293
|
- !ruby/object:Gem::Dependency
|
294
294
|
name: timecop
|
295
295
|
requirement: !ruby/object:Gem::Requirement
|
@@ -461,6 +461,8 @@ files:
|
|
461
461
|
- lib/wcc/contentful/model_singleton_methods.rb
|
462
462
|
- lib/wcc/contentful/rails.rb
|
463
463
|
- lib/wcc/contentful/rake.rb
|
464
|
+
- lib/wcc/contentful/rich_text.rb
|
465
|
+
- lib/wcc/contentful/rich_text/node.rb
|
464
466
|
- lib/wcc/contentful/rspec.rb
|
465
467
|
- lib/wcc/contentful/services.rb
|
466
468
|
- lib/wcc/contentful/simple_client.rb
|
@@ -484,6 +486,11 @@ files:
|
|
484
486
|
- lib/wcc/contentful/store/rspec_examples/basic_store.rb
|
485
487
|
- lib/wcc/contentful/store/rspec_examples/include_param.rb
|
486
488
|
- lib/wcc/contentful/store/rspec_examples/nested_queries.rb
|
489
|
+
- lib/wcc/contentful/store/rspec_examples/operators.rb
|
490
|
+
- lib/wcc/contentful/store/rspec_examples/operators/eq.rb
|
491
|
+
- lib/wcc/contentful/store/rspec_examples/operators/in.rb
|
492
|
+
- lib/wcc/contentful/store/rspec_examples/operators/ne.rb
|
493
|
+
- lib/wcc/contentful/store/rspec_examples/operators/nin.rb
|
487
494
|
- lib/wcc/contentful/sync_engine.rb
|
488
495
|
- lib/wcc/contentful/sys.rb
|
489
496
|
- lib/wcc/contentful/test.rb
|
@@ -496,7 +503,7 @@ homepage: https://github.com/watermarkchurch/wcc-contentful/wcc-contentful
|
|
496
503
|
licenses:
|
497
504
|
- MIT
|
498
505
|
metadata:
|
499
|
-
documentation_uri: https://watermarkchurch.github.io/wcc-contentful/1.
|
506
|
+
documentation_uri: https://watermarkchurch.github.io/wcc-contentful/1.2/wcc-contentful
|
500
507
|
post_install_message:
|
501
508
|
rdoc_options: []
|
502
509
|
require_paths:
|
@@ -512,8 +519,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
512
519
|
- !ruby/object:Gem::Version
|
513
520
|
version: '0'
|
514
521
|
requirements: []
|
515
|
-
|
516
|
-
rubygems_version: 2.7.6.2
|
522
|
+
rubygems_version: 3.3.7
|
517
523
|
signing_key:
|
518
524
|
specification_version: 4
|
519
525
|
summary: '[](https://rubygems.org/gems/wcc-contentful)
|