occams 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/issue_template.md +2 -4
- data/CHANGELOG.md +10 -3
- data/README.md +0 -1
- data/app/controllers/application_controller.rb +0 -2
- data/app/controllers/concerns/occams/paginate.rb +0 -2
- data/app/controllers/concerns/occams/reorder_action.rb +0 -2
- data/app/controllers/occams/admin/base_controller.rb +0 -2
- data/app/controllers/occams/admin/cms/base_controller.rb +3 -4
- data/app/controllers/occams/admin/cms/categories_controller.rb +0 -2
- data/app/controllers/occams/admin/cms/files_controller.rb +4 -7
- data/app/controllers/occams/admin/cms/layouts_controller.rb +1 -2
- data/app/controllers/occams/admin/cms/pages_controller.rb +4 -5
- data/app/controllers/occams/admin/cms/revisions/base_controller.rb +0 -2
- data/app/controllers/occams/admin/cms/revisions/layout_controller.rb +0 -2
- data/app/controllers/occams/admin/cms/revisions/page_controller.rb +0 -2
- data/app/controllers/occams/admin/cms/revisions/snippet_controller.rb +0 -2
- data/app/controllers/occams/admin/cms/revisions/translation_controller.rb +0 -2
- data/app/controllers/occams/admin/cms/sites_controller.rb +1 -2
- data/app/controllers/occams/admin/cms/snippets_controller.rb +1 -2
- data/app/controllers/occams/admin/cms/translations_controller.rb +3 -5
- data/app/controllers/occams/cms/assets_controller.rb +0 -2
- data/app/controllers/occams/cms/base_controller.rb +0 -2
- data/app/controllers/occams/cms/content_controller.rb +5 -6
- data/app/helpers/occams/admin/cms_helper.rb +0 -2
- data/app/helpers/occams/cms_helper.rb +5 -2
- data/app/models/concerns/occams/cms/with_categories.rb +5 -7
- data/app/models/concerns/occams/cms/with_fragments.rb +7 -9
- data/app/models/occams/cms/categorization.rb +2 -4
- data/app/models/occams/cms/category.rb +4 -6
- data/app/models/occams/cms/file.rb +9 -9
- data/app/models/occams/cms/fragment.rb +3 -4
- data/app/models/occams/cms/layout.rb +6 -7
- data/app/models/occams/cms/page.rb +16 -13
- data/app/models/occams/cms/revision.rb +0 -2
- data/app/models/occams/cms/site.rb +8 -9
- data/app/models/occams/cms/snippet.rb +4 -6
- data/app/models/occams/cms/translation.rb +4 -5
- data/app/views/layouts/occams/admin/cms/_left.html.haml +4 -0
- data/app/views/occams/admin/cms/files/_file.html.haml +1 -1
- data/config/application.rb +0 -2
- data/config.ru +1 -1
- data/lib/generators/occams/cms/assets_generator.rb +0 -2
- data/lib/generators/occams/cms/cms_generator.rb +3 -5
- data/lib/generators/occams/cms/controllers_generator.rb +0 -2
- data/lib/generators/occams/cms/models_generator.rb +0 -2
- data/lib/generators/occams/cms/views_generator.rb +0 -2
- data/lib/generators/occams/scaffold/scaffold_generator.rb +1 -2
- data/lib/occams/access_control/admin_authentication.rb +0 -2
- data/lib/occams/access_control/admin_authorization.rb +0 -2
- data/lib/occams/access_control/public_authentication.rb +0 -2
- data/lib/occams/access_control/public_authorization.rb +0 -2
- data/lib/occams/configuration.rb +21 -23
- data/lib/occams/content/block.rb +0 -2
- data/lib/occams/content/params_parser.rb +9 -11
- data/lib/occams/content/renderer.rb +7 -10
- data/lib/occams/content/tag.rb +0 -2
- data/lib/occams/content/tags/asset.rb +0 -2
- data/lib/occams/content/tags/checkbox.rb +0 -2
- data/lib/occams/content/tags/date.rb +0 -2
- data/lib/occams/content/tags/datetime.rb +0 -2
- data/lib/occams/content/tags/file.rb +5 -7
- data/lib/occams/content/tags/file_link.rb +1 -2
- data/lib/occams/content/tags/files.rb +5 -7
- data/lib/occams/content/tags/fragment.rb +0 -2
- data/lib/occams/content/tags/helper.rb +0 -2
- data/lib/occams/content/tags/markdown.rb +0 -2
- data/lib/occams/content/tags/mixins/file_content.rb +1 -2
- data/lib/occams/content/tags/number.rb +0 -2
- data/lib/occams/content/tags/page_file_link.rb +1 -2
- data/lib/occams/content/tags/partial.rb +0 -2
- data/lib/occams/content/tags/snippet.rb +0 -2
- data/lib/occams/content/tags/template.rb +0 -2
- data/lib/occams/content/tags/text.rb +0 -2
- data/lib/occams/content/tags/textarea.rb +0 -2
- data/lib/occams/content/tags/wysiwyg.rb +0 -2
- data/lib/occams/engine.rb +1 -3
- data/lib/occams/error.rb +0 -8
- data/lib/occams/extensions/acts_as_tree.rb +14 -20
- data/lib/occams/extensions/has_revisions.rb +5 -9
- data/lib/occams/form_builder.rb +2 -6
- data/lib/occams/render_methods.rb +9 -15
- data/lib/occams/routes/cms.rb +0 -2
- data/lib/occams/routes/cms_admin.rb +1 -3
- data/lib/occams/routing.rb +0 -2
- data/lib/occams/seeds/file/exporter.rb +2 -4
- data/lib/occams/seeds/file/importer.rb +9 -13
- data/lib/occams/seeds/layout/exporter.rb +2 -4
- data/lib/occams/seeds/layout/importer.rb +3 -5
- data/lib/occams/seeds/page/exporter.rb +7 -9
- data/lib/occams/seeds/page/importer.rb +3 -5
- data/lib/occams/seeds/snippet/exporter.rb +3 -5
- data/lib/occams/seeds/snippet/importer.rb +1 -3
- data/lib/occams/seeds.rb +1 -7
- data/lib/occams/version.rb +1 -3
- data/lib/occams/view_hooks.rb +0 -2
- data/lib/occams.rb +0 -4
- data/lib/tasks/cms_seeds.rake +2 -2
- data/occams.gemspec +13 -13
- metadata +62 -8
metadata
CHANGED
@@ -1,19 +1,22 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: occams
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew vonderLuft
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-08-
|
11
|
+
date: 2023-08-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: active_link_to
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.0'
|
17
20
|
- - ">="
|
18
21
|
- !ruby/object:Gem::Version
|
19
22
|
version: 1.0.5
|
@@ -21,6 +24,9 @@ dependencies:
|
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
27
|
+
- - "~>"
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '1.0'
|
24
30
|
- - ">="
|
25
31
|
- !ruby/object:Gem::Version
|
26
32
|
version: 1.0.5
|
@@ -28,6 +34,9 @@ dependencies:
|
|
28
34
|
name: comfy_bootstrap_form
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
30
36
|
requirements:
|
37
|
+
- - "~>"
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '4.0'
|
31
40
|
- - ">="
|
32
41
|
- !ruby/object:Gem::Version
|
33
42
|
version: 4.0.0
|
@@ -35,6 +44,9 @@ dependencies:
|
|
35
44
|
prerelease: false
|
36
45
|
version_requirements: !ruby/object:Gem::Requirement
|
37
46
|
requirements:
|
47
|
+
- - "~>"
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: '4.0'
|
38
50
|
- - ">="
|
39
51
|
- !ruby/object:Gem::Version
|
40
52
|
version: 4.0.0
|
@@ -42,6 +54,9 @@ dependencies:
|
|
42
54
|
name: haml-rails
|
43
55
|
requirement: !ruby/object:Gem::Requirement
|
44
56
|
requirements:
|
57
|
+
- - "~>"
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
version: '2.1'
|
45
60
|
- - ">="
|
46
61
|
- !ruby/object:Gem::Version
|
47
62
|
version: 2.1.0
|
@@ -49,6 +64,9 @@ dependencies:
|
|
49
64
|
prerelease: false
|
50
65
|
version_requirements: !ruby/object:Gem::Requirement
|
51
66
|
requirements:
|
67
|
+
- - "~>"
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '2.1'
|
52
70
|
- - ">="
|
53
71
|
- !ruby/object:Gem::Version
|
54
72
|
version: 2.1.0
|
@@ -56,6 +74,9 @@ dependencies:
|
|
56
74
|
name: image_processing
|
57
75
|
requirement: !ruby/object:Gem::Requirement
|
58
76
|
requirements:
|
77
|
+
- - "~>"
|
78
|
+
- !ruby/object:Gem::Version
|
79
|
+
version: '1.12'
|
59
80
|
- - ">="
|
60
81
|
- !ruby/object:Gem::Version
|
61
82
|
version: 1.12.2
|
@@ -63,6 +84,9 @@ dependencies:
|
|
63
84
|
prerelease: false
|
64
85
|
version_requirements: !ruby/object:Gem::Requirement
|
65
86
|
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '1.12'
|
66
90
|
- - ">="
|
67
91
|
- !ruby/object:Gem::Version
|
68
92
|
version: 1.12.2
|
@@ -70,6 +94,9 @@ dependencies:
|
|
70
94
|
name: jquery-rails
|
71
95
|
requirement: !ruby/object:Gem::Requirement
|
72
96
|
requirements:
|
97
|
+
- - "~>"
|
98
|
+
- !ruby/object:Gem::Version
|
99
|
+
version: '4.6'
|
73
100
|
- - ">="
|
74
101
|
- !ruby/object:Gem::Version
|
75
102
|
version: 4.6.0
|
@@ -77,6 +104,9 @@ dependencies:
|
|
77
104
|
prerelease: false
|
78
105
|
version_requirements: !ruby/object:Gem::Requirement
|
79
106
|
requirements:
|
107
|
+
- - "~>"
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '4.6'
|
80
110
|
- - ">="
|
81
111
|
- !ruby/object:Gem::Version
|
82
112
|
version: 4.6.0
|
@@ -84,6 +114,9 @@ dependencies:
|
|
84
114
|
name: kramdown
|
85
115
|
requirement: !ruby/object:Gem::Requirement
|
86
116
|
requirements:
|
117
|
+
- - "~>"
|
118
|
+
- !ruby/object:Gem::Version
|
119
|
+
version: '2.4'
|
87
120
|
- - ">="
|
88
121
|
- !ruby/object:Gem::Version
|
89
122
|
version: 2.4.0
|
@@ -91,6 +124,9 @@ dependencies:
|
|
91
124
|
prerelease: false
|
92
125
|
version_requirements: !ruby/object:Gem::Requirement
|
93
126
|
requirements:
|
127
|
+
- - "~>"
|
128
|
+
- !ruby/object:Gem::Version
|
129
|
+
version: '2.4'
|
94
130
|
- - ">="
|
95
131
|
- !ruby/object:Gem::Version
|
96
132
|
version: 2.4.0
|
@@ -98,6 +134,9 @@ dependencies:
|
|
98
134
|
name: mimemagic
|
99
135
|
requirement: !ruby/object:Gem::Requirement
|
100
136
|
requirements:
|
137
|
+
- - "~>"
|
138
|
+
- !ruby/object:Gem::Version
|
139
|
+
version: '0.4'
|
101
140
|
- - ">="
|
102
141
|
- !ruby/object:Gem::Version
|
103
142
|
version: 0.4.3
|
@@ -105,6 +144,9 @@ dependencies:
|
|
105
144
|
prerelease: false
|
106
145
|
version_requirements: !ruby/object:Gem::Requirement
|
107
146
|
requirements:
|
147
|
+
- - "~>"
|
148
|
+
- !ruby/object:Gem::Version
|
149
|
+
version: '0.4'
|
108
150
|
- - ">="
|
109
151
|
- !ruby/object:Gem::Version
|
110
152
|
version: 0.4.3
|
@@ -112,6 +154,9 @@ dependencies:
|
|
112
154
|
name: mini_magick
|
113
155
|
requirement: !ruby/object:Gem::Requirement
|
114
156
|
requirements:
|
157
|
+
- - "~>"
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '4.12'
|
115
160
|
- - ">="
|
116
161
|
- !ruby/object:Gem::Version
|
117
162
|
version: 4.12.0
|
@@ -119,6 +164,9 @@ dependencies:
|
|
119
164
|
prerelease: false
|
120
165
|
version_requirements: !ruby/object:Gem::Requirement
|
121
166
|
requirements:
|
167
|
+
- - "~>"
|
168
|
+
- !ruby/object:Gem::Version
|
169
|
+
version: '4.12'
|
122
170
|
- - ">="
|
123
171
|
- !ruby/object:Gem::Version
|
124
172
|
version: 4.12.0
|
@@ -128,14 +176,14 @@ dependencies:
|
|
128
176
|
requirements:
|
129
177
|
- - ">="
|
130
178
|
- !ruby/object:Gem::Version
|
131
|
-
version: 6.1.7
|
179
|
+
version: 6.1.7.4
|
132
180
|
type: :runtime
|
133
181
|
prerelease: false
|
134
182
|
version_requirements: !ruby/object:Gem::Requirement
|
135
183
|
requirements:
|
136
184
|
- - ">="
|
137
185
|
- !ruby/object:Gem::Version
|
138
|
-
version: 6.1.7
|
186
|
+
version: 6.1.7.4
|
139
187
|
- !ruby/object:Gem::Dependency
|
140
188
|
name: rails-i18n
|
141
189
|
requirement: !ruby/object:Gem::Requirement
|
@@ -154,17 +202,23 @@ dependencies:
|
|
154
202
|
name: sassc-rails
|
155
203
|
requirement: !ruby/object:Gem::Requirement
|
156
204
|
requirements:
|
205
|
+
- - "~>"
|
206
|
+
- !ruby/object:Gem::Version
|
207
|
+
version: '2.1'
|
157
208
|
- - ">="
|
158
209
|
- !ruby/object:Gem::Version
|
159
|
-
version: 2.
|
210
|
+
version: 2.1.2
|
160
211
|
type: :runtime
|
161
212
|
prerelease: false
|
162
213
|
version_requirements: !ruby/object:Gem::Requirement
|
163
214
|
requirements:
|
215
|
+
- - "~>"
|
216
|
+
- !ruby/object:Gem::Version
|
217
|
+
version: '2.1'
|
164
218
|
- - ">="
|
165
219
|
- !ruby/object:Gem::Version
|
166
|
-
version: 2.
|
167
|
-
description: Occams is a powerful Rails 6
|
220
|
+
version: 2.1.2
|
221
|
+
description: Occams is a powerful Rails 6-7+ CMS Engine
|
168
222
|
email:
|
169
223
|
- wonder@hey.com
|
170
224
|
executables: []
|
@@ -662,5 +716,5 @@ requirements: []
|
|
662
716
|
rubygems_version: 3.4.13
|
663
717
|
signing_key:
|
664
718
|
specification_version: 4
|
665
|
-
summary: Rails 6
|
719
|
+
summary: Rails 6-7+ CMS Engine
|
666
720
|
test_files: []
|