trusty-cms 4.1.5 → 4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +122 -115
- data/INSTALL.md +2 -0
- data/app/views/admin/assets/edit.html.haml +3 -0
- data/config/environments/development.rb +2 -0
- data/config/locales/en.yml +1 -0
- data/lib/generators/extension/USAGE +30 -0
- data/lib/generators/extension/extension_generator.rb +97 -0
- data/lib/generators/extension/templates/README.md +6 -0
- data/lib/generators/extension/templates/RSpecRakefile +109 -0
- data/lib/generators/extension/templates/Rakefile +25 -0
- data/lib/generators/extension/templates/cucumber.yml +1 -0
- data/lib/generators/extension/templates/cucumber_env.rb +11 -0
- data/lib/generators/extension/templates/cucumber_paths.rb +22 -0
- data/lib/generators/extension/templates/en.yml +3 -0
- data/lib/generators/extension/templates/extension.rb +21 -0
- data/lib/generators/extension/templates/functional_test.rb +15 -0
- data/lib/generators/extension/templates/gemspec.rb +29 -0
- data/lib/generators/extension/templates/lib.rb +8 -0
- data/lib/generators/extension/templates/migration.rb +9 -0
- data/lib/generators/extension/templates/radiant_config.rb +3 -0
- data/lib/generators/extension/templates/routes.rb +5 -0
- data/lib/generators/extension/templates/spec.opts +6 -0
- data/lib/generators/extension/templates/spec_helper.rb +42 -0
- data/lib/generators/extension/templates/tasks.rake +47 -0
- data/lib/generators/extension/templates/test_helper.rb +26 -0
- data/lib/generators/extension_controller/USAGE +36 -0
- data/lib/generators/extension_controller/extension_controller_generator.rb +84 -0
- data/lib/generators/extension_controller/templates/controller.rb +10 -0
- data/lib/generators/extension_controller/templates/controller_spec.rb +23 -0
- data/lib/generators/extension_controller/templates/functional_test.rb +11 -0
- data/lib/generators/extension_controller/templates/helper.rb +2 -0
- data/lib/generators/extension_controller/templates/helper_spec.rb +11 -0
- data/lib/generators/extension_controller/templates/helper_test.rb +4 -0
- data/lib/generators/extension_controller/templates/view.html.erb +2 -0
- data/lib/generators/extension_controller/templates/view_spec.rb +12 -0
- data/lib/generators/extension_mailer/USAGE +17 -0
- data/lib/generators/extension_mailer/extension_mailer_generator.rb +68 -0
- data/lib/generators/extension_mailer/templates/fixture.erb +3 -0
- data/lib/generators/extension_mailer/templates/mailer.rb +15 -0
- data/lib/generators/extension_mailer/templates/unit_test.rb +21 -0
- data/lib/generators/extension_mailer/templates/view.erb +3 -0
- data/lib/generators/extension_migration/USAGE +34 -0
- data/lib/generators/extension_migration/extension_migration_generator.rb +25 -0
- data/lib/generators/extension_migration/templates/migration.rb +11 -0
- data/lib/generators/extension_model/USAGE +35 -0
- data/lib/generators/extension_model/extension_model_generator.rb +68 -0
- data/lib/generators/extension_model/templates/fixtures.yml +19 -0
- data/lib/generators/extension_model/templates/migration.rb +16 -0
- data/lib/generators/extension_model/templates/model.rb +2 -0
- data/lib/generators/extension_model/templates/model_spec.rb +11 -0
- data/lib/generators/extension_model/templates/unit_test.rb +8 -0
- data/lib/generators/generator_base_extension.rb +18 -0
- data/lib/generators/instance/instance_generator.rb +148 -0
- data/lib/generators/instance/templates/databases/db2.yml +40 -0
- data/lib/generators/instance/templates/databases/mysql.yml +47 -0
- data/lib/generators/instance/templates/databases/postgresql.yml +44 -0
- data/lib/generators/instance/templates/databases/sqlite3.yml +16 -0
- data/lib/generators/instance/templates/databases/sqlserver.yml +21 -0
- data/lib/generators/instance/templates/instance_boot.rb +122 -0
- data/lib/generators/instance/templates/instance_config.ru +2 -0
- data/lib/generators/instance/templates/instance_environment.rb +93 -0
- data/lib/generators/instance/templates/instance_gemfile +78 -0
- data/lib/generators/instance/templates/instance_generate +6 -0
- data/lib/generators/instance/templates/instance_radiant_config.rb +16 -0
- data/lib/generators/instance/templates/instance_rakefile +3 -0
- data/lib/generators/instance/templates/instance_routes.rb +1 -0
- data/lib/generators/language_extension/USAGE +27 -0
- data/lib/generators/language_extension/language_extension_generator.rb +71 -0
- data/lib/generators/language_extension/templates/README +3 -0
- data/lib/generators/language_extension/templates/RSpecRakefile +123 -0
- data/lib/generators/language_extension/templates/Rakefile +25 -0
- data/lib/generators/language_extension/templates/available_tags.yml +553 -0
- data/lib/generators/language_extension/templates/cucumber.yml +1 -0
- data/lib/generators/language_extension/templates/cucumber_env.rb +16 -0
- data/lib/generators/language_extension/templates/cucumber_paths.rb +14 -0
- data/lib/generators/language_extension/templates/extension.rb +12 -0
- data/lib/generators/language_extension/templates/functional_test.rb +15 -0
- data/lib/generators/language_extension/templates/gemspec.rb +24 -0
- data/lib/generators/language_extension/templates/lang.yml +181 -0
- data/lib/generators/language_extension/templates/lib.rb +8 -0
- data/lib/generators/language_extension/templates/spec.opts +6 -0
- data/lib/generators/language_extension/templates/spec_helper.rb +36 -0
- data/lib/generators/language_extension/templates/tasks.rake +28 -0
- data/lib/generators/language_extension/templates/test_helper.rb +26 -0
- data/lib/generators/trusty_cms/USAGE +8 -0
- data/lib/generators/trusty_cms/templates/Rakefile.erb +7 -0
- data/lib/generators/trusty_cms/templates/application.rb.erb +149 -0
- data/lib/generators/trusty_cms/templates/boot.rb.erb +9 -0
- data/lib/generators/trusty_cms/templates/config.ru.erb +4 -0
- data/lib/generators/trusty_cms/templates/database.yml.erb +28 -0
- data/lib/generators/trusty_cms/templates/environment.rb.erb +5 -0
- data/lib/generators/trusty_cms/templates/environments/development.rb.erb +24 -0
- data/lib/generators/trusty_cms/templates/environments/production.rb.erb +26 -0
- data/lib/generators/trusty_cms/templates/environments/test.rb.erb +35 -0
- data/lib/generators/trusty_cms/templates/initializers/secret_token.rb.erb +13 -0
- data/lib/generators/trusty_cms/templates/initializers/session_store.rb.erb +8 -0
- data/lib/generators/trusty_cms/templates/initializers/trusty_cms_config.rb.erb +16 -0
- data/lib/generators/trusty_cms/templates/preinitializer.rb.erb +18 -0
- data/lib/generators/trusty_cms/templates/routes.rb.erb +0 -0
- data/lib/generators/trusty_cms/trusty_cms_generator.rb +32 -0
- data/lib/trusty_cms.rb +1 -1
- data/lib/trusty_cms/setup.rb +7 -7
- data/trusty_cms.gemspec +4 -4
- data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/base.rb +195 -0
- data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/check_box.rb +65 -0
- data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/checkable.rb +18 -0
- data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/collection_check_boxes.rb +35 -0
- data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/collection_helpers.rb +118 -0
- data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/collection_radio_buttons.rb +30 -0
- data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/collection_select.rb +30 -0
- data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/color_field.rb +26 -0
- data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/date_field.rb +14 -0
- data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/date_select.rb +73 -0
- data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/datetime_field.rb +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/datetime_local_field.rb +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/datetime_select.rb +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/email_field.rb +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/file_field.rb +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/grouped_collection_select.rb +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/hidden_field.rb +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/label.rb +80 -0
- data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/month_field.rb +14 -0
- data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/number_field.rb +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/password_field.rb +14 -0
- data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/placeholderable.rb +24 -0
- data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/radio_button.rb +32 -0
- data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/range_field.rb +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/search_field.rb +27 -0
- data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/select.rb +42 -0
- data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/tel_field.rb +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/text_area.rb +24 -0
- data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/text_field.rb +33 -0
- data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/time_field.rb +14 -0
- data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/time_select.rb +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/time_zone_select.rb +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/translator.rb +39 -0
- data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/url_field.rb +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/week_field.rb +14 -0
- data/yarn.lock +3 -3
- metadata +296 -71
- data/spec/spec/dummy/node_modules/yaml/browser/dist/tags/core.js +0 -126
- data/spec/spec/dummy/node_modules/yaml/browser/dist/tags/failsafe/index.js +0 -4
- data/spec/spec/dummy/node_modules/yaml/browser/dist/tags/failsafe/map.js +0 -56
- data/spec/spec/dummy/node_modules/yaml/browser/dist/tags/failsafe/seq.js +0 -43
- data/spec/spec/dummy/node_modules/yaml/browser/dist/tags/failsafe/string.js +0 -28
- data/spec/spec/dummy/node_modules/yaml/browser/dist/tags/index.js +0 -36
- data/spec/spec/dummy/node_modules/yaml/browser/dist/tags/json.js +0 -76
- data/spec/spec/dummy/node_modules/yaml/browser/dist/tags/options.js +0 -23
- data/spec/spec/dummy/node_modules/yaml/browser/dist/tags/yaml-1.1/binary.js +0 -87
- data/spec/spec/dummy/node_modules/yaml/browser/dist/tags/yaml-1.1/index.js +0 -157
- data/spec/spec/dummy/node_modules/yaml/browser/dist/tags/yaml-1.1/omap.js +0 -142
- data/spec/spec/dummy/node_modules/yaml/browser/dist/tags/yaml-1.1/pairs.js +0 -81
- data/spec/spec/dummy/node_modules/yaml/browser/dist/tags/yaml-1.1/set.js +0 -114
- data/spec/spec/dummy/node_modules/yaml/browser/dist/tags/yaml-1.1/timestamp.js +0 -97
- data/spec/spec/dummy/node_modules/yaml/dist/tags/core.js +0 -114
- data/spec/spec/dummy/node_modules/yaml/dist/tags/failsafe/index.js +0 -17
- data/spec/spec/dummy/node_modules/yaml/dist/tags/failsafe/map.js +0 -37
- data/spec/spec/dummy/node_modules/yaml/dist/tags/failsafe/seq.js +0 -34
- data/spec/spec/dummy/node_modules/yaml/dist/tags/failsafe/string.js +0 -40
- data/spec/spec/dummy/node_modules/yaml/dist/tags/index.js +0 -62
- data/spec/spec/dummy/node_modules/yaml/dist/tags/json.js +0 -60
- data/spec/spec/dummy/node_modules/yaml/dist/tags/options.js +0 -35
- data/spec/spec/dummy/node_modules/yaml/dist/tags/yaml-1.1/binary.js +0 -97
- data/spec/spec/dummy/node_modules/yaml/dist/tags/yaml-1.1/index.js +0 -131
- data/spec/spec/dummy/node_modules/yaml/dist/tags/yaml-1.1/omap.js +0 -105
- data/spec/spec/dummy/node_modules/yaml/dist/tags/yaml-1.1/pairs.js +0 -80
- data/spec/spec/dummy/node_modules/yaml/dist/tags/yaml-1.1/set.js +0 -91
- data/spec/spec/dummy/node_modules/yaml/dist/tags/yaml-1.1/timestamp.js +0 -93
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 299f6d4ea4f8354fc95eca5057d85ef469ecf514a9b9caccea05498f3ee7b3db
|
4
|
+
data.tar.gz: 9c635ae0f8cb03af87e45321f6f139cdab67abea7ad57d5bb304c3bbb5426204
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 41043b6945a24d689aefc362b5eed571b0cb378aaffb9b3dcf67f4570fba089b86062341998e7d54ecc53391d74cab0f7e76af6de131a9743976227f47b5c5a8
|
7
|
+
data.tar.gz: cc491f12651bc85e7fddc1612319882c5b9982fe4dc4bce72d5b4325cbfbf597786a2e06ab8cabbbb1bf2453a515590ec62ddd719e76a4efae1984d6bb77ffa1
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
trusty-cms (4.
|
4
|
+
trusty-cms (4.2)
|
5
5
|
RedCloth (= 4.3.2)
|
6
6
|
acts_as_list (>= 0.9.5, < 1.1.0)
|
7
7
|
acts_as_tree (>= 2.6.1, < 2.9.0)
|
@@ -9,8 +9,8 @@ PATH
|
|
9
9
|
delocalize (>= 0.2, < 2.0)
|
10
10
|
devise
|
11
11
|
execjs (~> 2.7)
|
12
|
-
haml
|
13
|
-
haml-rails
|
12
|
+
haml
|
13
|
+
haml-rails
|
14
14
|
highline (>= 1.7.8, < 2.1.0)
|
15
15
|
kraken-io
|
16
16
|
mini_racer
|
@@ -20,7 +20,7 @@ PATH
|
|
20
20
|
rack-cache (~> 1.7)
|
21
21
|
radius (~> 0.7)
|
22
22
|
rails
|
23
|
-
rake (<
|
23
|
+
rake (< 14.0)
|
24
24
|
rdoc (>= 5.1, < 7.0)
|
25
25
|
roadie-rails
|
26
26
|
sassc-rails
|
@@ -34,71 +34,75 @@ GEM
|
|
34
34
|
remote: https://rubygems.org/
|
35
35
|
specs:
|
36
36
|
RedCloth (4.3.2)
|
37
|
-
actioncable (6.
|
38
|
-
actionpack (= 6.
|
37
|
+
actioncable (6.1.1)
|
38
|
+
actionpack (= 6.1.1)
|
39
|
+
activesupport (= 6.1.1)
|
39
40
|
nio4r (~> 2.0)
|
40
41
|
websocket-driver (>= 0.6.1)
|
41
|
-
actionmailbox (6.
|
42
|
-
actionpack (= 6.
|
43
|
-
activejob (= 6.
|
44
|
-
activerecord (= 6.
|
45
|
-
activestorage (= 6.
|
46
|
-
activesupport (= 6.
|
42
|
+
actionmailbox (6.1.1)
|
43
|
+
actionpack (= 6.1.1)
|
44
|
+
activejob (= 6.1.1)
|
45
|
+
activerecord (= 6.1.1)
|
46
|
+
activestorage (= 6.1.1)
|
47
|
+
activesupport (= 6.1.1)
|
47
48
|
mail (>= 2.7.1)
|
48
|
-
actionmailer (6.
|
49
|
-
actionpack (= 6.
|
50
|
-
actionview (= 6.
|
51
|
-
activejob (= 6.
|
49
|
+
actionmailer (6.1.1)
|
50
|
+
actionpack (= 6.1.1)
|
51
|
+
actionview (= 6.1.1)
|
52
|
+
activejob (= 6.1.1)
|
53
|
+
activesupport (= 6.1.1)
|
52
54
|
mail (~> 2.5, >= 2.5.4)
|
53
55
|
rails-dom-testing (~> 2.0)
|
54
|
-
actionpack (6.
|
55
|
-
actionview (= 6.
|
56
|
-
activesupport (= 6.
|
57
|
-
rack (~> 2.0, >= 2.0.
|
56
|
+
actionpack (6.1.1)
|
57
|
+
actionview (= 6.1.1)
|
58
|
+
activesupport (= 6.1.1)
|
59
|
+
rack (~> 2.0, >= 2.0.9)
|
58
60
|
rack-test (>= 0.6.3)
|
59
61
|
rails-dom-testing (~> 2.0)
|
60
62
|
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
61
|
-
actiontext (6.
|
62
|
-
actionpack (= 6.
|
63
|
-
activerecord (= 6.
|
64
|
-
activestorage (= 6.
|
65
|
-
activesupport (= 6.
|
63
|
+
actiontext (6.1.1)
|
64
|
+
actionpack (= 6.1.1)
|
65
|
+
activerecord (= 6.1.1)
|
66
|
+
activestorage (= 6.1.1)
|
67
|
+
activesupport (= 6.1.1)
|
66
68
|
nokogiri (>= 1.8.5)
|
67
|
-
actionview (6.
|
68
|
-
activesupport (= 6.
|
69
|
+
actionview (6.1.1)
|
70
|
+
activesupport (= 6.1.1)
|
69
71
|
builder (~> 3.1)
|
70
72
|
erubi (~> 1.4)
|
71
73
|
rails-dom-testing (~> 2.0)
|
72
74
|
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
73
|
-
activejob (6.
|
74
|
-
activesupport (= 6.
|
75
|
+
activejob (6.1.1)
|
76
|
+
activesupport (= 6.1.1)
|
75
77
|
globalid (>= 0.3.6)
|
76
|
-
activemodel (6.
|
77
|
-
activesupport (= 6.
|
78
|
-
activerecord (6.
|
79
|
-
activemodel (= 6.
|
80
|
-
activesupport (= 6.
|
81
|
-
activestorage (6.
|
82
|
-
actionpack (= 6.
|
83
|
-
activejob (= 6.
|
84
|
-
activerecord (= 6.
|
78
|
+
activemodel (6.1.1)
|
79
|
+
activesupport (= 6.1.1)
|
80
|
+
activerecord (6.1.1)
|
81
|
+
activemodel (= 6.1.1)
|
82
|
+
activesupport (= 6.1.1)
|
83
|
+
activestorage (6.1.1)
|
84
|
+
actionpack (= 6.1.1)
|
85
|
+
activejob (= 6.1.1)
|
86
|
+
activerecord (= 6.1.1)
|
87
|
+
activesupport (= 6.1.1)
|
85
88
|
marcel (~> 0.3.1)
|
86
|
-
|
89
|
+
mimemagic (~> 0.3.2)
|
90
|
+
activesupport (6.1.1)
|
87
91
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
88
|
-
i18n (>=
|
89
|
-
minitest (
|
90
|
-
tzinfo (~>
|
91
|
-
zeitwerk (~> 2.
|
92
|
-
acts_as_list (1.0.
|
92
|
+
i18n (>= 1.6, < 2)
|
93
|
+
minitest (>= 5.1)
|
94
|
+
tzinfo (~> 2.0)
|
95
|
+
zeitwerk (~> 2.3)
|
96
|
+
acts_as_list (1.0.3)
|
93
97
|
activerecord (>= 4.2)
|
94
98
|
acts_as_tree (2.8.0)
|
95
99
|
activerecord (>= 3.0.0)
|
96
100
|
addressable (2.7.0)
|
97
101
|
public_suffix (>= 2.0.2, < 5.0)
|
98
|
-
bcrypt (3.1.
|
102
|
+
bcrypt (3.1.16)
|
99
103
|
builder (3.2.4)
|
100
104
|
byebug (11.1.3)
|
101
|
-
capybara (3.
|
105
|
+
capybara (3.34.0)
|
102
106
|
addressable
|
103
107
|
mini_mime (>= 0.1.3)
|
104
108
|
nokogiri (~> 1.8)
|
@@ -114,22 +118,22 @@ GEM
|
|
114
118
|
cocaine (0.6.0)
|
115
119
|
terrapin (= 0.6.0)
|
116
120
|
coderay (1.1.3)
|
117
|
-
concurrent-ruby (1.1.
|
121
|
+
concurrent-ruby (1.1.7)
|
118
122
|
crass (1.0.6)
|
119
123
|
css_parser (1.7.1)
|
120
124
|
addressable
|
121
125
|
database_cleaner (1.8.5)
|
122
126
|
delocalize (1.2.0)
|
123
127
|
rails (>= 2)
|
124
|
-
devise (4.7.
|
128
|
+
devise (4.7.3)
|
125
129
|
bcrypt (~> 3.0)
|
126
130
|
orm_adapter (~> 0.1)
|
127
131
|
railties (>= 4.1.0)
|
128
132
|
responders
|
129
133
|
warden (~> 1.2.3)
|
130
|
-
diff-lcs (1.
|
131
|
-
docile (1.3.
|
132
|
-
erubi (1.
|
134
|
+
diff-lcs (1.4.4)
|
135
|
+
docile (1.3.4)
|
136
|
+
erubi (1.10.0)
|
133
137
|
erubis (2.7.0)
|
134
138
|
execjs (2.7.0)
|
135
139
|
factory_bot (6.1.0)
|
@@ -137,18 +141,18 @@ GEM
|
|
137
141
|
factory_bot_rails (6.1.0)
|
138
142
|
factory_bot (~> 6.1.0)
|
139
143
|
railties (>= 5.0.0)
|
140
|
-
ffi (1.
|
144
|
+
ffi (1.14.2)
|
141
145
|
globalid (0.4.2)
|
142
146
|
activesupport (>= 4.2.0)
|
143
|
-
haml (5.1
|
147
|
+
haml (5.2.1)
|
144
148
|
temple (>= 0.8.0)
|
145
149
|
tilt
|
146
|
-
haml-rails (
|
147
|
-
actionpack (>=
|
148
|
-
activesupport (>=
|
150
|
+
haml-rails (2.0.1)
|
151
|
+
actionpack (>= 5.1)
|
152
|
+
activesupport (>= 5.1)
|
149
153
|
haml (>= 4.0.6, < 6.0)
|
150
154
|
html2haml (>= 1.0.1)
|
151
|
-
railties (>=
|
155
|
+
railties (>= 5.1)
|
152
156
|
highline (2.0.3)
|
153
157
|
html2haml (2.2.0)
|
154
158
|
erubis (~> 2.7.0)
|
@@ -158,9 +162,9 @@ GEM
|
|
158
162
|
httparty (0.18.1)
|
159
163
|
mime-types (~> 3.0)
|
160
164
|
multi_xml (>= 0.5.2)
|
161
|
-
i18n (1.8.
|
165
|
+
i18n (1.8.7)
|
162
166
|
concurrent-ruby (~> 1.0)
|
163
|
-
json (2.
|
167
|
+
json (2.5.1)
|
164
168
|
kraken-io (0.1.3)
|
165
169
|
activesupport
|
166
170
|
httparty
|
@@ -169,7 +173,7 @@ GEM
|
|
169
173
|
launchy (2.5.0)
|
170
174
|
addressable (~> 2.7)
|
171
175
|
libv8 (8.4.255.0)
|
172
|
-
loofah (2.
|
176
|
+
loofah (2.8.0)
|
173
177
|
crass (~> 1.0.2)
|
174
178
|
nokogiri (>= 1.5.9)
|
175
179
|
mail (2.7.1)
|
@@ -179,19 +183,20 @@ GEM
|
|
179
183
|
method_source (1.0.0)
|
180
184
|
mime-types (3.3.1)
|
181
185
|
mime-types-data (~> 3.2015)
|
182
|
-
mime-types-data (3.2020.
|
186
|
+
mime-types-data (3.2020.1104)
|
183
187
|
mimemagic (0.3.5)
|
184
188
|
mini_mime (1.0.2)
|
185
|
-
mini_portile2 (2.
|
189
|
+
mini_portile2 (2.5.0)
|
186
190
|
mini_racer (0.3.1)
|
187
191
|
libv8 (~> 8.4.255)
|
188
|
-
minitest (5.14.
|
192
|
+
minitest (5.14.3)
|
189
193
|
multi_xml (0.6.0)
|
190
194
|
multipart-post (2.1.1)
|
191
195
|
mysql2 (0.5.3)
|
192
|
-
nio4r (2.5.
|
193
|
-
nokogiri (1.
|
194
|
-
mini_portile2 (~> 2.
|
196
|
+
nio4r (2.5.4)
|
197
|
+
nokogiri (1.11.1)
|
198
|
+
mini_portile2 (~> 2.5.0)
|
199
|
+
racc (~> 1.4)
|
195
200
|
orm_adapter (0.5.0)
|
196
201
|
paperclip (6.1.0)
|
197
202
|
activemodel (>= 4.2.0)
|
@@ -209,27 +214,28 @@ GEM
|
|
209
214
|
pry-byebug (3.9.0)
|
210
215
|
byebug (~> 11.0)
|
211
216
|
pry (~> 0.13.0)
|
212
|
-
public_suffix (4.0.
|
217
|
+
public_suffix (4.0.6)
|
218
|
+
racc (1.5.2)
|
213
219
|
rack (2.2.3)
|
214
|
-
rack-cache (1.12.
|
220
|
+
rack-cache (1.12.1)
|
215
221
|
rack (>= 0.4)
|
216
222
|
rack-test (1.1.0)
|
217
223
|
rack (>= 1.0, < 3)
|
218
224
|
radius (0.7.5)
|
219
|
-
rails (6.
|
220
|
-
actioncable (= 6.
|
221
|
-
actionmailbox (= 6.
|
222
|
-
actionmailer (= 6.
|
223
|
-
actionpack (= 6.
|
224
|
-
actiontext (= 6.
|
225
|
-
actionview (= 6.
|
226
|
-
activejob (= 6.
|
227
|
-
activemodel (= 6.
|
228
|
-
activerecord (= 6.
|
229
|
-
activestorage (= 6.
|
230
|
-
activesupport (= 6.
|
231
|
-
bundler (>= 1.
|
232
|
-
railties (= 6.
|
225
|
+
rails (6.1.1)
|
226
|
+
actioncable (= 6.1.1)
|
227
|
+
actionmailbox (= 6.1.1)
|
228
|
+
actionmailer (= 6.1.1)
|
229
|
+
actionpack (= 6.1.1)
|
230
|
+
actiontext (= 6.1.1)
|
231
|
+
actionview (= 6.1.1)
|
232
|
+
activejob (= 6.1.1)
|
233
|
+
activemodel (= 6.1.1)
|
234
|
+
activerecord (= 6.1.1)
|
235
|
+
activestorage (= 6.1.1)
|
236
|
+
activesupport (= 6.1.1)
|
237
|
+
bundler (>= 1.15.0)
|
238
|
+
railties (= 6.1.1)
|
233
239
|
sprockets-rails (>= 2.0.0)
|
234
240
|
rails-dom-testing (2.0.3)
|
235
241
|
activesupport (>= 4.2.0)
|
@@ -238,42 +244,42 @@ GEM
|
|
238
244
|
loofah (~> 2.3)
|
239
245
|
rails-observers (0.1.5)
|
240
246
|
activemodel (>= 4.0)
|
241
|
-
railties (6.
|
242
|
-
actionpack (= 6.
|
243
|
-
activesupport (= 6.
|
247
|
+
railties (6.1.1)
|
248
|
+
actionpack (= 6.1.1)
|
249
|
+
activesupport (= 6.1.1)
|
244
250
|
method_source
|
245
251
|
rake (>= 0.8.7)
|
246
|
-
thor (
|
247
|
-
rake (
|
248
|
-
rdoc (6.
|
249
|
-
regexp_parser (1.
|
252
|
+
thor (~> 1.0)
|
253
|
+
rake (13.0.3)
|
254
|
+
rdoc (6.3.0)
|
255
|
+
regexp_parser (1.8.2)
|
250
256
|
responders (3.0.1)
|
251
257
|
actionpack (>= 5.0)
|
252
258
|
railties (>= 5.0)
|
253
259
|
roadie (4.0.0)
|
254
260
|
css_parser (~> 1.4)
|
255
261
|
nokogiri (~> 1.8)
|
256
|
-
roadie-rails (2.
|
257
|
-
railties (>= 5.1, < 6.
|
262
|
+
roadie-rails (2.2.0)
|
263
|
+
railties (>= 5.1, < 6.2)
|
258
264
|
roadie (>= 3.1, < 5.0)
|
259
|
-
rspec-core (3.
|
260
|
-
rspec-support (~> 3.
|
261
|
-
rspec-expectations (3.
|
265
|
+
rspec-core (3.10.1)
|
266
|
+
rspec-support (~> 3.10.0)
|
267
|
+
rspec-expectations (3.10.1)
|
262
268
|
diff-lcs (>= 1.2.0, < 2.0)
|
263
|
-
rspec-support (~> 3.
|
264
|
-
rspec-mocks (3.
|
269
|
+
rspec-support (~> 3.10.0)
|
270
|
+
rspec-mocks (3.10.1)
|
265
271
|
diff-lcs (>= 1.2.0, < 2.0)
|
266
|
-
rspec-support (~> 3.
|
267
|
-
rspec-rails (4.0.
|
272
|
+
rspec-support (~> 3.10.0)
|
273
|
+
rspec-rails (4.0.2)
|
268
274
|
actionpack (>= 4.2)
|
269
275
|
activesupport (>= 4.2)
|
270
276
|
railties (>= 4.2)
|
271
|
-
rspec-core (~> 3.
|
272
|
-
rspec-expectations (~> 3.
|
273
|
-
rspec-mocks (~> 3.
|
274
|
-
rspec-support (~> 3.
|
275
|
-
rspec-support (3.
|
276
|
-
ruby_parser (3.
|
277
|
+
rspec-core (~> 3.10)
|
278
|
+
rspec-expectations (~> 3.10)
|
279
|
+
rspec-mocks (~> 3.10)
|
280
|
+
rspec-support (~> 3.10)
|
281
|
+
rspec-support (3.10.1)
|
282
|
+
ruby_parser (3.15.1)
|
277
283
|
sexp_processor (~> 4.9)
|
278
284
|
sassc (2.4.0)
|
279
285
|
ffi (~> 1.9)
|
@@ -283,15 +289,17 @@ GEM
|
|
283
289
|
sprockets (> 3.0)
|
284
290
|
sprockets-rails
|
285
291
|
tilt
|
286
|
-
sexp_processor (4.15.
|
287
|
-
simplecov (0.
|
292
|
+
sexp_processor (4.15.2)
|
293
|
+
simplecov (0.21.2)
|
288
294
|
docile (~> 1.1)
|
289
295
|
simplecov-html (~> 0.11)
|
290
|
-
|
296
|
+
simplecov_json_formatter (~> 0.1)
|
297
|
+
simplecov-html (0.12.3)
|
298
|
+
simplecov_json_formatter (0.1.2)
|
291
299
|
sprockets (4.0.2)
|
292
300
|
concurrent-ruby (~> 1.0)
|
293
301
|
rack (> 1, < 3)
|
294
|
-
sprockets-rails (3.2.
|
302
|
+
sprockets-rails (3.2.2)
|
295
303
|
actionpack (>= 4.0)
|
296
304
|
activesupport (>= 4.0)
|
297
305
|
sprockets (>= 3.0.0)
|
@@ -300,24 +308,23 @@ GEM
|
|
300
308
|
terrapin (0.6.0)
|
301
309
|
climate_control (>= 0.0.3, < 1.0)
|
302
310
|
thor (1.0.1)
|
303
|
-
thread_safe (0.3.6)
|
304
311
|
tilt (2.0.10)
|
305
312
|
trustygems (0.2.1)
|
306
313
|
rake
|
307
|
-
tzinfo (
|
308
|
-
|
314
|
+
tzinfo (2.0.4)
|
315
|
+
concurrent-ruby (~> 1.0)
|
309
316
|
uglifier (4.2.0)
|
310
317
|
execjs (>= 0.3.0, < 3)
|
311
318
|
uuidtools (2.2.0)
|
312
|
-
warden (1.2.
|
313
|
-
rack (>= 2.0.
|
314
|
-
websocket-driver (0.7.
|
319
|
+
warden (1.2.9)
|
320
|
+
rack (>= 2.0.9)
|
321
|
+
websocket-driver (0.7.3)
|
315
322
|
websocket-extensions (>= 0.1.0)
|
316
323
|
websocket-extensions (0.1.5)
|
317
324
|
will_paginate (3.3.0)
|
318
325
|
xpath (3.2.0)
|
319
326
|
nokogiri (~> 1.8)
|
320
|
-
zeitwerk (2.4.
|
327
|
+
zeitwerk (2.4.2)
|
321
328
|
|
322
329
|
PLATFORMS
|
323
330
|
ruby
|
data/INSTALL.md
CHANGED
@@ -15,4 +15,6 @@ From within the directory containing your TrustyCMS instance:
|
|
15
15
|
|
16
16
|
5. add config.extensions = [ :snippets, :clipped, :layouts, :multi_site ] to enable them in application.rb
|
17
17
|
|
18
|
+
7. Add utf8 encoding to your db.yml
|
19
|
+
|
18
20
|
6. Run `bundle exec rake db:setup`, `bundle exec rake trusty_cms_engine:install:migrations`, then `bundle exec rake db:bootstrap`.
|
@@ -14,6 +14,9 @@
|
|
14
14
|
%fieldset
|
15
15
|
%label.filename
|
16
16
|
= "#{t("clipped_extension.filename")}: #{@asset.asset_file_name unless @asset.new_record?}"
|
17
|
+
%br
|
18
|
+
%label.url
|
19
|
+
= "#{t("clipped_extension.asset_url")}: #{image_path @asset.thumbnail unless @asset.new_record?}"
|
17
20
|
%p.asset
|
18
21
|
- display_size = TrustyCms::config['assets.display_size'] || 'normal'
|
19
22
|
= image_tag @asset.thumbnail(display_size.to_sym), :class => 'preview'
|
data/config/locales/en.yml
CHANGED
@@ -65,6 +65,7 @@ en:
|
|
65
65
|
asset_errors: 'Sorry. {{errors}}'
|
66
66
|
asset_page_attachment_note: 'Attached assets. These can be inserted with drag and drop or shown with the <code><r:assets:each /></code> tag.'
|
67
67
|
asset_note: 'Attached assets. '
|
68
|
+
asset_url: 'Asset URL'
|
68
69
|
assets: 'Assets'
|
69
70
|
assets_explanation: 'Assets and images can be uploaded and then attached or inserted into pages, snippets and layouts. Click on an asset name above to edit it or click <code>Remove</code> to delete it.'
|
70
71
|
assets_title: 'Assets'
|