radiant-forum-extension 3.0.4 → 3.0.5
Sign up to get free protection for your applications and to get access to all the features.
@@ -2,7 +2,7 @@ class ForumBaseController < ReaderActionController
|
|
2
2
|
|
3
3
|
include Radiant::Pagination::Controller
|
4
4
|
radiant_layout { |c| Radiant::Config['forum.layout'] || Radiant::Config['reader.layout'] }
|
5
|
-
before_filter :
|
5
|
+
before_filter :require_reader_unless_public
|
6
6
|
before_filter :establish_context
|
7
7
|
before_filter :require_visibility_to_reader
|
8
8
|
helper :forum, :reader
|
@@ -17,7 +17,7 @@ protected
|
|
17
17
|
end
|
18
18
|
end
|
19
19
|
|
20
|
-
def
|
20
|
+
def require_reader_unless_public
|
21
21
|
return false unless Radiant::Config['forum.public?'] || require_reader && require_activated_reader
|
22
22
|
end
|
23
23
|
|
@@ -55,7 +55,7 @@ namespace :radiant do
|
|
55
55
|
reader.update_attributes(
|
56
56
|
:old_id => row['UserID'],
|
57
57
|
:name => reader_name,
|
58
|
-
:
|
58
|
+
:nickname => row['Name'],
|
59
59
|
:last_login_ip => row['RemoteIp'],
|
60
60
|
:last_request_at => row['DateLastActive'],
|
61
61
|
:password => 'import',
|
Binary file
|
@@ -12,7 +12,7 @@ Gem::Specification.new do |s|
|
|
12
12
|
s.summary = RadiantForumExtension::SUMMARY
|
13
13
|
s.description = RadiantForumExtension::DESCRIPTION
|
14
14
|
|
15
|
-
s.add_dependency 'radiant-reader-extension', "~> 3.0.
|
15
|
+
s.add_dependency 'radiant-reader-extension', "~> 3.0.23"
|
16
16
|
s.add_dependency 'acts_as_list', "~> 0.1.2"
|
17
17
|
|
18
18
|
ignores = if File.exist?('.gitignore')
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: radiant-forum-extension
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 13
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 3
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 3.0.
|
9
|
+
- 5
|
10
|
+
version: 3.0.5
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- William Ross
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-10-
|
18
|
+
date: 2011-10-14 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: radiant-reader-extension
|
@@ -25,12 +25,12 @@ dependencies:
|
|
25
25
|
requirements:
|
26
26
|
- - ~>
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
hash:
|
28
|
+
hash: 41
|
29
29
|
segments:
|
30
30
|
- 3
|
31
31
|
- 0
|
32
|
-
-
|
33
|
-
version: 3.0.
|
32
|
+
- 23
|
33
|
+
version: 3.0.23
|
34
34
|
type: :runtime
|
35
35
|
version_requirements: *id001
|
36
36
|
- !ruby/object:Gem::Dependency
|
@@ -233,7 +233,7 @@ files:
|
|
233
233
|
- public/stylesheets/sass/admin/forum_dashboard.sass
|
234
234
|
- public/stylesheets/sass/forum.sass
|
235
235
|
- public/stylesheets/sass/gallery.sass
|
236
|
-
- radiant-forum-extension-3.0.
|
236
|
+
- radiant-forum-extension-3.0.4.gem
|
237
237
|
- radiant-forum-extension.gemspec
|
238
238
|
- Rakefile
|
239
239
|
- README.md
|
@@ -260,7 +260,7 @@ files:
|
|
260
260
|
homepage: http://radiant.spanner.org/forum
|
261
261
|
licenses: []
|
262
262
|
|
263
|
-
post_install_message: "\n Add this to the Gemfile in your radiant project:\n\n gem 'radiant-forum-extension', '~> 3.0.
|
263
|
+
post_install_message: "\n Add this to the Gemfile in your radiant project:\n\n gem 'radiant-forum-extension', '~> 3.0.5'\n\n "
|
264
264
|
rdoc_options: []
|
265
265
|
|
266
266
|
require_paths:
|
Binary file
|