trusty-cms 3.0.7 → 3.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +4 -4
- data/app/controllers/social_mailer_controller.rb +1 -1
- data/app/mailers/application_mailer.rb +2 -0
- data/app/mailers/password_mailer.rb +1 -1
- data/app/{models → mailers}/rad_social_mailer.rb +1 -2
- data/app/views/layouts/mail.html.haml +8 -0
- data/app/views/layouts/mailer.text.haml +1 -0
- data/lib/trusty_cms/initializer.rb +0 -15
- data/lib/trusty_cms.rb +1 -1
- metadata +6 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d6ebe8fcd153e149f08eec67dbdcc44e23b50f30
|
4
|
+
data.tar.gz: dfaff5d25baef6ed75e7f0d1e9d17bd8072a426f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bfdf645ed79a45b6ee8a8ceaa57c9d6d01478939ee2a34c0402492749b5d09fc857092a679742a35856933f4efcb086cea020435f14084f4f48a8e669e036ea2
|
7
|
+
data.tar.gz: 6649e139dfa185309c435ffbc4378eaddae63c6a997ee9bb047b7ae5c743e91514b1d10efc867d2d1ae156e96abc150956c3dfa08aae4cc1552d5349d977b706
|
data/Gemfile.lock
CHANGED
@@ -8,7 +8,7 @@ GIT
|
|
8
8
|
PATH
|
9
9
|
remote: .
|
10
10
|
specs:
|
11
|
-
trusty-cms (3.0.
|
11
|
+
trusty-cms (3.0.8)
|
12
12
|
RedCloth (~> 4.3.2)
|
13
13
|
acts_as_tree (~> 2.6.1)
|
14
14
|
bundler (~> 1.7)
|
@@ -158,7 +158,7 @@ GEM
|
|
158
158
|
json (2.1.0)
|
159
159
|
launchy (2.4.3)
|
160
160
|
addressable (~> 2.3)
|
161
|
-
libv8 (3.16.14.19)
|
161
|
+
libv8 (3.16.14.19-x86_64-darwin-16)
|
162
162
|
loofah (2.0.3)
|
163
163
|
nokogiri (>= 1.5.9)
|
164
164
|
mail (2.6.6)
|
@@ -277,7 +277,7 @@ GEM
|
|
277
277
|
ref
|
278
278
|
thor (0.19.4)
|
279
279
|
thread_safe (0.3.6)
|
280
|
-
tilt (2.0.
|
280
|
+
tilt (2.0.8)
|
281
281
|
trustygems (0.2.1)
|
282
282
|
rake
|
283
283
|
tzinfo (1.2.3)
|
@@ -313,4 +313,4 @@ DEPENDENCIES
|
|
313
313
|
trustygems (~> 0.2.0)
|
314
314
|
|
315
315
|
BUNDLED WITH
|
316
|
-
1.15.
|
316
|
+
1.15.3
|
@@ -0,0 +1 @@
|
|
1
|
+
= yield
|
@@ -131,7 +131,6 @@ module TrustyCms
|
|
131
131
|
#
|
132
132
|
def initialize_views
|
133
133
|
initialize_default_admin_tabs
|
134
|
-
initialize_framework_views
|
135
134
|
admin.load_default_regions
|
136
135
|
end
|
137
136
|
|
@@ -141,20 +140,6 @@ module TrustyCms
|
|
141
140
|
admin.initialize_nav
|
142
141
|
end
|
143
142
|
|
144
|
-
# This adds extension view paths to the standard Rails::Initializer method.
|
145
|
-
# In environments that don't cache templates it reloads the path set on each request,
|
146
|
-
# so that new extension paths are noticed without a restart.
|
147
|
-
#
|
148
|
-
def initialize_framework_views
|
149
|
-
view_paths = extension_loader.paths(:view) #.push(TrustyCms::Application.config.view_path)
|
150
|
-
if ActionController::Base.view_paths.count == 0 || !ActionView::Base.cache_template_loading
|
151
|
-
ActionController::Base.view_paths = ActionView::PathSet.new(Array.wrap(view_paths))
|
152
|
-
end
|
153
|
-
if ActionMailer::Base.view_paths.count == 0 || !ActionView::Base.cache_template_loading
|
154
|
-
ActionMailer::Base.view_paths = ActionView::PathSet.new(Array.wrap(view_paths))
|
155
|
-
end
|
156
|
-
end
|
157
|
-
|
158
143
|
# Extends the Rails initializer to make sure that extension controller paths are available when routes
|
159
144
|
# are initialized.
|
160
145
|
#
|
data/lib/trusty_cms.rb
CHANGED
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: 3.0.
|
4
|
+
version: 3.0.8
|
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: 2017-07-
|
11
|
+
date: 2017-07-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tzinfo
|
@@ -1288,7 +1288,9 @@ files:
|
|
1288
1288
|
- app/helpers/application_helper.rb
|
1289
1289
|
- app/helpers/rad_social_helper.rb
|
1290
1290
|
- app/helpers/site_helper.rb
|
1291
|
+
- app/mailers/application_mailer.rb
|
1291
1292
|
- app/mailers/password_mailer.rb
|
1293
|
+
- app/mailers/rad_social_mailer.rb
|
1292
1294
|
- app/models/deprecated_tags.rb
|
1293
1295
|
- app/models/file_not_found_page.rb
|
1294
1296
|
- app/models/layout.rb
|
@@ -1297,7 +1299,6 @@ files:
|
|
1297
1299
|
- app/models/page_context.rb
|
1298
1300
|
- app/models/page_field.rb
|
1299
1301
|
- app/models/page_part.rb
|
1300
|
-
- app/models/rad_social_mailer.rb
|
1301
1302
|
- app/models/standard_tags.rb
|
1302
1303
|
- app/models/status.rb
|
1303
1304
|
- app/models/text_filter.rb
|
@@ -1340,6 +1341,8 @@ files:
|
|
1340
1341
|
- app/views/admin/users/remove.html.haml
|
1341
1342
|
- app/views/admin/welcome/login.html.haml
|
1342
1343
|
- app/views/layouts/application.html.haml
|
1344
|
+
- app/views/layouts/mail.html.haml
|
1345
|
+
- app/views/layouts/mailer.text.haml
|
1343
1346
|
- app/views/password_mailer/password_reset.html.haml
|
1344
1347
|
- app/views/rad_social_mailer/social_mail.html.haml
|
1345
1348
|
- app/views/rad_social_mailer/social_mail_form.html.haml
|