locomotivecms_steam 1.6.0.beta1 → 1.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +2 -1
- data/Gemfile.lock +79 -39
- data/bin/steam.rb +1 -7
- data/docker-compose.yml +4 -0
- data/lib/locomotive/steam/configuration.rb +13 -0
- data/lib/locomotive/steam/entities/site.rb +1 -0
- data/lib/locomotive/steam/liquid/tags/concerns/attributes.rb +97 -10
- data/lib/locomotive/steam/liquid/tags/concerns/path.rb +23 -4
- data/lib/locomotive/steam/liquid/tags/consume.rb +2 -2
- data/lib/locomotive/steam/liquid/tags/editable/base.rb +4 -4
- data/lib/locomotive/steam/liquid/tags/global_section.rb +1 -1
- data/lib/locomotive/steam/liquid/tags/inherited_block.rb +2 -3
- data/lib/locomotive/steam/liquid/tags/section.rb +4 -4
- data/lib/locomotive/steam/liquid/tags/snippet.rb +10 -0
- data/lib/locomotive/steam/liquid/tags/with_scope.rb +16 -24
- data/lib/locomotive/steam/middlewares/auth.rb +9 -5
- data/lib/locomotive/steam/middlewares/concerns/auth_helpers.rb +1 -1
- data/lib/locomotive/steam/middlewares/concerns/helpers.rb +5 -1
- data/lib/locomotive/steam/middlewares/concerns/rendering.rb +1 -1
- data/lib/locomotive/steam/middlewares/locale.rb +5 -5
- data/lib/locomotive/steam/middlewares/logging.rb +2 -4
- data/lib/locomotive/steam/middlewares/page.rb +4 -4
- data/lib/locomotive/steam/middlewares/path.rb +7 -1
- data/lib/locomotive/steam/middlewares/private_access.rb +2 -2
- data/lib/locomotive/steam/middlewares/templatized_page.rb +1 -1
- data/lib/locomotive/steam/middlewares/timezone.rb +1 -1
- data/lib/locomotive/steam/models/i18n_field.rb +2 -2
- data/lib/locomotive/steam/models/mapper.rb +2 -1
- data/lib/locomotive/steam/services/content_entry_service.rb +12 -0
- data/lib/locomotive/steam/version.rb +1 -1
- data/lib/locomotive/steam.rb +7 -0
- data/locomotivecms_steam.gemspec +3 -1
- data/spec/fixtures/default/app/content_types/accounts.yml +3 -0
- data/spec/spec_helper.rb +1 -1
- data/spec/support/helpers.rb +2 -4
- data/spec/unit/liquid/tags/paginate_spec.rb +1 -1
- data/spec/unit/liquid/tags/with_scope_spec.rb +59 -0
- data/spec/unit/middlewares/cache_spec.rb +4 -4
- data/spec/unit/middlewares/path_spec.rb +70 -0
- metadata +45 -9
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: locomotivecms_steam
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.0
|
4
|
+
version: 1.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Didier Lafforgue
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date:
|
14
|
+
date: 2022-10-04 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: rake
|
@@ -59,16 +59,22 @@ dependencies:
|
|
59
59
|
name: nokogiri
|
60
60
|
requirement: !ruby/object:Gem::Requirement
|
61
61
|
requirements:
|
62
|
-
- - "
|
62
|
+
- - ">="
|
63
|
+
- !ruby/object:Gem::Version
|
64
|
+
version: '1.11'
|
65
|
+
- - "<"
|
63
66
|
- !ruby/object:Gem::Version
|
64
|
-
version: 1.
|
67
|
+
version: '1.14'
|
65
68
|
type: :runtime
|
66
69
|
prerelease: false
|
67
70
|
version_requirements: !ruby/object:Gem::Requirement
|
68
71
|
requirements:
|
69
|
-
- - "
|
72
|
+
- - ">="
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: '1.11'
|
75
|
+
- - "<"
|
70
76
|
- !ruby/object:Gem::Version
|
71
|
-
version: 1.
|
77
|
+
version: '1.14'
|
72
78
|
- !ruby/object:Gem::Dependency
|
73
79
|
name: sanitize
|
74
80
|
requirement: !ruby/object:Gem::Requirement
|
@@ -411,6 +417,34 @@ dependencies:
|
|
411
417
|
- - "~>"
|
412
418
|
- !ruby/object:Gem::Version
|
413
419
|
version: '1.12'
|
420
|
+
- !ruby/object:Gem::Dependency
|
421
|
+
name: parser
|
422
|
+
requirement: !ruby/object:Gem::Requirement
|
423
|
+
requirements:
|
424
|
+
- - "~>"
|
425
|
+
- !ruby/object:Gem::Version
|
426
|
+
version: '2.7'
|
427
|
+
type: :runtime
|
428
|
+
prerelease: false
|
429
|
+
version_requirements: !ruby/object:Gem::Requirement
|
430
|
+
requirements:
|
431
|
+
- - "~>"
|
432
|
+
- !ruby/object:Gem::Version
|
433
|
+
version: '2.7'
|
434
|
+
- !ruby/object:Gem::Dependency
|
435
|
+
name: unparser
|
436
|
+
requirement: !ruby/object:Gem::Requirement
|
437
|
+
requirements:
|
438
|
+
- - "~>"
|
439
|
+
- !ruby/object:Gem::Version
|
440
|
+
version: '0.4'
|
441
|
+
type: :runtime
|
442
|
+
prerelease: false
|
443
|
+
version_requirements: !ruby/object:Gem::Requirement
|
444
|
+
requirements:
|
445
|
+
- - "~>"
|
446
|
+
- !ruby/object:Gem::Version
|
447
|
+
version: '0.4'
|
414
448
|
- !ruby/object:Gem::Dependency
|
415
449
|
name: locomotivecms_common
|
416
450
|
requirement: !ruby/object:Gem::Requirement
|
@@ -917,6 +951,7 @@ files:
|
|
917
951
|
- spec/unit/middlewares/locale_spec.rb
|
918
952
|
- spec/unit/middlewares/page_not_found_spec.rb
|
919
953
|
- spec/unit/middlewares/page_spec.rb
|
954
|
+
- spec/unit/middlewares/path_spec.rb
|
920
955
|
- spec/unit/middlewares/private_access_spec.rb
|
921
956
|
- spec/unit/middlewares/redirection_spec.rb
|
922
957
|
- spec/unit/middlewares/renderer_spec.rb
|
@@ -978,11 +1013,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
978
1013
|
version: '3'
|
979
1014
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
980
1015
|
requirements:
|
981
|
-
- - "
|
1016
|
+
- - ">="
|
982
1017
|
- !ruby/object:Gem::Version
|
983
|
-
version:
|
1018
|
+
version: '0'
|
984
1019
|
requirements: []
|
985
|
-
rubygems_version: 3.1.
|
1020
|
+
rubygems_version: 3.1.6
|
986
1021
|
signing_key:
|
987
1022
|
specification_version: 4
|
988
1023
|
summary: The LocomotiveCMS Steam is the rendering stack used by both Wagon and Engine
|
@@ -1238,6 +1273,7 @@ test_files:
|
|
1238
1273
|
- spec/unit/middlewares/locale_spec.rb
|
1239
1274
|
- spec/unit/middlewares/page_not_found_spec.rb
|
1240
1275
|
- spec/unit/middlewares/page_spec.rb
|
1276
|
+
- spec/unit/middlewares/path_spec.rb
|
1241
1277
|
- spec/unit/middlewares/private_access_spec.rb
|
1242
1278
|
- spec/unit/middlewares/redirection_spec.rb
|
1243
1279
|
- spec/unit/middlewares/renderer_spec.rb
|