thecodecrate / city-state

Simple ruby gem to create form lists with cities and states
MIT License
306 stars 135 forks source link

Error "Did you mean? exist?" #57

Closed hww closed 1 year ago

hww commented 1 year ago
3.2.0 :002 > CS.countries
/home/valery/.local/share/gem/ruby/3.2.0/gems/city-state-0.1.0/lib/city-state.rb:286:in `countries': undefined
method `exists?' for File:Class (NoMethodError)

    if ! File.exists? COUNTRIES_FN
             ^^^^^^^^
Did you mean?  exist?
paulhklam1122 commented 1 year ago

It looks like this is fixed on the master branch, can we get an official version release containing this fix?

kushagra-03 commented 1 year ago

Yes, I'm facing the same issue, an official release would be nice.

loureirorg commented 1 year ago

Fixed on 1.1.0.