validates_zipcode 0.3.3 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/.rubocop.yml +2 -2
- data/.travis.yml +6 -3
- data/Appraisals +2 -2
- data/CHANGELOG.md +13 -0
- data/README.md +17 -0
- data/gemfiles/rails_4.2.gemfile.lock +1 -1
- data/gemfiles/rails_5.2.gemfile.lock +1 -1
- data/gemfiles/{rails_6.0.gemfile → rails_6.1.gemfile} +1 -1
- data/gemfiles/rails_6.1.gemfile.lock +85 -0
- data/gemfiles/rails_edge.gemfile.lock +1 -1
- data/lib/validates_zipcode/cldr_regex_collection.rb +93 -89
- data/lib/validates_zipcode/formatter.rb +14 -1
- data/lib/validates_zipcode/validator.rb +7 -5
- data/lib/validates_zipcode/version.rb +1 -1
- data/lib/validates_zipcode/zipcode.rb +11 -3
- data/spec/format_zipcode_spec.rb +1 -1
- data/spec/spec_helper.rb +3566 -0
- data/spec/validates_zipcode_spec.rb +42 -370
- metadata +4 -4
- data/gemfiles/rails_6.0.gemfile.lock +0 -82
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: validates_zipcode
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Gil
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-06-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|
@@ -132,8 +132,8 @@ files:
|
|
132
132
|
- gemfiles/rails_4.2.gemfile.lock
|
133
133
|
- gemfiles/rails_5.2.gemfile
|
134
134
|
- gemfiles/rails_5.2.gemfile.lock
|
135
|
-
- gemfiles/rails_6.
|
136
|
-
- gemfiles/rails_6.
|
135
|
+
- gemfiles/rails_6.1.gemfile
|
136
|
+
- gemfiles/rails_6.1.gemfile.lock
|
137
137
|
- gemfiles/rails_edge.gemfile
|
138
138
|
- gemfiles/rails_edge.gemfile.lock
|
139
139
|
- lib/validates_zipcode.rb
|
@@ -1,82 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: ..
|
3
|
-
specs:
|
4
|
-
validates_zipcode (0.3.3)
|
5
|
-
activemodel (>= 4.2.0)
|
6
|
-
|
7
|
-
GEM
|
8
|
-
remote: https://rubygems.org/
|
9
|
-
specs:
|
10
|
-
activemodel (5.2.3)
|
11
|
-
activesupport (= 5.2.3)
|
12
|
-
activesupport (5.2.3)
|
13
|
-
concurrent-ruby (~> 1.0, >= 1.0.2)
|
14
|
-
i18n (>= 0.7, < 2)
|
15
|
-
minitest (~> 5.1)
|
16
|
-
tzinfo (~> 1.1)
|
17
|
-
appraisal (2.2.0)
|
18
|
-
bundler
|
19
|
-
rake
|
20
|
-
thor (>= 0.14.0)
|
21
|
-
ast (2.4.0)
|
22
|
-
concurrent-ruby (1.1.5)
|
23
|
-
diff-lcs (1.3)
|
24
|
-
i18n (1.6.0)
|
25
|
-
concurrent-ruby (~> 1.0)
|
26
|
-
minitest (5.11.3)
|
27
|
-
parallel (1.19.1)
|
28
|
-
parser (2.7.1.2)
|
29
|
-
ast (~> 2.4.0)
|
30
|
-
rack (2.2.2)
|
31
|
-
rainbow (3.0.0)
|
32
|
-
rake (13.0.1)
|
33
|
-
rexml (3.2.4)
|
34
|
-
rspec (3.8.0)
|
35
|
-
rspec-core (~> 3.8.0)
|
36
|
-
rspec-expectations (~> 3.8.0)
|
37
|
-
rspec-mocks (~> 3.8.0)
|
38
|
-
rspec-core (3.8.0)
|
39
|
-
rspec-support (~> 3.8.0)
|
40
|
-
rspec-expectations (3.8.3)
|
41
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
42
|
-
rspec-support (~> 3.8.0)
|
43
|
-
rspec-mocks (3.8.0)
|
44
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
45
|
-
rspec-support (~> 3.8.0)
|
46
|
-
rspec-support (3.8.0)
|
47
|
-
rubocop (0.84.0)
|
48
|
-
parallel (~> 1.10)
|
49
|
-
parser (>= 2.7.0.1)
|
50
|
-
rainbow (>= 2.2.2, < 4.0)
|
51
|
-
rexml
|
52
|
-
rubocop-ast (>= 0.0.3)
|
53
|
-
ruby-progressbar (~> 1.7)
|
54
|
-
unicode-display_width (>= 1.4.0, < 2.0)
|
55
|
-
rubocop-ast (0.0.3)
|
56
|
-
parser (>= 2.7.0.1)
|
57
|
-
rubocop-rails (2.5.2)
|
58
|
-
activesupport
|
59
|
-
rack (>= 1.1)
|
60
|
-
rubocop (>= 0.72.0)
|
61
|
-
ruby-progressbar (1.10.1)
|
62
|
-
thor (0.20.3)
|
63
|
-
thread_safe (0.3.6)
|
64
|
-
tzinfo (1.2.5)
|
65
|
-
thread_safe (~> 0.1)
|
66
|
-
unicode-display_width (1.7.0)
|
67
|
-
|
68
|
-
PLATFORMS
|
69
|
-
ruby
|
70
|
-
|
71
|
-
DEPENDENCIES
|
72
|
-
activemodel (~> 5.2.0)
|
73
|
-
appraisal
|
74
|
-
bundler
|
75
|
-
rake (>= 12.3.3)
|
76
|
-
rspec
|
77
|
-
rubocop
|
78
|
-
rubocop-rails
|
79
|
-
validates_zipcode!
|
80
|
-
|
81
|
-
BUNDLED WITH
|
82
|
-
2.1.4
|