trusty-cms 5.3.6 → 5.3.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -4
- data/app/assets/stylesheets/rad_social/rad_screen.scss +0 -4
- data/app/models/deprecated_tags.rb +0 -8
- data/app/models/standard_tags.rb +8 -0
- data/app/views/widget/_horizontal_widget.html.haml +1 -3
- data/lib/trusty_cms.rb +1 -1
- data/trusty_cms.gemspec +1 -1
- metadata +35 -38
- data/app/assets/images/rad_social/flickr.png +0 -0
- data/app/assets/images/rad_social/foursquare.png +0 -0
- data/app/assets/images/rad_social/googleplus.png +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 142ffda692fc907a04f59cd6a31d30e2e9397d8518161987a072ffa880cbdd98
|
4
|
+
data.tar.gz: 54337c586f8569888abcbb0ebf0a3d947eb3401f552eb5e85e583ac4f3f84a03
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d0bd0157187af0c940538b8cac85623e76e50179c37f71a6aaad9cabda20abdd9a310c43a883301880991c1c599a13447a5d6bf2c0d52fac4ee4a7eee4c24554
|
7
|
+
data.tar.gz: 93614fe90f4abee174d3495decb4bc671ecc86f422dfc2b0e6b7696ddd955fdbb8086cf2dcc83a71e3eb706e88f24800964135983743dbd349ae7391cbd11a7f
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
trusty-cms (5.3.
|
4
|
+
trusty-cms (5.3.7)
|
5
5
|
RedCloth (= 4.3.2)
|
6
6
|
activestorage-validator
|
7
7
|
acts_as_list (>= 0.9.5, < 1.1.0)
|
@@ -185,7 +185,6 @@ GEM
|
|
185
185
|
launchy (2.5.0)
|
186
186
|
addressable (~> 2.7)
|
187
187
|
libv8-node (16.10.0.0-x86_64-darwin)
|
188
|
-
libv8-node (16.10.0.0-x86_64-linux)
|
189
188
|
loofah (2.18.0)
|
190
189
|
crass (~> 1.0.2)
|
191
190
|
nokogiri (>= 1.5.9)
|
@@ -198,7 +197,7 @@ GEM
|
|
198
197
|
mime-types-data (3.2021.0225)
|
199
198
|
mini_magick (4.11.0)
|
200
199
|
mini_mime (1.1.2)
|
201
|
-
mini_racer (0.6.
|
200
|
+
mini_racer (0.6.3)
|
202
201
|
libv8-node (~> 16.10.0.0)
|
203
202
|
minitest (5.15.0)
|
204
203
|
multi_xml (0.6.0)
|
@@ -325,7 +324,7 @@ GEM
|
|
325
324
|
tilt (2.0.11)
|
326
325
|
trustygems (0.2.1)
|
327
326
|
rake
|
328
|
-
tzinfo (2.0.
|
327
|
+
tzinfo (2.0.5)
|
329
328
|
concurrent-ruby (~> 1.0)
|
330
329
|
uglifier (4.2.0)
|
331
330
|
execjs (>= 0.3.0, < 3)
|
@@ -4,14 +4,6 @@ module DeprecatedTags
|
|
4
4
|
|
5
5
|
deprecated_tag 'comment', substitute: 'hide', deadline: '2.0'
|
6
6
|
|
7
|
-
deprecated_tag 'meta', deadline: '2.0' do |tag|
|
8
|
-
if tag.double?
|
9
|
-
tag.expand
|
10
|
-
else
|
11
|
-
tag.render('description', tag.attr) + tag.render('keywords', tag.attr)
|
12
|
-
end
|
13
|
-
end
|
14
|
-
|
15
7
|
deprecated_tag 'rfc1123_date', deadline: '2.0' do |tag|
|
16
8
|
page = tag.locals.page
|
17
9
|
if date = page.published_at || page.created_at
|
data/app/models/standard_tags.rb
CHANGED
@@ -915,6 +915,14 @@ module StandardTags
|
|
915
915
|
TrustyCms::Config['dev.host']
|
916
916
|
end
|
917
917
|
|
918
|
+
tag 'meta' do |tag|
|
919
|
+
if tag.double?
|
920
|
+
tag.expand
|
921
|
+
else
|
922
|
+
tag.render('description', tag.attr) + tag.render('keywords', tag.attr)
|
923
|
+
end
|
924
|
+
end
|
925
|
+
|
918
926
|
tag 'meta:description' do |tag|
|
919
927
|
show_tag = tag.attr['tag'] != 'false' || false
|
920
928
|
description = CGI.escapeHTML(tag.locals.page.field(:description).try(:content)) if tag.locals.page.field(:description)
|
@@ -13,6 +13,4 @@
|
|
13
13
|
.rad-icon
|
14
14
|
%a{:class => 'rad-popup-window rad-twitter', :href => "https://twitter.com/intent/tweet?text=#{CGI::escape(message + " " + url)}", :target=> '_blank'}
|
15
15
|
.rad-icon
|
16
|
-
%a{:class => 'rad-popup-window rad-email', :href => rad_social_mail_form_url(:email_subject => email_subject, :email_message => email_message, :email_action_url => email_action_url)}
|
17
|
-
.rad-icon
|
18
|
-
%a{:class => 'rad-popup-window rad-gplus', :href => "https://plus.google.com/share?url=#{CGI::escape(url)}", :target=> '_blank'}
|
16
|
+
%a{:class => 'rad-popup-window rad-email', :href => rad_social_mail_form_url(:email_subject => email_subject, :email_message => email_message, :email_action_url => email_action_url)}
|
data/lib/trusty_cms.rb
CHANGED
data/trusty_cms.gemspec
CHANGED
@@ -11,7 +11,7 @@ Gem::Specification.new do |s|
|
|
11
11
|
s.authors = ['TrustyCms CMS dev team']
|
12
12
|
s.description = 'TrustyCms is a simple and powerful publishing system designed for small teams.
|
13
13
|
It is built with Rails and is similar to Textpattern or MovableType, but is
|
14
|
-
a general purpose content
|
14
|
+
a general purpose content management system--not merely a blogging engine.'
|
15
15
|
s.email = 'webteam@trustarts.org'
|
16
16
|
s.executables = ['trusty_cms']
|
17
17
|
s.extra_rdoc_files = ['README.md', 'INSTALL.md', 'LICENSE.md']
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trusty-cms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.3.
|
4
|
+
version: 5.3.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- TrustyCms CMS dev team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-09-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activestorage-validator
|
@@ -465,7 +465,7 @@ dependencies:
|
|
465
465
|
description: |-
|
466
466
|
TrustyCms is a simple and powerful publishing system designed for small teams.
|
467
467
|
It is built with Rails and is similar to Textpattern or MovableType, but is
|
468
|
-
a general purpose content
|
468
|
+
a general purpose content management system--not merely a blogging engine.
|
469
469
|
email: webteam@trustarts.org
|
470
470
|
executables:
|
471
471
|
- trusty_cms
|
@@ -589,9 +589,6 @@ files:
|
|
589
589
|
- app/assets/images/rad_social/bg_primary-btn.png
|
590
590
|
- app/assets/images/rad_social/email.png
|
591
591
|
- app/assets/images/rad_social/facebook.png
|
592
|
-
- app/assets/images/rad_social/flickr.png
|
593
|
-
- app/assets/images/rad_social/foursquare.png
|
594
|
-
- app/assets/images/rad_social/googleplus.png
|
595
592
|
- app/assets/images/rad_social/twitter.png
|
596
593
|
- app/assets/images/radiant/radiant-badge-color.png
|
597
594
|
- app/assets/javascripts/admin.js
|
@@ -1168,52 +1165,52 @@ signing_key:
|
|
1168
1165
|
specification_version: 4
|
1169
1166
|
summary: A no-fluff content management system designed for small teams.
|
1170
1167
|
test_files:
|
1171
|
-
- spec/fixtures/users.yml
|
1172
1168
|
- spec/models/layout_spec.rb
|
1173
|
-
- spec/
|
1174
|
-
- spec/
|
1175
|
-
- spec/
|
1176
|
-
- spec/
|
1177
|
-
- spec/
|
1178
|
-
- spec/
|
1169
|
+
- spec/fixtures/users.yml
|
1170
|
+
- spec/factories/user.rb
|
1171
|
+
- spec/factories/page_part.rb
|
1172
|
+
- spec/factories/page.rb
|
1173
|
+
- spec/factories/layout.rb
|
1174
|
+
- spec/ci/database.mysql.yml
|
1179
1175
|
- spec/dummy/public/422.html
|
1180
|
-
- spec/dummy/public/500.html
|
1181
1176
|
- spec/dummy/public/favicon.ico
|
1182
1177
|
- spec/dummy/public/404.html
|
1183
|
-
- spec/dummy/
|
1184
|
-
- spec/dummy/
|
1178
|
+
- spec/dummy/public/500.html
|
1179
|
+
- spec/dummy/bin/bundle
|
1180
|
+
- spec/dummy/bin/setup
|
1181
|
+
- spec/dummy/bin/rails
|
1182
|
+
- spec/dummy/bin/rake
|
1183
|
+
- spec/dummy/db/schema.rb
|
1185
1184
|
- spec/dummy/config/secrets.yml
|
1186
|
-
- spec/dummy/config/locales/en.yml
|
1187
|
-
- spec/dummy/config/environments/test.rb
|
1188
|
-
- spec/dummy/config/environments/production.rb
|
1189
|
-
- spec/dummy/config/environments/development.rb
|
1190
1185
|
- spec/dummy/config/database.yml
|
1191
|
-
- spec/dummy/config/application.rb
|
1192
|
-
- spec/dummy/config/boot.rb
|
1193
|
-
- spec/dummy/config/environment.rb
|
1194
|
-
- spec/dummy/config/initializers/inflections.rb
|
1195
|
-
- spec/dummy/config/initializers/session_store.rb
|
1196
1186
|
- spec/dummy/config/initializers/backtrace_silencers.rb
|
1187
|
+
- spec/dummy/config/initializers/assets.rb
|
1188
|
+
- spec/dummy/config/initializers/trusty_cms_config.rb
|
1197
1189
|
- spec/dummy/config/initializers/wrap_parameters.rb
|
1198
1190
|
- spec/dummy/config/initializers/mime_types.rb
|
1199
1191
|
- spec/dummy/config/initializers/cookies_serializer.rb
|
1200
|
-
- spec/dummy/config/initializers/assets.rb
|
1201
|
-
- spec/dummy/config/initializers/trusty_cms_config.rb
|
1202
1192
|
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
1193
|
+
- spec/dummy/config/initializers/inflections.rb
|
1194
|
+
- spec/dummy/config/initializers/session_store.rb
|
1195
|
+
- spec/dummy/config/boot.rb
|
1196
|
+
- spec/dummy/config/locales/en.yml
|
1197
|
+
- spec/dummy/config/environment.rb
|
1198
|
+
- spec/dummy/config/application.rb
|
1203
1199
|
- spec/dummy/config/routes.rb
|
1200
|
+
- spec/dummy/config/environments/development.rb
|
1201
|
+
- spec/dummy/config/environments/test.rb
|
1202
|
+
- spec/dummy/config/environments/production.rb
|
1204
1203
|
- spec/dummy/app/assets/config/manifest.js
|
1205
1204
|
- spec/dummy/package.json
|
1206
|
-
- spec/dummy/
|
1205
|
+
- spec/dummy/README.rdoc
|
1206
|
+
- spec/dummy/yarn.lock
|
1207
|
+
- spec/dummy/config.ru
|
1207
1208
|
- spec/dummy/Rakefile
|
1208
|
-
- spec/factories/page.rb
|
1209
|
-
- spec/factories/layout.rb
|
1210
|
-
- spec/factories/page_part.rb
|
1211
|
-
- spec/factories/user.rb
|
1212
|
-
- spec/features/config_spec.rb
|
1213
|
-
- spec/features/pages_spec.rb
|
1214
|
-
- spec/features/layouts_spec.rb
|
1215
|
-
- spec/support/custom_actions.rb
|
1216
|
-
- spec/controllers/users_controller_spec.rb
|
1217
1209
|
- spec/controllers/application_controller_spec.rb
|
1218
|
-
- spec/
|
1210
|
+
- spec/controllers/users_controller_spec.rb
|
1211
|
+
- spec/support/custom_actions.rb
|
1219
1212
|
- spec/rails_helper.rb
|
1213
|
+
- spec/features/pages_spec.rb
|
1214
|
+
- spec/features/layouts_spec.rb
|
1215
|
+
- spec/features/config_spec.rb
|
1216
|
+
- spec/spec_helper.rb
|
Binary file
|
Binary file
|
Binary file
|