addresses 2.0.3 → 2.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6f300606e19830feb9a46b41f475410a4b7b396ac92502105e63c4aad3b86d29
4
- data.tar.gz: 750fbf101cb8e155b2f67d425f12071dd2d7830be3fbfdd9288247fc005214bd
3
+ metadata.gz: afebb84ea9d5b31bce3f166f2425279b9cddee17404ea952f90f963b79ec73cc
4
+ data.tar.gz: 5faa8b2c275c5228f0ee99d715c590b4ac636cb4667848db0cd8bd19157ef4d8
5
5
  SHA512:
6
- metadata.gz: 6ab41080dabab6a165bc1ab6e62f127f8523c4bebaec4937e8a64c4f791da8d27f164905b09f118f736d24338a6116a5cf2b52027852dbf8f9b41fd2b42a2862
7
- data.tar.gz: 43ad3d5fef5e919bda7c24f9fa88e7d212216fbfecb04d5fec9784c93b47b960ef9ccb53d25655e71e94a03cfd90773afd251502e619f6cd42eeb0fe5d1c35cf
6
+ metadata.gz: a7e1056f6422adcb580c6455bdd6a02bde492ba3cf83061636c86bdf4a45f081d0a687108a65fe05115ab2f891b1919effc68ea6a6df03d01e088df9994a8f76
7
+ data.tar.gz: 7a549645e8a2083145ecff3da4a9ff23de9fee6a51e89e8a95f6757de5b5910a56c2f304d419169eafd15d47c403865e1f4241f8f861d7c71cac0bd7fdceac9f
@@ -5,7 +5,7 @@ module Addresses
5
5
  attr_accessor :state_id
6
6
 
7
7
  belongs_to :city
8
- belongs_to :neighborhood
8
+ belongs_to :neighborhood, optional: true
9
9
  has_many :addresses
10
10
 
11
11
  validates :number, :city_id, :state_id, presence: true
metadata CHANGED
@@ -1,15 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: addresses
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.3
4
+ version: 2.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wilbert Ribeiro
8
8
  - Joice Taciana
9
+ - Raí Gondim
9
10
  autorequire:
10
11
  bindir: bin
11
12
  cert_chain: []
12
- date: 2019-12-24 00:00:00.000000000 Z
13
+ date: 2020-03-15 00:00:00.000000000 Z
13
14
  dependencies:
14
15
  - !ruby/object:Gem::Dependency
15
16
  name: rails
@@ -58,6 +59,7 @@ description: Create Country, State, City, Neighborhood and a polymorphic model c
58
59
  email:
59
60
  - wkelyson@gmail.com
60
61
  - joicetaciana@gmail.com
62
+ - raicg2@gmail.com
61
63
  executables: []
62
64
  extensions: []
63
65
  extra_rdoc_files: []