Skip to content

Commit

Permalink
Merge pull request #4 from Ross65536/update_blacklist
Browse files Browse the repository at this point in the history
Update blacklist
  • Loading branch information
oesgalha authored Oct 27, 2018
2 parents cecbb61 + 0a21446 commit 68cb390
Show file tree
Hide file tree
Showing 5 changed files with 1,016 additions and 179 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
## Changelog

### 0.1.7 - 2018-10-12

* Update blacklist
* Improve rakefile task ([see #4](https://github.com/oesgalha/disposable_mail/pull/4), thanks @Ross65536)

### 0.1.6 - 2017-03-02

* Do not raise an exception for a nil mail ([see #1](https://github.com/oesgalha/disposable_mail/pull/1), thanks @jan)
Expand Down
3 changes: 3 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ namespace :disposable_mail do
new_list = new_list.sub(/\]/, "\n]")
new_list = new_list.sub(/\[/, "[\n")

temp_dir = File.join(File.dirname(__FILE__), 'tmp')
Dir.mkdir(temp_dir) unless Dir.exist?(temp_dir)

File.open(File.expand_path(File.join(File.dirname(__FILE__), 'tmp/new_list.txt')), 'w') do |f|
f.write(new_list)
end
Expand Down
2 changes: 1 addition & 1 deletion data/disposable-email-domains
Loading

0 comments on commit 68cb390

Please sign in to comment.