validates_zipcode 0.0.13 → 0.0.14

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: c5fdc2780e2e8f930d6aff37b66ed9b0ec8af83c
4
- data.tar.gz: 221850652036835e4621013b093208d40c99d5d3
3
+ metadata.gz: b2216175aca0ea4e3ab22deabb11c011b15f2c89
4
+ data.tar.gz: 07f0f66a322441d2af66dcfbb4cf07233d00ddbb
5
5
  SHA512:
6
- metadata.gz: 98986db28ff6e50982eb22604ac36e74a10e86226c515f67322d9a60c942123ab4b8145dad3fb583293831dc277003364fb688639ef16850d29e3a45d4410c10
7
- data.tar.gz: 9993eddae750c13791b4bc6f23a834009c4422ae8744b49d3ed3650b9defaa970264b7b6d83bb0c29bb247d71cdc5aea6007e00d1cb1b06c0fd1c9dd339a434c
6
+ metadata.gz: 9cf2a227dde1a17fbfb948ce574ed065b5e0d960023c2377c670fef604229447974cb57be83e882263e39ae0cf45e40c45d49e8d2debb3867b3c1bfcdb33224f
7
+ data.tar.gz: d777a5b0dae226011a1f067365a388e26e539fa8681d7b01c682e0e8615c3279922d7c3593a7d0bcbf2186c9745d1604168e0fd480ae02d75525a7ad74ad1f93
@@ -1,7 +1,32 @@
1
+ sudo: false
2
+
3
+ cache: bundler
4
+
5
+ script: "bundle exec rake"
6
+
1
7
  rvm:
2
8
  - 1.9.3
3
9
  - 2.0.0
4
- - 2.1.0
5
- - 2.2.2
6
- before_install:
7
- - gem install bundler
10
+ - 2.1.5
11
+ - 2.2.0
12
+ - 2.2.4
13
+ - 2.3.0
14
+
15
+ gemfile:
16
+ - gemfiles/rails_3.2.gemfile
17
+ - gemfiles/rails_4.0.gemfile
18
+ - gemfiles/rails_4.1.gemfile
19
+ - gemfiles/rails_4.2.gemfile
20
+ - gemfiles/rails_5.0.gemfile
21
+
22
+ matrix:
23
+ fast_finish: true
24
+ exclude:
25
+ - rvm: 1.9.3
26
+ gemfile: gemfiles/rails_5.0.gemfile
27
+ - rvm: 2.0.0
28
+ gemfile: gemfiles/rails_5.0.gemfile
29
+ - rvm: 2.1.5
30
+ gemfile: gemfiles/rails_5.0.gemfile
31
+ - rvm: 2.2.0
32
+ gemfile: gemfiles/rails_5.0.gemfile
@@ -0,0 +1,19 @@
1
+ appraise "rails-3.2" do
2
+ gem 'activemodel', '~> 3.2.0'
3
+ end
4
+
5
+ appraise "rails-4.0" do
6
+ gem "activemodel", '~> 4.0.0'
7
+ end
8
+
9
+ appraise "rails-4.1" do
10
+ gem "activemodel", '~> 4.1.0'
11
+ end
12
+
13
+ appraise "rails-4.2" do
14
+ gem "activemodel", '~> 4.2.0'
15
+ end
16
+
17
+ appraise "rails-5.0" do
18
+ gem "activemodel", '~> 5.0.0'
19
+ end
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "activemodel", "~> 3.2.0"
6
+
7
+ gemspec :path => "../"
@@ -0,0 +1,52 @@
1
+ PATH
2
+ remote: ../
3
+ specs:
4
+ validates_zipcode (0.0.13)
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.1.0)
17
+ bundler
18
+ rake
19
+ thor (>= 0.14.0)
20
+ builder (3.0.4)
21
+ diff-lcs (1.2.5)
22
+ i18n (0.7.0)
23
+ multi_json (1.12.1)
24
+ rake (11.2.2)
25
+ rspec (3.5.0)
26
+ rspec-core (~> 3.5.0)
27
+ rspec-expectations (~> 3.5.0)
28
+ rspec-mocks (~> 3.5.0)
29
+ rspec-core (3.5.3)
30
+ rspec-support (~> 3.5.0)
31
+ rspec-expectations (3.5.0)
32
+ diff-lcs (>= 1.2.0, < 2.0)
33
+ rspec-support (~> 3.5.0)
34
+ rspec-mocks (3.5.0)
35
+ diff-lcs (>= 1.2.0, < 2.0)
36
+ rspec-support (~> 3.5.0)
37
+ rspec-support (3.5.0)
38
+ thor (0.19.1)
39
+
40
+ PLATFORMS
41
+ ruby
42
+
43
+ DEPENDENCIES
44
+ activemodel (~> 3.2.0)
45
+ appraisal
46
+ bundler (~> 1.6)
47
+ rake
48
+ rspec
49
+ validates_zipcode!
50
+
51
+ BUNDLED WITH
52
+ 1.10.6
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "activemodel", "~> 4.0.0"
6
+
7
+ gemspec :path => "../"
@@ -0,0 +1,58 @@
1
+ PATH
2
+ remote: ../
3
+ specs:
4
+ validates_zipcode (0.0.13)
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.1.0)
20
+ bundler
21
+ rake
22
+ thor (>= 0.14.0)
23
+ builder (3.1.4)
24
+ diff-lcs (1.2.5)
25
+ i18n (0.7.0)
26
+ minitest (4.7.5)
27
+ multi_json (1.12.1)
28
+ rake (11.2.2)
29
+ rspec (3.5.0)
30
+ rspec-core (~> 3.5.0)
31
+ rspec-expectations (~> 3.5.0)
32
+ rspec-mocks (~> 3.5.0)
33
+ rspec-core (3.5.3)
34
+ rspec-support (~> 3.5.0)
35
+ rspec-expectations (3.5.0)
36
+ diff-lcs (>= 1.2.0, < 2.0)
37
+ rspec-support (~> 3.5.0)
38
+ rspec-mocks (3.5.0)
39
+ diff-lcs (>= 1.2.0, < 2.0)
40
+ rspec-support (~> 3.5.0)
41
+ rspec-support (3.5.0)
42
+ thor (0.19.1)
43
+ thread_safe (0.3.5)
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.10.6
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "activemodel", "~> 4.1.0"
6
+
7
+ gemspec :path => "../"
@@ -0,0 +1,59 @@
1
+ PATH
2
+ remote: ../
3
+ specs:
4
+ validates_zipcode (0.0.13)
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.1.0)
20
+ bundler
21
+ rake
22
+ thor (>= 0.14.0)
23
+ builder (3.2.2)
24
+ diff-lcs (1.2.5)
25
+ i18n (0.7.0)
26
+ json (1.8.3)
27
+ minitest (5.9.0)
28
+ rake (11.2.2)
29
+ rspec (3.5.0)
30
+ rspec-core (~> 3.5.0)
31
+ rspec-expectations (~> 3.5.0)
32
+ rspec-mocks (~> 3.5.0)
33
+ rspec-core (3.5.3)
34
+ rspec-support (~> 3.5.0)
35
+ rspec-expectations (3.5.0)
36
+ diff-lcs (>= 1.2.0, < 2.0)
37
+ rspec-support (~> 3.5.0)
38
+ rspec-mocks (3.5.0)
39
+ diff-lcs (>= 1.2.0, < 2.0)
40
+ rspec-support (~> 3.5.0)
41
+ rspec-support (3.5.0)
42
+ thor (0.19.1)
43
+ thread_safe (0.3.5)
44
+ tzinfo (1.2.2)
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.10.6
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "activemodel", "~> 4.2.0"
6
+
7
+ gemspec :path => "../"
@@ -0,0 +1,59 @@
1
+ PATH
2
+ remote: ../
3
+ specs:
4
+ validates_zipcode (0.0.13)
5
+ activemodel (>= 3.2.0)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ activemodel (4.2.6)
11
+ activesupport (= 4.2.6)
12
+ builder (~> 3.1)
13
+ activesupport (4.2.6)
14
+ i18n (~> 0.7)
15
+ json (~> 1.7, >= 1.7.7)
16
+ minitest (~> 5.1)
17
+ thread_safe (~> 0.3, >= 0.3.4)
18
+ tzinfo (~> 1.1)
19
+ appraisal (2.1.0)
20
+ bundler
21
+ rake
22
+ thor (>= 0.14.0)
23
+ builder (3.2.2)
24
+ diff-lcs (1.2.5)
25
+ i18n (0.7.0)
26
+ json (1.8.3)
27
+ minitest (5.9.0)
28
+ rake (11.2.2)
29
+ rspec (3.5.0)
30
+ rspec-core (~> 3.5.0)
31
+ rspec-expectations (~> 3.5.0)
32
+ rspec-mocks (~> 3.5.0)
33
+ rspec-core (3.5.3)
34
+ rspec-support (~> 3.5.0)
35
+ rspec-expectations (3.5.0)
36
+ diff-lcs (>= 1.2.0, < 2.0)
37
+ rspec-support (~> 3.5.0)
38
+ rspec-mocks (3.5.0)
39
+ diff-lcs (>= 1.2.0, < 2.0)
40
+ rspec-support (~> 3.5.0)
41
+ rspec-support (3.5.0)
42
+ thor (0.19.1)
43
+ thread_safe (0.3.5)
44
+ tzinfo (1.2.2)
45
+ thread_safe (~> 0.1)
46
+
47
+ PLATFORMS
48
+ ruby
49
+
50
+ DEPENDENCIES
51
+ activemodel (~> 4.2.0)
52
+ appraisal
53
+ bundler (~> 1.6)
54
+ rake
55
+ rspec
56
+ validates_zipcode!
57
+
58
+ BUNDLED WITH
59
+ 1.10.6
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "activemodel", "~> 5.0.0"
6
+
7
+ gemspec :path => "../"
@@ -0,0 +1,56 @@
1
+ PATH
2
+ remote: ../
3
+ specs:
4
+ validates_zipcode (0.0.13)
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.1.0)
18
+ bundler
19
+ rake
20
+ thor (>= 0.14.0)
21
+ concurrent-ruby (1.0.2)
22
+ diff-lcs (1.2.5)
23
+ i18n (0.7.0)
24
+ minitest (5.9.0)
25
+ rake (11.2.2)
26
+ rspec (3.5.0)
27
+ rspec-core (~> 3.5.0)
28
+ rspec-expectations (~> 3.5.0)
29
+ rspec-mocks (~> 3.5.0)
30
+ rspec-core (3.5.3)
31
+ rspec-support (~> 3.5.0)
32
+ rspec-expectations (3.5.0)
33
+ diff-lcs (>= 1.2.0, < 2.0)
34
+ rspec-support (~> 3.5.0)
35
+ rspec-mocks (3.5.0)
36
+ diff-lcs (>= 1.2.0, < 2.0)
37
+ rspec-support (~> 3.5.0)
38
+ rspec-support (3.5.0)
39
+ thor (0.19.1)
40
+ thread_safe (0.3.5)
41
+ tzinfo (1.2.2)
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
52
+ rspec
53
+ validates_zipcode!
54
+
55
+ BUNDLED WITH
56
+ 1.10.6
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "activemodel", :github => "rails/rails"
6
+
7
+ gemspec :path => "../"
@@ -1,3 +1,3 @@
1
1
  module ValidatesZipcode
2
- VERSION = "0.0.13"
2
+ VERSION = "0.0.14"
3
3
  end
@@ -20,9 +20,10 @@ Gem::Specification.new do |s|
20
20
 
21
21
  s.required_ruby_version = '>= 1.9.3'
22
22
 
23
- s.add_dependency 'activemodel', '>= 3.2.0', '< 5.0'
23
+ s.add_dependency 'activemodel', '>= 3.2.0'
24
24
 
25
25
  s.add_development_dependency "bundler", "~> 1.6"
26
26
  s.add_development_dependency "rake"
27
27
  s.add_development_dependency "rspec"
28
+ s.add_development_dependency "appraisal"
28
29
  end
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.0.13
4
+ version: 0.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Gil
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-08 00:00:00.000000000 Z
11
+ date: 2016-09-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel
@@ -17,9 +17,6 @@ dependencies:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: 3.2.0
20
- - - "<"
21
- - !ruby/object:Gem::Version
22
- version: '5.0'
23
20
  type: :runtime
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
@@ -27,9 +24,6 @@ dependencies:
27
24
  - - ">="
28
25
  - !ruby/object:Gem::Version
29
26
  version: 3.2.0
30
- - - "<"
31
- - !ruby/object:Gem::Version
32
- version: '5.0'
33
27
  - !ruby/object:Gem::Dependency
34
28
  name: bundler
35
29
  requirement: !ruby/object:Gem::Requirement
@@ -72,6 +66,20 @@ dependencies:
72
66
  - - ">="
73
67
  - !ruby/object:Gem::Version
74
68
  version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: appraisal
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
75
83
  description: Adds zipcode validation methods to ActiveModel considering different
76
84
  country zipcode formats.
77
85
  email:
@@ -83,6 +91,7 @@ files:
83
91
  - ".gitignore"
84
92
  - ".rspec"
85
93
  - ".travis.yml"
94
+ - Appraisals
86
95
  - CHANGELOG.md
87
96
  - CODE_OF_CONDUCT.md
88
97
  - Gemfile
@@ -90,6 +99,17 @@ files:
90
99
  - README.md
91
100
  - Rakefile
92
101
  - docs/postalCodeData.xml
102
+ - gemfiles/rails_3.2.gemfile
103
+ - gemfiles/rails_3.2.gemfile.lock
104
+ - gemfiles/rails_4.0.gemfile
105
+ - gemfiles/rails_4.0.gemfile.lock
106
+ - gemfiles/rails_4.1.gemfile
107
+ - gemfiles/rails_4.1.gemfile.lock
108
+ - gemfiles/rails_4.2.gemfile
109
+ - gemfiles/rails_4.2.gemfile.lock
110
+ - gemfiles/rails_5.0.gemfile
111
+ - gemfiles/rails_5.0.gemfile.lock
112
+ - gemfiles/rails_edge.gemfile
93
113
  - lib/validates_zipcode.rb
94
114
  - lib/validates_zipcode/cldr_regex_collection.rb
95
115
  - lib/validates_zipcode/helper_methods.rb
@@ -120,7 +140,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
120
140
  version: '0'
121
141
  requirements: []
122
142
  rubyforge_project:
123
- rubygems_version: 2.4.5.1
143
+ rubygems_version: 2.5.1
124
144
  signing_key:
125
145
  specification_version: 4
126
146
  summary: Localizable zipcode validation for Rails.