validators 3.0.3 → 3.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +1 -1
- data/.travis.yml +1 -2
- data/bin/sync-disposable-hostnames +21 -3
- data/bin/sync-tld +1 -1
- data/data/disposable.json +16461 -35
- data/data/tld.json +1 -4
- data/lib/validators/version.rb +1 -1
- data/test/test_helper.rb +1 -1
- metadata +3 -3
data/data/tld.json
CHANGED
@@ -692,7 +692,6 @@
|
|
692
692
|
"lamer",
|
693
693
|
"lancaster",
|
694
694
|
"lancia",
|
695
|
-
"lancome",
|
696
695
|
"land",
|
697
696
|
"landrover",
|
698
697
|
"lanxess",
|
@@ -713,7 +712,6 @@
|
|
713
712
|
"lexus",
|
714
713
|
"lgbt",
|
715
714
|
"li",
|
716
|
-
"liaison",
|
717
715
|
"lidl",
|
718
716
|
"life",
|
719
717
|
"lifeinsurance",
|
@@ -732,6 +730,7 @@
|
|
732
730
|
"lixil",
|
733
731
|
"lk",
|
734
732
|
"llc",
|
733
|
+
"llp",
|
735
734
|
"loan",
|
736
735
|
"loans",
|
737
736
|
"locker",
|
@@ -821,7 +820,6 @@
|
|
821
820
|
"motorcycles",
|
822
821
|
"mov",
|
823
822
|
"movie",
|
824
|
-
"movistar",
|
825
823
|
"mp",
|
826
824
|
"mq",
|
827
825
|
"mr",
|
@@ -1194,7 +1192,6 @@
|
|
1194
1192
|
"tech",
|
1195
1193
|
"technology",
|
1196
1194
|
"tel",
|
1197
|
-
"telefonica",
|
1198
1195
|
"temasek",
|
1199
1196
|
"tennis",
|
1200
1197
|
"teva",
|
data/lib/validators/version.rb
CHANGED
data/test/test_helper.rb
CHANGED
@@ -28,7 +28,7 @@ Time.zone = "America/Sao_Paulo"
|
|
28
28
|
TLDs = Validators::TLD.all.sample(10)
|
29
29
|
DISPOSABLE_EMAILS = Validators::DisposableHostnames.all.sample(10)
|
30
30
|
|
31
|
-
Dir[File.join(__dir__, "support/**/*.rb")].each {|f| require f }
|
31
|
+
Dir[File.join(__dir__, "support/**/*.rb")].sort.each {|f| require f }
|
32
32
|
|
33
33
|
ActiveRecord::Base.establish_connection adapter: "sqlite3", database: ":memory:"
|
34
34
|
load "schema.rb"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: validators
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nando Vieira
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-01-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -264,7 +264,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
264
264
|
- !ruby/object:Gem::Version
|
265
265
|
version: '0'
|
266
266
|
requirements: []
|
267
|
-
rubygems_version: 3.
|
267
|
+
rubygems_version: 3.1.2
|
268
268
|
signing_key:
|
269
269
|
specification_version: 4
|
270
270
|
summary: Add some nice ActiveModel/ActiveRecord validators.
|