trusty-cms 4.1.5 → 4.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (169) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +122 -115
  3. data/INSTALL.md +2 -0
  4. data/app/views/admin/assets/edit.html.haml +3 -0
  5. data/config/environments/development.rb +2 -0
  6. data/config/locales/en.yml +1 -0
  7. data/lib/generators/extension/USAGE +30 -0
  8. data/lib/generators/extension/extension_generator.rb +97 -0
  9. data/lib/generators/extension/templates/README.md +6 -0
  10. data/lib/generators/extension/templates/RSpecRakefile +109 -0
  11. data/lib/generators/extension/templates/Rakefile +25 -0
  12. data/lib/generators/extension/templates/cucumber.yml +1 -0
  13. data/lib/generators/extension/templates/cucumber_env.rb +11 -0
  14. data/lib/generators/extension/templates/cucumber_paths.rb +22 -0
  15. data/lib/generators/extension/templates/en.yml +3 -0
  16. data/lib/generators/extension/templates/extension.rb +21 -0
  17. data/lib/generators/extension/templates/functional_test.rb +15 -0
  18. data/lib/generators/extension/templates/gemspec.rb +29 -0
  19. data/lib/generators/extension/templates/lib.rb +8 -0
  20. data/lib/generators/extension/templates/migration.rb +9 -0
  21. data/lib/generators/extension/templates/radiant_config.rb +3 -0
  22. data/lib/generators/extension/templates/routes.rb +5 -0
  23. data/lib/generators/extension/templates/spec.opts +6 -0
  24. data/lib/generators/extension/templates/spec_helper.rb +42 -0
  25. data/lib/generators/extension/templates/tasks.rake +47 -0
  26. data/lib/generators/extension/templates/test_helper.rb +26 -0
  27. data/lib/generators/extension_controller/USAGE +36 -0
  28. data/lib/generators/extension_controller/extension_controller_generator.rb +84 -0
  29. data/lib/generators/extension_controller/templates/controller.rb +10 -0
  30. data/lib/generators/extension_controller/templates/controller_spec.rb +23 -0
  31. data/lib/generators/extension_controller/templates/functional_test.rb +11 -0
  32. data/lib/generators/extension_controller/templates/helper.rb +2 -0
  33. data/lib/generators/extension_controller/templates/helper_spec.rb +11 -0
  34. data/lib/generators/extension_controller/templates/helper_test.rb +4 -0
  35. data/lib/generators/extension_controller/templates/view.html.erb +2 -0
  36. data/lib/generators/extension_controller/templates/view_spec.rb +12 -0
  37. data/lib/generators/extension_mailer/USAGE +17 -0
  38. data/lib/generators/extension_mailer/extension_mailer_generator.rb +68 -0
  39. data/lib/generators/extension_mailer/templates/fixture.erb +3 -0
  40. data/lib/generators/extension_mailer/templates/mailer.rb +15 -0
  41. data/lib/generators/extension_mailer/templates/unit_test.rb +21 -0
  42. data/lib/generators/extension_mailer/templates/view.erb +3 -0
  43. data/lib/generators/extension_migration/USAGE +34 -0
  44. data/lib/generators/extension_migration/extension_migration_generator.rb +25 -0
  45. data/lib/generators/extension_migration/templates/migration.rb +11 -0
  46. data/lib/generators/extension_model/USAGE +35 -0
  47. data/lib/generators/extension_model/extension_model_generator.rb +68 -0
  48. data/lib/generators/extension_model/templates/fixtures.yml +19 -0
  49. data/lib/generators/extension_model/templates/migration.rb +16 -0
  50. data/lib/generators/extension_model/templates/model.rb +2 -0
  51. data/lib/generators/extension_model/templates/model_spec.rb +11 -0
  52. data/lib/generators/extension_model/templates/unit_test.rb +8 -0
  53. data/lib/generators/generator_base_extension.rb +18 -0
  54. data/lib/generators/instance/instance_generator.rb +148 -0
  55. data/lib/generators/instance/templates/databases/db2.yml +40 -0
  56. data/lib/generators/instance/templates/databases/mysql.yml +47 -0
  57. data/lib/generators/instance/templates/databases/postgresql.yml +44 -0
  58. data/lib/generators/instance/templates/databases/sqlite3.yml +16 -0
  59. data/lib/generators/instance/templates/databases/sqlserver.yml +21 -0
  60. data/lib/generators/instance/templates/instance_boot.rb +122 -0
  61. data/lib/generators/instance/templates/instance_config.ru +2 -0
  62. data/lib/generators/instance/templates/instance_environment.rb +93 -0
  63. data/lib/generators/instance/templates/instance_gemfile +78 -0
  64. data/lib/generators/instance/templates/instance_generate +6 -0
  65. data/lib/generators/instance/templates/instance_radiant_config.rb +16 -0
  66. data/lib/generators/instance/templates/instance_rakefile +3 -0
  67. data/lib/generators/instance/templates/instance_routes.rb +1 -0
  68. data/lib/generators/language_extension/USAGE +27 -0
  69. data/lib/generators/language_extension/language_extension_generator.rb +71 -0
  70. data/lib/generators/language_extension/templates/README +3 -0
  71. data/lib/generators/language_extension/templates/RSpecRakefile +123 -0
  72. data/lib/generators/language_extension/templates/Rakefile +25 -0
  73. data/lib/generators/language_extension/templates/available_tags.yml +553 -0
  74. data/lib/generators/language_extension/templates/cucumber.yml +1 -0
  75. data/lib/generators/language_extension/templates/cucumber_env.rb +16 -0
  76. data/lib/generators/language_extension/templates/cucumber_paths.rb +14 -0
  77. data/lib/generators/language_extension/templates/extension.rb +12 -0
  78. data/lib/generators/language_extension/templates/functional_test.rb +15 -0
  79. data/lib/generators/language_extension/templates/gemspec.rb +24 -0
  80. data/lib/generators/language_extension/templates/lang.yml +181 -0
  81. data/lib/generators/language_extension/templates/lib.rb +8 -0
  82. data/lib/generators/language_extension/templates/spec.opts +6 -0
  83. data/lib/generators/language_extension/templates/spec_helper.rb +36 -0
  84. data/lib/generators/language_extension/templates/tasks.rake +28 -0
  85. data/lib/generators/language_extension/templates/test_helper.rb +26 -0
  86. data/lib/generators/trusty_cms/USAGE +8 -0
  87. data/lib/generators/trusty_cms/templates/Rakefile.erb +7 -0
  88. data/lib/generators/trusty_cms/templates/application.rb.erb +149 -0
  89. data/lib/generators/trusty_cms/templates/boot.rb.erb +9 -0
  90. data/lib/generators/trusty_cms/templates/config.ru.erb +4 -0
  91. data/lib/generators/trusty_cms/templates/database.yml.erb +28 -0
  92. data/lib/generators/trusty_cms/templates/environment.rb.erb +5 -0
  93. data/lib/generators/trusty_cms/templates/environments/development.rb.erb +24 -0
  94. data/lib/generators/trusty_cms/templates/environments/production.rb.erb +26 -0
  95. data/lib/generators/trusty_cms/templates/environments/test.rb.erb +35 -0
  96. data/lib/generators/trusty_cms/templates/initializers/secret_token.rb.erb +13 -0
  97. data/lib/generators/trusty_cms/templates/initializers/session_store.rb.erb +8 -0
  98. data/lib/generators/trusty_cms/templates/initializers/trusty_cms_config.rb.erb +16 -0
  99. data/lib/generators/trusty_cms/templates/preinitializer.rb.erb +18 -0
  100. data/lib/generators/trusty_cms/templates/routes.rb.erb +0 -0
  101. data/lib/generators/trusty_cms/trusty_cms_generator.rb +32 -0
  102. data/lib/trusty_cms.rb +1 -1
  103. data/lib/trusty_cms/setup.rb +7 -7
  104. data/trusty_cms.gemspec +4 -4
  105. data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/base.rb +195 -0
  106. data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/check_box.rb +65 -0
  107. data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/checkable.rb +18 -0
  108. data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/collection_check_boxes.rb +35 -0
  109. data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/collection_helpers.rb +118 -0
  110. data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/collection_radio_buttons.rb +30 -0
  111. data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/collection_select.rb +30 -0
  112. data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/color_field.rb +26 -0
  113. data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/date_field.rb +14 -0
  114. data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/date_select.rb +73 -0
  115. data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/datetime_field.rb +31 -0
  116. data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/datetime_local_field.rb +20 -0
  117. data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/datetime_select.rb +10 -0
  118. data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/email_field.rb +10 -0
  119. data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/file_field.rb +10 -0
  120. data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/grouped_collection_select.rb +31 -0
  121. data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/hidden_field.rb +10 -0
  122. data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/label.rb +80 -0
  123. data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/month_field.rb +14 -0
  124. data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/number_field.rb +20 -0
  125. data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/password_field.rb +14 -0
  126. data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/placeholderable.rb +24 -0
  127. data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/radio_button.rb +32 -0
  128. data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/range_field.rb +10 -0
  129. data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/search_field.rb +27 -0
  130. data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/select.rb +42 -0
  131. data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/tel_field.rb +10 -0
  132. data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/text_area.rb +24 -0
  133. data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/text_field.rb +33 -0
  134. data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/time_field.rb +14 -0
  135. data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/time_select.rb +10 -0
  136. data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/time_zone_select.rb +22 -0
  137. data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/translator.rb +39 -0
  138. data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/url_field.rb +10 -0
  139. data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/week_field.rb +14 -0
  140. data/yarn.lock +3 -3
  141. metadata +296 -71
  142. data/spec/spec/dummy/node_modules/yaml/browser/dist/tags/core.js +0 -126
  143. data/spec/spec/dummy/node_modules/yaml/browser/dist/tags/failsafe/index.js +0 -4
  144. data/spec/spec/dummy/node_modules/yaml/browser/dist/tags/failsafe/map.js +0 -56
  145. data/spec/spec/dummy/node_modules/yaml/browser/dist/tags/failsafe/seq.js +0 -43
  146. data/spec/spec/dummy/node_modules/yaml/browser/dist/tags/failsafe/string.js +0 -28
  147. data/spec/spec/dummy/node_modules/yaml/browser/dist/tags/index.js +0 -36
  148. data/spec/spec/dummy/node_modules/yaml/browser/dist/tags/json.js +0 -76
  149. data/spec/spec/dummy/node_modules/yaml/browser/dist/tags/options.js +0 -23
  150. data/spec/spec/dummy/node_modules/yaml/browser/dist/tags/yaml-1.1/binary.js +0 -87
  151. data/spec/spec/dummy/node_modules/yaml/browser/dist/tags/yaml-1.1/index.js +0 -157
  152. data/spec/spec/dummy/node_modules/yaml/browser/dist/tags/yaml-1.1/omap.js +0 -142
  153. data/spec/spec/dummy/node_modules/yaml/browser/dist/tags/yaml-1.1/pairs.js +0 -81
  154. data/spec/spec/dummy/node_modules/yaml/browser/dist/tags/yaml-1.1/set.js +0 -114
  155. data/spec/spec/dummy/node_modules/yaml/browser/dist/tags/yaml-1.1/timestamp.js +0 -97
  156. data/spec/spec/dummy/node_modules/yaml/dist/tags/core.js +0 -114
  157. data/spec/spec/dummy/node_modules/yaml/dist/tags/failsafe/index.js +0 -17
  158. data/spec/spec/dummy/node_modules/yaml/dist/tags/failsafe/map.js +0 -37
  159. data/spec/spec/dummy/node_modules/yaml/dist/tags/failsafe/seq.js +0 -34
  160. data/spec/spec/dummy/node_modules/yaml/dist/tags/failsafe/string.js +0 -40
  161. data/spec/spec/dummy/node_modules/yaml/dist/tags/index.js +0 -62
  162. data/spec/spec/dummy/node_modules/yaml/dist/tags/json.js +0 -60
  163. data/spec/spec/dummy/node_modules/yaml/dist/tags/options.js +0 -35
  164. data/spec/spec/dummy/node_modules/yaml/dist/tags/yaml-1.1/binary.js +0 -97
  165. data/spec/spec/dummy/node_modules/yaml/dist/tags/yaml-1.1/index.js +0 -131
  166. data/spec/spec/dummy/node_modules/yaml/dist/tags/yaml-1.1/omap.js +0 -105
  167. data/spec/spec/dummy/node_modules/yaml/dist/tags/yaml-1.1/pairs.js +0 -80
  168. data/spec/spec/dummy/node_modules/yaml/dist/tags/yaml-1.1/set.js +0 -91
  169. 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: aec3fc02d82b69c746822773abba3b5dca525b4517ce22f5f2b90370f98a500d
4
- data.tar.gz: 6e873c828c7208ddb4e83118a26a854c701e7a52f95636fe56304b23a70a9bbd
3
+ metadata.gz: 299f6d4ea4f8354fc95eca5057d85ef469ecf514a9b9caccea05498f3ee7b3db
4
+ data.tar.gz: 9c635ae0f8cb03af87e45321f6f139cdab67abea7ad57d5bb304c3bbb5426204
5
5
  SHA512:
6
- metadata.gz: f514772d660155663d30d4008306b394eba8c4da9dc77a025de5fc01e72905c0135322aa98b93d580e5f45b1f8a1259a44bc7248513d40c310007eb703dcdd28
7
- data.tar.gz: bbe958ef9e0cb0404bf9126fa46b37a58a02bd708ba2cd5a3e7c6a05f86dcf9ca689fb2fc314053078ceee21d0c9bac2f4f1ee8668789b737f4bc6f51e80ae2c
6
+ metadata.gz: 41043b6945a24d689aefc362b5eed571b0cb378aaffb9b3dcf67f4570fba089b86062341998e7d54ecc53391d74cab0f7e76af6de131a9743976227f47b5c5a8
7
+ data.tar.gz: cc491f12651bc85e7fddc1612319882c5b9982fe4dc4bce72d5b4325cbfbf597786a2e06ab8cabbbb1bf2453a515590ec62ddd719e76a4efae1984d6bb77ffa1
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- trusty-cms (4.1.5)
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 (~> 5.0)
13
- haml-rails (~> 1.0.0)
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 (< 13.0)
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.0.3.2)
38
- actionpack (= 6.0.3.2)
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.0.3.2)
42
- actionpack (= 6.0.3.2)
43
- activejob (= 6.0.3.2)
44
- activerecord (= 6.0.3.2)
45
- activestorage (= 6.0.3.2)
46
- activesupport (= 6.0.3.2)
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.0.3.2)
49
- actionpack (= 6.0.3.2)
50
- actionview (= 6.0.3.2)
51
- activejob (= 6.0.3.2)
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.0.3.2)
55
- actionview (= 6.0.3.2)
56
- activesupport (= 6.0.3.2)
57
- rack (~> 2.0, >= 2.0.8)
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.0.3.2)
62
- actionpack (= 6.0.3.2)
63
- activerecord (= 6.0.3.2)
64
- activestorage (= 6.0.3.2)
65
- activesupport (= 6.0.3.2)
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.0.3.2)
68
- activesupport (= 6.0.3.2)
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.0.3.2)
74
- activesupport (= 6.0.3.2)
75
+ activejob (6.1.1)
76
+ activesupport (= 6.1.1)
75
77
  globalid (>= 0.3.6)
76
- activemodel (6.0.3.2)
77
- activesupport (= 6.0.3.2)
78
- activerecord (6.0.3.2)
79
- activemodel (= 6.0.3.2)
80
- activesupport (= 6.0.3.2)
81
- activestorage (6.0.3.2)
82
- actionpack (= 6.0.3.2)
83
- activejob (= 6.0.3.2)
84
- activerecord (= 6.0.3.2)
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
- activesupport (6.0.3.2)
89
+ mimemagic (~> 0.3.2)
90
+ activesupport (6.1.1)
87
91
  concurrent-ruby (~> 1.0, >= 1.0.2)
88
- i18n (>= 0.7, < 2)
89
- minitest (~> 5.1)
90
- tzinfo (~> 1.1)
91
- zeitwerk (~> 2.2, >= 2.2.2)
92
- acts_as_list (1.0.1)
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.15)
102
+ bcrypt (3.1.16)
99
103
  builder (3.2.4)
100
104
  byebug (11.1.3)
101
- capybara (3.32.2)
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.6)
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.2)
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.3)
131
- docile (1.3.2)
132
- erubi (1.9.0)
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.13.1)
144
+ ffi (1.14.2)
141
145
  globalid (0.4.2)
142
146
  activesupport (>= 4.2.0)
143
- haml (5.1.2)
147
+ haml (5.2.1)
144
148
  temple (>= 0.8.0)
145
149
  tilt
146
- haml-rails (1.0.0)
147
- actionpack (>= 4.0.1)
148
- activesupport (>= 4.0.1)
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 (>= 4.0.1)
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.5)
165
+ i18n (1.8.7)
162
166
  concurrent-ruby (~> 1.0)
163
- json (2.3.1)
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.6.0)
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.0512)
186
+ mime-types-data (3.2020.1104)
183
187
  mimemagic (0.3.5)
184
188
  mini_mime (1.0.2)
185
- mini_portile2 (2.4.0)
189
+ mini_portile2 (2.5.0)
186
190
  mini_racer (0.3.1)
187
191
  libv8 (~> 8.4.255)
188
- minitest (5.14.1)
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.2)
193
- nokogiri (1.10.10)
194
- mini_portile2 (~> 2.4.0)
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.5)
217
+ public_suffix (4.0.6)
218
+ racc (1.5.2)
213
219
  rack (2.2.3)
214
- rack-cache (1.12.0)
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.0.3.2)
220
- actioncable (= 6.0.3.2)
221
- actionmailbox (= 6.0.3.2)
222
- actionmailer (= 6.0.3.2)
223
- actionpack (= 6.0.3.2)
224
- actiontext (= 6.0.3.2)
225
- actionview (= 6.0.3.2)
226
- activejob (= 6.0.3.2)
227
- activemodel (= 6.0.3.2)
228
- activerecord (= 6.0.3.2)
229
- activestorage (= 6.0.3.2)
230
- activesupport (= 6.0.3.2)
231
- bundler (>= 1.3.0)
232
- railties (= 6.0.3.2)
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.0.3.2)
242
- actionpack (= 6.0.3.2)
243
- activesupport (= 6.0.3.2)
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 (>= 0.20.3, < 2.0)
247
- rake (12.3.3)
248
- rdoc (6.2.1)
249
- regexp_parser (1.7.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.1.1)
257
- railties (>= 5.1, < 6.1)
262
+ roadie-rails (2.2.0)
263
+ railties (>= 5.1, < 6.2)
258
264
  roadie (>= 3.1, < 5.0)
259
- rspec-core (3.9.2)
260
- rspec-support (~> 3.9.3)
261
- rspec-expectations (3.9.2)
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.9.0)
264
- rspec-mocks (3.9.1)
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.9.0)
267
- rspec-rails (4.0.1)
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.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)
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.0)
287
- simplecov (0.18.5)
292
+ sexp_processor (4.15.2)
293
+ simplecov (0.21.2)
288
294
  docile (~> 1.1)
289
295
  simplecov-html (~> 0.11)
290
- simplecov-html (0.12.2)
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.1)
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 (1.2.7)
308
- thread_safe (~> 0.1)
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.8)
313
- rack (>= 2.0.6)
314
- websocket-driver (0.7.2)
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.0)
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'
@@ -29,4 +29,6 @@ TrustyCms::Application.configure do
29
29
 
30
30
  # Expands the lines which load the assets
31
31
  config.assets.debug = true
32
+ config.assets.check_precompiled_asset = false
33
+
32
34
  end
@@ -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>&lt;r:assets:each /&gt;</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'