radiant-group_forum-extension 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.markdown CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  This is a bit of glue to link reader groups to forums. In order to make access control simple and expressible in SQL, it sets up a simple `belongs_to :group` relationship in the forum and then cascades it to topics and posts.
4
4
 
5
- (this is achieved by calling `is_grouped` and `gives_group_to :topics`, plus a bit of controller fiddling)
5
+ (this is achieved by calling `has_group` and `gives_group_to :topics`, plus a bit of controller fiddling)
6
6
 
7
7
  The Radius tags supporting this are pretty basic at the moment but will improve. Access control has been the first priority.
8
8
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.0
1
+ 0.4.1
@@ -1,5 +1,5 @@
1
1
  class GroupForumExtension < Radiant::Extension
2
- version "0.4.0"
2
+ version "0.4.1"
3
3
  description "Just a bit of access-control glue joining reader_groups to forum"
4
4
  url "http://spanner.org/radiant/group_forums"
5
5
 
data/lib/grouped_forum.rb CHANGED
@@ -2,7 +2,7 @@ module GroupedForum
2
2
 
3
3
  def self.included(base)
4
4
  base.class_eval {
5
- is_grouped
5
+ has_group
6
6
  gives_group_to :topics # which in turn give it to posts
7
7
  }
8
8
  end
data/lib/grouped_post.rb CHANGED
@@ -2,7 +2,7 @@ module GroupedPost
2
2
 
3
3
  def self.included(base)
4
4
  base.class_eval {
5
- is_grouped
5
+ has_group
6
6
  gets_group_from :topic
7
7
  }
8
8
  end
data/lib/grouped_topic.rb CHANGED
@@ -2,7 +2,7 @@ module GroupedTopic
2
2
 
3
3
  def self.included(base)
4
4
  base.class_eval {
5
- is_grouped
5
+ has_group
6
6
  gets_group_from :forum
7
7
  gives_group_to :posts
8
8
  }
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{radiant-group_forum-extension}
8
- s.version = "0.4.0"
8
+ s.version = "0.4.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["spanner"]
12
- s.date = %q{2010-10-04}
12
+ s.date = %q{2011-01-27}
13
13
  s.description = %q{A bit of glue to add group-based access control to the radiant forum.}
14
14
  s.email = %q{will@spanner.org}
15
15
  s.extra_rdoc_files = [
@@ -32,7 +32,6 @@ Gem::Specification.new do |s|
32
32
  "lib/posts_controller_extensions.rb",
33
33
  "lib/tasks/group_forum_extension_tasks.rake",
34
34
  "lib/topics_controller_extensions.rb",
35
- "pkg/radiant-group_forum-extension-0.4.0.gem",
36
35
  "radiant-group_forum-extension.gemspec",
37
36
  "spec/datasets/group_forum_forums_dataset.rb",
38
37
  "spec/datasets/group_forum_groups_dataset.rb",
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: radiant-group_forum-extension
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
4
+ hash: 13
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 4
9
- - 0
10
- version: 0.4.0
9
+ - 1
10
+ version: 0.4.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - spanner
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-10-04 00:00:00 +01:00
18
+ date: 2011-01-27 00:00:00 +00:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -87,7 +87,6 @@ files:
87
87
  - lib/posts_controller_extensions.rb
88
88
  - lib/tasks/group_forum_extension_tasks.rake
89
89
  - lib/topics_controller_extensions.rb
90
- - pkg/radiant-group_forum-extension-0.4.0.gem
91
90
  - radiant-group_forum-extension.gemspec
92
91
  - spec/datasets/group_forum_forums_dataset.rb
93
92
  - spec/datasets/group_forum_groups_dataset.rb