addresses 2.0 → 2.0.2
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/cities_controller.rb +0 -2
- data/app/controllers/addresses/countries_controller.rb +17 -0
- data/app/controllers/addresses/neighborhoods_controller.rb +6 -4
- data/app/controllers/addresses/regions_controller.rb +17 -0
- data/app/controllers/addresses/states_controller.rb +6 -1
- data/app/models/addresses/city.rb +14 -12
- data/app/models/addresses/country.rb +8 -1
- data/app/models/addresses/neighborhood.rb +6 -2
- data/app/models/addresses/region.rb +16 -0
- data/app/models/addresses/state.rb +5 -2
- data/config/routes.rb +4 -2
- data/db/migrate/20191010233002_create_addresses_regions.rb +15 -0
- data/db/migrate/20191010233144_add_indexes_to_regions.rb +8 -0
- data/db/migrate/20191010233512_add_capital_to_addresses_state.rb +7 -0
- data/db/migrate/20191010233947_add_region_id_to_addresses_states.rb +7 -0
- data/db/migrate/20191010234112_add_latitude_and_longitude_to_addresses_address.rb +10 -0
- data/db/migrate/20191010235008_add_latitude_and_longitude_to_addresses_country.rb +10 -0
- data/db/migrate/20191010235050_add_latitude_and_longitude_to_addresses_states.rb +10 -0
- data/db/migrate/20191010235112_add_latitude_and_longitude_to_addresses_cities.rb +10 -0
- data/db/migrate/20191010235129_add_latitude_and_longitude_to_addresses_neighborhoods.rb +10 -0
- data/db/migrate/20191010235145_add_latitude_and_longitude_to_addresses_zipcodes.rb +10 -0
- data/spec/controllers/addresses/states_controller_spec.rb +3 -2
- data/spec/dummy/Gemfile.lock +3 -3
- data/spec/dummy/app/assets/config/manifest.js +2 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/migrate/{20191008054118_create_addresses_countries.addresses.rb → 20191011003823_create_addresses_countries.addresses.rb} +0 -0
- data/spec/dummy/db/migrate/{20191008054119_create_addresses_states.addresses.rb → 20191011003824_create_addresses_states.addresses.rb} +0 -0
- data/spec/dummy/db/migrate/{20191008054120_create_addresses_cities.addresses.rb → 20191011003825_create_addresses_cities.addresses.rb} +0 -0
- data/spec/dummy/db/migrate/{20191008054121_create_addresses_neighborhoods.addresses.rb → 20191011003826_create_addresses_neighborhoods.addresses.rb} +0 -0
- data/spec/dummy/db/migrate/{20191008054122_create_addresses_addresses.addresses.rb → 20191011003827_create_addresses_addresses.addresses.rb} +0 -0
- data/spec/dummy/db/migrate/{20191008054123_create_addresses_zipcodes.addresses.rb → 20191011003828_create_addresses_zipcodes.addresses.rb} +0 -0
- data/spec/dummy/db/migrate/{20191008054124_remove_zipcode_attributes_from_addresses.addresses.rb → 20191011003829_remove_zipcode_attributes_from_addresses.addresses.rb} +0 -0
- data/spec/dummy/db/migrate/{20191008054125_add_indexes.addresses.rb → 20191011003830_add_indexes.addresses.rb} +0 -0
- data/spec/dummy/db/migrate/20191011003831_create_addresses_regions.addresses.rb +16 -0
- data/spec/dummy/db/migrate/20191011003832_add_indexes_to_regions.addresses.rb +9 -0
- data/spec/dummy/db/migrate/20191011003833_add_capital_to_addresses_state.addresses.rb +8 -0
- data/spec/dummy/db/migrate/20191011003834_add_region_id_to_addresses_states.addresses.rb +8 -0
- data/spec/dummy/db/migrate/20191011003835_add_latitude_and_longitude_to_addresses_address.addresses.rb +11 -0
- data/spec/dummy/db/migrate/20191011003836_add_latitude_and_longitude_to_addresses_country.addresses.rb +11 -0
- data/spec/dummy/db/migrate/20191011003837_add_latitude_and_longitude_to_addresses_states.addresses.rb +11 -0
- data/spec/dummy/db/migrate/20191011003838_add_latitude_and_longitude_to_addresses_cities.addresses.rb +11 -0
- data/spec/dummy/db/migrate/20191011003839_add_latitude_and_longitude_to_addresses_neighborhoods.addresses.rb +11 -0
- data/spec/dummy/db/migrate/20191011003840_add_latitude_and_longitude_to_addresses_zipcodes.addresses.rb +11 -0
- data/spec/dummy/db/schema.rb +41 -1
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +1137 -0
- data/spec/dummy/log/test.log +8159 -0
- data/spec/factories/regions.rb +9 -0
- data/spec/models/addresses/city_spec.rb +2 -2
- data/spec/models/addresses/region_spec.rb +10 -0
- data/spec/requests/countries_spec.rb +31 -0
- data/spec/requests/neighborhoods_spec.rb +12 -0
- data/spec/requests/regions_spec.rb +31 -0
- data/spec/requests/states_spec.rb +31 -0
- metadata +63 -18
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.