radiant-reader_mailman-extension 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
@@ -2,6 +2,7 @@ class MailingListMembership < ActiveRecord::Base
|
|
2
2
|
establish_connection "mailman_#{RAILS_ENV}"
|
3
3
|
set_table_name Radiant.config['reader.mailman.list_name']
|
4
4
|
set_primary_key "address"
|
5
|
+
before_create :set_defaults
|
5
6
|
|
6
7
|
def self.of_list(listname)
|
7
8
|
old_table_name = self.table_name
|
@@ -24,6 +25,12 @@ class MailingListMembership < ActiveRecord::Base
|
|
24
25
|
|
25
26
|
private
|
26
27
|
|
28
|
+
def set_defaults
|
29
|
+
self.bi_lastnotice = 0
|
30
|
+
self.bi_date = 0
|
31
|
+
self.ack = true
|
32
|
+
end
|
33
|
+
|
27
34
|
def to_yesno(value)
|
28
35
|
(value && value.to_i != 0) ? 'Y' : 'N'
|
29
36
|
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
module RadiantReaderMailmanExtension
|
2
|
-
VERSION = '0.1.
|
2
|
+
VERSION = '0.1.2'
|
3
3
|
SUMMARY = %q{Basic integration of reader groups with mailman mailing lists}
|
4
4
|
DESCRIPTION = %q{Allows you to specify and configure a mailman mailing list for your readers. Group lists will follow.}
|
5
5
|
URL = "http://radiant.spanner.org/reader_mailman"
|
Binary file
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: radiant-reader_mailman-extension
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 31
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 2
|
10
|
+
version: 0.1.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- William Ross
|
@@ -39,6 +39,8 @@ files:
|
|
39
39
|
- lib/radiant-reader_mailman-extension.rb
|
40
40
|
- lib/tasks/reader_mailman_extension_tasks.rake
|
41
41
|
- radiant-reader_mailman-extension-0.1.0.gem
|
42
|
+
- radiant-reader_mailman-extension-0.1.1.gem
|
43
|
+
- radiant-reader_mailman-extension-0.1.2.gem
|
42
44
|
- radiant-reader_mailman-extension.gemspec
|
43
45
|
- Rakefile
|
44
46
|
- reader_mailman_extension.rb
|
@@ -53,7 +55,7 @@ files:
|
|
53
55
|
homepage: http://radiant.spanner.org/reader_mailman
|
54
56
|
licenses: []
|
55
57
|
|
56
|
-
post_install_message: "\n Add this to your radiant project with a line in your Gemfile:\n\n gem 'radiant-reader_mailman-extension', '~> 0.1.
|
58
|
+
post_install_message: "\n Add this to your radiant project with a line in your Gemfile:\n\n gem 'radiant-reader_mailman-extension', '~> 0.1.2'\n\n "
|
57
59
|
rdoc_options: []
|
58
60
|
|
59
61
|
require_paths:
|