catarse_pagarme 2.10.12 → 2.10.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cde90bc926b2af16ff99573573b70f93b6b65ca5
|
|
4
|
+
data.tar.gz: 1c0c8c784a0e71caf06129284fe578318650f021
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e9004e886bb754d6c852f5e44508036d7bba1946ceb7c3ed62114f730e5e072c53880f4cfe840f4ba26e05b1bc57067de71719093acb6c1e2e0aa288a6c46f2f
|
|
7
|
+
data.tar.gz: 79d25538a1b19dbf01d94514a474830fb7b65bbd9ba8a1342049cd9d56d6de9429ffd93f6100850bb0af87dedf2eb510ea6b0495526ec2af79481f92a74dd9cf
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
catarse_pagarme (2.10.
|
|
4
|
+
catarse_pagarme (2.10.13)
|
|
5
5
|
pagarme (= 2.1.4)
|
|
6
6
|
rails (~> 4.0)
|
|
7
7
|
sentry-raven
|
|
@@ -71,7 +71,7 @@ GEM
|
|
|
71
71
|
json (1.8.3)
|
|
72
72
|
loofah (2.0.3)
|
|
73
73
|
nokogiri (>= 1.5.9)
|
|
74
|
-
mail (2.6.
|
|
74
|
+
mail (2.6.6)
|
|
75
75
|
mime-types (>= 1.16, < 4)
|
|
76
76
|
method_source (0.8.2)
|
|
77
77
|
mime-types (3.1)
|
|
@@ -82,7 +82,7 @@ module CatarsePagarme
|
|
|
82
82
|
end
|
|
83
83
|
|
|
84
84
|
def phone_matches
|
|
85
|
-
international? ? ['', '33', '33335555'] : contribution.
|
|
85
|
+
international? ? ['', '33', '33335555'] : contribution.phone_number.gsub(/[\s,-]/, '').match(/\((.*)\)(\d+)/)
|
|
86
86
|
end
|
|
87
87
|
|
|
88
88
|
def zip_code
|
data/spec/support/factories.rb
CHANGED
|
@@ -153,7 +153,7 @@ FactoryGirl.define do
|
|
|
153
153
|
factory :contribution do |f|
|
|
154
154
|
f.association :project, factory: :project
|
|
155
155
|
f.association :user, factory: :user
|
|
156
|
-
f.
|
|
156
|
+
f.phone_number '(33) 3333-3333'
|
|
157
157
|
f.address_neighbourhood 'lorem'
|
|
158
158
|
f.address_number 'lnumber'
|
|
159
159
|
f.address_street 'lstreet lorem'
|
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.10.
|
|
4
|
+
version: 2.10.13
|
|
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: 2017-
|
|
12
|
+
date: 2017-08-11 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rails
|