trusty-cms 4.0.1 → 4.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +3 -3
- data/Gemfile.lock +106 -106
- data/Rakefile +7 -7
- data/app/assets/images/admin/spinner.gif +0 -0
- data/app/assets/javascripts/admin.js +3 -0
- data/app/assets/javascripts/admin/more-or-less.js +2 -2
- data/app/assets/javascripts/admin/tabcontrol.js.erb +1 -2
- data/app/assets/stylesheets/admin/_base.scss +22 -6
- data/app/assets/stylesheets/admin/_multi_site_main.scss +28 -29
- data/app/assets/stylesheets/admin/_reset.scss +5 -4
- data/app/assets/stylesheets/admin/_site_chooser.scss +44 -69
- data/app/assets/stylesheets/admin/assets.scss +138 -141
- data/app/assets/stylesheets/admin/main.scss +10 -12
- data/app/assets/stylesheets/admin/modules/_boxes.scss +0 -3
- data/app/assets/stylesheets/admin/modules/_buttons.scss +30 -0
- data/app/assets/stylesheets/admin/modules/_links.scss +1 -1
- data/app/assets/stylesheets/admin/partials/_actions.scss +29 -46
- data/app/assets/stylesheets/admin/partials/_avatars.scss +3 -2
- data/app/assets/stylesheets/admin/partials/_content.scss +15 -38
- data/app/assets/stylesheets/admin/partials/_dateinput.scss +23 -14
- data/app/assets/stylesheets/admin/partials/_drawer.scss +78 -0
- data/app/assets/stylesheets/admin/partials/_dropdown.scss +9 -12
- data/app/assets/stylesheets/admin/partials/_footer.scss +4 -3
- data/app/assets/stylesheets/admin/partials/_forms.scss +64 -491
- data/app/assets/stylesheets/admin/partials/_header.scss +9 -118
- data/app/assets/stylesheets/admin/partials/_layout.scss +26 -2
- data/app/assets/stylesheets/admin/partials/_login_form.scss +28 -0
- data/app/assets/stylesheets/admin/partials/_messages.scss +10 -5
- data/app/assets/stylesheets/admin/partials/_popup.scss +61 -50
- data/app/assets/stylesheets/admin/partials/_preferences.scss +37 -0
- data/app/assets/stylesheets/admin/partials/_sidebar.scss +55 -0
- data/app/assets/stylesheets/admin/partials/_tabcontrol.scss +24 -36
- data/app/assets/stylesheets/admin/partials/{_index.scss → _table.scss} +53 -84
- data/app/assets/stylesheets/admin/partials/_toolbar.scss +11 -6
- data/app/assets/stylesheets/admin/partials/_treetable.scss +1 -71
- data/app/assets/stylesheets/admin/partials/_typography.scss +30 -55
- data/app/assets/stylesheets/admin/partials/_validations.scss +6 -5
- data/app/assets/stylesheets/rad_social/rad_screen.scss +65 -64
- data/app/controllers/admin/assets_controller.rb +21 -31
- data/app/controllers/admin/configuration_controller.rb +9 -11
- data/app/controllers/admin/extensions_controller.rb +3 -3
- data/app/controllers/admin/layouts_controller.rb +3 -4
- data/app/controllers/admin/page_attachments_controller.rb +5 -5
- data/app/controllers/admin/page_fields_controller.rb +3 -4
- data/app/controllers/admin/page_parts_controller.rb +4 -5
- data/app/controllers/admin/pages_controller.rb +55 -56
- data/app/controllers/admin/references_controller.rb +1 -1
- data/app/controllers/admin/resource_controller.rb +132 -128
- data/app/controllers/admin/sites_controller.rb +4 -4
- data/app/controllers/admin/snippets_controller.rb +3 -4
- data/app/controllers/admin/users_controller.rb +16 -16
- data/app/controllers/application_controller.rb +47 -48
- data/app/controllers/site_controller.rb +51 -48
- data/app/controllers/social_mailer_controller.rb +13 -16
- data/app/helpers/admin/configuration_helper.rb +19 -20
- data/app/helpers/admin/layouts_helper.rb +0 -1
- data/app/helpers/admin/node_helper.rb +27 -24
- data/app/helpers/admin/pages_helper.rb +2 -2
- data/app/helpers/admin/preferences_helper.rb +0 -1
- data/app/helpers/admin/references_helper.rb +9 -10
- data/app/helpers/admin/regions_helper.rb +3 -3
- data/app/helpers/application_helper.rb +34 -35
- data/app/helpers/rad_social_helper.rb +8 -11
- data/app/helpers/scoped_helper.rb +1 -3
- data/app/helpers/sites_helper.rb +4 -4
- data/app/mailers/devise_mailer.rb +3 -4
- data/app/mailers/rad_social_mailer.rb +8 -8
- data/app/models/asset.rb +62 -63
- data/app/models/asset_type.rb +38 -39
- data/app/models/deprecated_tags.rb +3 -4
- data/app/models/file_not_found_page.rb +1 -3
- data/app/models/haml_filter.rb +1 -1
- data/app/models/layout.rb +4 -5
- data/app/models/legacy_user.rb +2 -2
- data/app/models/menu_renderer.rb +16 -18
- data/app/models/page.rb +96 -93
- data/app/models/page_attachment.rb +1 -2
- data/app/models/page_context.rb +11 -12
- data/app/models/page_part.rb +3 -4
- data/app/models/rails_page.rb +10 -12
- data/app/models/site.rb +22 -21
- data/app/models/snippet.rb +6 -8
- data/app/models/snippet_finder.rb +3 -3
- data/app/models/snippet_tags.rb +4 -4
- data/app/models/standard_tags.rb +258 -252
- data/app/models/status.rb +8 -8
- data/app/models/trusty_cms/config.rb +25 -25
- data/app/models/trusty_cms/page_response_cache_director.rb +2 -3
- data/app/models/user.rb +15 -14
- data/app/models/user_action_observer.rb +3 -3
- data/app/users/_choose_site.html.haml +3 -7
- data/app/views/admin/assets/_form.html.haml +2 -1
- data/app/views/admin/assets/_search.html.haml +2 -1
- data/app/views/admin/assets/edit.html.haml +2 -10
- data/app/views/admin/assets/index.html.haml +4 -2
- data/app/views/admin/assets/new.html.haml +4 -8
- data/app/views/admin/assets/remove.html.haml +2 -1
- data/app/views/admin/configuration/edit.html.haml +7 -7
- data/app/views/admin/configuration/show.html.haml +6 -8
- data/app/views/admin/layouts/_choose_site.html.haml +2 -3
- data/app/views/admin/layouts/_form.html.haml +13 -12
- data/app/views/admin/layouts/_site_chooser.html.haml +2 -2
- data/app/views/admin/layouts/index.html.haml +11 -4
- data/app/views/admin/layouts/remove.html.haml +6 -5
- data/app/views/admin/page_attachments/_attachment.html.haml +2 -2
- data/app/views/admin/page_fields/_page_field.html.haml +3 -3
- data/app/views/admin/page_parts/_page_part.html.haml +5 -6
- data/app/views/admin/pages/_asset_popups.html.haml +15 -16
- data/app/views/admin/pages/_assets.html.haml +8 -7
- data/app/views/admin/pages/_fields.html.haml +16 -13
- data/app/views/admin/pages/_node.html.haml +3 -3
- data/app/views/admin/pages/_popups.html.haml +11 -11
- data/app/views/admin/pages/edit.html.haml +2 -2
- data/app/views/admin/pages/index.html.haml +5 -2
- data/app/views/admin/pages/new.html.haml +3 -3
- data/app/views/admin/pages/remove.html.haml +4 -3
- data/app/views/admin/preferences/edit.html.haml +5 -5
- data/app/views/admin/references/filters.haml +1 -1
- data/app/views/admin/references/tags.haml +3 -3
- data/app/views/admin/removed/_assets_bucket.html.haml +3 -3
- data/app/views/admin/removed/_assets_container.html.haml +18 -18
- data/app/views/admin/removed/_bucket.html.haml +1 -1
- data/app/views/admin/removed/_bucket_asset.html.haml +3 -3
- data/app/views/admin/removed/_show_bucket_link.html.haml +1 -1
- data/app/views/admin/removed/_upload_to_page.html.haml +5 -5
- data/app/views/admin/sites/_form.haml +18 -18
- data/app/views/admin/sites/edit.haml +1 -1
- data/app/views/admin/sites/index.haml +8 -4
- data/app/views/admin/sites/new.haml +1 -1
- data/app/views/admin/snippets/_choose_site.html.haml +4 -5
- data/app/views/admin/snippets/_form.html.haml +8 -9
- data/app/views/admin/snippets/edit.html.haml +1 -1
- data/app/views/admin/snippets/index.html.haml +11 -4
- data/app/views/admin/snippets/new.html.haml +1 -1
- data/app/views/admin/snippets/remove.html.haml +7 -6
- data/app/views/admin/users/_avatar.html.haml +2 -2
- data/app/views/admin/users/_choose_site.html.haml +3 -7
- data/app/views/admin/users/_form.html.haml +18 -21
- data/app/views/admin/users/_password_fields.html.haml +6 -6
- data/app/views/admin/users/index.html.haml +13 -6
- data/app/views/admin/users/remove.html.haml +4 -4
- data/app/views/admin/welcome/login.html.haml +8 -8
- data/app/views/devise/passwords/edit.html.haml +6 -6
- data/app/views/devise/passwords/new.html.haml +3 -3
- data/app/views/devise/sessions/new.html.haml +8 -8
- data/app/views/devise/shared/_links.html.haml +2 -2
- data/app/views/layouts/application.html.haml +24 -19
- data/app/views/rad_social_mailer/social_mail_form.html.haml +15 -15
- data/app/views/widget/_email_form.html.haml +14 -14
- data/app/views/widget/_horizontal_widget.html.haml +5 -5
- data/bin/rails +4 -4
- data/bin/trusty_cms +3 -5
- data/config.ru +1 -1
- data/config/application.rb +14 -15
- data/config/boot.rb +1 -2
- data/config/environment.rb +1 -1
- data/config/environments/production.rb +0 -1
- data/config/environments/test.rb +1 -2
- data/config/initializers/devise.rb +1 -1
- data/config/initializers/kraken.rb +2 -2
- data/config/initializers/tmp.rb +1 -1
- data/config/initializers/trusty_cms_config.rb +48 -48
- data/config/locales/en.yml +8 -8
- data/config/routes.rb +6 -7
- data/lib/active_record_extensions/active_record_extensions.rb +1 -2
- data/lib/annotatable.rb +3 -5
- data/lib/configuration_extensions/configuration_extensions.rb +1 -1
- data/lib/inheritable_class_attributes.rb +13 -9
- data/lib/login_system.rb +73 -73
- data/lib/method_observer.rb +13 -12
- data/lib/ostruct.rb +7 -10
- data/lib/simpleton.rb +0 -4
- data/lib/string_extensions/string_extensions.rb +3 -3
- data/lib/symbol_extensions/symbol_extensions.rb +1 -1
- data/lib/tasks/database.rake +28 -28
- data/lib/tasks/extensions.rake +18 -18
- data/lib/tasks/framework.rake +68 -68
- data/lib/tasks/radiant_config.rake +4 -4
- data/lib/tasks/snippets_extension_tasks.rake +11 -11
- data/lib/tasks/translate.rake +14 -14
- data/lib/tasks/upgrade_to_devise.rake +1 -1
- data/lib/translation_support.rb +22 -22
- data/lib/trusty_cms.rb +2 -2
- data/lib/trusty_cms/admin_ui.rb +19 -16
- data/lib/trusty_cms/admin_ui/region_partials.rb +4 -3
- data/lib/trusty_cms/admin_ui/region_set.rb +4 -5
- data/lib/trusty_cms/available_locales.rb +2 -4
- data/lib/trusty_cms/config/definition.rb +11 -8
- data/lib/trusty_cms/engine.rb +14 -14
- data/lib/trusty_cms/extension.rb +14 -16
- data/lib/trusty_cms/extension_loader.rb +6 -6
- data/lib/trusty_cms/extension_migrator.rb +42 -41
- data/lib/trusty_cms/extension_path.rb +20 -19
- data/lib/trusty_cms/initializer.rb +5 -8
- data/lib/trusty_cms/pagination/controller.rb +7 -10
- data/lib/trusty_cms/pagination/link_renderer.rb +2 -2
- data/lib/trusty_cms/resource_responses.rb +3 -3
- data/lib/trusty_cms/setup.rb +130 -132
- data/lib/trusty_cms/taggable.rb +19 -22
- data/lib/trusty_cms/task_support.rb +9 -6
- data/package.json +10 -2
- data/public/dispatch.fcgi +1 -1
- data/public/dispatch.rb +2 -2
- data/script/extension +1 -1
- data/script/rails +2 -2
- data/spec/dummy/package.json +1 -1
- data/spec/dummy/yarn.lock +3 -3
- data/trusty_cms.gemspec +25 -25
- data/vendor/extensions/clipped-extension/lib/clipped_admin_ui.rb +1 -1
- data/yarn.lock +1992 -4
- metadata +54 -42
- data/app/assets/stylesheets/admin/partials/_deprecated.scss +0 -65
- data/app/assets/stylesheets/admin/partials/_jquery-ui-structure.scss +0 -258
- data/app/assets/stylesheets/admin/partials/_jquery-ui-theme.scss +0 -410
- data/app/assets/stylesheets/admin/partials/_jquery-ui.scss +0 -650
- data/app/views/admin/assets/refresh.html.haml +0 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5ec4507891ffcef07709998473113f66f350d6c17ac1a1a40ca8593d6b565855
|
4
|
+
data.tar.gz: 994dec6d305e0ce812c7311ef3ff4c15f5a439f61d09a21bcafdf235d6a4f08d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 642b211413fead95b9f8a33eeead86c404f9f6debc150c3440416f380534be866ea9c817a312a5e65610a3df06ba8f7d0397a74429be26e2afeae0dd9de5e6b1
|
7
|
+
data.tar.gz: 12cc8927f097db47b3b97c38fd66f708fb5ac81ae4e12e5f43a0a07ae011184d82eef46adaa0d7e3b6f49a1f2dc2b585bb9dc19f0551bf83023219743a429d4c
|
data/Gemfile
CHANGED
@@ -14,10 +14,10 @@ gemspec
|
|
14
14
|
group :development, :test do
|
15
15
|
gem 'acts_as_list'
|
16
16
|
gem 'database_cleaner'
|
17
|
-
gem 'factory_bot_rails', '5.0
|
18
|
-
gem 'launchy',
|
17
|
+
gem 'factory_bot_rails', '5.2.0'
|
18
|
+
gem 'launchy', '~> 2.5.0'
|
19
19
|
gem 'mysql2'
|
20
|
-
gem 'poltergeist',
|
20
|
+
gem 'poltergeist', '~> 1.18.1'
|
21
21
|
gem 'pry-byebug'
|
22
22
|
gem 'rails-observers'
|
23
23
|
gem 'rspec-rails'
|
data/Gemfile.lock
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
trusty-cms (4.
|
4
|
+
trusty-cms (4.1.3)
|
5
5
|
RedCloth (= 4.3.2)
|
6
|
-
acts_as_list (
|
6
|
+
acts_as_list (>= 0.9.5, < 1.1.0)
|
7
7
|
acts_as_tree (>= 2.6.1, < 2.9.0)
|
8
8
|
ckeditor (>= 4.2.2, < 4.3.0)
|
9
9
|
delocalize (>= 0.2, < 2.0)
|
@@ -25,7 +25,7 @@ PATH
|
|
25
25
|
roadie-rails
|
26
26
|
sassc-rails
|
27
27
|
stringex (>= 2.7.1, < 2.9.0)
|
28
|
-
tzinfo (
|
28
|
+
tzinfo (>= 1.2.3, < 2.1.0)
|
29
29
|
uglifier (>= 3.2, < 5.0)
|
30
30
|
uuidtools (~> 2.1.5)
|
31
31
|
will_paginate (~> 3.0)
|
@@ -34,71 +34,71 @@ GEM
|
|
34
34
|
remote: https://rubygems.org/
|
35
35
|
specs:
|
36
36
|
RedCloth (4.3.2)
|
37
|
-
actioncable (6.0.
|
38
|
-
actionpack (= 6.0.
|
37
|
+
actioncable (6.0.3.1)
|
38
|
+
actionpack (= 6.0.3.1)
|
39
39
|
nio4r (~> 2.0)
|
40
40
|
websocket-driver (>= 0.6.1)
|
41
|
-
actionmailbox (6.0.
|
42
|
-
actionpack (= 6.0.
|
43
|
-
activejob (= 6.0.
|
44
|
-
activerecord (= 6.0.
|
45
|
-
activestorage (= 6.0.
|
46
|
-
activesupport (= 6.0.
|
41
|
+
actionmailbox (6.0.3.1)
|
42
|
+
actionpack (= 6.0.3.1)
|
43
|
+
activejob (= 6.0.3.1)
|
44
|
+
activerecord (= 6.0.3.1)
|
45
|
+
activestorage (= 6.0.3.1)
|
46
|
+
activesupport (= 6.0.3.1)
|
47
47
|
mail (>= 2.7.1)
|
48
|
-
actionmailer (6.0.
|
49
|
-
actionpack (= 6.0.
|
50
|
-
actionview (= 6.0.
|
51
|
-
activejob (= 6.0.
|
48
|
+
actionmailer (6.0.3.1)
|
49
|
+
actionpack (= 6.0.3.1)
|
50
|
+
actionview (= 6.0.3.1)
|
51
|
+
activejob (= 6.0.3.1)
|
52
52
|
mail (~> 2.5, >= 2.5.4)
|
53
53
|
rails-dom-testing (~> 2.0)
|
54
|
-
actionpack (6.0.
|
55
|
-
actionview (= 6.0.
|
56
|
-
activesupport (= 6.0.
|
54
|
+
actionpack (6.0.3.1)
|
55
|
+
actionview (= 6.0.3.1)
|
56
|
+
activesupport (= 6.0.3.1)
|
57
57
|
rack (~> 2.0, >= 2.0.8)
|
58
58
|
rack-test (>= 0.6.3)
|
59
59
|
rails-dom-testing (~> 2.0)
|
60
60
|
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
61
|
-
actiontext (6.0.
|
62
|
-
actionpack (= 6.0.
|
63
|
-
activerecord (= 6.0.
|
64
|
-
activestorage (= 6.0.
|
65
|
-
activesupport (= 6.0.
|
61
|
+
actiontext (6.0.3.1)
|
62
|
+
actionpack (= 6.0.3.1)
|
63
|
+
activerecord (= 6.0.3.1)
|
64
|
+
activestorage (= 6.0.3.1)
|
65
|
+
activesupport (= 6.0.3.1)
|
66
66
|
nokogiri (>= 1.8.5)
|
67
|
-
actionview (6.0.
|
68
|
-
activesupport (= 6.0.
|
67
|
+
actionview (6.0.3.1)
|
68
|
+
activesupport (= 6.0.3.1)
|
69
69
|
builder (~> 3.1)
|
70
70
|
erubi (~> 1.4)
|
71
71
|
rails-dom-testing (~> 2.0)
|
72
72
|
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
73
|
-
activejob (6.0.
|
74
|
-
activesupport (= 6.0.
|
73
|
+
activejob (6.0.3.1)
|
74
|
+
activesupport (= 6.0.3.1)
|
75
75
|
globalid (>= 0.3.6)
|
76
|
-
activemodel (6.0.
|
77
|
-
activesupport (= 6.0.
|
78
|
-
activerecord (6.0.
|
79
|
-
activemodel (= 6.0.
|
80
|
-
activesupport (= 6.0.
|
81
|
-
activestorage (6.0.
|
82
|
-
actionpack (= 6.0.
|
83
|
-
activejob (= 6.0.
|
84
|
-
activerecord (= 6.0.
|
76
|
+
activemodel (6.0.3.1)
|
77
|
+
activesupport (= 6.0.3.1)
|
78
|
+
activerecord (6.0.3.1)
|
79
|
+
activemodel (= 6.0.3.1)
|
80
|
+
activesupport (= 6.0.3.1)
|
81
|
+
activestorage (6.0.3.1)
|
82
|
+
actionpack (= 6.0.3.1)
|
83
|
+
activejob (= 6.0.3.1)
|
84
|
+
activerecord (= 6.0.3.1)
|
85
85
|
marcel (~> 0.3.1)
|
86
|
-
activesupport (6.0.
|
86
|
+
activesupport (6.0.3.1)
|
87
87
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
88
88
|
i18n (>= 0.7, < 2)
|
89
89
|
minitest (~> 5.1)
|
90
90
|
tzinfo (~> 1.1)
|
91
|
-
zeitwerk (~> 2.2)
|
92
|
-
acts_as_list (0.
|
93
|
-
activerecord (>=
|
91
|
+
zeitwerk (~> 2.2, >= 2.2.2)
|
92
|
+
acts_as_list (1.0.1)
|
93
|
+
activerecord (>= 4.2)
|
94
94
|
acts_as_tree (2.8.0)
|
95
95
|
activerecord (>= 3.0.0)
|
96
96
|
addressable (2.7.0)
|
97
97
|
public_suffix (>= 2.0.2, < 5.0)
|
98
98
|
bcrypt (3.1.13)
|
99
99
|
builder (3.2.4)
|
100
|
-
byebug (11.1.
|
101
|
-
capybara (3.
|
100
|
+
byebug (11.1.3)
|
101
|
+
capybara (3.32.2)
|
102
102
|
addressable
|
103
103
|
mini_mime (>= 0.1.3)
|
104
104
|
nokogiri (~> 1.8)
|
@@ -113,15 +113,15 @@ GEM
|
|
113
113
|
cliver (0.3.2)
|
114
114
|
cocaine (0.6.0)
|
115
115
|
terrapin (= 0.6.0)
|
116
|
-
coderay (1.1.
|
116
|
+
coderay (1.1.3)
|
117
117
|
concurrent-ruby (1.1.6)
|
118
118
|
crass (1.0.6)
|
119
119
|
css_parser (1.7.1)
|
120
120
|
addressable
|
121
|
-
database_cleaner (1.8.
|
121
|
+
database_cleaner (1.8.5)
|
122
122
|
delocalize (1.2.0)
|
123
123
|
rails (>= 2)
|
124
|
-
devise (4.7.
|
124
|
+
devise (4.7.2)
|
125
125
|
bcrypt (~> 3.0)
|
126
126
|
orm_adapter (~> 0.1)
|
127
127
|
railties (>= 4.1.0)
|
@@ -132,12 +132,12 @@ GEM
|
|
132
132
|
erubi (1.9.0)
|
133
133
|
erubis (2.7.0)
|
134
134
|
execjs (2.7.0)
|
135
|
-
factory_bot (5.0
|
135
|
+
factory_bot (5.2.0)
|
136
136
|
activesupport (>= 4.2.0)
|
137
|
-
factory_bot_rails (5.0
|
138
|
-
factory_bot (~> 5.0
|
137
|
+
factory_bot_rails (5.2.0)
|
138
|
+
factory_bot (~> 5.2.0)
|
139
139
|
railties (>= 4.2.0)
|
140
|
-
ffi (1.
|
140
|
+
ffi (1.13.1)
|
141
141
|
globalid (0.4.2)
|
142
142
|
activesupport (>= 4.2.0)
|
143
143
|
haml (5.1.2)
|
@@ -155,10 +155,10 @@ GEM
|
|
155
155
|
haml (>= 4.0, < 6)
|
156
156
|
nokogiri (>= 1.6.0)
|
157
157
|
ruby_parser (~> 3.5)
|
158
|
-
httparty (0.18.
|
158
|
+
httparty (0.18.1)
|
159
159
|
mime-types (~> 3.0)
|
160
160
|
multi_xml (>= 0.5.2)
|
161
|
-
i18n (1.8.
|
161
|
+
i18n (1.8.3)
|
162
162
|
concurrent-ruby (~> 1.0)
|
163
163
|
json (2.3.0)
|
164
164
|
kraken-io (0.1.3)
|
@@ -166,26 +166,26 @@ GEM
|
|
166
166
|
httparty
|
167
167
|
json
|
168
168
|
multipart-post
|
169
|
-
launchy (2.
|
170
|
-
addressable (~> 2.
|
169
|
+
launchy (2.5.0)
|
170
|
+
addressable (~> 2.7)
|
171
171
|
libv8 (7.3.492.27.1-x86_64-linux)
|
172
|
-
loofah (2.
|
172
|
+
loofah (2.5.0)
|
173
173
|
crass (~> 1.0.2)
|
174
174
|
nokogiri (>= 1.5.9)
|
175
175
|
mail (2.7.1)
|
176
176
|
mini_mime (>= 0.1.1)
|
177
177
|
marcel (0.3.3)
|
178
178
|
mimemagic (~> 0.3.2)
|
179
|
-
method_source (0.
|
179
|
+
method_source (1.0.0)
|
180
180
|
mime-types (3.3.1)
|
181
181
|
mime-types-data (~> 3.2015)
|
182
|
-
mime-types-data (3.
|
183
|
-
mimemagic (0.3.
|
182
|
+
mime-types-data (3.2020.0512)
|
183
|
+
mimemagic (0.3.5)
|
184
184
|
mini_mime (1.0.2)
|
185
185
|
mini_portile2 (2.4.0)
|
186
|
-
mini_racer (0.2.
|
187
|
-
libv8 (
|
188
|
-
minitest (5.14.
|
186
|
+
mini_racer (0.2.14)
|
187
|
+
libv8 (> 7.3)
|
188
|
+
minitest (5.14.1)
|
189
189
|
multi_xml (0.6.0)
|
190
190
|
multipart-post (2.1.1)
|
191
191
|
mysql2 (0.5.3)
|
@@ -203,33 +203,33 @@ GEM
|
|
203
203
|
capybara (>= 2.1, < 4)
|
204
204
|
cliver (~> 0.3.1)
|
205
205
|
websocket-driver (>= 0.2.0)
|
206
|
-
pry (0.
|
207
|
-
coderay (~> 1.1
|
208
|
-
method_source (~>
|
209
|
-
pry-byebug (3.
|
206
|
+
pry (0.13.1)
|
207
|
+
coderay (~> 1.1)
|
208
|
+
method_source (~> 1.0)
|
209
|
+
pry-byebug (3.9.0)
|
210
210
|
byebug (~> 11.0)
|
211
|
-
pry (~> 0.
|
212
|
-
public_suffix (4.0.
|
211
|
+
pry (~> 0.13.0)
|
212
|
+
public_suffix (4.0.5)
|
213
213
|
rack (2.0.9)
|
214
|
-
rack-cache (1.
|
214
|
+
rack-cache (1.12.0)
|
215
215
|
rack (>= 0.4)
|
216
216
|
rack-test (1.1.0)
|
217
217
|
rack (>= 1.0, < 3)
|
218
218
|
radius (0.7.5)
|
219
|
-
rails (6.0.
|
220
|
-
actioncable (= 6.0.
|
221
|
-
actionmailbox (= 6.0.
|
222
|
-
actionmailer (= 6.0.
|
223
|
-
actionpack (= 6.0.
|
224
|
-
actiontext (= 6.0.
|
225
|
-
actionview (= 6.0.
|
226
|
-
activejob (= 6.0.
|
227
|
-
activemodel (= 6.0.
|
228
|
-
activerecord (= 6.0.
|
229
|
-
activestorage (= 6.0.
|
230
|
-
activesupport (= 6.0.
|
219
|
+
rails (6.0.3.1)
|
220
|
+
actioncable (= 6.0.3.1)
|
221
|
+
actionmailbox (= 6.0.3.1)
|
222
|
+
actionmailer (= 6.0.3.1)
|
223
|
+
actionpack (= 6.0.3.1)
|
224
|
+
actiontext (= 6.0.3.1)
|
225
|
+
actionview (= 6.0.3.1)
|
226
|
+
activejob (= 6.0.3.1)
|
227
|
+
activemodel (= 6.0.3.1)
|
228
|
+
activerecord (= 6.0.3.1)
|
229
|
+
activestorage (= 6.0.3.1)
|
230
|
+
activesupport (= 6.0.3.1)
|
231
231
|
bundler (>= 1.3.0)
|
232
|
-
railties (= 6.0.
|
232
|
+
railties (= 6.0.3.1)
|
233
233
|
sprockets-rails (>= 2.0.0)
|
234
234
|
rails-dom-testing (2.0.3)
|
235
235
|
activesupport (>= 4.2.0)
|
@@ -238,16 +238,16 @@ GEM
|
|
238
238
|
loofah (~> 2.3)
|
239
239
|
rails-observers (0.1.5)
|
240
240
|
activemodel (>= 4.0)
|
241
|
-
railties (6.0.
|
242
|
-
actionpack (= 6.0.
|
243
|
-
activesupport (= 6.0.
|
241
|
+
railties (6.0.3.1)
|
242
|
+
actionpack (= 6.0.3.1)
|
243
|
+
activesupport (= 6.0.3.1)
|
244
244
|
method_source
|
245
245
|
rake (>= 0.8.7)
|
246
246
|
thor (>= 0.20.3, < 2.0)
|
247
247
|
rake (12.3.3)
|
248
248
|
rdoc (6.2.1)
|
249
|
-
regexp_parser (1.7.
|
250
|
-
responders (3.0.
|
249
|
+
regexp_parser (1.7.1)
|
250
|
+
responders (3.0.1)
|
251
251
|
actionpack (>= 5.0)
|
252
252
|
railties (>= 5.0)
|
253
253
|
roadie (4.0.0)
|
@@ -256,26 +256,26 @@ GEM
|
|
256
256
|
roadie-rails (2.1.1)
|
257
257
|
railties (>= 5.1, < 6.1)
|
258
258
|
roadie (>= 3.1, < 5.0)
|
259
|
-
rspec-core (3.9.
|
260
|
-
rspec-support (~> 3.9.
|
261
|
-
rspec-expectations (3.9.
|
259
|
+
rspec-core (3.9.2)
|
260
|
+
rspec-support (~> 3.9.3)
|
261
|
+
rspec-expectations (3.9.2)
|
262
262
|
diff-lcs (>= 1.2.0, < 2.0)
|
263
263
|
rspec-support (~> 3.9.0)
|
264
264
|
rspec-mocks (3.9.1)
|
265
265
|
diff-lcs (>= 1.2.0, < 2.0)
|
266
266
|
rspec-support (~> 3.9.0)
|
267
|
-
rspec-rails (
|
268
|
-
actionpack (>=
|
269
|
-
activesupport (>=
|
270
|
-
railties (>=
|
271
|
-
rspec-core (~> 3.9
|
272
|
-
rspec-expectations (~> 3.9
|
273
|
-
rspec-mocks (~> 3.9
|
274
|
-
rspec-support (~> 3.9
|
275
|
-
rspec-support (3.9.
|
267
|
+
rspec-rails (4.0.1)
|
268
|
+
actionpack (>= 4.2)
|
269
|
+
activesupport (>= 4.2)
|
270
|
+
railties (>= 4.2)
|
271
|
+
rspec-core (~> 3.9)
|
272
|
+
rspec-expectations (~> 3.9)
|
273
|
+
rspec-mocks (~> 3.9)
|
274
|
+
rspec-support (~> 3.9)
|
275
|
+
rspec-support (3.9.3)
|
276
276
|
ruby_parser (3.14.2)
|
277
277
|
sexp_processor (~> 4.9)
|
278
|
-
sassc (2.
|
278
|
+
sassc (2.4.0)
|
279
279
|
ffi (~> 1.9)
|
280
280
|
sassc-rails (2.1.2)
|
281
281
|
railties (>= 4.0.0)
|
@@ -283,12 +283,12 @@ GEM
|
|
283
283
|
sprockets (> 3.0)
|
284
284
|
sprockets-rails
|
285
285
|
tilt
|
286
|
-
sexp_processor (4.
|
286
|
+
sexp_processor (4.15.0)
|
287
287
|
simplecov (0.18.5)
|
288
288
|
docile (~> 1.1)
|
289
289
|
simplecov-html (~> 0.11)
|
290
290
|
simplecov-html (0.12.2)
|
291
|
-
sprockets (4.0.
|
291
|
+
sprockets (4.0.2)
|
292
292
|
concurrent-ruby (~> 1.0)
|
293
293
|
rack (> 1, < 3)
|
294
294
|
sprockets-rails (3.2.1)
|
@@ -304,20 +304,20 @@ GEM
|
|
304
304
|
tilt (2.0.10)
|
305
305
|
trustygems (0.2.1)
|
306
306
|
rake
|
307
|
-
tzinfo (1.2.
|
307
|
+
tzinfo (1.2.7)
|
308
308
|
thread_safe (~> 0.1)
|
309
309
|
uglifier (4.2.0)
|
310
310
|
execjs (>= 0.3.0, < 3)
|
311
311
|
uuidtools (2.1.5)
|
312
312
|
warden (1.2.8)
|
313
313
|
rack (>= 2.0.6)
|
314
|
-
websocket-driver (0.7.
|
314
|
+
websocket-driver (0.7.2)
|
315
315
|
websocket-extensions (>= 0.1.0)
|
316
|
-
websocket-extensions (0.1.
|
316
|
+
websocket-extensions (0.1.5)
|
317
317
|
will_paginate (3.3.0)
|
318
318
|
xpath (3.2.0)
|
319
319
|
nokogiri (~> 1.8)
|
320
|
-
zeitwerk (2.
|
320
|
+
zeitwerk (2.3.0)
|
321
321
|
|
322
322
|
PLATFORMS
|
323
323
|
ruby
|
@@ -325,8 +325,8 @@ PLATFORMS
|
|
325
325
|
DEPENDENCIES
|
326
326
|
acts_as_list
|
327
327
|
database_cleaner
|
328
|
-
factory_bot_rails (= 5.0
|
329
|
-
launchy (~> 2.
|
328
|
+
factory_bot_rails (= 5.2.0)
|
329
|
+
launchy (~> 2.5.0)
|
330
330
|
mysql2
|
331
331
|
poltergeist (~> 1.18.1)
|
332
332
|
pry-byebug
|
data/Rakefile
CHANGED
@@ -10,19 +10,19 @@ require 'pry'
|
|
10
10
|
require 'byebug'
|
11
11
|
require 'trustygems'
|
12
12
|
|
13
|
-
|
13
|
+
# !/usr/bin/env rake
|
14
14
|
begin
|
15
15
|
require 'bundler/setup'
|
16
16
|
rescue LoadError
|
17
17
|
puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
|
18
18
|
end
|
19
|
-
APP_RAKEFILE = File.expand_path(
|
19
|
+
APP_RAKEFILE = File.expand_path('spec/dummy/Rakefile', __dir__)
|
20
20
|
load 'rails/tasks/engine.rake'
|
21
21
|
Bundler::GemHelper.install_tasks
|
22
|
-
Dir[File.join(File.dirname(__FILE__), 'tasks/**/*.rake')].each {|f| load f }
|
22
|
+
Dir[File.join(File.dirname(__FILE__), 'tasks/**/*.rake')].each { |f| load f }
|
23
23
|
require 'rspec/core'
|
24
24
|
require 'rspec/core/rake_task'
|
25
|
-
desc
|
26
|
-
RSpec::Core::RakeTask.new(:
|
27
|
-
task :
|
28
|
-
#TrustyCms::Application.load_tasks
|
25
|
+
desc 'Run all specs in spec directory (excluding plugin specs)'
|
26
|
+
RSpec::Core::RakeTask.new(spec: 'app:db:test:prepare')
|
27
|
+
task default: :spec
|
28
|
+
# TrustyCms::Application.load_tasks
|
Binary file
|
@@ -15,9 +15,9 @@
|
|
15
15
|
|
16
16
|
$(link).toggleClass('less more');
|
17
17
|
if (link.innerHTML.match(/less/i)) {
|
18
|
-
link.innerHTML = 'More';
|
18
|
+
link.innerHTML = 'More <i class="fas fa-angle-down"></i>';
|
19
19
|
} else if (link.innerHTML.match(/more/i)) {
|
20
|
-
link.innerHTML = 'Less';
|
20
|
+
link.innerHTML = 'Less <i class="fas fa-angle-up"></i>';
|
21
21
|
}
|
22
22
|
}
|
23
23
|
|