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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7a6ee97f5e6a504d5a73e26cd89139540a69aed9afaf9fa920653d978a9c6231
4
- data.tar.gz: ffaa7785803e8fbec870aa86197e021ba306d331f78f685c9e8a8efbaf5ea370
3
+ metadata.gz: 72ed58040560740422402bad4242efe137bec31681dbd74754d9b503abc03ef2
4
+ data.tar.gz: 2ea79957ac9959149b97465049f687bd1acf2960013f2e0c1e7c3242d4b052c5
5
5
  SHA512:
6
- metadata.gz: 172373b43d2cde7ee76864c97b0a3a1c291d12dbe6c563a765f42df024f3f3c476d235f3af9940be98f0f2579fedb9249f870fd2b6bbb924828a469c8c8934a8
7
- data.tar.gz: 83d52cd7d5bac8dc2d5a0a9bb229112a7fad12bdb99e219761469173e3f0bd33e2e570009dd76872f9fb3c665b04fa14bafd1b1e974f25161512aca783188eb2
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-2018 Damjan Rems
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 DrgcmsControls::DcBlogDcReplyControl
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 DrgcmsControls::DcForumTopicControl
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 DrgcmsControls::DcForumTopicDcReplyControl
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 DrgcmsControls::DcNewsDcReplyControl
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 DrgcmsControls::ReplyControl
28
+ module ReplyControl
29
29
 
30
30
  ######################################################################
31
31
  # Called when new empty record is created
@@ -22,7 +22,7 @@
22
22
  #++
23
23
 
24
24
  module DcBnfHelper
25
- #include DcApplicationHelper
25
+ include CmsCommonHelper
26
26
 
27
27
  ########################################################################
28
28
  #
@@ -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,7 +26,7 @@
26
26
  ########################################################################
27
27
  class DcForumRenderer < DcRenderer
28
28
  include DcApplicationHelper
29
-
29
+ include CmsCommonHelper
30
30
 
31
31
  ########################################################################
32
32
  #
@@ -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
@@ -1,3 +1,3 @@
1
1
  module DrgBlogNewsForum
2
- VERSION = "0.6.1"
2
+ VERSION = "0.6.3"
3
3
  end
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.1
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: 2020-04-01 00:00:00.000000000 Z
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/controllers/drgcms_controls/dc_blog_dc_reply_control.rb
54
- - app/controllers/drgcms_controls/dc_forum_topic_control.rb
55
- - app/controllers/drgcms_controls/dc_forum_topic_dc_reply_control.rb
56
- - app/controllers/drgcms_controls/dc_news_dc_reply_control.rb
57
- - app/controllers/drgcms_controls/reply_control.rb
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.0.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