catarse_pagarme 2.9.9 → 2.9.10
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: 8dfe1b6bd1013cef9044797dbe0d2293c6e54e6f
|
4
|
+
data.tar.gz: fa423979b21e15aef338c250d1b9e7633724482f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d0f44168c295d7695d7ca7403be23c3b93ebe9f6c4192651075deb1a04efe29d8833361dcfe9db92fdd17f7c509235f467678d22f6488ab16e6b31ac5e62370e
|
7
|
+
data.tar.gz: 31f5ff23e3e63f197e67f653ac56d5886b2554903c74fa3fb827cc842e39b37ca972fb9cb9c527c1ebf46deb3bead11de4af575a0780d13540295f7b55e13699
|
data/Gemfile.lock
CHANGED
@@ -39,7 +39,7 @@ module CatarsePagarme
|
|
39
39
|
document_number: document_number,
|
40
40
|
address: {
|
41
41
|
street: contribution.address_street,
|
42
|
-
neighborhood:
|
42
|
+
neighborhood: neighborhood,
|
43
43
|
zipcode: zip_code,
|
44
44
|
street_number: contribution.address_number,
|
45
45
|
complementary: contribution.address_complement
|
@@ -75,6 +75,10 @@ module CatarsePagarme
|
|
75
75
|
international? ? '00000000' : contribution.address_zip_code.gsub(/[-.]/, '')
|
76
76
|
end
|
77
77
|
|
78
|
+
def neighborhood
|
79
|
+
international? ? 'international' : contribution.address_neighbourhood
|
80
|
+
end
|
81
|
+
|
78
82
|
def international?
|
79
83
|
contribution.international?
|
80
84
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: catarse_pagarme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.9.
|
4
|
+
version: 2.9.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Antônio Roberto Silva
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-10-
|
12
|
+
date: 2016-10-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|