rate_center 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (132) hide show
  1. checksums.yaml +7 -0
  2. data/.release-please-manifest.json +3 -0
  3. data/.rspec +3 -0
  4. data/.rubocop.yml +26 -0
  5. data/.tool-versions +1 -0
  6. data/CHANGELOG.md +17 -0
  7. data/LICENSE.txt +21 -0
  8. data/README.md +102 -0
  9. data/Rakefile +12 -0
  10. data/data/cities/us/ak.yml +6420 -0
  11. data/data/cities/us/al.yml +10684 -0
  12. data/data/cities/us/ar.yml +11308 -0
  13. data/data/cities/us/az.yml +8396 -0
  14. data/data/cities/us/ca.yml +30626 -0
  15. data/data/cities/us/co.yml +9787 -0
  16. data/data/cities/us/ct.yml +3388 -0
  17. data/data/cities/us/dc.yml +12 -0
  18. data/data/cities/us/de.yml +1424 -0
  19. data/data/cities/us/fl.yml +17198 -0
  20. data/data/cities/us/ga.yml +12062 -0
  21. data/data/cities/us/hi.yml +2846 -0
  22. data/data/cities/us/ia.yml +18822 -0
  23. data/data/cities/us/id.yml +4324 -0
  24. data/data/cities/us/il.yml +27206 -0
  25. data/data/cities/us/in.yml +17594 -0
  26. data/data/cities/us/ks.yml +13626 -0
  27. data/data/cities/us/ky.yml +9958 -0
  28. data/data/cities/us/la.yml +8786 -0
  29. data/data/cities/us/ma.yml +2288 -0
  30. data/data/cities/us/md.yml +10738 -0
  31. data/data/cities/us/me.yml +1194 -0
  32. data/data/cities/us/mi.yml +13662 -0
  33. data/data/cities/us/mn.yml +16378 -0
  34. data/data/cities/us/mo.yml +21572 -0
  35. data/data/cities/us/ms.yml +7762 -0
  36. data/data/cities/us/mt.yml +9032 -0
  37. data/data/cities/us/nc.yml +14140 -0
  38. data/data/cities/us/nd.yml +7300 -0
  39. data/data/cities/us/ne.yml +10622 -0
  40. data/data/cities/us/nh.yml +740 -0
  41. data/data/cities/us/nj.yml +11848 -0
  42. data/data/cities/us/nm.yml +9352 -0
  43. data/data/cities/us/nv.yml +2652 -0
  44. data/data/cities/us/ny.yml +17946 -0
  45. data/data/cities/us/oh.yml +22704 -0
  46. data/data/cities/us/ok.yml +15154 -0
  47. data/data/cities/us/or.yml +7680 -0
  48. data/data/cities/us/pa.yml +32546 -0
  49. data/data/cities/us/pr.yml +5121 -0
  50. data/data/cities/us/ri.yml +560 -0
  51. data/data/cities/us/sc.yml +8768 -0
  52. data/data/cities/us/sd.yml +8768 -0
  53. data/data/cities/us/tn.yml +9404 -0
  54. data/data/cities/us/tx.yml +36996 -0
  55. data/data/cities/us/ut.yml +6308 -0
  56. data/data/cities/us/va.yml +12194 -0
  57. data/data/cities/us/vt.yml +1910 -0
  58. data/data/cities/us/wa.yml +11900 -0
  59. data/data/cities/us/wi.yml +14564 -0
  60. data/data/cities/us/wv.yml +7984 -0
  61. data/data/cities/us/wy.yml +3674 -0
  62. data/data/rate_centers/us/.keep +0 -0
  63. data/data/rate_centers/us/ak.yml +4584 -0
  64. data/data/rate_centers/us/al.yml +9798 -0
  65. data/data/rate_centers/us/ar.yml +15882 -0
  66. data/data/rate_centers/us/as.yml +119 -0
  67. data/data/rate_centers/us/az.yml +4159 -0
  68. data/data/rate_centers/us/ca.yml +21059 -0
  69. data/data/rate_centers/us/co.yml +6502 -0
  70. data/data/rate_centers/us/ct.yml +4086 -0
  71. data/data/rate_centers/us/dc.yml +16 -0
  72. data/data/rate_centers/us/de.yml +1133 -0
  73. data/data/rate_centers/us/fl.yml +10773 -0
  74. data/data/rate_centers/us/ga.yml +10143 -0
  75. data/data/rate_centers/us/gu.yml +218 -0
  76. data/data/rate_centers/us/hi.yml +1130 -0
  77. data/data/rate_centers/us/ia.yml +15438 -0
  78. data/data/rate_centers/us/id.yml +4357 -0
  79. data/data/rate_centers/us/il.yml +25322 -0
  80. data/data/rate_centers/us/in.yml +13924 -0
  81. data/data/rate_centers/us/ks.yml +12312 -0
  82. data/data/rate_centers/us/ky.yml +18629 -0
  83. data/data/rate_centers/us/la.yml +7785 -0
  84. data/data/rate_centers/us/ma.yml +7947 -0
  85. data/data/rate_centers/us/md.yml +6956 -0
  86. data/data/rate_centers/us/me.yml +9213 -0
  87. data/data/rate_centers/us/mi.yml +15653 -0
  88. data/data/rate_centers/us/mn.yml +15195 -0
  89. data/data/rate_centers/us/mo.yml +18238 -0
  90. data/data/rate_centers/us/mp.yml +29 -0
  91. data/data/rate_centers/us/ms.yml +7913 -0
  92. data/data/rate_centers/us/mt.yml +5659 -0
  93. data/data/rate_centers/us/nc.yml +11641 -0
  94. data/data/rate_centers/us/nd.yml +7341 -0
  95. data/data/rate_centers/us/ne.yml +8727 -0
  96. data/data/rate_centers/us/nh.yml +4499 -0
  97. data/data/rate_centers/us/nj.yml +13710 -0
  98. data/data/rate_centers/us/nm.yml +4636 -0
  99. data/data/rate_centers/us/nv.yml +2629 -0
  100. data/data/rate_centers/us/ny.yml +34576 -0
  101. data/data/rate_centers/us/oh.yml +20184 -0
  102. data/data/rate_centers/us/ok.yml +9970 -0
  103. data/data/rate_centers/us/or.yml +6867 -0
  104. data/data/rate_centers/us/pa.yml +40360 -0
  105. data/data/rate_centers/us/pr.yml +1899 -0
  106. data/data/rate_centers/us/ri.yml +1225 -0
  107. data/data/rate_centers/us/sc.yml +6251 -0
  108. data/data/rate_centers/us/sd.yml +6256 -0
  109. data/data/rate_centers/us/tn.yml +9289 -0
  110. data/data/rate_centers/us/tx.yml +27690 -0
  111. data/data/rate_centers/us/ut.yml +4712 -0
  112. data/data/rate_centers/us/va.yml +17679 -0
  113. data/data/rate_centers/us/vi.yml +146 -0
  114. data/data/rate_centers/us/vt.yml +4667 -0
  115. data/data/rate_centers/us/wa.yml +8151 -0
  116. data/data/rate_centers/us/wi.yml +12872 -0
  117. data/data/rate_centers/us/wv.yml +14818 -0
  118. data/data/rate_centers/us/wy.yml +2852 -0
  119. data/lib/rate_center/city.rb +33 -0
  120. data/lib/rate_center/collection.rb +23 -0
  121. data/lib/rate_center/data_loader.rb +75 -0
  122. data/lib/rate_center/data_prep.rb +121 -0
  123. data/lib/rate_center/data_source/local_calling_guide.rb +107 -0
  124. data/lib/rate_center/data_source/simple_maps.rb +93 -0
  125. data/lib/rate_center/distance.rb +3 -0
  126. data/lib/rate_center/errors.rb +6 -0
  127. data/lib/rate_center/rate_center.rb +34 -0
  128. data/lib/rate_center/vector.rb +3 -0
  129. data/lib/rate_center/version.rb +5 -0
  130. data/lib/rate_center.rb +21 -0
  131. data/release-please-config.json +15 -0
  132. metadata +400 -0
metadata ADDED
@@ -0,0 +1,400 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rate_center
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.2
5
+ platform: ruby
6
+ authors:
7
+ - David Wilkie
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2024-10-05 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: multi_xml
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: ox
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: faraday
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rack
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: countries
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'
83
+ - !ruby/object:Gem::Dependency
84
+ name: ostruct
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: rubyzip
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: csv
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: geocoder
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ - !ruby/object:Gem::Dependency
140
+ name: logger
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
153
+ - !ruby/object:Gem::Dependency
154
+ name: fiddle
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - ">="
158
+ - !ruby/object:Gem::Version
159
+ version: '0'
160
+ type: :development
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - ">="
165
+ - !ruby/object:Gem::Version
166
+ version: '0'
167
+ - !ruby/object:Gem::Dependency
168
+ name: rake
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - ">="
172
+ - !ruby/object:Gem::Version
173
+ version: '0'
174
+ type: :development
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - ">="
179
+ - !ruby/object:Gem::Version
180
+ version: '0'
181
+ - !ruby/object:Gem::Dependency
182
+ name: rspec
183
+ requirement: !ruby/object:Gem::Requirement
184
+ requirements:
185
+ - - ">="
186
+ - !ruby/object:Gem::Version
187
+ version: '0'
188
+ type: :development
189
+ prerelease: false
190
+ version_requirements: !ruby/object:Gem::Requirement
191
+ requirements:
192
+ - - ">="
193
+ - !ruby/object:Gem::Version
194
+ version: '0'
195
+ - !ruby/object:Gem::Dependency
196
+ name: rubocop-rails-omakase
197
+ requirement: !ruby/object:Gem::Requirement
198
+ requirements:
199
+ - - ">="
200
+ - !ruby/object:Gem::Version
201
+ version: '0'
202
+ type: :development
203
+ prerelease: false
204
+ version_requirements: !ruby/object:Gem::Requirement
205
+ requirements:
206
+ - - ">="
207
+ - !ruby/object:Gem::Version
208
+ version: '0'
209
+ - !ruby/object:Gem::Dependency
210
+ name: rubocop-rspec
211
+ requirement: !ruby/object:Gem::Requirement
212
+ requirements:
213
+ - - ">="
214
+ - !ruby/object:Gem::Version
215
+ version: '0'
216
+ type: :development
217
+ prerelease: false
218
+ version_requirements: !ruby/object:Gem::Requirement
219
+ requirements:
220
+ - - ">="
221
+ - !ruby/object:Gem::Version
222
+ version: '0'
223
+ - !ruby/object:Gem::Dependency
224
+ name: rubocop-performance
225
+ requirement: !ruby/object:Gem::Requirement
226
+ requirements:
227
+ - - ">="
228
+ - !ruby/object:Gem::Version
229
+ version: '0'
230
+ type: :development
231
+ prerelease: false
232
+ version_requirements: !ruby/object:Gem::Requirement
233
+ requirements:
234
+ - - ">="
235
+ - !ruby/object:Gem::Version
236
+ version: '0'
237
+ description:
238
+ email:
239
+ - dwilkie@gmail.com
240
+ executables: []
241
+ extensions: []
242
+ extra_rdoc_files: []
243
+ files:
244
+ - ".release-please-manifest.json"
245
+ - ".rspec"
246
+ - ".rubocop.yml"
247
+ - ".tool-versions"
248
+ - CHANGELOG.md
249
+ - LICENSE.txt
250
+ - README.md
251
+ - Rakefile
252
+ - data/cities/us/ak.yml
253
+ - data/cities/us/al.yml
254
+ - data/cities/us/ar.yml
255
+ - data/cities/us/az.yml
256
+ - data/cities/us/ca.yml
257
+ - data/cities/us/co.yml
258
+ - data/cities/us/ct.yml
259
+ - data/cities/us/dc.yml
260
+ - data/cities/us/de.yml
261
+ - data/cities/us/fl.yml
262
+ - data/cities/us/ga.yml
263
+ - data/cities/us/hi.yml
264
+ - data/cities/us/ia.yml
265
+ - data/cities/us/id.yml
266
+ - data/cities/us/il.yml
267
+ - data/cities/us/in.yml
268
+ - data/cities/us/ks.yml
269
+ - data/cities/us/ky.yml
270
+ - data/cities/us/la.yml
271
+ - data/cities/us/ma.yml
272
+ - data/cities/us/md.yml
273
+ - data/cities/us/me.yml
274
+ - data/cities/us/mi.yml
275
+ - data/cities/us/mn.yml
276
+ - data/cities/us/mo.yml
277
+ - data/cities/us/ms.yml
278
+ - data/cities/us/mt.yml
279
+ - data/cities/us/nc.yml
280
+ - data/cities/us/nd.yml
281
+ - data/cities/us/ne.yml
282
+ - data/cities/us/nh.yml
283
+ - data/cities/us/nj.yml
284
+ - data/cities/us/nm.yml
285
+ - data/cities/us/nv.yml
286
+ - data/cities/us/ny.yml
287
+ - data/cities/us/oh.yml
288
+ - data/cities/us/ok.yml
289
+ - data/cities/us/or.yml
290
+ - data/cities/us/pa.yml
291
+ - data/cities/us/pr.yml
292
+ - data/cities/us/ri.yml
293
+ - data/cities/us/sc.yml
294
+ - data/cities/us/sd.yml
295
+ - data/cities/us/tn.yml
296
+ - data/cities/us/tx.yml
297
+ - data/cities/us/ut.yml
298
+ - data/cities/us/va.yml
299
+ - data/cities/us/vt.yml
300
+ - data/cities/us/wa.yml
301
+ - data/cities/us/wi.yml
302
+ - data/cities/us/wv.yml
303
+ - data/cities/us/wy.yml
304
+ - data/rate_centers/us/.keep
305
+ - data/rate_centers/us/ak.yml
306
+ - data/rate_centers/us/al.yml
307
+ - data/rate_centers/us/ar.yml
308
+ - data/rate_centers/us/as.yml
309
+ - data/rate_centers/us/az.yml
310
+ - data/rate_centers/us/ca.yml
311
+ - data/rate_centers/us/co.yml
312
+ - data/rate_centers/us/ct.yml
313
+ - data/rate_centers/us/dc.yml
314
+ - data/rate_centers/us/de.yml
315
+ - data/rate_centers/us/fl.yml
316
+ - data/rate_centers/us/ga.yml
317
+ - data/rate_centers/us/gu.yml
318
+ - data/rate_centers/us/hi.yml
319
+ - data/rate_centers/us/ia.yml
320
+ - data/rate_centers/us/id.yml
321
+ - data/rate_centers/us/il.yml
322
+ - data/rate_centers/us/in.yml
323
+ - data/rate_centers/us/ks.yml
324
+ - data/rate_centers/us/ky.yml
325
+ - data/rate_centers/us/la.yml
326
+ - data/rate_centers/us/ma.yml
327
+ - data/rate_centers/us/md.yml
328
+ - data/rate_centers/us/me.yml
329
+ - data/rate_centers/us/mi.yml
330
+ - data/rate_centers/us/mn.yml
331
+ - data/rate_centers/us/mo.yml
332
+ - data/rate_centers/us/mp.yml
333
+ - data/rate_centers/us/ms.yml
334
+ - data/rate_centers/us/mt.yml
335
+ - data/rate_centers/us/nc.yml
336
+ - data/rate_centers/us/nd.yml
337
+ - data/rate_centers/us/ne.yml
338
+ - data/rate_centers/us/nh.yml
339
+ - data/rate_centers/us/nj.yml
340
+ - data/rate_centers/us/nm.yml
341
+ - data/rate_centers/us/nv.yml
342
+ - data/rate_centers/us/ny.yml
343
+ - data/rate_centers/us/oh.yml
344
+ - data/rate_centers/us/ok.yml
345
+ - data/rate_centers/us/or.yml
346
+ - data/rate_centers/us/pa.yml
347
+ - data/rate_centers/us/pr.yml
348
+ - data/rate_centers/us/ri.yml
349
+ - data/rate_centers/us/sc.yml
350
+ - data/rate_centers/us/sd.yml
351
+ - data/rate_centers/us/tn.yml
352
+ - data/rate_centers/us/tx.yml
353
+ - data/rate_centers/us/ut.yml
354
+ - data/rate_centers/us/va.yml
355
+ - data/rate_centers/us/vi.yml
356
+ - data/rate_centers/us/vt.yml
357
+ - data/rate_centers/us/wa.yml
358
+ - data/rate_centers/us/wi.yml
359
+ - data/rate_centers/us/wv.yml
360
+ - data/rate_centers/us/wy.yml
361
+ - lib/rate_center.rb
362
+ - lib/rate_center/city.rb
363
+ - lib/rate_center/collection.rb
364
+ - lib/rate_center/data_loader.rb
365
+ - lib/rate_center/data_prep.rb
366
+ - lib/rate_center/data_source/local_calling_guide.rb
367
+ - lib/rate_center/data_source/simple_maps.rb
368
+ - lib/rate_center/distance.rb
369
+ - lib/rate_center/errors.rb
370
+ - lib/rate_center/rate_center.rb
371
+ - lib/rate_center/vector.rb
372
+ - lib/rate_center/version.rb
373
+ - release-please-config.json
374
+ homepage: https://github.com/somleng/rate_center
375
+ licenses:
376
+ - MIT
377
+ metadata:
378
+ homepage_uri: https://github.com/somleng/rate_center
379
+ source_code_uri: https://github.com/somleng/rate_center
380
+ changelog_uri: https://github.com/somleng/rate_center/blob/main/CHANGELOG.md
381
+ post_install_message:
382
+ rdoc_options: []
383
+ require_paths:
384
+ - lib
385
+ required_ruby_version: !ruby/object:Gem::Requirement
386
+ requirements:
387
+ - - ">="
388
+ - !ruby/object:Gem::Version
389
+ version: 3.0.0
390
+ required_rubygems_version: !ruby/object:Gem::Requirement
391
+ requirements:
392
+ - - ">="
393
+ - !ruby/object:Gem::Version
394
+ version: '0'
395
+ requirements: []
396
+ rubygems_version: 3.5.16
397
+ signing_key:
398
+ specification_version: 4
399
+ summary: A collection of useful data about NANPA Rate Centers.
400
+ test_files: []