ezmlm 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ezmlm.rb +3 -3
- data/lib/ezmlm/list.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1a7a83d944995b08cab01dfdaa2b9cbb003cd010
|
4
|
+
data.tar.gz: 562a9857331d93f7288b0158c652b5887cd5b8e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a032a42a032c5f98960f4c66ee498b7680cefce301d2a9aa02387b76c7727e8a5b051a19e60e401b7e3202c849cc139612825d77728262a3be0e739debd1fe0a
|
7
|
+
data.tar.gz: b29434e5b847df18bf35f733968c5d4ed91b5260f1313dffbacf722e590edb5de59ab4518e515cc0ba7d5c16b4c3489f12b0991cb6a2448224aba337ef4bdb9c
|
data/lib/ezmlm.rb
CHANGED
@@ -11,10 +11,10 @@ require 'pathname'
|
|
11
11
|
# end
|
12
12
|
#
|
13
13
|
module Ezmlm
|
14
|
-
# $Id: ezmlm.rb,v
|
14
|
+
# $Id: ezmlm.rb,v 81cc7d47f68f 2017/05/30 18:08:48 mahlon $
|
15
15
|
|
16
16
|
# Package version
|
17
|
-
VERSION = '1.1.
|
17
|
+
VERSION = '1.1.1'
|
18
18
|
|
19
19
|
# Suck in the components.
|
20
20
|
#
|
@@ -35,7 +35,7 @@ module Ezmlm
|
|
35
35
|
def find_directories( listsdir )
|
36
36
|
listsdir = Pathname.new( listsdir )
|
37
37
|
return Pathname.glob( listsdir + '*' ).sort.select do |entry|
|
38
|
-
entry.directory? && ( entry + '
|
38
|
+
entry.directory? && ( entry + 'ezmlmrc' ).exist?
|
39
39
|
end
|
40
40
|
end
|
41
41
|
|
data/lib/ezmlm/list.rb
CHANGED
@@ -14,7 +14,7 @@ require 'ezmlm' unless defined?( Ezmlm )
|
|
14
14
|
#
|
15
15
|
#---
|
16
16
|
class Ezmlm::List
|
17
|
-
# $Id: list.rb,v
|
17
|
+
# $Id: list.rb,v 81cc7d47f68f 2017/05/30 18:08:48 mahlon $
|
18
18
|
|
19
19
|
# Valid subdirectories/sections for subscriptions.
|
20
20
|
SUBSCRIPTION_DIRS = %w[ deny mod digest allow ]
|
@@ -25,7 +25,7 @@ class Ezmlm::List
|
|
25
25
|
###
|
26
26
|
def initialize( listdir )
|
27
27
|
listdir = Pathname.new( listdir ) unless listdir.is_a?( Pathname )
|
28
|
-
unless listdir.directory? && ( listdir + '
|
28
|
+
unless listdir.directory? && ( listdir + 'ezmlmrc' ).exist?
|
29
29
|
raise ArgumentError, "%p doesn't appear to be an ezmlm-idx list." % [ listdir.to_s ]
|
30
30
|
end
|
31
31
|
@listdir = listdir
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ezmlm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mahlon E. Smith
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2017-05-
|
13
|
+
date: 2017-05-30 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: mail
|