trusty-cms 4.1.8 → 4.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (150) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/Gemfile.lock +121 -121
  4. data/INSTALL.md +2 -0
  5. data/LICENSE.md +1 -1
  6. data/app/assets/javascripts/admin/custom_file_upload.js +7 -0
  7. data/app/controllers/admin/pages_controller.rb +1 -1
  8. data/app/controllers/admin/preferences_controller.rb +1 -1
  9. data/app/controllers/admin/resource_controller.rb +1 -1
  10. data/app/controllers/admin/users_controller.rb +1 -1
  11. data/app/helpers/admin/node_helper.rb +1 -1
  12. data/app/models/asset.rb +3 -3
  13. data/app/models/page.rb +3 -3
  14. data/app/models/standard_tags.rb +3 -3
  15. data/app/models/user.rb +1 -1
  16. data/app/views/admin/assets/new.html.haml +2 -0
  17. data/config/database.mysql.yml +10 -2
  18. data/config/environments/development.rb +2 -0
  19. data/db/migrate/20210331134718_create_active_storage_tables.active_storage.rb +36 -0
  20. data/lib/generators/extension/USAGE +30 -0
  21. data/lib/generators/extension/extension_generator.rb +97 -0
  22. data/lib/generators/extension/templates/README.md +6 -0
  23. data/lib/generators/extension/templates/RSpecRakefile +109 -0
  24. data/lib/generators/extension/templates/Rakefile +25 -0
  25. data/lib/generators/extension/templates/cucumber.yml +1 -0
  26. data/lib/generators/extension/templates/cucumber_env.rb +11 -0
  27. data/lib/generators/extension/templates/cucumber_paths.rb +22 -0
  28. data/lib/generators/extension/templates/en.yml +3 -0
  29. data/lib/generators/extension/templates/extension.rb +21 -0
  30. data/lib/generators/extension/templates/functional_test.rb +15 -0
  31. data/lib/generators/extension/templates/gemspec.rb +29 -0
  32. data/lib/generators/extension/templates/lib.rb +8 -0
  33. data/lib/generators/extension/templates/migration.rb +9 -0
  34. data/lib/generators/extension/templates/radiant_config.rb +3 -0
  35. data/lib/generators/extension/templates/routes.rb +5 -0
  36. data/lib/generators/extension/templates/spec.opts +6 -0
  37. data/lib/generators/extension/templates/spec_helper.rb +42 -0
  38. data/lib/generators/extension/templates/tasks.rake +47 -0
  39. data/lib/generators/extension/templates/test_helper.rb +24 -0
  40. data/lib/generators/extension_controller/USAGE +36 -0
  41. data/lib/generators/extension_controller/extension_controller_generator.rb +84 -0
  42. data/lib/generators/extension_controller/templates/controller.rb +10 -0
  43. data/lib/generators/extension_controller/templates/controller_spec.rb +23 -0
  44. data/lib/generators/extension_controller/templates/functional_test.rb +11 -0
  45. data/lib/generators/extension_controller/templates/helper.rb +2 -0
  46. data/lib/generators/extension_controller/templates/helper_spec.rb +11 -0
  47. data/lib/generators/extension_controller/templates/helper_test.rb +4 -0
  48. data/lib/generators/extension_controller/templates/view.html.erb +2 -0
  49. data/lib/generators/extension_controller/templates/view_spec.rb +12 -0
  50. data/lib/generators/extension_mailer/USAGE +17 -0
  51. data/lib/generators/extension_mailer/extension_mailer_generator.rb +68 -0
  52. data/lib/generators/extension_mailer/templates/fixture.erb +3 -0
  53. data/lib/generators/extension_mailer/templates/mailer.rb +15 -0
  54. data/lib/generators/extension_mailer/templates/unit_test.rb +21 -0
  55. data/lib/generators/extension_mailer/templates/view.erb +3 -0
  56. data/lib/generators/extension_migration/USAGE +34 -0
  57. data/lib/generators/extension_migration/extension_migration_generator.rb +25 -0
  58. data/lib/generators/extension_migration/templates/migration.rb +11 -0
  59. data/lib/generators/extension_model/USAGE +35 -0
  60. data/lib/generators/extension_model/extension_model_generator.rb +68 -0
  61. data/lib/generators/extension_model/templates/fixtures.yml +19 -0
  62. data/lib/generators/extension_model/templates/migration.rb +16 -0
  63. data/lib/generators/extension_model/templates/model.rb +2 -0
  64. data/lib/generators/extension_model/templates/model_spec.rb +11 -0
  65. data/lib/generators/extension_model/templates/unit_test.rb +8 -0
  66. data/lib/generators/generator_base_extension.rb +18 -0
  67. data/lib/generators/instance/instance_generator.rb +148 -0
  68. data/lib/generators/instance/templates/databases/db2.yml +40 -0
  69. data/lib/generators/instance/templates/databases/mysql.yml +47 -0
  70. data/lib/generators/instance/templates/databases/postgresql.yml +44 -0
  71. data/lib/generators/instance/templates/databases/sqlite3.yml +16 -0
  72. data/lib/generators/instance/templates/databases/sqlserver.yml +21 -0
  73. data/lib/generators/instance/templates/instance_boot.rb +122 -0
  74. data/lib/generators/instance/templates/instance_config.ru +2 -0
  75. data/lib/generators/instance/templates/instance_environment.rb +93 -0
  76. data/lib/generators/instance/templates/instance_gemfile +78 -0
  77. data/lib/generators/instance/templates/instance_generate +6 -0
  78. data/lib/generators/instance/templates/instance_radiant_config.rb +16 -0
  79. data/lib/generators/instance/templates/instance_rakefile +3 -0
  80. data/lib/generators/instance/templates/instance_routes.rb +1 -0
  81. data/lib/generators/language_extension/USAGE +27 -0
  82. data/lib/generators/language_extension/language_extension_generator.rb +71 -0
  83. data/lib/generators/language_extension/templates/README +3 -0
  84. data/lib/generators/language_extension/templates/RSpecRakefile +123 -0
  85. data/lib/generators/language_extension/templates/Rakefile +25 -0
  86. data/lib/generators/language_extension/templates/available_tags.yml +553 -0
  87. data/lib/generators/language_extension/templates/cucumber.yml +1 -0
  88. data/lib/generators/language_extension/templates/cucumber_env.rb +16 -0
  89. data/lib/generators/language_extension/templates/cucumber_paths.rb +14 -0
  90. data/lib/generators/language_extension/templates/extension.rb +12 -0
  91. data/lib/generators/language_extension/templates/functional_test.rb +15 -0
  92. data/lib/generators/language_extension/templates/gemspec.rb +24 -0
  93. data/lib/generators/language_extension/templates/lang.yml +181 -0
  94. data/lib/generators/language_extension/templates/lib.rb +8 -0
  95. data/lib/generators/language_extension/templates/spec.opts +6 -0
  96. data/lib/generators/language_extension/templates/spec_helper.rb +36 -0
  97. data/lib/generators/language_extension/templates/tasks.rake +28 -0
  98. data/lib/generators/language_extension/templates/test_helper.rb +26 -0
  99. data/lib/generators/trusty_cms/USAGE +8 -0
  100. data/lib/generators/trusty_cms/templates/Rakefile.erb +7 -0
  101. data/lib/generators/trusty_cms/templates/application.rb.erb +149 -0
  102. data/lib/generators/trusty_cms/templates/boot.rb.erb +9 -0
  103. data/lib/generators/trusty_cms/templates/config.ru.erb +4 -0
  104. data/lib/generators/trusty_cms/templates/database.yml.erb +28 -0
  105. data/lib/generators/trusty_cms/templates/environment.rb.erb +5 -0
  106. data/lib/generators/trusty_cms/templates/environments/development.rb.erb +24 -0
  107. data/lib/generators/trusty_cms/templates/environments/production.rb.erb +26 -0
  108. data/lib/generators/trusty_cms/templates/environments/test.rb.erb +35 -0
  109. data/lib/generators/trusty_cms/templates/initializers/secret_token.rb.erb +13 -0
  110. data/lib/generators/trusty_cms/templates/initializers/session_store.rb.erb +8 -0
  111. data/lib/generators/trusty_cms/templates/initializers/trusty_cms_config.rb.erb +16 -0
  112. data/lib/generators/trusty_cms/templates/preinitializer.rb.erb +18 -0
  113. data/lib/generators/trusty_cms/templates/routes.rb.erb +0 -0
  114. data/lib/generators/trusty_cms/trusty_cms_generator.rb +32 -0
  115. data/lib/login_system.rb +1 -1
  116. data/lib/trusty_cms.rb +1 -1
  117. data/lib/trusty_cms/setup.rb +8 -8
  118. data/spec/dummy/config/database.yml +6 -2
  119. data/trusty_cms.gemspec +5 -6
  120. data/vendor/extensions/clipped-extension/lib/asset_tags.rb +4 -4
  121. data/yarn.lock +6 -6
  122. metadata +487 -118
  123. data/spec/spec/dummy/node_modules/yaml/browser/dist/tags/core.js +0 -126
  124. data/spec/spec/dummy/node_modules/yaml/browser/dist/tags/failsafe/index.js +0 -4
  125. data/spec/spec/dummy/node_modules/yaml/browser/dist/tags/failsafe/map.js +0 -56
  126. data/spec/spec/dummy/node_modules/yaml/browser/dist/tags/failsafe/seq.js +0 -43
  127. data/spec/spec/dummy/node_modules/yaml/browser/dist/tags/failsafe/string.js +0 -28
  128. data/spec/spec/dummy/node_modules/yaml/browser/dist/tags/index.js +0 -36
  129. data/spec/spec/dummy/node_modules/yaml/browser/dist/tags/json.js +0 -76
  130. data/spec/spec/dummy/node_modules/yaml/browser/dist/tags/options.js +0 -23
  131. data/spec/spec/dummy/node_modules/yaml/browser/dist/tags/yaml-1.1/binary.js +0 -87
  132. data/spec/spec/dummy/node_modules/yaml/browser/dist/tags/yaml-1.1/index.js +0 -157
  133. data/spec/spec/dummy/node_modules/yaml/browser/dist/tags/yaml-1.1/omap.js +0 -142
  134. data/spec/spec/dummy/node_modules/yaml/browser/dist/tags/yaml-1.1/pairs.js +0 -81
  135. data/spec/spec/dummy/node_modules/yaml/browser/dist/tags/yaml-1.1/set.js +0 -114
  136. data/spec/spec/dummy/node_modules/yaml/browser/dist/tags/yaml-1.1/timestamp.js +0 -97
  137. data/spec/spec/dummy/node_modules/yaml/dist/tags/core.js +0 -114
  138. data/spec/spec/dummy/node_modules/yaml/dist/tags/failsafe/index.js +0 -17
  139. data/spec/spec/dummy/node_modules/yaml/dist/tags/failsafe/map.js +0 -37
  140. data/spec/spec/dummy/node_modules/yaml/dist/tags/failsafe/seq.js +0 -34
  141. data/spec/spec/dummy/node_modules/yaml/dist/tags/failsafe/string.js +0 -40
  142. data/spec/spec/dummy/node_modules/yaml/dist/tags/index.js +0 -62
  143. data/spec/spec/dummy/node_modules/yaml/dist/tags/json.js +0 -60
  144. data/spec/spec/dummy/node_modules/yaml/dist/tags/options.js +0 -35
  145. data/spec/spec/dummy/node_modules/yaml/dist/tags/yaml-1.1/binary.js +0 -97
  146. data/spec/spec/dummy/node_modules/yaml/dist/tags/yaml-1.1/index.js +0 -131
  147. data/spec/spec/dummy/node_modules/yaml/dist/tags/yaml-1.1/omap.js +0 -105
  148. data/spec/spec/dummy/node_modules/yaml/dist/tags/yaml-1.1/pairs.js +0 -80
  149. data/spec/spec/dummy/node_modules/yaml/dist/tags/yaml-1.1/set.js +0 -91
  150. 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: 2705c0bb6ab7406c37d1ee9a72e028d44c13cbcd23368e648d8ef120b1499448
4
- data.tar.gz: 1765766a6db0b34e4e30f9c912bbf86095c3f62a5af6d934a985fd6cd0649149
3
+ metadata.gz: 52cf02d801b74acdecb1e9e86ed217a1670ffad05bb213a32c7c2bd591a83987
4
+ data.tar.gz: 7b896f7719317c52daad8aea07b08c984016ca0d02a156db0ccbff8d536c3f08
5
5
  SHA512:
6
- metadata.gz: b4d27dc9c99285bbc36f157e1bdd0b67e960e31b03eef49c151f86aa68e7e7b55b12e15dccfbd63486abfe6d41d52ce989f845326d4abadae916b5f894890c5e
7
- data.tar.gz: ae4b7fbabc640be96d83045ba65538ab1771ed02ae9bdabe2733df535ab793d967aaf18088774551dba18572482bdf3f425af2b95d4f183e572414595d12b1ea
6
+ metadata.gz: f6c35dab44ba4baf6a68b5bbdd6fd8981e07131e77f5841458187f44b3dab5721442787e7681a0abc19bde3151e07605997ca1e9c09883aa8c35234f542c8a91
7
+ data.tar.gz: c24a677077c96834ab38baf5b5441e97be4f678b21aa3c24244141328941ece257fd279a5fc8a6d155aa609e9c9e973d620eb1b3ac1ef7b61dcdb1ab2d74e66a
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', '6.1.0'
17
+ gem 'factory_bot_rails', '6.2.0'
18
18
  gem 'launchy', '~> 2.5.0'
19
19
  gem 'mysql2'
20
20
  gem 'poltergeist', '~> 1.18.1'
data/Gemfile.lock CHANGED
@@ -1,21 +1,20 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- trusty-cms (4.1.8)
4
+ trusty-cms (4.2.3)
5
5
  RedCloth (= 4.3.2)
6
6
  acts_as_list (>= 0.9.5, < 1.1.0)
7
- acts_as_tree (>= 2.6.1, < 2.9.0)
8
- ckeditor (>= 4.2.2, < 4.3.0)
7
+ acts_as_tree (>= 2.6.1, < 2.10.0)
8
+ ckeditor (>= 4.2.2, < 4.4.0)
9
9
  delocalize (>= 0.2, < 2.0)
10
10
  devise
11
11
  execjs (~> 2.7)
12
- haml (~> 5.0)
13
- haml-rails (~> 1.0.0)
12
+ haml
13
+ haml-rails (~> 2.0)
14
14
  highline (>= 1.7.8, < 2.1.0)
15
15
  kraken-io
16
16
  mini_racer
17
17
  mysql2
18
- paperclip (> 5.2)
19
18
  rack (>= 2.0.1, < 2.3.0)
20
19
  rack-cache (~> 1.7)
21
20
  radius (~> 0.7)
@@ -23,7 +22,7 @@ PATH
23
22
  rake (< 14.0)
24
23
  rdoc (>= 5.1, < 7.0)
25
24
  roadie-rails
26
- sassc-rails
25
+ sass-rails
27
26
  stringex (>= 2.7.1, < 2.9.0)
28
27
  tzinfo (>= 1.2.3, < 2.1.0)
29
28
  uglifier (>= 3.2, < 5.0)
@@ -34,125 +33,128 @@ GEM
34
33
  remote: https://rubygems.org/
35
34
  specs:
36
35
  RedCloth (4.3.2)
37
- actioncable (6.1.0)
38
- actionpack (= 6.1.0)
39
- activesupport (= 6.1.0)
36
+ actioncable (6.1.3.2)
37
+ actionpack (= 6.1.3.2)
38
+ activesupport (= 6.1.3.2)
40
39
  nio4r (~> 2.0)
41
40
  websocket-driver (>= 0.6.1)
42
- actionmailbox (6.1.0)
43
- actionpack (= 6.1.0)
44
- activejob (= 6.1.0)
45
- activerecord (= 6.1.0)
46
- activestorage (= 6.1.0)
47
- activesupport (= 6.1.0)
41
+ actionmailbox (6.1.3.2)
42
+ actionpack (= 6.1.3.2)
43
+ activejob (= 6.1.3.2)
44
+ activerecord (= 6.1.3.2)
45
+ activestorage (= 6.1.3.2)
46
+ activesupport (= 6.1.3.2)
48
47
  mail (>= 2.7.1)
49
- actionmailer (6.1.0)
50
- actionpack (= 6.1.0)
51
- actionview (= 6.1.0)
52
- activejob (= 6.1.0)
53
- activesupport (= 6.1.0)
48
+ actionmailer (6.1.3.2)
49
+ actionpack (= 6.1.3.2)
50
+ actionview (= 6.1.3.2)
51
+ activejob (= 6.1.3.2)
52
+ activesupport (= 6.1.3.2)
54
53
  mail (~> 2.5, >= 2.5.4)
55
54
  rails-dom-testing (~> 2.0)
56
- actionpack (6.1.0)
57
- actionview (= 6.1.0)
58
- activesupport (= 6.1.0)
55
+ actionpack (6.1.3.2)
56
+ actionview (= 6.1.3.2)
57
+ activesupport (= 6.1.3.2)
59
58
  rack (~> 2.0, >= 2.0.9)
60
59
  rack-test (>= 0.6.3)
61
60
  rails-dom-testing (~> 2.0)
62
61
  rails-html-sanitizer (~> 1.0, >= 1.2.0)
63
- actiontext (6.1.0)
64
- actionpack (= 6.1.0)
65
- activerecord (= 6.1.0)
66
- activestorage (= 6.1.0)
67
- activesupport (= 6.1.0)
62
+ actiontext (6.1.3.2)
63
+ actionpack (= 6.1.3.2)
64
+ activerecord (= 6.1.3.2)
65
+ activestorage (= 6.1.3.2)
66
+ activesupport (= 6.1.3.2)
68
67
  nokogiri (>= 1.8.5)
69
- actionview (6.1.0)
70
- activesupport (= 6.1.0)
68
+ actionview (6.1.3.2)
69
+ activesupport (= 6.1.3.2)
71
70
  builder (~> 3.1)
72
71
  erubi (~> 1.4)
73
72
  rails-dom-testing (~> 2.0)
74
73
  rails-html-sanitizer (~> 1.1, >= 1.2.0)
75
- activejob (6.1.0)
76
- activesupport (= 6.1.0)
74
+ activejob (6.1.3.2)
75
+ activesupport (= 6.1.3.2)
77
76
  globalid (>= 0.3.6)
78
- activemodel (6.1.0)
79
- activesupport (= 6.1.0)
80
- activerecord (6.1.0)
81
- activemodel (= 6.1.0)
82
- activesupport (= 6.1.0)
83
- activestorage (6.1.0)
84
- actionpack (= 6.1.0)
85
- activejob (= 6.1.0)
86
- activerecord (= 6.1.0)
87
- activesupport (= 6.1.0)
88
- marcel (~> 0.3.1)
89
- mimemagic (~> 0.3.2)
90
- activesupport (6.1.0)
77
+ activemodel (6.1.3.2)
78
+ activesupport (= 6.1.3.2)
79
+ activerecord (6.1.3.2)
80
+ activemodel (= 6.1.3.2)
81
+ activesupport (= 6.1.3.2)
82
+ activestorage (6.1.3.2)
83
+ actionpack (= 6.1.3.2)
84
+ activejob (= 6.1.3.2)
85
+ activerecord (= 6.1.3.2)
86
+ activesupport (= 6.1.3.2)
87
+ marcel (~> 1.0.0)
88
+ mini_mime (~> 1.0.2)
89
+ activesupport (6.1.3.2)
91
90
  concurrent-ruby (~> 1.0, >= 1.0.2)
92
91
  i18n (>= 1.6, < 2)
93
92
  minitest (>= 5.1)
94
93
  tzinfo (~> 2.0)
95
94
  zeitwerk (~> 2.3)
96
- acts_as_list (1.0.3)
95
+ acts_as_list (1.0.4)
97
96
  activerecord (>= 4.2)
98
- acts_as_tree (2.8.0)
97
+ acts_as_tree (2.9.1)
99
98
  activerecord (>= 3.0.0)
100
99
  addressable (2.7.0)
101
100
  public_suffix (>= 2.0.2, < 5.0)
102
101
  bcrypt (3.1.16)
103
102
  builder (3.2.4)
104
103
  byebug (11.1.3)
105
- capybara (3.33.0)
104
+ capybara (3.35.3)
106
105
  addressable
107
106
  mini_mime (>= 0.1.3)
108
107
  nokogiri (~> 1.8)
109
108
  rack (>= 1.6.0)
110
109
  rack-test (>= 0.6.3)
111
- regexp_parser (~> 1.5)
110
+ regexp_parser (>= 1.5, < 3.0)
112
111
  xpath (~> 3.2)
113
- ckeditor (4.2.4)
114
- cocaine
112
+ ckeditor (4.3.0)
115
113
  orm_adapter (~> 0.5.0)
114
+ terrapin
116
115
  climate_control (0.2.0)
117
116
  cliver (0.3.2)
118
- cocaine (0.6.0)
119
- terrapin (= 0.6.0)
120
117
  coderay (1.1.3)
121
- concurrent-ruby (1.1.7)
118
+ concurrent-ruby (1.1.8)
122
119
  crass (1.0.6)
123
- css_parser (1.7.1)
120
+ css_parser (1.9.0)
124
121
  addressable
125
- database_cleaner (1.8.5)
122
+ database_cleaner (2.0.1)
123
+ database_cleaner-active_record (~> 2.0.0)
124
+ database_cleaner-active_record (2.0.0)
125
+ activerecord (>= 5.a)
126
+ database_cleaner-core (~> 2.0.0)
127
+ database_cleaner-core (2.0.1)
126
128
  delocalize (1.2.0)
127
129
  rails (>= 2)
128
- devise (4.7.3)
130
+ devise (4.8.0)
129
131
  bcrypt (~> 3.0)
130
132
  orm_adapter (~> 0.1)
131
133
  railties (>= 4.1.0)
132
134
  responders
133
135
  warden (~> 1.2.3)
134
136
  diff-lcs (1.4.4)
135
- docile (1.3.2)
137
+ docile (1.3.5)
136
138
  erubi (1.10.0)
137
139
  erubis (2.7.0)
138
- execjs (2.7.0)
139
- factory_bot (6.1.0)
140
+ execjs (2.8.1)
141
+ factory_bot (6.2.0)
140
142
  activesupport (>= 5.0.0)
141
- factory_bot_rails (6.1.0)
142
- factory_bot (~> 6.1.0)
143
+ factory_bot_rails (6.2.0)
144
+ factory_bot (~> 6.2.0)
143
145
  railties (>= 5.0.0)
144
- ffi (1.14.2)
146
+ ffi (1.15.1)
145
147
  globalid (0.4.2)
146
148
  activesupport (>= 4.2.0)
147
149
  haml (5.2.1)
148
150
  temple (>= 0.8.0)
149
151
  tilt
150
- haml-rails (1.0.0)
151
- actionpack (>= 4.0.1)
152
- activesupport (>= 4.0.1)
152
+ haml-rails (2.0.1)
153
+ actionpack (>= 5.1)
154
+ activesupport (>= 5.1)
153
155
  haml (>= 4.0.6, < 6.0)
154
156
  html2haml (>= 1.0.1)
155
- railties (>= 4.0.1)
157
+ railties (>= 5.1)
156
158
  highline (2.0.3)
157
159
  html2haml (2.2.0)
158
160
  erubis (~> 2.7.0)
@@ -162,7 +164,7 @@ GEM
162
164
  httparty (0.18.1)
163
165
  mime-types (~> 3.0)
164
166
  multi_xml (>= 0.5.2)
165
- i18n (1.8.7)
167
+ i18n (1.8.10)
166
168
  concurrent-ruby (~> 1.0)
167
169
  json (2.5.1)
168
170
  kraken-io (0.1.3)
@@ -172,38 +174,32 @@ GEM
172
174
  multipart-post
173
175
  launchy (2.5.0)
174
176
  addressable (~> 2.7)
175
- libv8 (8.4.255.0-x86_64-darwin-18)
176
- loofah (2.8.0)
177
+ libv8-node (15.14.0.1-x86_64-darwin-18)
178
+ libv8-node (15.14.0.1-x86_64-darwin-20)
179
+ libv8-node (15.14.0.1-x86_64-linux)
180
+ loofah (2.9.1)
177
181
  crass (~> 1.0.2)
178
182
  nokogiri (>= 1.5.9)
179
183
  mail (2.7.1)
180
184
  mini_mime (>= 0.1.1)
181
- marcel (0.3.3)
182
- mimemagic (~> 0.3.2)
185
+ marcel (1.0.1)
183
186
  method_source (1.0.0)
184
187
  mime-types (3.3.1)
185
188
  mime-types-data (~> 3.2015)
186
- mime-types-data (3.2020.1104)
187
- mimemagic (0.3.5)
188
- mini_mime (1.0.2)
189
- mini_portile2 (2.5.0)
190
- mini_racer (0.3.1)
191
- libv8 (~> 8.4.255)
192
- minitest (5.14.2)
189
+ mime-types-data (3.2021.0225)
190
+ mini_mime (1.0.3)
191
+ mini_racer (0.4.0)
192
+ libv8-node (~> 15.14.0.0)
193
+ minitest (5.14.4)
193
194
  multi_xml (0.6.0)
194
195
  multipart-post (2.1.1)
195
196
  mysql2 (0.5.3)
196
- nio4r (2.5.4)
197
- nokogiri (1.11.0)
198
- mini_portile2 (~> 2.5.0)
197
+ nio4r (2.5.7)
198
+ nokogiri (1.11.3-x86_64-darwin)
199
+ racc (~> 1.4)
200
+ nokogiri (1.11.3-x86_64-linux)
199
201
  racc (~> 1.4)
200
202
  orm_adapter (0.5.0)
201
- paperclip (6.1.0)
202
- activemodel (>= 4.2.0)
203
- activesupport (>= 4.2.0)
204
- mime-types
205
- mimemagic (~> 0.3.0)
206
- terrapin (~> 0.6.0)
207
203
  poltergeist (1.18.1)
208
204
  capybara (>= 2.1, < 4)
209
205
  cliver (~> 0.3.1)
@@ -222,20 +218,20 @@ GEM
222
218
  rack-test (1.1.0)
223
219
  rack (>= 1.0, < 3)
224
220
  radius (0.7.5)
225
- rails (6.1.0)
226
- actioncable (= 6.1.0)
227
- actionmailbox (= 6.1.0)
228
- actionmailer (= 6.1.0)
229
- actionpack (= 6.1.0)
230
- actiontext (= 6.1.0)
231
- actionview (= 6.1.0)
232
- activejob (= 6.1.0)
233
- activemodel (= 6.1.0)
234
- activerecord (= 6.1.0)
235
- activestorage (= 6.1.0)
236
- activesupport (= 6.1.0)
221
+ rails (6.1.3.2)
222
+ actioncable (= 6.1.3.2)
223
+ actionmailbox (= 6.1.3.2)
224
+ actionmailer (= 6.1.3.2)
225
+ actionpack (= 6.1.3.2)
226
+ actiontext (= 6.1.3.2)
227
+ actionview (= 6.1.3.2)
228
+ activejob (= 6.1.3.2)
229
+ activemodel (= 6.1.3.2)
230
+ activerecord (= 6.1.3.2)
231
+ activestorage (= 6.1.3.2)
232
+ activesupport (= 6.1.3.2)
237
233
  bundler (>= 1.15.0)
238
- railties (= 6.1.0)
234
+ railties (= 6.1.3.2)
239
235
  sprockets-rails (>= 2.0.0)
240
236
  rails-dom-testing (2.0.3)
241
237
  activesupport (>= 4.2.0)
@@ -244,15 +240,15 @@ GEM
244
240
  loofah (~> 2.3)
245
241
  rails-observers (0.1.5)
246
242
  activemodel (>= 4.0)
247
- railties (6.1.0)
248
- actionpack (= 6.1.0)
249
- activesupport (= 6.1.0)
243
+ railties (6.1.3.2)
244
+ actionpack (= 6.1.3.2)
245
+ activesupport (= 6.1.3.2)
250
246
  method_source
251
247
  rake (>= 0.8.7)
252
248
  thor (~> 1.0)
253
249
  rake (13.0.3)
254
- rdoc (6.3.0)
255
- regexp_parser (1.7.1)
250
+ rdoc (6.3.1)
251
+ regexp_parser (2.1.1)
256
252
  responders (3.0.1)
257
253
  actionpack (>= 5.0)
258
254
  railties (>= 5.0)
@@ -267,20 +263,22 @@ GEM
267
263
  rspec-expectations (3.10.1)
268
264
  diff-lcs (>= 1.2.0, < 2.0)
269
265
  rspec-support (~> 3.10.0)
270
- rspec-mocks (3.10.1)
266
+ rspec-mocks (3.10.2)
271
267
  diff-lcs (>= 1.2.0, < 2.0)
272
268
  rspec-support (~> 3.10.0)
273
- rspec-rails (4.0.2)
274
- actionpack (>= 4.2)
275
- activesupport (>= 4.2)
276
- railties (>= 4.2)
269
+ rspec-rails (5.0.1)
270
+ actionpack (>= 5.2)
271
+ activesupport (>= 5.2)
272
+ railties (>= 5.2)
277
273
  rspec-core (~> 3.10)
278
274
  rspec-expectations (~> 3.10)
279
275
  rspec-mocks (~> 3.10)
280
276
  rspec-support (~> 3.10)
281
- rspec-support (3.10.1)
282
- ruby_parser (3.15.0)
283
- sexp_processor (~> 4.9)
277
+ rspec-support (3.10.2)
278
+ ruby_parser (3.16.0)
279
+ sexp_processor (~> 4.15, >= 4.15.1)
280
+ sass-rails (6.0.0)
281
+ sassc-rails (~> 2.1, >= 2.1.1)
284
282
  sassc (2.4.0)
285
283
  ffi (~> 1.9)
286
284
  sassc-rails (2.1.2)
@@ -289,8 +287,8 @@ GEM
289
287
  sprockets (> 3.0)
290
288
  sprockets-rails
291
289
  tilt
292
- sexp_processor (4.15.1)
293
- simplecov (0.20.0)
290
+ sexp_processor (4.15.3)
291
+ simplecov (0.21.2)
294
292
  docile (~> 1.1)
295
293
  simplecov-html (~> 0.11)
296
294
  simplecov_json_formatter (~> 0.1)
@@ -307,7 +305,7 @@ GEM
307
305
  temple (0.8.2)
308
306
  terrapin (0.6.0)
309
307
  climate_control (>= 0.0.3, < 1.0)
310
- thor (1.0.1)
308
+ thor (1.1.0)
311
309
  tilt (2.0.10)
312
310
  trustygems (0.2.1)
313
311
  rake
@@ -327,12 +325,14 @@ GEM
327
325
  zeitwerk (2.4.2)
328
326
 
329
327
  PLATFORMS
330
- ruby
328
+ x86_64-darwin-18
329
+ x86_64-darwin-20
330
+ x86_64-linux
331
331
 
332
332
  DEPENDENCIES
333
333
  acts_as_list
334
334
  database_cleaner
335
- factory_bot_rails (= 6.1.0)
335
+ factory_bot_rails (= 6.2.0)
336
336
  launchy (~> 2.5.0)
337
337
  mysql2
338
338
  poltergeist (~> 1.18.1)
@@ -344,4 +344,4 @@ DEPENDENCIES
344
344
  trustygems (~> 0.2.0)
345
345
 
346
346
  BUNDLED WITH
347
- 2.1.4
347
+ 2.2.15
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/LICENSE.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # MIT License
2
2
 
3
- Copyright (c) 2006-2009, John W. Long and Sean D. Cribbs.
3
+ Copyright (c) 2006-2021, John W. Long and Sean D. Cribbs.
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal