archangel 0.0.8 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.jshintrc +1 -1
- data/.reek.yml +42 -0
- data/.rubocop.yml +1 -12
- data/.rubocop_exclude.yml +12 -0
- data/.rubocop_todo.yml +0 -4
- data/.travis.yml +5 -7
- data/Gemfile +12 -14
- data/MIT-LICENSE +1 -1
- data/README.md +1 -1
- data/app/controllers/archangel/application_controller.rb +0 -2
- data/app/controllers/archangel/auth/registrations_controller.rb +12 -0
- data/app/controllers/archangel/backend/assets_controller.rb +10 -259
- data/app/controllers/archangel/backend/collections_controller.rb +5 -214
- data/app/controllers/archangel/backend/entries_controller.rb +25 -239
- data/app/controllers/archangel/backend/pages_controller.rb +11 -261
- data/app/controllers/archangel/backend/profiles_controller.rb +19 -12
- data/app/controllers/archangel/backend/sites_controller.rb +17 -16
- data/app/controllers/archangel/backend/templates_controller.rb +5 -232
- data/app/controllers/archangel/backend/users_controller.rb +10 -260
- data/app/controllers/archangel/backend/widgets_controller.rb +5 -226
- data/app/controllers/archangel/frontend/pages_controller.rb +6 -7
- data/app/controllers/concerns/archangel/actionable_concern.rb +9 -0
- data/app/controllers/concerns/archangel/controllers/backend/resourceful_concern.rb +28 -0
- data/app/controllers/concerns/archangel/controllers/resourceful_concern.rb +258 -0
- data/app/controllers/concerns/archangel/paginatable_concern.rb +2 -0
- data/app/controllers/concerns/archangel/seoable_concern.rb +9 -8
- data/app/models/archangel/metatag.rb +12 -0
- data/app/models/archangel/page.rb +7 -1
- data/app/models/archangel/site.rb +6 -1
- data/app/models/archangel/user.rb +7 -0
- data/app/views/archangel/backend/pages/_form.html.erb +12 -2
- data/app/views/archangel/backend/pages/_metatag_fields.html.erb +6 -0
- data/app/views/archangel/backend/pages/show.html.erb +0 -10
- data/app/views/archangel/backend/profiles/_form.html.erb +2 -0
- data/app/views/archangel/backend/sites/_form.html.erb +11 -2
- data/app/views/archangel/backend/sites/_metatag_fields.html.erb +6 -0
- data/app/views/archangel/backend/sites/show.html.erb +0 -10
- data/app/views/archangel/frontend/pages/show.json.jbuilder +1 -2
- data/archangel.gemspec +18 -11
- data/bin/archangel +6 -4
- data/config/locales/active_record.en.yml +3 -4
- data/config/locales/en.yml +6 -0
- data/db/migrate/20190101220919_add_preferences_to_archangel_users.rb +5 -0
- data/db/migrate/20190113130750_create_archangel_metatags.rb +14 -0
- data/db/migrate/20190113130751_remove_meta_keywords_and_meta_description_from_archangel_pages.rb +6 -0
- data/db/migrate/20190113130752_remove_meta_keywords_and_meta_description_from_archangel_sites.rb +6 -0
- data/docs/Developers.md +2 -2
- data/docs/Extension/Developers.md +1 -1
- data/docs/Extension/Uploaders.md +53 -1
- data/docs/Theme/Developers.md +8 -2
- data/lib/archangel.rb +2 -2
- data/lib/archangel/commands/base_command.rb +35 -0
- data/lib/archangel/commands/extension_command.rb +128 -0
- data/lib/archangel/{command/templates/extension → commands/templates/common}/.editorconfig +0 -0
- data/lib/archangel/{command/templates/extension → commands/templates/common}/.gitignore +0 -0
- data/lib/archangel/{command/templates/extension → commands/templates/common}/.rspec +0 -0
- data/lib/archangel/{command/templates/extension → commands/templates/common}/.rubocop.yml +0 -0
- data/lib/archangel/{command/templates/extension → commands/templates/common}/MIT-LICENSE +0 -0
- data/lib/archangel/{command/templates/extension → commands/templates/common}/spec/rails_helper.rb.tt +0 -3
- data/lib/archangel/{command/templates/extension → commands/templates/common}/spec/spec_helper.rb +0 -0
- data/lib/archangel/{command/templates/extension → commands/templates/common}/spec/support/.keep +0 -0
- data/lib/archangel/{command → commands}/templates/extension/Gemfile +9 -10
- data/lib/archangel/{command → commands}/templates/extension/README.md +0 -0
- data/lib/archangel/{command → commands}/templates/extension/Rakefile +0 -0
- data/lib/archangel/{command → commands}/templates/extension/app/assets/javascripts/archangel/auth/%extension_name%.js.tt +0 -0
- data/lib/archangel/{command → commands}/templates/extension/app/assets/javascripts/archangel/backend/%extension_name%.js.tt +0 -0
- data/lib/archangel/{command → commands}/templates/extension/app/assets/javascripts/archangel/frontend/%extension_name%.js.tt +0 -0
- data/lib/archangel/{command → commands}/templates/extension/app/assets/stylesheets/archangel/auth/%extension_name%.css.tt +0 -0
- data/lib/archangel/{command → commands}/templates/extension/app/assets/stylesheets/archangel/backend/%extension_name%.css.tt +0 -0
- data/lib/archangel/{command → commands}/templates/extension/app/assets/stylesheets/archangel/frontend/%extension_name%.css.tt +0 -0
- data/lib/archangel/{command → commands}/templates/extension/bin/rails.tt +0 -0
- data/lib/archangel/{command → commands}/templates/extension/config/locales/en.yml.tt +0 -0
- data/lib/archangel/{command → commands}/templates/extension/config/routes.rb +0 -0
- data/lib/archangel/{command/templates/extension/extension.gemspec → commands/templates/extension/extension.gemspec.tt} +0 -0
- data/lib/archangel/{command → commands}/templates/extension/lib/%extension_name%.rb.tt +0 -0
- data/lib/archangel/{command → commands}/templates/extension/lib/%extension_name%/engine.rb.tt +0 -0
- data/lib/archangel/{command → commands}/templates/extension/lib/%extension_name%/factories.rb.tt +0 -0
- data/lib/archangel/{command → commands}/templates/extension/lib/%extension_name%/version.rb.tt +0 -0
- data/lib/archangel/{command → commands}/templates/extension/lib/generators/%extension_name%/install/install_generator.rb.tt +0 -0
- data/lib/archangel/commands/templates/theme/Gemfile +27 -0
- data/lib/archangel/commands/templates/theme/README.md +44 -0
- data/lib/archangel/commands/templates/theme/Rakefile +29 -0
- data/lib/archangel/commands/templates/theme/app/themes/%theme_base_name%/assets/javascripts/%theme_base_name%/auth.js +2 -0
- data/lib/archangel/commands/templates/theme/app/themes/%theme_base_name%/assets/javascripts/%theme_base_name%/backend.js +2 -0
- data/lib/archangel/commands/templates/theme/app/themes/%theme_base_name%/assets/javascripts/%theme_base_name%/frontend.js +2 -0
- data/lib/archangel/commands/templates/theme/app/themes/%theme_base_name%/assets/stylesheets/%theme_base_name%/auth.css +4 -0
- data/lib/archangel/commands/templates/theme/app/themes/%theme_base_name%/assets/stylesheets/%theme_base_name%/backend.css +4 -0
- data/lib/archangel/commands/templates/theme/app/themes/%theme_base_name%/assets/stylesheets/%theme_base_name%/frontend.css +4 -0
- data/lib/archangel/commands/templates/theme/app/themes/%theme_base_name%/config/locales/en.yml.tt +4 -0
- data/lib/archangel/commands/templates/theme/app/themes/%theme_base_name%/views/layouts/frontend.liquid +18 -0
- data/lib/archangel/commands/templates/theme/bin/rails.tt +11 -0
- data/lib/archangel/commands/templates/theme/lib/%theme_name%.rb.tt +9 -0
- data/lib/archangel/commands/templates/theme/lib/%theme_name%/engine.rb.tt +29 -0
- data/lib/archangel/commands/templates/theme/lib/%theme_name%/version.rb.tt +5 -0
- data/lib/archangel/commands/templates/theme/theme.gemspec.tt +25 -0
- data/lib/archangel/commands/theme_command.rb +129 -0
- data/lib/archangel/config.rb +11 -2
- data/lib/archangel/liquid/drop.rb +26 -0
- data/lib/archangel/liquid/drops/page_drop.rb +1 -1
- data/lib/archangel/liquid/drops/site_drop.rb +1 -1
- data/lib/archangel/liquid/filters/link_to_filter.rb +1 -0
- data/lib/archangel/liquid/tags/application_tag.rb +18 -5
- data/lib/archangel/liquid/tags/collection_tag.rb +1 -1
- data/lib/archangel/liquid/tags/csrf_meta_tags_tag.rb +1 -0
- data/lib/archangel/liquid/tags/locale_tag.rb +1 -0
- data/lib/archangel/liquid/tags/meta_tags_tag.rb +1 -0
- data/lib/archangel/liquid/tags/noembed_tag.rb +140 -0
- data/lib/archangel/liquid/tags/text_direction_tag.rb +1 -0
- data/lib/archangel/liquid/tags/theme_javascript_tag.rb +1 -0
- data/lib/archangel/liquid/tags/theme_stylesheet_tag.rb +1 -0
- data/lib/archangel/testing_support/factories/archangel_assets.rb +2 -2
- data/lib/archangel/testing_support/factories/archangel_collections.rb +1 -1
- data/lib/archangel/testing_support/factories/archangel_entries.rb +1 -1
- data/lib/archangel/testing_support/factories/archangel_fields.rb +4 -4
- data/lib/archangel/testing_support/factories/archangel_metatags.rb +21 -0
- data/lib/archangel/testing_support/factories/archangel_pages.rb +5 -7
- data/lib/archangel/testing_support/factories/archangel_sites.rb +1 -3
- data/lib/archangel/testing_support/factories/archangel_templates.rb +7 -7
- data/lib/archangel/testing_support/factories/archangel_users.rb +10 -10
- data/lib/archangel/testing_support/factories/archangel_widgets.rb +2 -2
- data/lib/archangel/testing_support/matchers/have_meta.rb +18 -0
- data/lib/archangel/testing_support/matchers/have_title.rb +18 -0
- data/lib/archangel/testing_support/rake/dummy_rake.rb +0 -2
- data/lib/archangel/version.rb +1 -1
- data/lib/generators/archangel/install/templates/config/archangel.yml +52 -37
- data/spec/controllers/archangel/backend/entries_controller_spec.rb +3 -3
- data/spec/controllers/archangel/backend/pages_controller_spec.rb +17 -1
- data/spec/controllers/archangel/backend/profiles_controller_spec.rb +1 -1
- data/spec/controllers/archangel/backend/sites_controller_spec.rb +6 -6
- data/spec/controllers/archangel/backend/users_controller_spec.rb +2 -2
- data/spec/controllers/archangel/frontend/pages_controller_spec.rb +2 -6
- data/spec/controllers/concerns/archangel/controllers/backend/resourceful_concern_spec.rb +90 -0
- data/spec/features/auth/registration_spec.rb +18 -0
- data/spec/features/frontend/liquid_drop_variables_spec.rb +51 -57
- data/spec/features/frontend/pages/homepage_redirect_spec.rb +2 -2
- data/spec/features/frontend/pages/metatags_spec.rb +73 -0
- data/spec/helpers/archangel/flash_helper_spec.rb +14 -0
- data/spec/lib/archangel/{command/extension_spec.rb → commands/extension_command_spec.rb} +3 -3
- data/spec/lib/archangel/commands/theme_command_spec.rb +100 -0
- data/spec/lib/archangel/liquid/drops/page_drop_spec.rb +1 -9
- data/spec/lib/archangel/liquid/drops/site_drop_spec.rb +2 -12
- data/spec/lib/archangel/liquid/tags/noembed_tag_spec.rb +76 -0
- data/spec/mailers/archangel/{application_job_spec.rb → application_mailer_spec.rb} +0 -0
- data/spec/models/archangel/metatag_spec.rb +22 -0
- data/spec/models/archangel/page_spec.rb +5 -2
- data/spec/models/archangel/site_spec.rb +2 -0
- data/spec/rails_helper.rb +1 -0
- data/spec/uploaders/archangel/application_uploader_spec.rb +1 -1
- data/spec/uploaders/archangel/asset_uploader_spec.rb +1 -1
- metadata +108 -93
- data/.reek +0 -44
- data/lib/archangel/command/extension.rb +0 -97
data/spec/rails_helper.rb
CHANGED
@@ -5,6 +5,7 @@ require "simplecov"
|
|
5
5
|
SimpleCov.start :rails do
|
6
6
|
add_filter "dummy_generator.rb"
|
7
7
|
add_filter "install_generator.rb"
|
8
|
+
add_filter "lib/archangel/command"
|
8
9
|
add_filter "lib/archangel/testing_support"
|
9
10
|
add_filter "lib/generators/archangel/install/templates"
|
10
11
|
add_filter "version.rb"
|
metadata
CHANGED
@@ -1,35 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: archangel
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Freerksen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-01-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jquery-rails
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "~>"
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '4.1'
|
20
17
|
- - ">="
|
21
18
|
- !ruby/object:Gem::Version
|
22
19
|
version: 4.1.0
|
20
|
+
- - "~>"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '4.1'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
|
-
- - "~>"
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: '4.1'
|
30
27
|
- - ">="
|
31
28
|
- !ruby/object:Gem::Version
|
32
29
|
version: 4.1.0
|
30
|
+
- - "~>"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '4.1'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: rails
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -51,65 +51,39 @@ dependencies:
|
|
51
51
|
- !ruby/object:Gem::Version
|
52
52
|
version: 5.1.4
|
53
53
|
- !ruby/object:Gem::Dependency
|
54
|
-
name:
|
54
|
+
name: thor
|
55
55
|
requirement: !ruby/object:Gem::Requirement
|
56
56
|
requirements:
|
57
|
-
- - "~>"
|
58
|
-
- !ruby/object:Gem::Version
|
59
|
-
version: '5.0'
|
60
57
|
- - ">="
|
61
58
|
- !ruby/object:Gem::Version
|
62
|
-
version:
|
63
|
-
type: :runtime
|
64
|
-
prerelease: false
|
65
|
-
version_requirements: !ruby/object:Gem::Requirement
|
66
|
-
requirements:
|
67
|
-
- - "~>"
|
68
|
-
- !ruby/object:Gem::Version
|
69
|
-
version: '5.0'
|
70
|
-
- - ">="
|
71
|
-
- !ruby/object:Gem::Version
|
72
|
-
version: 5.0.0
|
73
|
-
- !ruby/object:Gem::Dependency
|
74
|
-
name: thor
|
75
|
-
requirement: !ruby/object:Gem::Requirement
|
76
|
-
requirements:
|
59
|
+
version: 0.19.0
|
77
60
|
- - "~>"
|
78
61
|
- !ruby/object:Gem::Version
|
79
62
|
version: '0.19'
|
80
|
-
- - ">="
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: 0.19.0
|
83
63
|
type: :runtime
|
84
64
|
prerelease: false
|
85
65
|
version_requirements: !ruby/object:Gem::Requirement
|
86
66
|
requirements:
|
87
|
-
- - "~>"
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '0.19'
|
90
67
|
- - ">="
|
91
68
|
- !ruby/object:Gem::Version
|
92
69
|
version: 0.19.0
|
70
|
+
- - "~>"
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: '0.19'
|
93
73
|
- !ruby/object:Gem::Dependency
|
94
|
-
name:
|
74
|
+
name: activerecord-typedstore
|
95
75
|
requirement: !ruby/object:Gem::Requirement
|
96
76
|
requirements:
|
97
77
|
- - "~>"
|
98
78
|
- !ruby/object:Gem::Version
|
99
|
-
version: '
|
100
|
-
- - ">="
|
101
|
-
- !ruby/object:Gem::Version
|
102
|
-
version: 4.1.8
|
79
|
+
version: '1.2'
|
103
80
|
type: :runtime
|
104
81
|
prerelease: false
|
105
82
|
version_requirements: !ruby/object:Gem::Requirement
|
106
83
|
requirements:
|
107
84
|
- - "~>"
|
108
85
|
- !ruby/object:Gem::Version
|
109
|
-
version: '
|
110
|
-
- - ">="
|
111
|
-
- !ruby/object:Gem::Version
|
112
|
-
version: 4.1.8
|
86
|
+
version: '1.2'
|
113
87
|
- !ruby/object:Gem::Dependency
|
114
88
|
name: acts_as_list
|
115
89
|
requirement: !ruby/object:Gem::Requirement
|
@@ -130,28 +104,28 @@ dependencies:
|
|
130
104
|
requirements:
|
131
105
|
- - "~>"
|
132
106
|
- !ruby/object:Gem::Version
|
133
|
-
version: '2.
|
107
|
+
version: '2.8'
|
134
108
|
type: :runtime
|
135
109
|
prerelease: false
|
136
110
|
version_requirements: !ruby/object:Gem::Requirement
|
137
111
|
requirements:
|
138
112
|
- - "~>"
|
139
113
|
- !ruby/object:Gem::Version
|
140
|
-
version: '2.
|
114
|
+
version: '2.8'
|
141
115
|
- !ruby/object:Gem::Dependency
|
142
116
|
name: anyway_config
|
143
117
|
requirement: !ruby/object:Gem::Requirement
|
144
118
|
requirements:
|
145
119
|
- - "~>"
|
146
120
|
- !ruby/object:Gem::Version
|
147
|
-
version: '1.
|
121
|
+
version: '1.4'
|
148
122
|
type: :runtime
|
149
123
|
prerelease: false
|
150
124
|
version_requirements: !ruby/object:Gem::Requirement
|
151
125
|
requirements:
|
152
126
|
- - "~>"
|
153
127
|
- !ruby/object:Gem::Version
|
154
|
-
version: '1.
|
128
|
+
version: '1.4'
|
155
129
|
- !ruby/object:Gem::Dependency
|
156
130
|
name: bootstrap
|
157
131
|
requirement: !ruby/object:Gem::Requirement
|
@@ -214,14 +188,14 @@ dependencies:
|
|
214
188
|
requirements:
|
215
189
|
- - "~>"
|
216
190
|
- !ruby/object:Gem::Version
|
217
|
-
version: '4.
|
191
|
+
version: '4.5'
|
218
192
|
type: :runtime
|
219
193
|
prerelease: false
|
220
194
|
version_requirements: !ruby/object:Gem::Requirement
|
221
195
|
requirements:
|
222
196
|
- - "~>"
|
223
197
|
- !ruby/object:Gem::Version
|
224
|
-
version: '4.
|
198
|
+
version: '4.5'
|
225
199
|
- !ruby/object:Gem::Dependency
|
226
200
|
name: devise_invitable
|
227
201
|
requirement: !ruby/object:Gem::Requirement
|
@@ -242,14 +216,14 @@ dependencies:
|
|
242
216
|
requirements:
|
243
217
|
- - "~>"
|
244
218
|
- !ruby/object:Gem::Version
|
245
|
-
version: '2.
|
219
|
+
version: '2.3'
|
246
220
|
type: :runtime
|
247
221
|
prerelease: false
|
248
222
|
version_requirements: !ruby/object:Gem::Requirement
|
249
223
|
requirements:
|
250
224
|
- - "~>"
|
251
225
|
- !ruby/object:Gem::Version
|
252
|
-
version: '2.
|
226
|
+
version: '2.3'
|
253
227
|
- !ruby/object:Gem::Dependency
|
254
228
|
name: font-awesome-rails
|
255
229
|
requirement: !ruby/object:Gem::Requirement
|
@@ -270,14 +244,14 @@ dependencies:
|
|
270
244
|
requirements:
|
271
245
|
- - "~>"
|
272
246
|
- !ruby/object:Gem::Version
|
273
|
-
version: '
|
247
|
+
version: '2.0'
|
274
248
|
type: :runtime
|
275
249
|
prerelease: false
|
276
250
|
version_requirements: !ruby/object:Gem::Requirement
|
277
251
|
requirements:
|
278
252
|
- - "~>"
|
279
253
|
- !ruby/object:Gem::Version
|
280
|
-
version: '
|
254
|
+
version: '2.0'
|
281
255
|
- !ruby/object:Gem::Dependency
|
282
256
|
name: jbuilder
|
283
257
|
requirement: !ruby/object:Gem::Requirement
|
@@ -326,28 +300,28 @@ dependencies:
|
|
326
300
|
requirements:
|
327
301
|
- - "~>"
|
328
302
|
- !ruby/object:Gem::Version
|
329
|
-
version: '2.
|
303
|
+
version: '2.10'
|
330
304
|
type: :runtime
|
331
305
|
prerelease: false
|
332
306
|
version_requirements: !ruby/object:Gem::Requirement
|
333
307
|
requirements:
|
334
308
|
- - "~>"
|
335
309
|
- !ruby/object:Gem::Version
|
336
|
-
version: '2.
|
310
|
+
version: '2.10'
|
337
311
|
- !ruby/object:Gem::Dependency
|
338
312
|
name: mini_magick
|
339
313
|
requirement: !ruby/object:Gem::Requirement
|
340
314
|
requirements:
|
341
315
|
- - "~>"
|
342
316
|
- !ruby/object:Gem::Version
|
343
|
-
version: '4.
|
317
|
+
version: '4.9'
|
344
318
|
type: :runtime
|
345
319
|
prerelease: false
|
346
320
|
version_requirements: !ruby/object:Gem::Requirement
|
347
321
|
requirements:
|
348
322
|
- - "~>"
|
349
323
|
- !ruby/object:Gem::Version
|
350
|
-
version: '4.
|
324
|
+
version: '4.9'
|
351
325
|
- !ruby/object:Gem::Dependency
|
352
326
|
name: momentjs-rails
|
353
327
|
requirement: !ruby/object:Gem::Requirement
|
@@ -382,28 +356,28 @@ dependencies:
|
|
382
356
|
requirements:
|
383
357
|
- - "~>"
|
384
358
|
- !ruby/object:Gem::Version
|
385
|
-
version: '1.
|
359
|
+
version: '1.14'
|
386
360
|
type: :runtime
|
387
361
|
prerelease: false
|
388
362
|
version_requirements: !ruby/object:Gem::Requirement
|
389
363
|
requirements:
|
390
364
|
- - "~>"
|
391
365
|
- !ruby/object:Gem::Version
|
392
|
-
version: '1.
|
366
|
+
version: '1.14'
|
393
367
|
- !ruby/object:Gem::Dependency
|
394
368
|
name: pundit
|
395
369
|
requirement: !ruby/object:Gem::Requirement
|
396
370
|
requirements:
|
397
371
|
- - "~>"
|
398
372
|
- !ruby/object:Gem::Version
|
399
|
-
version: '
|
373
|
+
version: '2.0'
|
400
374
|
type: :runtime
|
401
375
|
prerelease: false
|
402
376
|
version_requirements: !ruby/object:Gem::Requirement
|
403
377
|
requirements:
|
404
378
|
- - "~>"
|
405
379
|
- !ruby/object:Gem::Version
|
406
|
-
version: '
|
380
|
+
version: '2.0'
|
407
381
|
- !ruby/object:Gem::Dependency
|
408
382
|
name: responders
|
409
383
|
requirement: !ruby/object:Gem::Requirement
|
@@ -480,11 +454,12 @@ files:
|
|
480
454
|
- ".jshintrc"
|
481
455
|
- ".mdlrc"
|
482
456
|
- ".nvmrc"
|
483
|
-
- ".reek"
|
457
|
+
- ".reek.yml"
|
484
458
|
- ".rspec"
|
485
459
|
- ".rubocop.yml"
|
486
460
|
- ".rubocop_disabled.yml"
|
487
461
|
- ".rubocop_enabled.yml"
|
462
|
+
- ".rubocop_exclude.yml"
|
488
463
|
- ".rubocop_todo.yml"
|
489
464
|
- ".scss-lint.yml"
|
490
465
|
- ".travis.yml"
|
@@ -547,6 +522,8 @@ files:
|
|
547
522
|
- app/controllers/concerns/archangel/actionable_concern.rb
|
548
523
|
- app/controllers/concerns/archangel/authenticatable_concern.rb
|
549
524
|
- app/controllers/concerns/archangel/authorizable_concern.rb
|
525
|
+
- app/controllers/concerns/archangel/controllers/backend/resourceful_concern.rb
|
526
|
+
- app/controllers/concerns/archangel/controllers/resourceful_concern.rb
|
550
527
|
- app/controllers/concerns/archangel/paginatable_concern.rb
|
551
528
|
- app/controllers/concerns/archangel/seoable_concern.rb
|
552
529
|
- app/controllers/concerns/archangel/skip_authorizable_concern.rb
|
@@ -582,6 +559,7 @@ files:
|
|
582
559
|
- app/models/archangel/collection.rb
|
583
560
|
- app/models/archangel/entry.rb
|
584
561
|
- app/models/archangel/field.rb
|
562
|
+
- app/models/archangel/metatag.rb
|
585
563
|
- app/models/archangel/page.rb
|
586
564
|
- app/models/archangel/site.rb
|
587
565
|
- app/models/archangel/template.rb
|
@@ -691,6 +669,7 @@ files:
|
|
691
669
|
- app/views/archangel/backend/entries/show.html.erb
|
692
670
|
- app/views/archangel/backend/pages/_buttons.html.erb
|
693
671
|
- app/views/archangel/backend/pages/_form.html.erb
|
672
|
+
- app/views/archangel/backend/pages/_metatag_fields.html.erb
|
694
673
|
- app/views/archangel/backend/pages/_page.html.erb
|
695
674
|
- app/views/archangel/backend/pages/edit.html.erb
|
696
675
|
- app/views/archangel/backend/pages/index.html.erb
|
@@ -719,6 +698,7 @@ files:
|
|
719
698
|
- app/views/archangel/backend/sites/_inline_text.html.erb
|
720
699
|
- app/views/archangel/backend/sites/_jumbotron.html.erb
|
721
700
|
- app/views/archangel/backend/sites/_list_group.html.erb
|
701
|
+
- app/views/archangel/backend/sites/_metatag_fields.html.erb
|
722
702
|
- app/views/archangel/backend/sites/_modals.html.erb
|
723
703
|
- app/views/archangel/backend/sites/_navs.html.erb
|
724
704
|
- app/views/archangel/backend/sites/_pagination.html.erb
|
@@ -807,6 +787,10 @@ files:
|
|
807
787
|
- db/migrate/20171006194044_create_archangel_collections.rb
|
808
788
|
- db/migrate/20171006194855_create_archangel_fields.rb
|
809
789
|
- db/migrate/20171006195023_create_archangel_entries.rb
|
790
|
+
- db/migrate/20190101220919_add_preferences_to_archangel_users.rb
|
791
|
+
- db/migrate/20190113130750_create_archangel_metatags.rb
|
792
|
+
- db/migrate/20190113130751_remove_meta_keywords_and_meta_description_from_archangel_pages.rb
|
793
|
+
- db/migrate/20190113130752_remove_meta_keywords_and_meta_description_from_archangel_sites.rb
|
810
794
|
- db/seeds.rb
|
811
795
|
- docs/Developers.md
|
812
796
|
- docs/Extension/Controllers.md
|
@@ -821,33 +805,51 @@ files:
|
|
821
805
|
- docs/Theme/Developers.md
|
822
806
|
- lib/archangel.rb
|
823
807
|
- lib/archangel/application_responder.rb
|
824
|
-
- lib/archangel/
|
825
|
-
- lib/archangel/
|
826
|
-
- lib/archangel/
|
827
|
-
- lib/archangel/
|
828
|
-
- lib/archangel/
|
829
|
-
- lib/archangel/
|
830
|
-
- lib/archangel/
|
831
|
-
- lib/archangel/
|
832
|
-
- lib/archangel/
|
833
|
-
- lib/archangel/
|
834
|
-
- lib/archangel/
|
835
|
-
- lib/archangel/
|
836
|
-
- lib/archangel/
|
837
|
-
- lib/archangel/
|
838
|
-
- lib/archangel/
|
839
|
-
- lib/archangel/
|
840
|
-
- lib/archangel/
|
841
|
-
- lib/archangel/
|
842
|
-
- lib/archangel/
|
843
|
-
- lib/archangel/
|
844
|
-
- lib/archangel/
|
845
|
-
- lib/archangel/
|
846
|
-
- lib/archangel/
|
847
|
-
- lib/archangel/
|
848
|
-
- lib/archangel/
|
849
|
-
- lib/archangel/
|
850
|
-
- lib/archangel/
|
808
|
+
- lib/archangel/commands/base_command.rb
|
809
|
+
- lib/archangel/commands/extension_command.rb
|
810
|
+
- lib/archangel/commands/templates/common/.editorconfig
|
811
|
+
- lib/archangel/commands/templates/common/.gitignore
|
812
|
+
- lib/archangel/commands/templates/common/.rspec
|
813
|
+
- lib/archangel/commands/templates/common/.rubocop.yml
|
814
|
+
- lib/archangel/commands/templates/common/MIT-LICENSE
|
815
|
+
- lib/archangel/commands/templates/common/spec/rails_helper.rb.tt
|
816
|
+
- lib/archangel/commands/templates/common/spec/spec_helper.rb
|
817
|
+
- lib/archangel/commands/templates/common/spec/support/.keep
|
818
|
+
- lib/archangel/commands/templates/extension/Gemfile
|
819
|
+
- lib/archangel/commands/templates/extension/README.md
|
820
|
+
- lib/archangel/commands/templates/extension/Rakefile
|
821
|
+
- lib/archangel/commands/templates/extension/app/assets/javascripts/archangel/auth/%extension_name%.js.tt
|
822
|
+
- lib/archangel/commands/templates/extension/app/assets/javascripts/archangel/backend/%extension_name%.js.tt
|
823
|
+
- lib/archangel/commands/templates/extension/app/assets/javascripts/archangel/frontend/%extension_name%.js.tt
|
824
|
+
- lib/archangel/commands/templates/extension/app/assets/stylesheets/archangel/auth/%extension_name%.css.tt
|
825
|
+
- lib/archangel/commands/templates/extension/app/assets/stylesheets/archangel/backend/%extension_name%.css.tt
|
826
|
+
- lib/archangel/commands/templates/extension/app/assets/stylesheets/archangel/frontend/%extension_name%.css.tt
|
827
|
+
- lib/archangel/commands/templates/extension/bin/rails.tt
|
828
|
+
- lib/archangel/commands/templates/extension/config/locales/en.yml.tt
|
829
|
+
- lib/archangel/commands/templates/extension/config/routes.rb
|
830
|
+
- lib/archangel/commands/templates/extension/extension.gemspec.tt
|
831
|
+
- lib/archangel/commands/templates/extension/lib/%extension_name%.rb.tt
|
832
|
+
- lib/archangel/commands/templates/extension/lib/%extension_name%/engine.rb.tt
|
833
|
+
- lib/archangel/commands/templates/extension/lib/%extension_name%/factories.rb.tt
|
834
|
+
- lib/archangel/commands/templates/extension/lib/%extension_name%/version.rb.tt
|
835
|
+
- lib/archangel/commands/templates/extension/lib/generators/%extension_name%/install/install_generator.rb.tt
|
836
|
+
- lib/archangel/commands/templates/theme/Gemfile
|
837
|
+
- lib/archangel/commands/templates/theme/README.md
|
838
|
+
- lib/archangel/commands/templates/theme/Rakefile
|
839
|
+
- lib/archangel/commands/templates/theme/app/themes/%theme_base_name%/assets/javascripts/%theme_base_name%/auth.js
|
840
|
+
- lib/archangel/commands/templates/theme/app/themes/%theme_base_name%/assets/javascripts/%theme_base_name%/backend.js
|
841
|
+
- lib/archangel/commands/templates/theme/app/themes/%theme_base_name%/assets/javascripts/%theme_base_name%/frontend.js
|
842
|
+
- lib/archangel/commands/templates/theme/app/themes/%theme_base_name%/assets/stylesheets/%theme_base_name%/auth.css
|
843
|
+
- lib/archangel/commands/templates/theme/app/themes/%theme_base_name%/assets/stylesheets/%theme_base_name%/backend.css
|
844
|
+
- lib/archangel/commands/templates/theme/app/themes/%theme_base_name%/assets/stylesheets/%theme_base_name%/frontend.css
|
845
|
+
- lib/archangel/commands/templates/theme/app/themes/%theme_base_name%/config/locales/en.yml.tt
|
846
|
+
- lib/archangel/commands/templates/theme/app/themes/%theme_base_name%/views/layouts/frontend.liquid
|
847
|
+
- lib/archangel/commands/templates/theme/bin/rails.tt
|
848
|
+
- lib/archangel/commands/templates/theme/lib/%theme_name%.rb.tt
|
849
|
+
- lib/archangel/commands/templates/theme/lib/%theme_name%/engine.rb.tt
|
850
|
+
- lib/archangel/commands/templates/theme/lib/%theme_name%/version.rb.tt
|
851
|
+
- lib/archangel/commands/templates/theme/theme.gemspec.tt
|
852
|
+
- lib/archangel/commands/theme_command.rb
|
851
853
|
- lib/archangel/config.rb
|
852
854
|
- lib/archangel/constants/language.rb
|
853
855
|
- lib/archangel/constants/role.rb
|
@@ -866,6 +868,7 @@ files:
|
|
866
868
|
- lib/archangel/liquid/tags/gist_tag.rb
|
867
869
|
- lib/archangel/liquid/tags/locale_tag.rb
|
868
870
|
- lib/archangel/liquid/tags/meta_tags_tag.rb
|
871
|
+
- lib/archangel/liquid/tags/noembed_tag.rb
|
869
872
|
- lib/archangel/liquid/tags/text_direction_tag.rb
|
870
873
|
- lib/archangel/liquid/tags/theme_javascript_tag.rb
|
871
874
|
- lib/archangel/liquid/tags/theme_stylesheet_tag.rb
|
@@ -878,6 +881,7 @@ files:
|
|
878
881
|
- lib/archangel/testing_support/factories/archangel_collections.rb
|
879
882
|
- lib/archangel/testing_support/factories/archangel_entries.rb
|
880
883
|
- lib/archangel/testing_support/factories/archangel_fields.rb
|
884
|
+
- lib/archangel/testing_support/factories/archangel_metatags.rb
|
881
885
|
- lib/archangel/testing_support/factories/archangel_pages.rb
|
882
886
|
- lib/archangel/testing_support/factories/archangel_sites.rb
|
883
887
|
- lib/archangel/testing_support/factories/archangel_templates.rb
|
@@ -890,6 +894,8 @@ files:
|
|
890
894
|
- lib/archangel/testing_support/helpers/controller_helpers.rb
|
891
895
|
- lib/archangel/testing_support/helpers/form_helpers.rb
|
892
896
|
- lib/archangel/testing_support/helpers/routing_helpers.rb
|
897
|
+
- lib/archangel/testing_support/matchers/have_meta.rb
|
898
|
+
- lib/archangel/testing_support/matchers/have_title.rb
|
893
899
|
- lib/archangel/testing_support/matchers/match_stdout.rb
|
894
900
|
- lib/archangel/testing_support/matchers/pundit.rb
|
895
901
|
- lib/archangel/testing_support/rake/dummy_rake.rb
|
@@ -940,12 +946,14 @@ files:
|
|
940
946
|
- spec/controllers/archangel/backend_controller_spec.rb
|
941
947
|
- spec/controllers/archangel/frontend/pages_controller_spec.rb
|
942
948
|
- spec/controllers/archangel/frontend_controller_spec.rb
|
949
|
+
- spec/controllers/concerns/archangel/controllers/backend/resourceful_concern_spec.rb
|
943
950
|
- spec/features/auth/log_in_spec.rb
|
944
951
|
- spec/features/auth/log_out_spec.rb
|
945
952
|
- spec/features/auth/registration_spec.rb
|
946
953
|
- spec/features/backend/pages/duplicate_slugs_spec.rb
|
947
954
|
- spec/features/frontend/liquid_drop_variables_spec.rb
|
948
955
|
- spec/features/frontend/pages/homepage_redirect_spec.rb
|
956
|
+
- spec/features/frontend/pages/metatags_spec.rb
|
949
957
|
- spec/helpers/archangel/application_helper_spec.rb
|
950
958
|
- spec/helpers/archangel/auth_helper_spec.rb
|
951
959
|
- spec/helpers/archangel/backend/assets_helper_spec.rb
|
@@ -971,7 +979,8 @@ files:
|
|
971
979
|
- spec/inputs/archangel/time_picker_input_spec.rb
|
972
980
|
- spec/inputs/archangel/wysiwyg_input_spec.rb
|
973
981
|
- spec/jobs/archangel/application_job_spec.rb
|
974
|
-
- spec/lib/archangel/
|
982
|
+
- spec/lib/archangel/commands/extension_command_spec.rb
|
983
|
+
- spec/lib/archangel/commands/theme_command_spec.rb
|
975
984
|
- spec/lib/archangel/liquid/drop_spec.rb
|
976
985
|
- spec/lib/archangel/liquid/drops/page_drop_spec.rb
|
977
986
|
- spec/lib/archangel/liquid/drops/site_drop_spec.rb
|
@@ -984,6 +993,7 @@ files:
|
|
984
993
|
- spec/lib/archangel/liquid/tags/gist_tag_spec.rb
|
985
994
|
- spec/lib/archangel/liquid/tags/locale_tag_spec.rb
|
986
995
|
- spec/lib/archangel/liquid/tags/meta_tags_tag_spec.rb
|
996
|
+
- spec/lib/archangel/liquid/tags/noembed_tag_spec.rb
|
987
997
|
- spec/lib/archangel/liquid/tags/text_direction_tag_spec.rb
|
988
998
|
- spec/lib/archangel/liquid/tags/theme_javascript_tag_spec.rb
|
989
999
|
- spec/lib/archangel/liquid/tags/theme_stylesheet_tag_spec.rb
|
@@ -991,11 +1001,12 @@ files:
|
|
991
1001
|
- spec/lib/archangel/liquid/tags/widget_tag_spec.rb
|
992
1002
|
- spec/lib/archangel/liquid/tags/youtube_tag_spec.rb
|
993
1003
|
- spec/lib/tasks/archangel/version_task_spec.rb
|
994
|
-
- spec/mailers/archangel/
|
1004
|
+
- spec/mailers/archangel/application_mailer_spec.rb
|
995
1005
|
- spec/models/archangel/asset_spec.rb
|
996
1006
|
- spec/models/archangel/collection_spec.rb
|
997
1007
|
- spec/models/archangel/entry_spec.rb
|
998
1008
|
- spec/models/archangel/field_spec.rb
|
1009
|
+
- spec/models/archangel/metatag_spec.rb
|
999
1010
|
- spec/models/archangel/page_spec.rb
|
1000
1011
|
- spec/models/archangel/site_spec.rb
|
1001
1012
|
- spec/models/archangel/template_spec.rb
|
@@ -1035,7 +1046,12 @@ files:
|
|
1035
1046
|
homepage: https://github.com/archangel/archangel
|
1036
1047
|
licenses:
|
1037
1048
|
- MIT
|
1038
|
-
metadata:
|
1049
|
+
metadata:
|
1050
|
+
bug_tracker_uri: https://github.com/archangel/archangel/issues
|
1051
|
+
documentation_uri: https://www.rubydoc.info/github/archangel/archangel/master
|
1052
|
+
homepage_uri: https://github.com/archangel/archangel
|
1053
|
+
source_code_uri: https://github.com/archangel/archangel
|
1054
|
+
wiki_uri: https://github.com/archangel/archangel/wiki
|
1039
1055
|
post_install_message:
|
1040
1056
|
rdoc_options: []
|
1041
1057
|
require_paths:
|
@@ -1051,8 +1067,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
1051
1067
|
- !ruby/object:Gem::Version
|
1052
1068
|
version: '0'
|
1053
1069
|
requirements: []
|
1054
|
-
|
1055
|
-
rubygems_version: 2.7.3
|
1070
|
+
rubygems_version: 3.0.2
|
1056
1071
|
signing_key:
|
1057
1072
|
specification_version: 4
|
1058
1073
|
summary: Archangel CMS
|