addresses 1.0.11 → 2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/addresses/application_controller.rb +2 -0
- data/app/controllers/addresses/cities_controller.rb +3 -1
- data/app/controllers/addresses/neighborhoods_controller.rb +4 -2
- data/app/controllers/addresses/states_controller.rb +5 -5
- data/app/controllers/addresses/zipcodes_controller.rb +7 -5
- data/app/models/addresses/address.rb +5 -2
- data/app/models/addresses/city.rb +5 -1
- data/app/models/addresses/country.rb +3 -0
- data/app/models/addresses/neighborhood.rb +4 -0
- data/app/models/addresses/state.rb +4 -0
- data/app/models/addresses/zipcode.rb +11 -39
- data/config/routes.rb +2 -0
- data/db/migrate/20140327141509_create_addresses_countries.rb +2 -1
- data/db/migrate/20140327163801_create_addresses_states.rb +2 -1
- data/db/migrate/20140327171527_create_addresses_cities.rb +2 -1
- data/db/migrate/20140327190411_create_addresses_neighborhoods.rb +2 -1
- data/db/migrate/20140328120418_create_addresses_addresses.rb +3 -1
- data/db/migrate/20160920172944_create_addresses_zipcodes.rb +2 -0
- data/db/migrate/20160920174406_remove_zipcode_attributes_from_addresses.rb +2 -0
- data/db/migrate/20191008052817_add_indexes.rb +21 -0
- data/lib/addresses.rb +3 -1
- data/lib/addresses/engine.rb +4 -2
- data/lib/tasks/addresses_tasks.rake +6 -6
- data/lib/tasks/populate/br/cities.rake +5573 -0
- data/lib/tasks/populate/br/countries.rake +247 -0
- data/lib/tasks/populate/br/neighborhoods.rake +40825 -0
- data/lib/tasks/populate/br/states.rake +35 -0
- data/lib/tasks/populate/br/zipcodes.rake +40 -0
- data/spec/controllers/addresses/cities_controller_spec.rb +1 -1
- data/spec/controllers/addresses/neighborhoods_controller_spec.rb +1 -1
- data/spec/controllers/addresses/states_controller_spec.rb +1 -1
- data/spec/controllers/addresses/zipcodes_controller_spec.rb +1 -1
- data/spec/dummy/Gemfile +1 -1
- data/spec/dummy/Gemfile.lock +107 -84
- data/spec/dummy/config/application.rb +1 -1
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/migrate/{20190614190958_create_addresses_countries.addresses.rb → 20191008054118_create_addresses_countries.addresses.rb} +1 -0
- data/spec/dummy/db/migrate/{20190614190959_create_addresses_states.addresses.rb → 20191008054119_create_addresses_states.addresses.rb} +1 -0
- data/spec/dummy/db/migrate/{20190614190960_create_addresses_cities.addresses.rb → 20191008054120_create_addresses_cities.addresses.rb} +1 -0
- data/spec/dummy/db/migrate/{20190614190961_create_addresses_neighborhoods.addresses.rb → 20191008054121_create_addresses_neighborhoods.addresses.rb} +1 -0
- data/spec/dummy/db/migrate/{20190614190962_create_addresses_addresses.addresses.rb → 20191008054122_create_addresses_addresses.addresses.rb} +2 -0
- data/spec/dummy/db/migrate/{20190614190963_create_addresses_zipcodes.addresses.rb → 20191008054123_create_addresses_zipcodes.addresses.rb} +2 -0
- data/spec/dummy/db/migrate/{20190614190964_remove_zipcode_attributes_from_addresses.addresses.rb → 20191008054124_remove_zipcode_attributes_from_addresses.addresses.rb} +2 -0
- data/spec/dummy/db/migrate/20191008054125_add_indexes.addresses.rb +22 -0
- data/spec/dummy/db/schema.rb +36 -26
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +463 -0
- data/spec/dummy/log/test.log +9374 -0
- data/spec/factories/addresses.rb +3 -3
- data/spec/factories/cities.rb +2 -2
- data/spec/factories/countries.rb +3 -3
- data/spec/factories/neighborhoods.rb +2 -2
- data/spec/factories/states.rb +3 -3
- data/spec/factories/zipcodes.rb +3 -3
- data/spec/fixtures/zipcodes/br/ceps.txt +0 -0
- data/spec/models/addresses/address_spec.rb +3 -3
- data/spec/models/addresses/city_spec.rb +1 -1
- data/spec/models/addresses/country_spec.rb +1 -1
- data/spec/models/addresses/neighborhood_spec.rb +1 -1
- data/spec/models/addresses/state_spec.rb +1 -1
- data/spec/models/addresses/zipcode_spec.rb +1 -30
- data/spec/{spec_helper.rb → rails_helper.rb} +3 -4
- data/spec/requests/cities_spec.rb +1 -1
- data/spec/requests/neighborhoods_spec.rb +1 -1
- data/spec/requests/zipcodes_spec.rb +11 -5
- data/spec/routing/cities_routing_spec.rb +1 -1
- data/spec/routing/neighborhoods_routing_spec.rb +1 -1
- data/spec/routing/zipcodes_routing_spec.rb +1 -1
- metadata +42 -54
- data/README.rdoc +0 -55
- data/app/assets/javascripts/addresses/application.js +0 -13
- data/app/assets/stylesheets/addresses/application.css +0 -13
- data/app/helpers/addresses/application_helper.rb +0 -4
- data/app/services/zipcode_service.rb +0 -42
- data/lib/tasks/natal_city.rake +0 -50
- data/lib/tasks/populate_cities.rake +0 -5570
- data/lib/tasks/populate_countries.rake +0 -243
- data/lib/tasks/populate_neighborhoods.rake +0 -40823
- data/lib/tasks/populate_states.rake +0 -32
- data/spec/dummy/db/migrate/20190614190716_create_addresses_countries.addresses.rb +0 -13
- data/spec/services/zipcode_service_spec.rb +0 -29
There are too many changes on this page to be displayed.
The amount of changes on this page would crash your brower.
You can still verify the content by downloading the gem file manually.