validates_zipcode 0.1.1 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +8 -14
- data/Appraisals +4 -12
- data/CHANGELOG.md +6 -0
- data/README.md +1 -1
- data/gemfiles/rails_4.2.gemfile +1 -1
- data/gemfiles/rails_4.2.gemfile.lock +21 -21
- data/gemfiles/rails_5.2.gemfile +1 -1
- data/gemfiles/rails_5.2.gemfile.lock +19 -19
- data/gemfiles/rails_edge.gemfile +3 -5
- data/gemfiles/rails_edge.gemfile.lock +62 -0
- data/lib/validates_zipcode/cldr_regex_collection.rb +1 -1
- data/lib/validates_zipcode/version.rb +1 -1
- data/spec/validates_zipcode_spec.rb +14 -0
- metadata +4 -14
- data/gemfiles/rails_3.2.gemfile +0 -7
- data/gemfiles/rails_3.2.gemfile.lock +0 -52
- data/gemfiles/rails_4.0.gemfile +0 -10
- data/gemfiles/rails_4.0.gemfile.lock +0 -58
- data/gemfiles/rails_4.1.gemfile +0 -9
- data/gemfiles/rails_4.1.gemfile.lock +0 -59
- data/gemfiles/rails_5.0.gemfile +0 -7
- data/gemfiles/rails_5.0.gemfile.lock +0 -56
- data/gemfiles/rails_5.1.gemfile +0 -7
- data/gemfiles/rails_5.1.gemfile.lock +0 -57
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6f552cb265e05972688928d50c57fe8c5776aab50ad7b571ddca0c95821fcff3
|
4
|
+
data.tar.gz: f0b9e0d9bc534729e463218104e8e9b2d5bc0c1ef089ce0ca44189f0da94816a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d15ec2c9c6aee01cbfbd0c7691149249bf5cfbedd402aff198b4919dd5d4abc966963f97b6101ee74281dbf0e39b1ad9ecefd6f3f9d7e89b102db2fab7564ef
|
7
|
+
data.tar.gz: ecf55dcfbd48516abe7c9de10fc06558c3cff5a0102a5bf10dfa870f2ad7a8d7da888f40f052a03400f2d7ed76819a9d3e4f5719e5634f3aa4fc9ae8885b190b
|
data/.travis.yml
CHANGED
@@ -9,31 +9,25 @@ before_install:
|
|
9
9
|
- gem install bundler
|
10
10
|
|
11
11
|
rvm:
|
12
|
-
- 1.9.3
|
13
12
|
- 2.2.10
|
14
13
|
- 2.3.7
|
15
14
|
- 2.4.4
|
16
15
|
- 2.5.1
|
16
|
+
- 2.6.0
|
17
17
|
|
18
18
|
gemfile:
|
19
|
-
- gemfiles/rails_3.2.gemfile
|
20
19
|
- gemfiles/rails_4.2.gemfile
|
21
|
-
- gemfiles/rails_5.0.gemfile
|
22
|
-
- gemfiles/rails_5.1.gemfile
|
23
20
|
- gemfiles/rails_5.2.gemfile
|
21
|
+
- gemfiles/rails_edge.gemfile
|
24
22
|
|
25
23
|
matrix:
|
26
24
|
fast_finish: true
|
27
25
|
exclude:
|
28
|
-
- rvm: 1.9.3
|
29
|
-
gemfile: gemfiles/rails_5.0.gemfile
|
30
|
-
- rvm: 1.9.3
|
31
|
-
gemfile: gemfiles/rails_5.1.gemfile
|
32
|
-
- rvm: 1.9.3
|
33
|
-
gemfile: gemfiles/rails_5.2.gemfile
|
34
|
-
- rvm: 2.2.10
|
35
|
-
gemfile: gemfiles/rails_5.0.gemfile
|
36
|
-
- rvm: 2.2.10
|
37
|
-
gemfile: gemfiles/rails_5.1.gemfile
|
38
26
|
- rvm: 2.2.10
|
39
27
|
gemfile: gemfiles/rails_5.2.gemfile
|
28
|
+
- rvm: 2.2.10
|
29
|
+
gemfile: gemfiles/rails_edge.2.gemfile
|
30
|
+
- rvm: 2.3.7
|
31
|
+
gemfile: gemfiles/rails_edge.2.gemfile
|
32
|
+
- rvm: 2.4.4
|
33
|
+
gemfile: gemfiles/rails_edge.2.gemfile
|
data/Appraisals
CHANGED
@@ -1,21 +1,13 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
appraise 'rails-3.2' do
|
4
|
-
gem 'activemodel', '~> 3.2.0'
|
5
|
-
end
|
6
|
-
|
7
3
|
appraise 'rails-4.2' do
|
8
4
|
gem 'activemodel', '~> 4.2.0'
|
9
5
|
end
|
10
6
|
|
11
|
-
appraise 'rails-5.0' do
|
12
|
-
gem 'activemodel', '~> 5.0.0'
|
13
|
-
end
|
14
|
-
|
15
|
-
appraise 'rails-5.1' do
|
16
|
-
gem 'activemodel', '~> 5.1.0'
|
17
|
-
end
|
18
|
-
|
19
7
|
appraise 'rails-5.2' do
|
20
8
|
gem 'activemodel', '~> 5.2.0'
|
21
9
|
end
|
10
|
+
|
11
|
+
appraise 'rails_edge' do
|
12
|
+
gem 'activemodel', github: 'rails/rails'
|
13
|
+
end
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,12 @@
|
|
2
2
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
|
5
|
+
## 0.2.0
|
6
|
+
|
7
|
+
- Dropped support for Rails 3.2, 4.0, 4.1 and Ruby 1.9.3. This means those versions or combinations may still work for you, but they will not be tested nor receive support.
|
8
|
+
- Added support for Rails 6.0. Yeehaw!
|
9
|
+
- Support for Taiwan 5-digit codes, thanks to ~ @ThomasChiesa
|
10
|
+
|
5
11
|
## 0.1.1
|
6
12
|
|
7
13
|
- Relaxes UK / GB regex to support codes without whitespace. Fixes backward compatibility breaking in 0.0.20. ~ Thanks to @tom-lord
|
data/README.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Adds zipcode / postal code validation support to Rails (ActiveModel), considering postal code formats for mostly every country.
|
4
4
|
|
5
|
-
``ValidatesZipcode`` currently support **
|
5
|
+
``ValidatesZipcode`` currently support **233 country codes**. Regex data taken from several sources, being the main source the [CLDR](http://unicode.org/cldr/trac/browser/tags/release-27-d05/common/supplemental/postalCodeData.xml) database (release 27, around 159). Any other country's postal code will validate without errors.
|
6
6
|
|
7
7
|
``ValidatesZipcode`` works for Rails >= 3.2 and Ruby >= 1.9.3.
|
8
8
|
|
data/gemfiles/rails_4.2.gemfile
CHANGED
@@ -1,18 +1,17 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ..
|
3
3
|
specs:
|
4
|
-
validates_zipcode (0.
|
4
|
+
validates_zipcode (0.2.0)
|
5
5
|
activemodel (>= 3.2.0)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
activemodel (4.2.
|
11
|
-
activesupport (= 4.2.
|
10
|
+
activemodel (4.2.11)
|
11
|
+
activesupport (= 4.2.11)
|
12
12
|
builder (~> 3.1)
|
13
|
-
activesupport (4.2.
|
13
|
+
activesupport (4.2.11)
|
14
14
|
i18n (~> 0.7)
|
15
|
-
json (~> 1.7, >= 1.7.7)
|
16
15
|
minitest (~> 5.1)
|
17
16
|
thread_safe (~> 0.3, >= 0.3.4)
|
18
17
|
tzinfo (~> 1.1)
|
@@ -20,26 +19,27 @@ GEM
|
|
20
19
|
bundler
|
21
20
|
rake
|
22
21
|
thor (>= 0.14.0)
|
23
|
-
builder (3.2.
|
22
|
+
builder (3.2.3)
|
23
|
+
concurrent-ruby (1.1.4)
|
24
24
|
diff-lcs (1.3)
|
25
|
-
i18n (0.
|
26
|
-
|
25
|
+
i18n (0.9.5)
|
26
|
+
concurrent-ruby (~> 1.0)
|
27
27
|
minitest (5.11.3)
|
28
28
|
rake (12.2.1)
|
29
|
-
rspec (3.
|
30
|
-
rspec-core (~> 3.
|
31
|
-
rspec-expectations (~> 3.
|
32
|
-
rspec-mocks (~> 3.
|
33
|
-
rspec-core (3.
|
34
|
-
rspec-support (~> 3.
|
35
|
-
rspec-expectations (3.
|
29
|
+
rspec (3.8.0)
|
30
|
+
rspec-core (~> 3.8.0)
|
31
|
+
rspec-expectations (~> 3.8.0)
|
32
|
+
rspec-mocks (~> 3.8.0)
|
33
|
+
rspec-core (3.8.0)
|
34
|
+
rspec-support (~> 3.8.0)
|
35
|
+
rspec-expectations (3.8.2)
|
36
36
|
diff-lcs (>= 1.2.0, < 2.0)
|
37
|
-
rspec-support (~> 3.
|
38
|
-
rspec-mocks (3.
|
37
|
+
rspec-support (~> 3.8.0)
|
38
|
+
rspec-mocks (3.8.0)
|
39
39
|
diff-lcs (>= 1.2.0, < 2.0)
|
40
|
-
rspec-support (~> 3.
|
41
|
-
rspec-support (3.
|
42
|
-
thor (0.20.
|
40
|
+
rspec-support (~> 3.8.0)
|
41
|
+
rspec-support (3.8.0)
|
42
|
+
thor (0.20.3)
|
43
43
|
thread_safe (0.3.6)
|
44
44
|
tzinfo (1.2.5)
|
45
45
|
thread_safe (~> 0.1)
|
@@ -56,4 +56,4 @@ DEPENDENCIES
|
|
56
56
|
validates_zipcode!
|
57
57
|
|
58
58
|
BUNDLED WITH
|
59
|
-
1.
|
59
|
+
1.17.3
|
data/gemfiles/rails_5.2.gemfile
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ..
|
3
3
|
specs:
|
4
|
-
validates_zipcode (0.
|
4
|
+
validates_zipcode (0.2.0)
|
5
5
|
activemodel (>= 3.2.0)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
activemodel (5.2.
|
11
|
-
activesupport (= 5.2.
|
12
|
-
activesupport (5.2.
|
10
|
+
activemodel (5.2.2)
|
11
|
+
activesupport (= 5.2.2)
|
12
|
+
activesupport (5.2.2)
|
13
13
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
14
14
|
i18n (>= 0.7, < 2)
|
15
15
|
minitest (~> 5.1)
|
@@ -18,26 +18,26 @@ GEM
|
|
18
18
|
bundler
|
19
19
|
rake
|
20
20
|
thor (>= 0.14.0)
|
21
|
-
concurrent-ruby (1.
|
21
|
+
concurrent-ruby (1.1.4)
|
22
22
|
diff-lcs (1.3)
|
23
|
-
i18n (1.0
|
23
|
+
i18n (1.4.0)
|
24
24
|
concurrent-ruby (~> 1.0)
|
25
25
|
minitest (5.11.3)
|
26
26
|
rake (12.2.1)
|
27
|
-
rspec (3.
|
28
|
-
rspec-core (~> 3.
|
29
|
-
rspec-expectations (~> 3.
|
30
|
-
rspec-mocks (~> 3.
|
31
|
-
rspec-core (3.
|
32
|
-
rspec-support (~> 3.
|
33
|
-
rspec-expectations (3.
|
27
|
+
rspec (3.5.0)
|
28
|
+
rspec-core (~> 3.5.0)
|
29
|
+
rspec-expectations (~> 3.5.0)
|
30
|
+
rspec-mocks (~> 3.5.0)
|
31
|
+
rspec-core (3.5.4)
|
32
|
+
rspec-support (~> 3.5.0)
|
33
|
+
rspec-expectations (3.5.0)
|
34
34
|
diff-lcs (>= 1.2.0, < 2.0)
|
35
|
-
rspec-support (~> 3.
|
36
|
-
rspec-mocks (3.
|
35
|
+
rspec-support (~> 3.5.0)
|
36
|
+
rspec-mocks (3.5.0)
|
37
37
|
diff-lcs (>= 1.2.0, < 2.0)
|
38
|
-
rspec-support (~> 3.
|
39
|
-
rspec-support (3.
|
40
|
-
thor (0.
|
38
|
+
rspec-support (~> 3.5.0)
|
39
|
+
rspec-support (3.5.0)
|
40
|
+
thor (0.19.4)
|
41
41
|
thread_safe (0.3.6)
|
42
42
|
tzinfo (1.2.5)
|
43
43
|
thread_safe (~> 0.1)
|
@@ -54,4 +54,4 @@ DEPENDENCIES
|
|
54
54
|
validates_zipcode!
|
55
55
|
|
56
56
|
BUNDLED WITH
|
57
|
-
1.
|
57
|
+
1.17.3
|
data/gemfiles/rails_edge.gemfile
CHANGED
@@ -1,9 +1,7 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
1
|
# This file was generated by Appraisal
|
4
2
|
|
5
|
-
source
|
3
|
+
source "https://rubygems.org"
|
6
4
|
|
7
|
-
gem
|
5
|
+
gem "activemodel", github: "rails/rails"
|
8
6
|
|
9
|
-
gemspec path:
|
7
|
+
gemspec path: "../"
|
@@ -0,0 +1,62 @@
|
|
1
|
+
GIT
|
2
|
+
remote: https://github.com/rails/rails.git
|
3
|
+
revision: 1e09019088760adafaa122eb11c24effdb4c1160
|
4
|
+
specs:
|
5
|
+
activemodel (6.0.0.alpha)
|
6
|
+
activesupport (= 6.0.0.alpha)
|
7
|
+
activesupport (6.0.0.alpha)
|
8
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
9
|
+
i18n (>= 0.7, < 2)
|
10
|
+
minitest (~> 5.1)
|
11
|
+
tzinfo (~> 1.1)
|
12
|
+
|
13
|
+
PATH
|
14
|
+
remote: ..
|
15
|
+
specs:
|
16
|
+
validates_zipcode (0.2.0)
|
17
|
+
activemodel (>= 3.2.0)
|
18
|
+
|
19
|
+
GEM
|
20
|
+
remote: https://rubygems.org/
|
21
|
+
specs:
|
22
|
+
appraisal (2.2.0)
|
23
|
+
bundler
|
24
|
+
rake
|
25
|
+
thor (>= 0.14.0)
|
26
|
+
concurrent-ruby (1.1.4)
|
27
|
+
diff-lcs (1.3)
|
28
|
+
i18n (1.4.0)
|
29
|
+
concurrent-ruby (~> 1.0)
|
30
|
+
minitest (5.11.3)
|
31
|
+
rake (12.2.1)
|
32
|
+
rspec (3.8.0)
|
33
|
+
rspec-core (~> 3.8.0)
|
34
|
+
rspec-expectations (~> 3.8.0)
|
35
|
+
rspec-mocks (~> 3.8.0)
|
36
|
+
rspec-core (3.8.0)
|
37
|
+
rspec-support (~> 3.8.0)
|
38
|
+
rspec-expectations (3.8.2)
|
39
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
40
|
+
rspec-support (~> 3.8.0)
|
41
|
+
rspec-mocks (3.8.0)
|
42
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
43
|
+
rspec-support (~> 3.8.0)
|
44
|
+
rspec-support (3.8.0)
|
45
|
+
thor (0.20.3)
|
46
|
+
thread_safe (0.3.6)
|
47
|
+
tzinfo (1.2.5)
|
48
|
+
thread_safe (~> 0.1)
|
49
|
+
|
50
|
+
PLATFORMS
|
51
|
+
ruby
|
52
|
+
|
53
|
+
DEPENDENCIES
|
54
|
+
activemodel!
|
55
|
+
appraisal
|
56
|
+
bundler (~> 1.6)
|
57
|
+
rake (~> 12.2.1)
|
58
|
+
rspec
|
59
|
+
validates_zipcode!
|
60
|
+
|
61
|
+
BUNDLED WITH
|
62
|
+
1.17.3
|
@@ -232,7 +232,7 @@ module ValidatesZipcode
|
|
232
232
|
TO: /\A([a-zA-Z\d\s]){3,}\z/,
|
233
233
|
TZ: /\A([a-zA-Z\d\s]){3,}\z/,
|
234
234
|
TT: /\A\d{6}\z/,
|
235
|
-
TW: /\A\d{3}\z/,
|
235
|
+
TW: /\A\d{3}(\d{2})?\z/,
|
236
236
|
UG: /\A([a-zA-Z\d\s]){3,}\z/,
|
237
237
|
UM: /\A([a-zA-Z\d\s]){3,}\z/,
|
238
238
|
UY: /\A([a-zA-Z\d\s]){3,}\z/,
|
@@ -263,6 +263,20 @@ describe ValidatesZipcode, '#validate_each' do
|
|
263
263
|
end
|
264
264
|
end
|
265
265
|
|
266
|
+
context 'Taiwan' do
|
267
|
+
it 'validates with a valid zipcode' do
|
268
|
+
['833', '74144'].each do |zipcode|
|
269
|
+
record = build_record(zipcode, 'TW')
|
270
|
+
zipcode_should_be_valid(record)
|
271
|
+
end
|
272
|
+
end
|
273
|
+
|
274
|
+
it 'does not validate with an invalid zipcode' do
|
275
|
+
record = build_record('4329', 'TW')
|
276
|
+
zipcode_should_be_invalid(record, '4329')
|
277
|
+
end
|
278
|
+
end
|
279
|
+
|
266
280
|
%w[UK GB].each do |cc|
|
267
281
|
context cc do
|
268
282
|
it 'validates with a valid zipcode' do
|
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.2.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: 2019-01-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|
@@ -100,21 +100,12 @@ files:
|
|
100
100
|
- README.md
|
101
101
|
- Rakefile
|
102
102
|
- docs/postalCodeData.xml
|
103
|
-
- gemfiles/rails_3.2.gemfile
|
104
|
-
- gemfiles/rails_3.2.gemfile.lock
|
105
|
-
- gemfiles/rails_4.0.gemfile
|
106
|
-
- gemfiles/rails_4.0.gemfile.lock
|
107
|
-
- gemfiles/rails_4.1.gemfile
|
108
|
-
- gemfiles/rails_4.1.gemfile.lock
|
109
103
|
- gemfiles/rails_4.2.gemfile
|
110
104
|
- gemfiles/rails_4.2.gemfile.lock
|
111
|
-
- gemfiles/rails_5.0.gemfile
|
112
|
-
- gemfiles/rails_5.0.gemfile.lock
|
113
|
-
- gemfiles/rails_5.1.gemfile
|
114
|
-
- gemfiles/rails_5.1.gemfile.lock
|
115
105
|
- gemfiles/rails_5.2.gemfile
|
116
106
|
- gemfiles/rails_5.2.gemfile.lock
|
117
107
|
- gemfiles/rails_edge.gemfile
|
108
|
+
- gemfiles/rails_edge.gemfile.lock
|
118
109
|
- lib/validates_zipcode.rb
|
119
110
|
- lib/validates_zipcode/cldr_regex_collection.rb
|
120
111
|
- lib/validates_zipcode/helper_methods.rb
|
@@ -144,8 +135,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
144
135
|
- !ruby/object:Gem::Version
|
145
136
|
version: '0'
|
146
137
|
requirements: []
|
147
|
-
|
148
|
-
rubygems_version: 2.7.7
|
138
|
+
rubygems_version: 3.0.2
|
149
139
|
signing_key:
|
150
140
|
specification_version: 4
|
151
141
|
summary: Localizable zipcode validation for Rails.
|
data/gemfiles/rails_3.2.gemfile
DELETED
@@ -1,52 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: ..
|
3
|
-
specs:
|
4
|
-
validates_zipcode (0.1.1)
|
5
|
-
activemodel (>= 3.2.0)
|
6
|
-
|
7
|
-
GEM
|
8
|
-
remote: https://rubygems.org/
|
9
|
-
specs:
|
10
|
-
activemodel (3.2.22.4)
|
11
|
-
activesupport (= 3.2.22.4)
|
12
|
-
builder (~> 3.0.0)
|
13
|
-
activesupport (3.2.22.4)
|
14
|
-
i18n (~> 0.6, >= 0.6.4)
|
15
|
-
multi_json (~> 1.0)
|
16
|
-
appraisal (2.2.0)
|
17
|
-
bundler
|
18
|
-
rake
|
19
|
-
thor (>= 0.14.0)
|
20
|
-
builder (3.0.4)
|
21
|
-
diff-lcs (1.3)
|
22
|
-
i18n (0.7.0)
|
23
|
-
multi_json (1.12.1)
|
24
|
-
rake (12.2.1)
|
25
|
-
rspec (3.7.0)
|
26
|
-
rspec-core (~> 3.7.0)
|
27
|
-
rspec-expectations (~> 3.7.0)
|
28
|
-
rspec-mocks (~> 3.7.0)
|
29
|
-
rspec-core (3.7.1)
|
30
|
-
rspec-support (~> 3.7.0)
|
31
|
-
rspec-expectations (3.7.0)
|
32
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
33
|
-
rspec-support (~> 3.7.0)
|
34
|
-
rspec-mocks (3.7.0)
|
35
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
36
|
-
rspec-support (~> 3.7.0)
|
37
|
-
rspec-support (3.7.1)
|
38
|
-
thor (0.20.0)
|
39
|
-
|
40
|
-
PLATFORMS
|
41
|
-
ruby
|
42
|
-
|
43
|
-
DEPENDENCIES
|
44
|
-
activemodel (~> 3.2.0)
|
45
|
-
appraisal
|
46
|
-
bundler (~> 1.6)
|
47
|
-
rake (~> 12.2.1)
|
48
|
-
rspec
|
49
|
-
validates_zipcode!
|
50
|
-
|
51
|
-
BUNDLED WITH
|
52
|
-
1.16.2
|
data/gemfiles/rails_4.0.gemfile
DELETED
@@ -1,58 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: ..
|
3
|
-
specs:
|
4
|
-
validates_zipcode (0.0.20)
|
5
|
-
activemodel (>= 3.2.0)
|
6
|
-
|
7
|
-
GEM
|
8
|
-
remote: https://rubygems.org/
|
9
|
-
specs:
|
10
|
-
activemodel (4.0.13)
|
11
|
-
activesupport (= 4.0.13)
|
12
|
-
builder (~> 3.1.0)
|
13
|
-
activesupport (4.0.13)
|
14
|
-
i18n (~> 0.6, >= 0.6.9)
|
15
|
-
minitest (~> 4.2)
|
16
|
-
multi_json (~> 1.3)
|
17
|
-
thread_safe (~> 0.1)
|
18
|
-
tzinfo (~> 0.3.37)
|
19
|
-
appraisal (2.2.0)
|
20
|
-
bundler
|
21
|
-
rake
|
22
|
-
thor (>= 0.14.0)
|
23
|
-
builder (3.1.4)
|
24
|
-
diff-lcs (1.3)
|
25
|
-
i18n (0.7.0)
|
26
|
-
minitest (4.7.5)
|
27
|
-
multi_json (1.12.1)
|
28
|
-
rake (12.3.1)
|
29
|
-
rspec (3.7.0)
|
30
|
-
rspec-core (~> 3.7.0)
|
31
|
-
rspec-expectations (~> 3.7.0)
|
32
|
-
rspec-mocks (~> 3.7.0)
|
33
|
-
rspec-core (3.7.1)
|
34
|
-
rspec-support (~> 3.7.0)
|
35
|
-
rspec-expectations (3.7.0)
|
36
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
37
|
-
rspec-support (~> 3.7.0)
|
38
|
-
rspec-mocks (3.7.0)
|
39
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
40
|
-
rspec-support (~> 3.7.0)
|
41
|
-
rspec-support (3.7.1)
|
42
|
-
thor (0.20.0)
|
43
|
-
thread_safe (0.3.6)
|
44
|
-
tzinfo (0.3.51)
|
45
|
-
|
46
|
-
PLATFORMS
|
47
|
-
ruby
|
48
|
-
|
49
|
-
DEPENDENCIES
|
50
|
-
activemodel (~> 4.0.0)
|
51
|
-
appraisal
|
52
|
-
bundler (~> 1.6)
|
53
|
-
rake
|
54
|
-
rspec
|
55
|
-
validates_zipcode!
|
56
|
-
|
57
|
-
BUNDLED WITH
|
58
|
-
1.16.1
|
data/gemfiles/rails_4.1.gemfile
DELETED
@@ -1,59 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: ..
|
3
|
-
specs:
|
4
|
-
validates_zipcode (0.0.20)
|
5
|
-
activemodel (>= 3.2.0)
|
6
|
-
|
7
|
-
GEM
|
8
|
-
remote: https://rubygems.org/
|
9
|
-
specs:
|
10
|
-
activemodel (4.1.16)
|
11
|
-
activesupport (= 4.1.16)
|
12
|
-
builder (~> 3.1)
|
13
|
-
activesupport (4.1.16)
|
14
|
-
i18n (~> 0.6, >= 0.6.9)
|
15
|
-
json (~> 1.7, >= 1.7.7)
|
16
|
-
minitest (~> 5.1)
|
17
|
-
thread_safe (~> 0.1)
|
18
|
-
tzinfo (~> 1.1)
|
19
|
-
appraisal (2.2.0)
|
20
|
-
bundler
|
21
|
-
rake
|
22
|
-
thor (>= 0.14.0)
|
23
|
-
builder (3.2.2)
|
24
|
-
diff-lcs (1.3)
|
25
|
-
i18n (0.7.0)
|
26
|
-
json (1.8.5)
|
27
|
-
minitest (5.11.3)
|
28
|
-
rake (12.3.1)
|
29
|
-
rspec (3.7.0)
|
30
|
-
rspec-core (~> 3.7.0)
|
31
|
-
rspec-expectations (~> 3.7.0)
|
32
|
-
rspec-mocks (~> 3.7.0)
|
33
|
-
rspec-core (3.7.1)
|
34
|
-
rspec-support (~> 3.7.0)
|
35
|
-
rspec-expectations (3.7.0)
|
36
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
37
|
-
rspec-support (~> 3.7.0)
|
38
|
-
rspec-mocks (3.7.0)
|
39
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
40
|
-
rspec-support (~> 3.7.0)
|
41
|
-
rspec-support (3.7.1)
|
42
|
-
thor (0.20.0)
|
43
|
-
thread_safe (0.3.6)
|
44
|
-
tzinfo (1.2.5)
|
45
|
-
thread_safe (~> 0.1)
|
46
|
-
|
47
|
-
PLATFORMS
|
48
|
-
ruby
|
49
|
-
|
50
|
-
DEPENDENCIES
|
51
|
-
activemodel (~> 4.1.0)
|
52
|
-
appraisal
|
53
|
-
bundler (~> 1.6)
|
54
|
-
rake
|
55
|
-
rspec
|
56
|
-
validates_zipcode!
|
57
|
-
|
58
|
-
BUNDLED WITH
|
59
|
-
1.16.1
|
data/gemfiles/rails_5.0.gemfile
DELETED
@@ -1,56 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: ..
|
3
|
-
specs:
|
4
|
-
validates_zipcode (0.1.1)
|
5
|
-
activemodel (>= 3.2.0)
|
6
|
-
|
7
|
-
GEM
|
8
|
-
remote: https://rubygems.org/
|
9
|
-
specs:
|
10
|
-
activemodel (5.0.0.1)
|
11
|
-
activesupport (= 5.0.0.1)
|
12
|
-
activesupport (5.0.0.1)
|
13
|
-
concurrent-ruby (~> 1.0, >= 1.0.2)
|
14
|
-
i18n (~> 0.7)
|
15
|
-
minitest (~> 5.1)
|
16
|
-
tzinfo (~> 1.1)
|
17
|
-
appraisal (2.2.0)
|
18
|
-
bundler
|
19
|
-
rake
|
20
|
-
thor (>= 0.14.0)
|
21
|
-
concurrent-ruby (1.0.5)
|
22
|
-
diff-lcs (1.3)
|
23
|
-
i18n (0.7.0)
|
24
|
-
minitest (5.11.3)
|
25
|
-
rake (12.2.1)
|
26
|
-
rspec (3.7.0)
|
27
|
-
rspec-core (~> 3.7.0)
|
28
|
-
rspec-expectations (~> 3.7.0)
|
29
|
-
rspec-mocks (~> 3.7.0)
|
30
|
-
rspec-core (3.7.1)
|
31
|
-
rspec-support (~> 3.7.0)
|
32
|
-
rspec-expectations (3.7.0)
|
33
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
34
|
-
rspec-support (~> 3.7.0)
|
35
|
-
rspec-mocks (3.7.0)
|
36
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
37
|
-
rspec-support (~> 3.7.0)
|
38
|
-
rspec-support (3.7.1)
|
39
|
-
thor (0.20.0)
|
40
|
-
thread_safe (0.3.6)
|
41
|
-
tzinfo (1.2.5)
|
42
|
-
thread_safe (~> 0.1)
|
43
|
-
|
44
|
-
PLATFORMS
|
45
|
-
ruby
|
46
|
-
|
47
|
-
DEPENDENCIES
|
48
|
-
activemodel (~> 5.0.0)
|
49
|
-
appraisal
|
50
|
-
bundler (~> 1.6)
|
51
|
-
rake (~> 12.2.1)
|
52
|
-
rspec
|
53
|
-
validates_zipcode!
|
54
|
-
|
55
|
-
BUNDLED WITH
|
56
|
-
1.16.2
|
data/gemfiles/rails_5.1.gemfile
DELETED
@@ -1,57 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: ..
|
3
|
-
specs:
|
4
|
-
validates_zipcode (0.1.1)
|
5
|
-
activemodel (>= 3.2.0)
|
6
|
-
|
7
|
-
GEM
|
8
|
-
remote: https://rubygems.org/
|
9
|
-
specs:
|
10
|
-
activemodel (5.1.6)
|
11
|
-
activesupport (= 5.1.6)
|
12
|
-
activesupport (5.1.6)
|
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
|
-
concurrent-ruby (1.0.5)
|
22
|
-
diff-lcs (1.3)
|
23
|
-
i18n (1.0.1)
|
24
|
-
concurrent-ruby (~> 1.0)
|
25
|
-
minitest (5.11.3)
|
26
|
-
rake (12.2.1)
|
27
|
-
rspec (3.7.0)
|
28
|
-
rspec-core (~> 3.7.0)
|
29
|
-
rspec-expectations (~> 3.7.0)
|
30
|
-
rspec-mocks (~> 3.7.0)
|
31
|
-
rspec-core (3.7.1)
|
32
|
-
rspec-support (~> 3.7.0)
|
33
|
-
rspec-expectations (3.7.0)
|
34
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
35
|
-
rspec-support (~> 3.7.0)
|
36
|
-
rspec-mocks (3.7.0)
|
37
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
38
|
-
rspec-support (~> 3.7.0)
|
39
|
-
rspec-support (3.7.1)
|
40
|
-
thor (0.20.0)
|
41
|
-
thread_safe (0.3.6)
|
42
|
-
tzinfo (1.2.5)
|
43
|
-
thread_safe (~> 0.1)
|
44
|
-
|
45
|
-
PLATFORMS
|
46
|
-
ruby
|
47
|
-
|
48
|
-
DEPENDENCIES
|
49
|
-
activemodel (~> 5.1.0)
|
50
|
-
appraisal
|
51
|
-
bundler (~> 1.6)
|
52
|
-
rake (~> 12.2.1)
|
53
|
-
rspec
|
54
|
-
validates_zipcode!
|
55
|
-
|
56
|
-
BUNDLED WITH
|
57
|
-
1.16.2
|