my_zipcode_gem 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/README.textile +2 -0
- data/Rakefile +8 -0
- data/lib/generators/my_zipcode_gem/version.rb +1 -1
- data/lib/my_zipcode_gem.rb +1 -0
- data/my_zipcode_gem.gemspec +5 -2
- metadata +53 -45
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 7d3ec6ac0913b1985b5a253854cc8dcd8ca4a368
|
4
|
+
data.tar.gz: 0bfdcd2e8f58e7331d6f3c10a59b069e8e0777d2
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 0f40da7399ab9d2bbcf797ac9c6161ad3bad987ca5e0555484603b84f58e83a40c67dd2ed2843aa73b0b65b1637f4438bd2d56225664712bddc6dfd26f5e2fe0
|
7
|
+
data.tar.gz: e7eba2596d384366fea8fc4bf76e7809d5fb55804b3ae5fa9b372a1b7514532603e473b4d5292aed3a84e477818f2d7879b8a41854fbd3adef72076f189f8947
|
data/MIT-LICENSE
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright 2011 Chris Blackburn
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.textile
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
h1. My Zipcode Gem
|
2
2
|
|
3
|
+
!https://img.shields.io/github/license/midwire/my_zipcode_gem.svg!:https://github.com/midwire/my_zipcode_gem/blob/master/MIT-LICENSE
|
4
|
+
|
3
5
|
Simple gem to handle zipcode lookups and related functionality. @rake zipcodes:update@ will automatically download and update your local zipcode database. Generates three models for extended zipcode functionality.
|
4
6
|
|
5
7
|
h2. Installation
|
data/Rakefile
CHANGED
@@ -1,6 +1,14 @@
|
|
1
1
|
require 'bundler'
|
2
2
|
Bundler::GemHelper.install_tasks
|
3
3
|
|
4
|
+
begin
|
5
|
+
require 'midwire_common/rake_tasks'
|
6
|
+
rescue StandardError => e
|
7
|
+
puts('>>> Can\'t load midwire_common/rake_tasks.')
|
8
|
+
puts(">>> Did you 'bundle exec'?: #{e.message}")
|
9
|
+
exit
|
10
|
+
end
|
11
|
+
|
4
12
|
require 'cucumber'
|
5
13
|
require 'cucumber/rake/task'
|
6
14
|
Cucumber::Rake::Task.new(:features) do |t|
|
data/lib/my_zipcode_gem.rb
CHANGED
data/my_zipcode_gem.gemspec
CHANGED
@@ -6,11 +6,12 @@ Gem::Specification.new do |s|
|
|
6
6
|
s.name = "my_zipcode_gem"
|
7
7
|
s.version = MyZipcodeGem::VERSION
|
8
8
|
s.platform = Gem::Platform::RUBY
|
9
|
-
s.authors = ["Chris Blackburn"]
|
10
|
-
s.email = ["chris [at] midwiretech [dot] com"]
|
9
|
+
s.authors = ["Chris Blackburn", "Chris McKnight"]
|
10
|
+
s.email = ["chris [at] midwiretech [dot] com", "cmckni3 [at] gmail [dot] com"]
|
11
11
|
s.homepage = "https://github.com/midwire/my_zipcode_gem"
|
12
12
|
s.summary = %q{A Ruby gem to handle all things zipcode.}
|
13
13
|
s.description = %q{A Ruby gem for looking up and manipulating US postal codes and geocodes.}
|
14
|
+
s.licenses = ['MIT']
|
14
15
|
|
15
16
|
s.rubyforge_project = "my_zipcode_gem"
|
16
17
|
|
@@ -28,4 +29,6 @@ Gem::Specification.new do |s|
|
|
28
29
|
s.add_development_dependency('rspec-rails')
|
29
30
|
s.add_development_dependency('cucumber')
|
30
31
|
s.add_development_dependency('cucumber-rails')
|
32
|
+
s.add_development_dependency('pry') # For local debugging
|
33
|
+
s.add_development_dependency('midwire_common') # For rake release task
|
31
34
|
end
|
metadata
CHANGED
@@ -1,36 +1,33 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: my_zipcode_gem
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
5
|
-
prerelease:
|
4
|
+
version: 0.1.4
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Chris Blackburn
|
8
|
+
- Chris McKnight
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2015-11-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
17
|
requirements:
|
19
|
-
- -
|
18
|
+
- - ">="
|
20
19
|
- !ruby/object:Gem::Version
|
21
20
|
version: 3.0.0
|
22
21
|
type: :runtime
|
23
22
|
prerelease: false
|
24
23
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
24
|
requirements:
|
27
|
-
- -
|
25
|
+
- - ">="
|
28
26
|
- !ruby/object:Gem::Version
|
29
27
|
version: 3.0.0
|
30
28
|
- !ruby/object:Gem::Dependency
|
31
29
|
name: rubigen
|
32
30
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
31
|
requirements:
|
35
32
|
- - '='
|
36
33
|
- !ruby/object:Gem::Version
|
@@ -38,7 +35,6 @@ dependencies:
|
|
38
35
|
type: :runtime
|
39
36
|
prerelease: false
|
40
37
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
38
|
requirements:
|
43
39
|
- - '='
|
44
40
|
- !ruby/object:Gem::Version
|
@@ -46,23 +42,20 @@ dependencies:
|
|
46
42
|
- !ruby/object:Gem::Dependency
|
47
43
|
name: sqlite3-ruby
|
48
44
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
45
|
requirements:
|
51
|
-
- -
|
46
|
+
- - ">="
|
52
47
|
- !ruby/object:Gem::Version
|
53
48
|
version: '0'
|
54
49
|
type: :development
|
55
50
|
prerelease: false
|
56
51
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
52
|
requirements:
|
59
|
-
- -
|
53
|
+
- - ">="
|
60
54
|
- !ruby/object:Gem::Version
|
61
55
|
version: '0'
|
62
56
|
- !ruby/object:Gem::Dependency
|
63
57
|
name: shoulda
|
64
58
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
59
|
requirements:
|
67
60
|
- - '='
|
68
61
|
- !ruby/object:Gem::Version
|
@@ -70,7 +63,6 @@ dependencies:
|
|
70
63
|
type: :development
|
71
64
|
prerelease: false
|
72
65
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
66
|
requirements:
|
75
67
|
- - '='
|
76
68
|
- !ruby/object:Gem::Version
|
@@ -78,76 +70,98 @@ dependencies:
|
|
78
70
|
- !ruby/object:Gem::Dependency
|
79
71
|
name: rspec
|
80
72
|
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
73
|
requirements:
|
83
|
-
- -
|
74
|
+
- - ">="
|
84
75
|
- !ruby/object:Gem::Version
|
85
76
|
version: '0'
|
86
77
|
type: :development
|
87
78
|
prerelease: false
|
88
79
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
80
|
requirements:
|
91
|
-
- -
|
81
|
+
- - ">="
|
92
82
|
- !ruby/object:Gem::Version
|
93
83
|
version: '0'
|
94
84
|
- !ruby/object:Gem::Dependency
|
95
85
|
name: rspec-rails
|
96
86
|
requirement: !ruby/object:Gem::Requirement
|
97
|
-
none: false
|
98
87
|
requirements:
|
99
|
-
- -
|
88
|
+
- - ">="
|
100
89
|
- !ruby/object:Gem::Version
|
101
90
|
version: '0'
|
102
91
|
type: :development
|
103
92
|
prerelease: false
|
104
93
|
version_requirements: !ruby/object:Gem::Requirement
|
105
|
-
none: false
|
106
94
|
requirements:
|
107
|
-
- -
|
95
|
+
- - ">="
|
108
96
|
- !ruby/object:Gem::Version
|
109
97
|
version: '0'
|
110
98
|
- !ruby/object:Gem::Dependency
|
111
99
|
name: cucumber
|
112
100
|
requirement: !ruby/object:Gem::Requirement
|
113
|
-
none: false
|
114
101
|
requirements:
|
115
|
-
- -
|
102
|
+
- - ">="
|
116
103
|
- !ruby/object:Gem::Version
|
117
104
|
version: '0'
|
118
105
|
type: :development
|
119
106
|
prerelease: false
|
120
107
|
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
none: false
|
122
108
|
requirements:
|
123
|
-
- -
|
109
|
+
- - ">="
|
124
110
|
- !ruby/object:Gem::Version
|
125
111
|
version: '0'
|
126
112
|
- !ruby/object:Gem::Dependency
|
127
113
|
name: cucumber-rails
|
128
114
|
requirement: !ruby/object:Gem::Requirement
|
129
|
-
none: false
|
130
115
|
requirements:
|
131
|
-
- -
|
116
|
+
- - ">="
|
132
117
|
- !ruby/object:Gem::Version
|
133
118
|
version: '0'
|
134
119
|
type: :development
|
135
120
|
prerelease: false
|
136
121
|
version_requirements: !ruby/object:Gem::Requirement
|
137
|
-
none: false
|
138
122
|
requirements:
|
139
|
-
- -
|
123
|
+
- - ">="
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: '0'
|
126
|
+
- !ruby/object:Gem::Dependency
|
127
|
+
name: pry
|
128
|
+
requirement: !ruby/object:Gem::Requirement
|
129
|
+
requirements:
|
130
|
+
- - ">="
|
131
|
+
- !ruby/object:Gem::Version
|
132
|
+
version: '0'
|
133
|
+
type: :development
|
134
|
+
prerelease: false
|
135
|
+
version_requirements: !ruby/object:Gem::Requirement
|
136
|
+
requirements:
|
137
|
+
- - ">="
|
138
|
+
- !ruby/object:Gem::Version
|
139
|
+
version: '0'
|
140
|
+
- !ruby/object:Gem::Dependency
|
141
|
+
name: midwire_common
|
142
|
+
requirement: !ruby/object:Gem::Requirement
|
143
|
+
requirements:
|
144
|
+
- - ">="
|
145
|
+
- !ruby/object:Gem::Version
|
146
|
+
version: '0'
|
147
|
+
type: :development
|
148
|
+
prerelease: false
|
149
|
+
version_requirements: !ruby/object:Gem::Requirement
|
150
|
+
requirements:
|
151
|
+
- - ">="
|
140
152
|
- !ruby/object:Gem::Version
|
141
153
|
version: '0'
|
142
154
|
description: A Ruby gem for looking up and manipulating US postal codes and geocodes.
|
143
155
|
email:
|
144
156
|
- chris [at] midwiretech [dot] com
|
157
|
+
- cmckni3 [at] gmail [dot] com
|
145
158
|
executables: []
|
146
159
|
extensions: []
|
147
160
|
extra_rdoc_files: []
|
148
161
|
files:
|
149
|
-
- .gitignore
|
162
|
+
- ".gitignore"
|
150
163
|
- Gemfile
|
164
|
+
- MIT-LICENSE
|
151
165
|
- README.textile
|
152
166
|
- Rakefile
|
153
167
|
- features/step_definitions/common_steps.rb
|
@@ -165,34 +179,28 @@ files:
|
|
165
179
|
- lib/my_zipcode_gem.rb
|
166
180
|
- my_zipcode_gem.gemspec
|
167
181
|
homepage: https://github.com/midwire/my_zipcode_gem
|
168
|
-
licenses:
|
182
|
+
licenses:
|
183
|
+
- MIT
|
184
|
+
metadata: {}
|
169
185
|
post_install_message:
|
170
186
|
rdoc_options: []
|
171
187
|
require_paths:
|
172
188
|
- lib
|
173
189
|
required_ruby_version: !ruby/object:Gem::Requirement
|
174
|
-
none: false
|
175
190
|
requirements:
|
176
|
-
- -
|
191
|
+
- - ">="
|
177
192
|
- !ruby/object:Gem::Version
|
178
193
|
version: '0'
|
179
|
-
segments:
|
180
|
-
- 0
|
181
|
-
hash: 2335148937812189379
|
182
194
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
183
|
-
none: false
|
184
195
|
requirements:
|
185
|
-
- -
|
196
|
+
- - ">="
|
186
197
|
- !ruby/object:Gem::Version
|
187
198
|
version: '0'
|
188
|
-
segments:
|
189
|
-
- 0
|
190
|
-
hash: 2335148937812189379
|
191
199
|
requirements: []
|
192
200
|
rubyforge_project: my_zipcode_gem
|
193
|
-
rubygems_version:
|
201
|
+
rubygems_version: 2.4.5
|
194
202
|
signing_key:
|
195
|
-
specification_version:
|
203
|
+
specification_version: 4
|
196
204
|
summary: A Ruby gem to handle all things zipcode.
|
197
205
|
test_files:
|
198
206
|
- features/step_definitions/common_steps.rb
|