rate_center 0.1.3 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. checksums.yaml +4 -4
  2. data/.release-please-manifest.json +1 -1
  3. data/CHANGELOG.md +14 -0
  4. data/data/cities/us/ar.yml +9 -9
  5. data/data/cities/us/co.yml +307 -307
  6. data/data/cities/us/fl.yml +1 -1
  7. data/data/cities/us/ia.yml +12 -12
  8. data/data/cities/us/il.yml +7 -7
  9. data/data/cities/us/ks.yml +94 -94
  10. data/data/cities/us/md.yml +118 -118
  11. data/data/cities/us/mo.yml +657 -657
  12. data/data/cities/us/nc.yml +24 -24
  13. data/data/cities/us/nd.yml +3 -3
  14. data/data/cities/us/nv.yml +10 -10
  15. data/data/cities/us/ok.yml +17 -17
  16. data/data/cities/us/tn.yml +80 -80
  17. data/data/cities/us/tx.yml +1094 -1094
  18. data/data/rate_centers/us/ar.yml +1 -1
  19. data/data/rate_centers/us/az.yml +4 -4
  20. data/data/rate_centers/us/ca.yml +6 -6
  21. data/data/rate_centers/us/co.yml +20 -20
  22. data/data/rate_centers/us/fl.yml +9 -9
  23. data/data/rate_centers/us/ia.yml +1 -1
  24. data/data/rate_centers/us/il.yml +5 -5
  25. data/data/rate_centers/us/ks.yml +24 -24
  26. data/data/rate_centers/us/ky.yml +12 -12
  27. data/data/rate_centers/us/ma.yml +1 -1
  28. data/data/rate_centers/us/md.yml +43 -43
  29. data/data/rate_centers/us/mi.yml +1 -1
  30. data/data/rate_centers/us/mn.yml +18 -18
  31. data/data/rate_centers/us/mo.yml +96 -96
  32. data/data/rate_centers/us/ms.yml +4 -4
  33. data/data/rate_centers/us/nc.yml +1 -1
  34. data/data/rate_centers/us/nd.yml +5 -5
  35. data/data/rate_centers/us/ne.yml +31 -31
  36. data/data/rate_centers/us/nj.yml +14 -14
  37. data/data/rate_centers/us/nv.yml +10 -10
  38. data/data/rate_centers/us/ny.yml +31 -31
  39. data/data/rate_centers/us/oh.yml +13 -13
  40. data/data/rate_centers/us/ok.yml +1 -1
  41. data/data/rate_centers/us/or.yml +9 -9
  42. data/data/rate_centers/us/pa.yml +11 -11
  43. data/data/rate_centers/us/ri.yml +4 -4
  44. data/data/rate_centers/us/tn.yml +60 -60
  45. data/data/rate_centers/us/tx.yml +154 -154
  46. data/data/rate_centers/us/va.yml +10 -10
  47. data/lib/rate_center/collection.rb +4 -0
  48. data/lib/rate_center/data_source/local_calling_guide.rb +1 -1
  49. data/lib/rate_center/version.rb +1 -1
  50. metadata +2 -2
@@ -2726,7 +2726,7 @@ rate_centers:
2726
2726
  long:
2727
2727
  - country: US
2728
2728
  region: VA
2729
- exchange: '311636'
2729
+ exchange: '205052'
2730
2730
  name: CENTREVL
2731
2731
  full_name: Centreville
2732
2732
  lata: '236'
@@ -2735,7 +2735,7 @@ rate_centers:
2735
2735
  long:
2736
2736
  - country: US
2737
2737
  region: VA
2738
- exchange: '205052'
2738
+ exchange: '311636'
2739
2739
  name: CENTREVL
2740
2740
  full_name: Centreville
2741
2741
  lata: '236'
@@ -11132,20 +11132,20 @@ rate_centers:
11132
11132
  long:
11133
11133
  - country: US
11134
11134
  region: VA
11135
- exchange: '313446'
11136
- name: OAK HILL
11135
+ exchange: '311696'
11136
+ name: OAKHILL
11137
11137
  full_name: Oak Hill
11138
- lata: '250'
11139
- ilec_name: BRIGHTSPEED OF VIRGINIA, LLC
11138
+ lata: '236'
11139
+ ilec_name: VERIZON VIRGINIA, INC.
11140
11140
  lat:
11141
11141
  long:
11142
11142
  - country: US
11143
11143
  region: VA
11144
- exchange: '311696'
11145
- name: OAKHILL
11144
+ exchange: '313446'
11145
+ name: OAK HILL
11146
11146
  full_name: Oak Hill
11147
- lata: '236'
11148
- ilec_name: VERIZON VIRGINIA, INC.
11147
+ lata: '250'
11148
+ ilec_name: BRIGHTSPEED OF VIRGINIA, LLC
11149
11149
  lat:
11150
11150
  long:
11151
11151
  - country: US
@@ -6,6 +6,10 @@ module RateCenter
6
6
  @collection ||= load_collection
7
7
  end
8
8
 
9
+ def reload!
10
+ @collection = load_collection
11
+ end
12
+
9
13
  def all
10
14
  collection
11
15
  end
@@ -84,7 +84,7 @@ module RateCenter
84
84
  "country" => "US",
85
85
  "region" => region,
86
86
  "exchange" => rate_center.exch,
87
- "name" => rate_center.rcshort || rate_center.rc,
87
+ "name" => (rate_center.rcshort || rate_center.rc).strip.upcase,
88
88
  "full_name" => rate_center.rc,
89
89
  "lata" => rate_center.lata,
90
90
  "ilec_name" => rate_center.ilec_name,
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RateCenter
4
- VERSION = "0.1.3"
4
+ VERSION = "0.1.5"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rate_center
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Wilkie
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-10-07 00:00:00.000000000 Z
11
+ date: 2024-10-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: multi_xml