midwire / free_zipcode_data

Free US and world-wide postal codes in SQLite and CSV format
MIT License
87 stars 24 forks source link

v1.0.3 does not work (with Ruby 3.3) #24

Closed jlw closed 1 month ago

jlw commented 1 month ago

Expected Behavior

The included executable should run without errors.

Actual Behavior

Starting FreeZipcodeData v1.0.3...
Downloading: US.zip from GeoNames...
Processing '/tmp/zips/US.txt.csv' data, please be patient...                                                                                                         |  ETA: ??:??:??
bundler: failed to load command: free_zipcode_data (/Users/jeremyweathers/SourceCode/api/vendor/bundle/ruby/3.3.0/bin/free_zipcode_data)
/Users/jeremyweathers/SourceCode/api/vendor/bundle/ruby/3.3.0/gems/free_zipcode_data-1.0.3/lib/etl/csv_source.rb:8:in `initialize': wrong number of arguments (given 1, expected 0; required keyword: filename) (ArgumentError)

The downloaded tab-delimited source file is converted to a CSV file (US.txt.csv) and an empty DB file (free_zipcode_data.sqlite3) is created.

Steps to reproduce the problem


midwire commented 1 month ago

Thanks for this @jlw - I'll do my best to get to it this week.

midwire commented 1 month ago

Fixed here: cbb6b24 - Released 1.0.4