trusty-cms 4.1.4 → 4.1.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/Gemfile.lock +115 -111
- data/INSTALL.md +2 -0
- data/README.md +1 -1
- data/app/assets/javascripts/admin/assets.js +1 -1
- 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 +3 -3
- data/yarn.lock +6 -6
- metadata +7635 -70
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4fb05c8f28c0097f216371ee9b64551430ef41f134939c45db99af078f16a909
|
4
|
+
data.tar.gz: a774319265c2377af1242e05337c59e5310188f7259330adcf56e138407c9a32
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b77c5e66a0793e654d506cf7b07fda3e04b90869e515e181e6a96c42659e65876d2dfe0d436f8ef6aa8bd1a14cbfa1136f0a21a92a99912edaefb8d545c76885
|
7
|
+
data.tar.gz: 0eee0cbdcc348c0ea3a5c9167c7622eba56a88ebf02d3430ba31b92020e780da3889f01179bcc07ff235f8fa2ea6a47d2ffd99189c4a431b779d69866a420de5
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
trusty-cms (4.1.
|
4
|
+
trusty-cms (4.1.9)
|
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)
|
@@ -20,85 +20,85 @@ 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
|
27
27
|
stringex (>= 2.7.1, < 2.9.0)
|
28
28
|
tzinfo (>= 1.2.3, < 2.1.0)
|
29
29
|
uglifier (>= 3.2, < 5.0)
|
30
|
-
uuidtools (
|
30
|
+
uuidtools (>= 2.1.5, < 2.3.0)
|
31
31
|
will_paginate (~> 3.0)
|
32
32
|
|
33
33
|
GEM
|
34
34
|
remote: https://rubygems.org/
|
35
35
|
specs:
|
36
36
|
RedCloth (4.3.2)
|
37
|
-
actioncable (6.0.3.
|
38
|
-
actionpack (= 6.0.3.
|
37
|
+
actioncable (6.0.3.4)
|
38
|
+
actionpack (= 6.0.3.4)
|
39
39
|
nio4r (~> 2.0)
|
40
40
|
websocket-driver (>= 0.6.1)
|
41
|
-
actionmailbox (6.0.3.
|
42
|
-
actionpack (= 6.0.3.
|
43
|
-
activejob (= 6.0.3.
|
44
|
-
activerecord (= 6.0.3.
|
45
|
-
activestorage (= 6.0.3.
|
46
|
-
activesupport (= 6.0.3.
|
41
|
+
actionmailbox (6.0.3.4)
|
42
|
+
actionpack (= 6.0.3.4)
|
43
|
+
activejob (= 6.0.3.4)
|
44
|
+
activerecord (= 6.0.3.4)
|
45
|
+
activestorage (= 6.0.3.4)
|
46
|
+
activesupport (= 6.0.3.4)
|
47
47
|
mail (>= 2.7.1)
|
48
|
-
actionmailer (6.0.3.
|
49
|
-
actionpack (= 6.0.3.
|
50
|
-
actionview (= 6.0.3.
|
51
|
-
activejob (= 6.0.3.
|
48
|
+
actionmailer (6.0.3.4)
|
49
|
+
actionpack (= 6.0.3.4)
|
50
|
+
actionview (= 6.0.3.4)
|
51
|
+
activejob (= 6.0.3.4)
|
52
52
|
mail (~> 2.5, >= 2.5.4)
|
53
53
|
rails-dom-testing (~> 2.0)
|
54
|
-
actionpack (6.0.3.
|
55
|
-
actionview (= 6.0.3.
|
56
|
-
activesupport (= 6.0.3.
|
54
|
+
actionpack (6.0.3.4)
|
55
|
+
actionview (= 6.0.3.4)
|
56
|
+
activesupport (= 6.0.3.4)
|
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.3.
|
62
|
-
actionpack (= 6.0.3.
|
63
|
-
activerecord (= 6.0.3.
|
64
|
-
activestorage (= 6.0.3.
|
65
|
-
activesupport (= 6.0.3.
|
61
|
+
actiontext (6.0.3.4)
|
62
|
+
actionpack (= 6.0.3.4)
|
63
|
+
activerecord (= 6.0.3.4)
|
64
|
+
activestorage (= 6.0.3.4)
|
65
|
+
activesupport (= 6.0.3.4)
|
66
66
|
nokogiri (>= 1.8.5)
|
67
|
-
actionview (6.0.3.
|
68
|
-
activesupport (= 6.0.3.
|
67
|
+
actionview (6.0.3.4)
|
68
|
+
activesupport (= 6.0.3.4)
|
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.3.
|
74
|
-
activesupport (= 6.0.3.
|
73
|
+
activejob (6.0.3.4)
|
74
|
+
activesupport (= 6.0.3.4)
|
75
75
|
globalid (>= 0.3.6)
|
76
|
-
activemodel (6.0.3.
|
77
|
-
activesupport (= 6.0.3.
|
78
|
-
activerecord (6.0.3.
|
79
|
-
activemodel (= 6.0.3.
|
80
|
-
activesupport (= 6.0.3.
|
81
|
-
activestorage (6.0.3.
|
82
|
-
actionpack (= 6.0.3.
|
83
|
-
activejob (= 6.0.3.
|
84
|
-
activerecord (= 6.0.3.
|
76
|
+
activemodel (6.0.3.4)
|
77
|
+
activesupport (= 6.0.3.4)
|
78
|
+
activerecord (6.0.3.4)
|
79
|
+
activemodel (= 6.0.3.4)
|
80
|
+
activesupport (= 6.0.3.4)
|
81
|
+
activestorage (6.0.3.4)
|
82
|
+
actionpack (= 6.0.3.4)
|
83
|
+
activejob (= 6.0.3.4)
|
84
|
+
activerecord (= 6.0.3.4)
|
85
85
|
marcel (~> 0.3.1)
|
86
|
-
activesupport (6.0.3.
|
86
|
+
activesupport (6.0.3.4)
|
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
91
|
zeitwerk (~> 2.2, >= 2.2.2)
|
92
|
-
acts_as_list (1.0.
|
92
|
+
acts_as_list (1.0.3)
|
93
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
|
-
bcrypt (3.1.
|
98
|
+
bcrypt (3.1.16)
|
99
99
|
builder (3.2.4)
|
100
100
|
byebug (11.1.3)
|
101
|
-
capybara (3.
|
101
|
+
capybara (3.34.0)
|
102
102
|
addressable
|
103
103
|
mini_mime (>= 0.1.3)
|
104
104
|
nokogiri (~> 1.8)
|
@@ -114,33 +114,33 @@ GEM
|
|
114
114
|
cocaine (0.6.0)
|
115
115
|
terrapin (= 0.6.0)
|
116
116
|
coderay (1.1.3)
|
117
|
-
concurrent-ruby (1.1.
|
117
|
+
concurrent-ruby (1.1.7)
|
118
118
|
crass (1.0.6)
|
119
119
|
css_parser (1.7.1)
|
120
120
|
addressable
|
121
121
|
database_cleaner (1.8.5)
|
122
122
|
delocalize (1.2.0)
|
123
123
|
rails (>= 2)
|
124
|
-
devise (4.7.
|
124
|
+
devise (4.7.3)
|
125
125
|
bcrypt (~> 3.0)
|
126
126
|
orm_adapter (~> 0.1)
|
127
127
|
railties (>= 4.1.0)
|
128
128
|
responders
|
129
129
|
warden (~> 1.2.3)
|
130
|
-
diff-lcs (1.
|
131
|
-
docile (1.3.
|
132
|
-
erubi (1.
|
130
|
+
diff-lcs (1.4.4)
|
131
|
+
docile (1.3.4)
|
132
|
+
erubi (1.10.0)
|
133
133
|
erubis (2.7.0)
|
134
134
|
execjs (2.7.0)
|
135
|
-
factory_bot (
|
136
|
-
activesupport (>=
|
137
|
-
factory_bot_rails (
|
138
|
-
factory_bot (~>
|
139
|
-
railties (>=
|
140
|
-
ffi (1.
|
135
|
+
factory_bot (6.1.0)
|
136
|
+
activesupport (>= 5.0.0)
|
137
|
+
factory_bot_rails (6.1.0)
|
138
|
+
factory_bot (~> 6.1.0)
|
139
|
+
railties (>= 5.0.0)
|
140
|
+
ffi (1.14.2)
|
141
141
|
globalid (0.4.2)
|
142
142
|
activesupport (>= 4.2.0)
|
143
|
-
haml (5.1
|
143
|
+
haml (5.2.1)
|
144
144
|
temple (>= 0.8.0)
|
145
145
|
tilt
|
146
146
|
haml-rails (1.0.0)
|
@@ -158,9 +158,9 @@ GEM
|
|
158
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.7)
|
162
162
|
concurrent-ruby (~> 1.0)
|
163
|
-
json (2.
|
163
|
+
json (2.5.1)
|
164
164
|
kraken-io (0.1.3)
|
165
165
|
activesupport
|
166
166
|
httparty
|
@@ -168,8 +168,8 @@ GEM
|
|
168
168
|
multipart-post
|
169
169
|
launchy (2.5.0)
|
170
170
|
addressable (~> 2.7)
|
171
|
-
libv8 (
|
172
|
-
loofah (2.
|
171
|
+
libv8 (8.4.255.0)
|
172
|
+
loofah (2.8.0)
|
173
173
|
crass (~> 1.0.2)
|
174
174
|
nokogiri (>= 1.5.9)
|
175
175
|
mail (2.7.1)
|
@@ -179,19 +179,20 @@ GEM
|
|
179
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.2020.
|
182
|
+
mime-types-data (3.2020.1104)
|
183
183
|
mimemagic (0.3.5)
|
184
184
|
mini_mime (1.0.2)
|
185
|
-
mini_portile2 (2.
|
186
|
-
mini_racer (0.
|
187
|
-
libv8 (
|
188
|
-
minitest (5.14.
|
185
|
+
mini_portile2 (2.5.0)
|
186
|
+
mini_racer (0.3.1)
|
187
|
+
libv8 (~> 8.4.255)
|
188
|
+
minitest (5.14.3)
|
189
189
|
multi_xml (0.6.0)
|
190
190
|
multipart-post (2.1.1)
|
191
191
|
mysql2 (0.5.3)
|
192
|
-
nio4r (2.5.
|
193
|
-
nokogiri (1.
|
194
|
-
mini_portile2 (~> 2.
|
192
|
+
nio4r (2.5.4)
|
193
|
+
nokogiri (1.11.1)
|
194
|
+
mini_portile2 (~> 2.5.0)
|
195
|
+
racc (~> 1.4)
|
195
196
|
orm_adapter (0.5.0)
|
196
197
|
paperclip (6.1.0)
|
197
198
|
activemodel (>= 4.2.0)
|
@@ -209,27 +210,28 @@ GEM
|
|
209
210
|
pry-byebug (3.9.0)
|
210
211
|
byebug (~> 11.0)
|
211
212
|
pry (~> 0.13.0)
|
212
|
-
public_suffix (4.0.
|
213
|
+
public_suffix (4.0.6)
|
214
|
+
racc (1.5.2)
|
213
215
|
rack (2.2.3)
|
214
|
-
rack-cache (1.12.
|
216
|
+
rack-cache (1.12.1)
|
215
217
|
rack (>= 0.4)
|
216
218
|
rack-test (1.1.0)
|
217
219
|
rack (>= 1.0, < 3)
|
218
220
|
radius (0.7.5)
|
219
|
-
rails (6.0.3.
|
220
|
-
actioncable (= 6.0.3.
|
221
|
-
actionmailbox (= 6.0.3.
|
222
|
-
actionmailer (= 6.0.3.
|
223
|
-
actionpack (= 6.0.3.
|
224
|
-
actiontext (= 6.0.3.
|
225
|
-
actionview (= 6.0.3.
|
226
|
-
activejob (= 6.0.3.
|
227
|
-
activemodel (= 6.0.3.
|
228
|
-
activerecord (= 6.0.3.
|
229
|
-
activestorage (= 6.0.3.
|
230
|
-
activesupport (= 6.0.3.
|
221
|
+
rails (6.0.3.4)
|
222
|
+
actioncable (= 6.0.3.4)
|
223
|
+
actionmailbox (= 6.0.3.4)
|
224
|
+
actionmailer (= 6.0.3.4)
|
225
|
+
actionpack (= 6.0.3.4)
|
226
|
+
actiontext (= 6.0.3.4)
|
227
|
+
actionview (= 6.0.3.4)
|
228
|
+
activejob (= 6.0.3.4)
|
229
|
+
activemodel (= 6.0.3.4)
|
230
|
+
activerecord (= 6.0.3.4)
|
231
|
+
activestorage (= 6.0.3.4)
|
232
|
+
activesupport (= 6.0.3.4)
|
231
233
|
bundler (>= 1.3.0)
|
232
|
-
railties (= 6.0.3.
|
234
|
+
railties (= 6.0.3.4)
|
233
235
|
sprockets-rails (>= 2.0.0)
|
234
236
|
rails-dom-testing (2.0.3)
|
235
237
|
activesupport (>= 4.2.0)
|
@@ -238,42 +240,42 @@ GEM
|
|
238
240
|
loofah (~> 2.3)
|
239
241
|
rails-observers (0.1.5)
|
240
242
|
activemodel (>= 4.0)
|
241
|
-
railties (6.0.3.
|
242
|
-
actionpack (= 6.0.3.
|
243
|
-
activesupport (= 6.0.3.
|
243
|
+
railties (6.0.3.4)
|
244
|
+
actionpack (= 6.0.3.4)
|
245
|
+
activesupport (= 6.0.3.4)
|
244
246
|
method_source
|
245
247
|
rake (>= 0.8.7)
|
246
248
|
thor (>= 0.20.3, < 2.0)
|
247
|
-
rake (
|
248
|
-
rdoc (6.
|
249
|
-
regexp_parser (1.
|
249
|
+
rake (13.0.3)
|
250
|
+
rdoc (6.3.0)
|
251
|
+
regexp_parser (1.8.2)
|
250
252
|
responders (3.0.1)
|
251
253
|
actionpack (>= 5.0)
|
252
254
|
railties (>= 5.0)
|
253
255
|
roadie (4.0.0)
|
254
256
|
css_parser (~> 1.4)
|
255
257
|
nokogiri (~> 1.8)
|
256
|
-
roadie-rails (2.
|
257
|
-
railties (>= 5.1, < 6.
|
258
|
+
roadie-rails (2.2.0)
|
259
|
+
railties (>= 5.1, < 6.2)
|
258
260
|
roadie (>= 3.1, < 5.0)
|
259
|
-
rspec-core (3.
|
260
|
-
rspec-support (~> 3.
|
261
|
-
rspec-expectations (3.
|
261
|
+
rspec-core (3.10.1)
|
262
|
+
rspec-support (~> 3.10.0)
|
263
|
+
rspec-expectations (3.10.1)
|
262
264
|
diff-lcs (>= 1.2.0, < 2.0)
|
263
|
-
rspec-support (~> 3.
|
264
|
-
rspec-mocks (3.
|
265
|
+
rspec-support (~> 3.10.0)
|
266
|
+
rspec-mocks (3.10.1)
|
265
267
|
diff-lcs (>= 1.2.0, < 2.0)
|
266
|
-
rspec-support (~> 3.
|
267
|
-
rspec-rails (4.0.
|
268
|
+
rspec-support (~> 3.10.0)
|
269
|
+
rspec-rails (4.0.2)
|
268
270
|
actionpack (>= 4.2)
|
269
271
|
activesupport (>= 4.2)
|
270
272
|
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.
|
273
|
+
rspec-core (~> 3.10)
|
274
|
+
rspec-expectations (~> 3.10)
|
275
|
+
rspec-mocks (~> 3.10)
|
276
|
+
rspec-support (~> 3.10)
|
277
|
+
rspec-support (3.10.1)
|
278
|
+
ruby_parser (3.15.1)
|
277
279
|
sexp_processor (~> 4.9)
|
278
280
|
sassc (2.4.0)
|
279
281
|
ffi (~> 1.9)
|
@@ -283,15 +285,17 @@ GEM
|
|
283
285
|
sprockets (> 3.0)
|
284
286
|
sprockets-rails
|
285
287
|
tilt
|
286
|
-
sexp_processor (4.15.
|
287
|
-
simplecov (0.
|
288
|
+
sexp_processor (4.15.2)
|
289
|
+
simplecov (0.21.2)
|
288
290
|
docile (~> 1.1)
|
289
291
|
simplecov-html (~> 0.11)
|
290
|
-
|
292
|
+
simplecov_json_formatter (~> 0.1)
|
293
|
+
simplecov-html (0.12.3)
|
294
|
+
simplecov_json_formatter (0.1.2)
|
291
295
|
sprockets (4.0.2)
|
292
296
|
concurrent-ruby (~> 1.0)
|
293
297
|
rack (> 1, < 3)
|
294
|
-
sprockets-rails (3.2.
|
298
|
+
sprockets-rails (3.2.2)
|
295
299
|
actionpack (>= 4.0)
|
296
300
|
activesupport (>= 4.0)
|
297
301
|
sprockets (>= 3.0.0)
|
@@ -304,20 +308,20 @@ GEM
|
|
304
308
|
tilt (2.0.10)
|
305
309
|
trustygems (0.2.1)
|
306
310
|
rake
|
307
|
-
tzinfo (1.2.
|
311
|
+
tzinfo (1.2.9)
|
308
312
|
thread_safe (~> 0.1)
|
309
313
|
uglifier (4.2.0)
|
310
314
|
execjs (>= 0.3.0, < 3)
|
311
|
-
uuidtools (2.
|
312
|
-
warden (1.2.
|
313
|
-
rack (>= 2.0.
|
314
|
-
websocket-driver (0.7.
|
315
|
+
uuidtools (2.2.0)
|
316
|
+
warden (1.2.9)
|
317
|
+
rack (>= 2.0.9)
|
318
|
+
websocket-driver (0.7.3)
|
315
319
|
websocket-extensions (>= 0.1.0)
|
316
320
|
websocket-extensions (0.1.5)
|
317
321
|
will_paginate (3.3.0)
|
318
322
|
xpath (3.2.0)
|
319
323
|
nokogiri (~> 1.8)
|
320
|
-
zeitwerk (2.
|
324
|
+
zeitwerk (2.4.2)
|
321
325
|
|
322
326
|
PLATFORMS
|
323
327
|
ruby
|
@@ -325,7 +329,7 @@ PLATFORMS
|
|
325
329
|
DEPENDENCIES
|
326
330
|
acts_as_list
|
327
331
|
database_cleaner
|
328
|
-
factory_bot_rails (=
|
332
|
+
factory_bot_rails (= 6.1.0)
|
329
333
|
launchy (~> 2.5.0)
|
330
334
|
mysql2
|
331
335
|
poltergeist (~> 1.18.1)
|
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`.
|
data/README.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
[![Gem Version](https://badge.fury.io/rb/trusty-cms.svg)](http://badge.fury.io/rb/trusty-cms)
|
4
4
|
|
5
|
-
TrustyCMS is a branch of Radiant CMS. Its goal is to pull the Radiant framework into Rails
|
5
|
+
TrustyCMS is a branch of Radiant CMS. Its goal is to pull the Radiant framework into Rails 6 with minimal changes to its infrastructure.
|
6
6
|
|
7
7
|
TrustyCMS is a no-fluff, open source content management system designed for
|
8
8
|
small teams. It is similar to Textpattern or MovableType, but is a general
|
@@ -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'
|