disposable_mail 0.1.4 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.travis.yml +0 -3
- data/README.md +6 -2
- data/Rakefile +1 -1
- data/lib/disposable_mail/disposable.rb +961 -18
- data/lib/disposable_mail/version.rb +1 -1
- 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: ac731b227f16c80d8d5e539d5052c29c1d7be60a
|
4
|
+
data.tar.gz: 8e7b03916808addb9c06988c57d0eb8be07c35f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 346a1651ea65e8066868df0008ca695709be6ed7de64605c1959c0ddc323149bc656faaeb2d4dadb04aba0cfe9ab309f3db7383c9fb817af8e78b04132ad7f14
|
7
|
+
data.tar.gz: db20c2183f08749ae6d1c1ea77da2d56e58738b5b5294f9f46d3a1d7bdcf70ab0109129e8a38ab7acee6aec0b553b74b80aee6940a4592bb0548871d0bab7d6c
|
data/.travis.yml
CHANGED
data/README.md
CHANGED
@@ -14,7 +14,7 @@ And this gem syncs with it through a git submodule (see the data folder).
|
|
14
14
|
Add this line to your application's Gemfile:
|
15
15
|
|
16
16
|
```ruby
|
17
|
-
gem 'disposable_mail', '~> 0.1
|
17
|
+
gem 'disposable_mail', '~> 0.1'
|
18
18
|
```
|
19
19
|
|
20
20
|
And then execute:
|
@@ -104,7 +104,11 @@ This gem comes with default messages for the following locales:
|
|
104
104
|
|
105
105
|
## Changelog
|
106
106
|
|
107
|
-
### 0.1.
|
107
|
+
### 0.1.5 - 2016-06-27
|
108
|
+
|
109
|
+
* Update blacklist
|
110
|
+
|
111
|
+
### 0.1.4 - 2016-04-04
|
108
112
|
|
109
113
|
* Slightly faster `#include?`
|
110
114
|
* Update blacklist
|
data/Rakefile
CHANGED
@@ -11,7 +11,7 @@ namespace :disposable_mail do
|
|
11
11
|
desc "outputs the current disposable domains"
|
12
12
|
task :puts_domains do
|
13
13
|
blacklist_path = 'data/disposable-email-domains/disposable_email_blacklist.conf'
|
14
|
-
new_list = File.open(File.expand_path(File.join(File.dirname(__FILE__), blacklist_path))).readlines.map(&:strip).to_s.gsub(/,/, ",\n")
|
14
|
+
new_list = File.open(File.expand_path(File.join(File.dirname(__FILE__), blacklist_path))).readlines.map(&:strip).sort.to_s.gsub(/,/, ",\n")
|
15
15
|
new_list = new_list.sub(/\]/, "\n]")
|
16
16
|
new_list = new_list.sub(/\[/, "[\n")
|
17
17
|
|