email_assessor 0.3.3 → 0.3.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d11b07f54148b87a98a37a38e4ddea203cf8c2f7
4
- data.tar.gz: dc4a82f19b8396b6e535f94da9f4d505632ea5b4
3
+ metadata.gz: 420019abce8c6bfd5bf741e46032a3bcabf70538
4
+ data.tar.gz: 1e69c99829eae1f42509049294c9cb4213ab611e
5
5
  SHA512:
6
- metadata.gz: de292c2f12733c52b1269ea4e9e2133599d77354a81adef61c130da5ce5fe57634e3a33d7bb036b21b401649451e3b3bb2c48347fe66fc963304e090c3bca57b
7
- data.tar.gz: 5564fb09089f26e31c87f20da8add3839c2f7e3b4f1df8ddd0999199cdd933c603c7f60ced51796e79bc5e2d3974d09bb2f21b7272f49af4c4adffca3b8a3c3c
6
+ metadata.gz: 2c3e15e41ad953f845f104c6c70f448c4a3e57e75da9a0c34325d3e285e1356b4d1fae88aa0382406e977446125884d6a2c88ba8acc07c8aa0a9602a644e6797
7
+ data.tar.gz: 1852ac2c7ea7f3dc33a2f3f55cf5b7324fc21467e80c0e638f614e0240e657aa02d7dc59cd9a6a8496a0c86605789ae0d20922ae82166538a0583290eded8317
@@ -3,11 +3,10 @@ language: ruby
3
3
  sudo: false
4
4
 
5
5
  rvm:
6
+ - 2.3.0
6
7
  - 2.2.0
7
8
  - 2.1.0
8
9
  - 2.0.0
9
- - 1.9.3
10
- - jruby-19mode
11
10
 
12
11
  gemfile:
13
12
  - gemfiles/activemodel3.gemfile
@@ -18,6 +18,6 @@ module EmailAssessor
18
18
  file_name ||= ""
19
19
  domain = domain.downcase
20
20
 
21
- File.open(file_name).each_line.any? { |line| domain.end_with?(line.chomp) }
21
+ File.open(file_name).each_line.any? { |line| domain =~ %r{\A(.*\.)*#{line.chomp}\z}i }
22
22
  end
23
23
  end
@@ -1,3 +1,3 @@
1
1
  module EmailAssessor
2
- VERSION = "0.3.3"
2
+ VERSION = "0.3.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: email_assessor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Wolfe Millard
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-18 00:00:00.000000000 Z
11
+ date: 2016-05-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler