myfinance-rails 0.4.3 → 0.4.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/myfinance/pessoa.rb +1 -1
- data/lib/myfinance/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 58b6c76ae10aa6b89c35812dd723939376bd38ac
|
4
|
+
data.tar.gz: 48fd5bbc84d6dae9077b72181c31d6054cc64f6b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ccf62924e5b57a86440095d82539da4da911b62fcea95f3cea51b9079ca04f872e026948670bb04faf69f2b9804b94ea8241828e026403ac6c5570f4debbd948
|
7
|
+
data.tar.gz: 6c8889c0ba593203e2527a959f97ac10d11aee3980e6413c3c58c9ad949cce24910e369ff037c9651ccc1da38764d1801fe700fb9f466d76b5023bb5d91c9264
|
data/lib/myfinance/pessoa.rb
CHANGED
@@ -4,7 +4,7 @@ module Myfinance
|
|
4
4
|
@everyone ||= all_people
|
5
5
|
mid = nil
|
6
6
|
@everyone.each do | pessoa |
|
7
|
-
if @account_id == pessoa['account_id']
|
7
|
+
if @account_id.to_i == pessoa['account_id']
|
8
8
|
if pessoa['federation_subscription_number_only_numbers'] == cnpj_ou_nome or pessoa['federation_subscription_number'] == cnpj_ou_nome or pessoa['name'].casecmp(cnpj_ou_nome) == 0
|
9
9
|
mid = pessoa['id']
|
10
10
|
break
|
data/lib/myfinance/version.rb
CHANGED