drg_blog_news_forum 0.6.1 → 0.6.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/app/{controllers/drgcms_controls → controls}/dc_blog_dc_reply_control.rb +1 -1
- data/app/{controllers/drgcms_controls → controls}/dc_forum_topic_control.rb +1 -1
- data/app/{controllers/drgcms_controls → controls}/dc_forum_topic_dc_reply_control.rb +1 -1
- data/app/{controllers/drgcms_controls → controls}/dc_news_dc_reply_control.rb +1 -1
- data/app/{controllers/drgcms_controls → controls}/reply_control.rb +1 -1
- data/app/helpers/dc_bnf_helper.rb +1 -1
- data/app/models/dc_blog.rb +1 -1
- data/app/renderers/dc_blog_renderer.rb +1 -0
- data/app/renderers/dc_forum_renderer.rb +1 -1
- data/app/renderers/dc_news_renderer.rb +1 -0
- data/lib/drg_blog_news_forum/version.rb +1 -1
- metadata +13 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 72ed58040560740422402bad4242efe137bec31681dbd74754d9b503abc03ef2
|
4
|
+
data.tar.gz: 2ea79957ac9959149b97465049f687bd1acf2960013f2e0c1e7c3242d4b052c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 95005b8b47db2fd05b1055fcbaee1b50c71eaebdf9ad62db6d8ad1f6df2ff7af41fc33c5277c18eb0f93166565d2bf4dd2e675b071b563130414558e89371c50
|
7
|
+
data.tar.gz: d3b8e1993a75a0562d14ae4d35a375022fc0aebc168b879297635d052d2774b4e75e15ef158aa58e8a43892c9b0dde2caa6ad78c46f3556d308bb0671e74209a
|
data/README.md
CHANGED
@@ -30,7 +30,7 @@ Please see the DRG CMS website for up-to-date documentation:
|
|
30
30
|
License
|
31
31
|
-------
|
32
32
|
|
33
|
-
Copyright (c) 2014-
|
33
|
+
Copyright (c) 2014-2022 Damjan Rems
|
34
34
|
|
35
35
|
Permission is hereby granted, free of charge, to any person obtaining
|
36
36
|
a copy of this software and associated documentation files (the
|
@@ -25,7 +25,7 @@
|
|
25
25
|
######################################################################
|
26
26
|
# DrgcmsControls for DcBlog.DcReply form
|
27
27
|
######################################################################
|
28
|
-
module
|
28
|
+
module DcBlogDcReplyControl
|
29
29
|
|
30
30
|
######################################################################
|
31
31
|
# Called when new empty record is created
|
@@ -25,7 +25,7 @@
|
|
25
25
|
######################################################################
|
26
26
|
# DrgcmsControls for DcForumTopic form
|
27
27
|
######################################################################
|
28
|
-
module
|
28
|
+
module DcForumTopicControl
|
29
29
|
######################################################################
|
30
30
|
# Called when new empty record is created
|
31
31
|
######################################################################
|
@@ -25,7 +25,7 @@
|
|
25
25
|
######################################################################
|
26
26
|
# DrgcmsControls for DcForum.DcReply form
|
27
27
|
######################################################################
|
28
|
-
module
|
28
|
+
module DcForumTopicDcReplyControl
|
29
29
|
|
30
30
|
######################################################################
|
31
31
|
# Called when new empty record is created
|
@@ -25,7 +25,7 @@
|
|
25
25
|
######################################################################
|
26
26
|
# DrgcmsControls for DcBlog.DcReply form
|
27
27
|
######################################################################
|
28
|
-
module
|
28
|
+
module DcNewsDcReplyControl
|
29
29
|
|
30
30
|
######################################################################
|
31
31
|
# Called when new empty record is created
|
@@ -25,7 +25,7 @@
|
|
25
25
|
######################################################################
|
26
26
|
# DrgcmsControls for DcBlog.DcReply form
|
27
27
|
######################################################################
|
28
|
-
module
|
28
|
+
module ReplyControl
|
29
29
|
|
30
30
|
######################################################################
|
31
31
|
# Called when new empty record is created
|
data/app/models/dc_blog.rb
CHANGED
@@ -46,7 +46,7 @@ included do
|
|
46
46
|
|
47
47
|
field :subject, type: String, default: ''
|
48
48
|
field :body, type: String, default: ''
|
49
|
-
field :active, type: Boolean, default: true
|
49
|
+
field :active, type: Mongoid::Boolean, default: true
|
50
50
|
field :link, type: String
|
51
51
|
field :replies, type: Integer, default: 0
|
52
52
|
|
@@ -26,6 +26,7 @@
|
|
26
26
|
########################################################################
|
27
27
|
class DcBlogRenderer < DcRenderer
|
28
28
|
include DcApplicationHelper
|
29
|
+
include CmsCommonHelper
|
29
30
|
|
30
31
|
########################################################################
|
31
32
|
# Show one blog entry
|
@@ -26,6 +26,7 @@
|
|
26
26
|
########################################################################
|
27
27
|
class DcNewsRenderer < DcRenderer
|
28
28
|
include DcApplicationHelper
|
29
|
+
include CmsCommonHelper
|
29
30
|
|
30
31
|
########################################################################
|
31
32
|
# Collects documents for list
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: drg_blog_news_forum
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Damjan Rems
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -50,11 +50,11 @@ files:
|
|
50
50
|
- README.md
|
51
51
|
- Rakefile
|
52
52
|
- app/assets/stylesheets/drg_blog_news_forum.css
|
53
|
-
- app/
|
54
|
-
- app/
|
55
|
-
- app/
|
56
|
-
- app/
|
57
|
-
- app/
|
53
|
+
- app/controls/dc_blog_dc_reply_control.rb
|
54
|
+
- app/controls/dc_forum_topic_control.rb
|
55
|
+
- app/controls/dc_forum_topic_dc_reply_control.rb
|
56
|
+
- app/controls/dc_news_dc_reply_control.rb
|
57
|
+
- app/controls/reply_control.rb
|
58
58
|
- app/forms/cms_menu.yml
|
59
59
|
- app/forms/dc_blog.yml
|
60
60
|
- app/forms/dc_forum.yml
|
@@ -103,7 +103,7 @@ homepage: http://www.drgcms.org
|
|
103
103
|
licenses:
|
104
104
|
- MIT
|
105
105
|
metadata: {}
|
106
|
-
post_install_message:
|
106
|
+
post_install_message:
|
107
107
|
rdoc_options: []
|
108
108
|
require_paths:
|
109
109
|
- lib
|
@@ -118,11 +118,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
118
118
|
- !ruby/object:Gem::Version
|
119
119
|
version: '0'
|
120
120
|
requirements: []
|
121
|
-
rubygems_version: 3.
|
122
|
-
signing_key:
|
121
|
+
rubygems_version: 3.2.22
|
122
|
+
signing_key:
|
123
123
|
specification_version: 4
|
124
124
|
summary: 'DRG CMS: Blog, news and forum plugin for DRG CMS'
|
125
125
|
test_files:
|
126
|
-
- test/test_helper.rb
|
127
|
-
- test/integration/navigation_test.rb
|
128
126
|
- test/drg_blog_news_forum_test.rb
|
127
|
+
- test/integration/navigation_test.rb
|
128
|
+
- test/test_helper.rb
|