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.
Files changed (109) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/Gemfile.lock +115 -111
  4. data/INSTALL.md +2 -0
  5. data/README.md +1 -1
  6. data/app/assets/javascripts/admin/assets.js +1 -1
  7. data/app/views/admin/assets/edit.html.haml +3 -0
  8. data/config/environments/development.rb +2 -0
  9. data/config/locales/en.yml +1 -0
  10. data/lib/generators/extension/USAGE +30 -0
  11. data/lib/generators/extension/extension_generator.rb +97 -0
  12. data/lib/generators/extension/templates/README.md +6 -0
  13. data/lib/generators/extension/templates/RSpecRakefile +109 -0
  14. data/lib/generators/extension/templates/Rakefile +25 -0
  15. data/lib/generators/extension/templates/cucumber.yml +1 -0
  16. data/lib/generators/extension/templates/cucumber_env.rb +11 -0
  17. data/lib/generators/extension/templates/cucumber_paths.rb +22 -0
  18. data/lib/generators/extension/templates/en.yml +3 -0
  19. data/lib/generators/extension/templates/extension.rb +21 -0
  20. data/lib/generators/extension/templates/functional_test.rb +15 -0
  21. data/lib/generators/extension/templates/gemspec.rb +29 -0
  22. data/lib/generators/extension/templates/lib.rb +8 -0
  23. data/lib/generators/extension/templates/migration.rb +9 -0
  24. data/lib/generators/extension/templates/radiant_config.rb +3 -0
  25. data/lib/generators/extension/templates/routes.rb +5 -0
  26. data/lib/generators/extension/templates/spec.opts +6 -0
  27. data/lib/generators/extension/templates/spec_helper.rb +42 -0
  28. data/lib/generators/extension/templates/tasks.rake +47 -0
  29. data/lib/generators/extension/templates/test_helper.rb +26 -0
  30. data/lib/generators/extension_controller/USAGE +36 -0
  31. data/lib/generators/extension_controller/extension_controller_generator.rb +84 -0
  32. data/lib/generators/extension_controller/templates/controller.rb +10 -0
  33. data/lib/generators/extension_controller/templates/controller_spec.rb +23 -0
  34. data/lib/generators/extension_controller/templates/functional_test.rb +11 -0
  35. data/lib/generators/extension_controller/templates/helper.rb +2 -0
  36. data/lib/generators/extension_controller/templates/helper_spec.rb +11 -0
  37. data/lib/generators/extension_controller/templates/helper_test.rb +4 -0
  38. data/lib/generators/extension_controller/templates/view.html.erb +2 -0
  39. data/lib/generators/extension_controller/templates/view_spec.rb +12 -0
  40. data/lib/generators/extension_mailer/USAGE +17 -0
  41. data/lib/generators/extension_mailer/extension_mailer_generator.rb +68 -0
  42. data/lib/generators/extension_mailer/templates/fixture.erb +3 -0
  43. data/lib/generators/extension_mailer/templates/mailer.rb +15 -0
  44. data/lib/generators/extension_mailer/templates/unit_test.rb +21 -0
  45. data/lib/generators/extension_mailer/templates/view.erb +3 -0
  46. data/lib/generators/extension_migration/USAGE +34 -0
  47. data/lib/generators/extension_migration/extension_migration_generator.rb +25 -0
  48. data/lib/generators/extension_migration/templates/migration.rb +11 -0
  49. data/lib/generators/extension_model/USAGE +35 -0
  50. data/lib/generators/extension_model/extension_model_generator.rb +68 -0
  51. data/lib/generators/extension_model/templates/fixtures.yml +19 -0
  52. data/lib/generators/extension_model/templates/migration.rb +16 -0
  53. data/lib/generators/extension_model/templates/model.rb +2 -0
  54. data/lib/generators/extension_model/templates/model_spec.rb +11 -0
  55. data/lib/generators/extension_model/templates/unit_test.rb +8 -0
  56. data/lib/generators/generator_base_extension.rb +18 -0
  57. data/lib/generators/instance/instance_generator.rb +148 -0
  58. data/lib/generators/instance/templates/databases/db2.yml +40 -0
  59. data/lib/generators/instance/templates/databases/mysql.yml +47 -0
  60. data/lib/generators/instance/templates/databases/postgresql.yml +44 -0
  61. data/lib/generators/instance/templates/databases/sqlite3.yml +16 -0
  62. data/lib/generators/instance/templates/databases/sqlserver.yml +21 -0
  63. data/lib/generators/instance/templates/instance_boot.rb +122 -0
  64. data/lib/generators/instance/templates/instance_config.ru +2 -0
  65. data/lib/generators/instance/templates/instance_environment.rb +93 -0
  66. data/lib/generators/instance/templates/instance_gemfile +78 -0
  67. data/lib/generators/instance/templates/instance_generate +6 -0
  68. data/lib/generators/instance/templates/instance_radiant_config.rb +16 -0
  69. data/lib/generators/instance/templates/instance_rakefile +3 -0
  70. data/lib/generators/instance/templates/instance_routes.rb +1 -0
  71. data/lib/generators/language_extension/USAGE +27 -0
  72. data/lib/generators/language_extension/language_extension_generator.rb +71 -0
  73. data/lib/generators/language_extension/templates/README +3 -0
  74. data/lib/generators/language_extension/templates/RSpecRakefile +123 -0
  75. data/lib/generators/language_extension/templates/Rakefile +25 -0
  76. data/lib/generators/language_extension/templates/available_tags.yml +553 -0
  77. data/lib/generators/language_extension/templates/cucumber.yml +1 -0
  78. data/lib/generators/language_extension/templates/cucumber_env.rb +16 -0
  79. data/lib/generators/language_extension/templates/cucumber_paths.rb +14 -0
  80. data/lib/generators/language_extension/templates/extension.rb +12 -0
  81. data/lib/generators/language_extension/templates/functional_test.rb +15 -0
  82. data/lib/generators/language_extension/templates/gemspec.rb +24 -0
  83. data/lib/generators/language_extension/templates/lang.yml +181 -0
  84. data/lib/generators/language_extension/templates/lib.rb +8 -0
  85. data/lib/generators/language_extension/templates/spec.opts +6 -0
  86. data/lib/generators/language_extension/templates/spec_helper.rb +36 -0
  87. data/lib/generators/language_extension/templates/tasks.rake +28 -0
  88. data/lib/generators/language_extension/templates/test_helper.rb +26 -0
  89. data/lib/generators/trusty_cms/USAGE +8 -0
  90. data/lib/generators/trusty_cms/templates/Rakefile.erb +7 -0
  91. data/lib/generators/trusty_cms/templates/application.rb.erb +149 -0
  92. data/lib/generators/trusty_cms/templates/boot.rb.erb +9 -0
  93. data/lib/generators/trusty_cms/templates/config.ru.erb +4 -0
  94. data/lib/generators/trusty_cms/templates/database.yml.erb +28 -0
  95. data/lib/generators/trusty_cms/templates/environment.rb.erb +5 -0
  96. data/lib/generators/trusty_cms/templates/environments/development.rb.erb +24 -0
  97. data/lib/generators/trusty_cms/templates/environments/production.rb.erb +26 -0
  98. data/lib/generators/trusty_cms/templates/environments/test.rb.erb +35 -0
  99. data/lib/generators/trusty_cms/templates/initializers/secret_token.rb.erb +13 -0
  100. data/lib/generators/trusty_cms/templates/initializers/session_store.rb.erb +8 -0
  101. data/lib/generators/trusty_cms/templates/initializers/trusty_cms_config.rb.erb +16 -0
  102. data/lib/generators/trusty_cms/templates/preinitializer.rb.erb +18 -0
  103. data/lib/generators/trusty_cms/templates/routes.rb.erb +0 -0
  104. data/lib/generators/trusty_cms/trusty_cms_generator.rb +32 -0
  105. data/lib/trusty_cms.rb +1 -1
  106. data/lib/trusty_cms/setup.rb +7 -7
  107. data/trusty_cms.gemspec +3 -3
  108. data/yarn.lock +6 -6
  109. metadata +7635 -70
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '06485f3b9ed1c9ca511e064801b64e301c62a152a1da3ad7902215ab146f6c0d'
4
- data.tar.gz: f2c25843032b941ffb0f1b7cb8920b07298ab131f626b2bd4cab6aee580a61e4
3
+ metadata.gz: 4fb05c8f28c0097f216371ee9b64551430ef41f134939c45db99af078f16a909
4
+ data.tar.gz: a774319265c2377af1242e05337c59e5310188f7259330adcf56e138407c9a32
5
5
  SHA512:
6
- metadata.gz: f3660bb986c773d9e81821660898e04af9c985297acfd8bc2a57c4623f931b9636dc4f628176e370a46d3676608f9778b476ff9a21e1d775587c2739755f6873
7
- data.tar.gz: 23246702302f14f37569aa164467d76f771df08a562a1f7c2dc773a85308ab2abcfd81e7343f68bf4f4cab92c2678544fda3139161eacd23856beb6298e7cd29
6
+ metadata.gz: b77c5e66a0793e654d506cf7b07fda3e04b90869e515e181e6a96c42659e65876d2dfe0d436f8ef6aa8bd1a14cbfa1136f0a21a92a99912edaefb8d545c76885
7
+ data.tar.gz: 0eee0cbdcc348c0ea3a5c9167c7622eba56a88ebf02d3430ba31b92020e780da3889f01179bcc07ff235f8fa2ea6a47d2ffd99189c4a431b779d69866a420de5
data/Gemfile CHANGED
@@ -14,7 +14,7 @@ gemspec
14
14
  group :development, :test do
15
15
  gem 'acts_as_list'
16
16
  gem 'database_cleaner'
17
- gem 'factory_bot_rails', '5.2.0'
17
+ gem 'factory_bot_rails', '6.1.0'
18
18
  gem 'launchy', '~> 2.5.0'
19
19
  gem 'mysql2'
20
20
  gem 'poltergeist', '~> 1.18.1'
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- trusty-cms (4.1.4)
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 (< 13.0)
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 (~> 2.1.5)
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.1)
38
- actionpack (= 6.0.3.1)
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.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)
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.1)
49
- actionpack (= 6.0.3.1)
50
- actionview (= 6.0.3.1)
51
- activejob (= 6.0.3.1)
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.1)
55
- actionview (= 6.0.3.1)
56
- activesupport (= 6.0.3.1)
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.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)
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.1)
68
- activesupport (= 6.0.3.1)
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.1)
74
- activesupport (= 6.0.3.1)
73
+ activejob (6.0.3.4)
74
+ activesupport (= 6.0.3.4)
75
75
  globalid (>= 0.3.6)
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)
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.1)
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.1)
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.13)
98
+ bcrypt (3.1.16)
99
99
  builder (3.2.4)
100
100
  byebug (11.1.3)
101
- capybara (3.32.2)
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.6)
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.2)
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.3)
131
- docile (1.3.2)
132
- erubi (1.9.0)
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 (5.2.0)
136
- activesupport (>= 4.2.0)
137
- factory_bot_rails (5.2.0)
138
- factory_bot (~> 5.2.0)
139
- railties (>= 4.2.0)
140
- ffi (1.13.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.2)
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.3)
161
+ i18n (1.8.7)
162
162
  concurrent-ruby (~> 1.0)
163
- json (2.3.0)
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 (7.3.492.27.1)
172
- loofah (2.5.0)
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.0512)
182
+ mime-types-data (3.2020.1104)
183
183
  mimemagic (0.3.5)
184
184
  mini_mime (1.0.2)
185
- mini_portile2 (2.4.0)
186
- mini_racer (0.2.14)
187
- libv8 (> 7.3)
188
- minitest (5.14.1)
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.2)
193
- nokogiri (1.10.9)
194
- mini_portile2 (~> 2.4.0)
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.5)
213
+ public_suffix (4.0.6)
214
+ racc (1.5.2)
213
215
  rack (2.2.3)
214
- rack-cache (1.12.0)
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.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)
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.1)
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.1)
242
- actionpack (= 6.0.3.1)
243
- activesupport (= 6.0.3.1)
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 (12.3.3)
248
- rdoc (6.2.1)
249
- regexp_parser (1.7.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.1.1)
257
- railties (>= 5.1, < 6.1)
258
+ roadie-rails (2.2.0)
259
+ railties (>= 5.1, < 6.2)
258
260
  roadie (>= 3.1, < 5.0)
259
- rspec-core (3.9.2)
260
- rspec-support (~> 3.9.3)
261
- rspec-expectations (3.9.2)
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.9.0)
264
- rspec-mocks (3.9.1)
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.9.0)
267
- rspec-rails (4.0.1)
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.9)
272
- rspec-expectations (~> 3.9)
273
- rspec-mocks (~> 3.9)
274
- rspec-support (~> 3.9)
275
- rspec-support (3.9.3)
276
- ruby_parser (3.14.2)
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.0)
287
- simplecov (0.18.5)
288
+ sexp_processor (4.15.2)
289
+ simplecov (0.21.2)
288
290
  docile (~> 1.1)
289
291
  simplecov-html (~> 0.11)
290
- simplecov-html (0.12.2)
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.1)
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.7)
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.1.5)
312
- warden (1.2.8)
313
- rack (>= 2.0.6)
314
- websocket-driver (0.7.2)
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.3.0)
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 (= 5.2.0)
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 with minimal changes to its infrastructure.
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
@@ -109,7 +109,7 @@ Assets = {
109
109
  $.ajax({
110
110
  url: url,
111
111
  complete: function(data, textStatus, jqXHR) {
112
- // Assets.updateTable(data.responseText);
112
+ Assets.updateTable(data.responseText);
113
113
  }
114
114
  });
115
115
  },
@@ -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'