emailist 0.0.10 → 0.0.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/emailist/version.rb +1 -1
- data/lib/emailist.rb +8 -8
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ea1f09f66e64ad8005b9d4e80a07eaa83abdfac4
|
4
|
+
data.tar.gz: 2c2f3d54c20853665a717038512e5813de2f1815
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2f0808c9a72e5575db6dc6fe02c6984308e44c737f9ab3b79b88251b31aa5546e4b2103906a5481314b85d6fa9728b4dfbb8ff096abbdc32a3c0b7ab1c59b3f1
|
7
|
+
data.tar.gz: b57d4132097165d97a5f658a53aec0c33638df8e410e169e54da0d7024204be28e8f5579e6f49d67acde76814ee5b219110f01be4f2c60e6445d0b7b8999631d
|
data/lib/emailist/version.rb
CHANGED
data/lib/emailist.rb
CHANGED
@@ -60,14 +60,6 @@ class Emailist < Array
|
|
60
60
|
_include?(clean(email))
|
61
61
|
end
|
62
62
|
|
63
|
-
private
|
64
|
-
|
65
|
-
def refresh!
|
66
|
-
_delete(nil)
|
67
|
-
uniq!
|
68
|
-
return self
|
69
|
-
end
|
70
|
-
|
71
63
|
def clean(email)
|
72
64
|
return if email.nil?
|
73
65
|
|
@@ -153,5 +145,13 @@ private
|
|
153
145
|
|
154
146
|
email
|
155
147
|
end
|
148
|
+
|
149
|
+
private
|
150
|
+
|
151
|
+
def refresh!
|
152
|
+
_delete(nil)
|
153
|
+
uniq!
|
154
|
+
return self
|
155
|
+
end
|
156
156
|
|
157
157
|
end
|