addresses 2.0 → 2.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/addresses/cities_controller.rb +0 -2
  3. data/app/controllers/addresses/countries_controller.rb +17 -0
  4. data/app/controllers/addresses/neighborhoods_controller.rb +6 -4
  5. data/app/controllers/addresses/regions_controller.rb +17 -0
  6. data/app/controllers/addresses/states_controller.rb +6 -1
  7. data/app/models/addresses/city.rb +14 -12
  8. data/app/models/addresses/country.rb +8 -1
  9. data/app/models/addresses/neighborhood.rb +6 -2
  10. data/app/models/addresses/region.rb +16 -0
  11. data/app/models/addresses/state.rb +5 -2
  12. data/config/routes.rb +4 -2
  13. data/db/migrate/20191010233002_create_addresses_regions.rb +15 -0
  14. data/db/migrate/20191010233144_add_indexes_to_regions.rb +8 -0
  15. data/db/migrate/20191010233512_add_capital_to_addresses_state.rb +7 -0
  16. data/db/migrate/20191010233947_add_region_id_to_addresses_states.rb +7 -0
  17. data/db/migrate/20191010234112_add_latitude_and_longitude_to_addresses_address.rb +10 -0
  18. data/db/migrate/20191010235008_add_latitude_and_longitude_to_addresses_country.rb +10 -0
  19. data/db/migrate/20191010235050_add_latitude_and_longitude_to_addresses_states.rb +10 -0
  20. data/db/migrate/20191010235112_add_latitude_and_longitude_to_addresses_cities.rb +10 -0
  21. data/db/migrate/20191010235129_add_latitude_and_longitude_to_addresses_neighborhoods.rb +10 -0
  22. data/db/migrate/20191010235145_add_latitude_and_longitude_to_addresses_zipcodes.rb +10 -0
  23. data/spec/controllers/addresses/states_controller_spec.rb +3 -2
  24. data/spec/dummy/Gemfile.lock +3 -3
  25. data/spec/dummy/app/assets/config/manifest.js +2 -0
  26. data/spec/dummy/db/development.sqlite3 +0 -0
  27. data/spec/dummy/db/migrate/{20191008054118_create_addresses_countries.addresses.rb → 20191011003823_create_addresses_countries.addresses.rb} +0 -0
  28. data/spec/dummy/db/migrate/{20191008054119_create_addresses_states.addresses.rb → 20191011003824_create_addresses_states.addresses.rb} +0 -0
  29. data/spec/dummy/db/migrate/{20191008054120_create_addresses_cities.addresses.rb → 20191011003825_create_addresses_cities.addresses.rb} +0 -0
  30. data/spec/dummy/db/migrate/{20191008054121_create_addresses_neighborhoods.addresses.rb → 20191011003826_create_addresses_neighborhoods.addresses.rb} +0 -0
  31. data/spec/dummy/db/migrate/{20191008054122_create_addresses_addresses.addresses.rb → 20191011003827_create_addresses_addresses.addresses.rb} +0 -0
  32. data/spec/dummy/db/migrate/{20191008054123_create_addresses_zipcodes.addresses.rb → 20191011003828_create_addresses_zipcodes.addresses.rb} +0 -0
  33. data/spec/dummy/db/migrate/{20191008054124_remove_zipcode_attributes_from_addresses.addresses.rb → 20191011003829_remove_zipcode_attributes_from_addresses.addresses.rb} +0 -0
  34. data/spec/dummy/db/migrate/{20191008054125_add_indexes.addresses.rb → 20191011003830_add_indexes.addresses.rb} +0 -0
  35. data/spec/dummy/db/migrate/20191011003831_create_addresses_regions.addresses.rb +16 -0
  36. data/spec/dummy/db/migrate/20191011003832_add_indexes_to_regions.addresses.rb +9 -0
  37. data/spec/dummy/db/migrate/20191011003833_add_capital_to_addresses_state.addresses.rb +8 -0
  38. data/spec/dummy/db/migrate/20191011003834_add_region_id_to_addresses_states.addresses.rb +8 -0
  39. data/spec/dummy/db/migrate/20191011003835_add_latitude_and_longitude_to_addresses_address.addresses.rb +11 -0
  40. data/spec/dummy/db/migrate/20191011003836_add_latitude_and_longitude_to_addresses_country.addresses.rb +11 -0
  41. data/spec/dummy/db/migrate/20191011003837_add_latitude_and_longitude_to_addresses_states.addresses.rb +11 -0
  42. data/spec/dummy/db/migrate/20191011003838_add_latitude_and_longitude_to_addresses_cities.addresses.rb +11 -0
  43. data/spec/dummy/db/migrate/20191011003839_add_latitude_and_longitude_to_addresses_neighborhoods.addresses.rb +11 -0
  44. data/spec/dummy/db/migrate/20191011003840_add_latitude_and_longitude_to_addresses_zipcodes.addresses.rb +11 -0
  45. data/spec/dummy/db/schema.rb +41 -1
  46. data/spec/dummy/db/test.sqlite3 +0 -0
  47. data/spec/dummy/log/development.log +1137 -0
  48. data/spec/dummy/log/test.log +8159 -0
  49. data/spec/factories/regions.rb +9 -0
  50. data/spec/models/addresses/city_spec.rb +2 -2
  51. data/spec/models/addresses/region_spec.rb +10 -0
  52. data/spec/requests/countries_spec.rb +31 -0
  53. data/spec/requests/neighborhoods_spec.rb +12 -0
  54. data/spec/requests/regions_spec.rb +31 -0
  55. data/spec/requests/states_spec.rb +31 -0
  56. 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.