effective_addresses 1.2.0 → 1.2.1
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 17e378e4865984f94eda8717f7b340f1252be831
|
4
|
+
data.tar.gz: 3c4a62c3a27ad8cd290eeaabbaaba1bce7ca2481
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0eca45f5717436d5e38b270442d7e5b4756a13cc8d4d66ad7df7af8daa46bc24f0b40d19a5a11662c31610aa4fdf9b0c241bceaa686ef66c16c00ac25a6951f8
|
7
|
+
data.tar.gz: e3d76cf9ea4fe20908b413f2e5d4c0fb6b57d69d1b26b27b8125a39e53e5bbcea1974adc69fea09a7e33e045ae8da469aebe381b70d86f8f7bfd91b7d175ecd0
|
@@ -118,7 +118,7 @@ module Effective
|
|
118
118
|
# An address may be set with a category but nothing else
|
119
119
|
# This is considered empty
|
120
120
|
def empty?
|
121
|
-
!address1.present? && !address2.present? && !city.present? && !
|
121
|
+
!address1.present? && !address2.present? && !city.present? && !postal_code.present?
|
122
122
|
end
|
123
123
|
|
124
124
|
def to_s
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: effective_addresses
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Code and Effect
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-03-
|
11
|
+
date: 2015-03-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|