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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a0f59499d90cce22f325cc04a837d25136d8f8d3
4
- data.tar.gz: 5a91d6b5df49116aa8a82e2aa3334b0771d77fad
3
+ metadata.gz: 58b6c76ae10aa6b89c35812dd723939376bd38ac
4
+ data.tar.gz: 48fd5bbc84d6dae9077b72181c31d6054cc64f6b
5
5
  SHA512:
6
- metadata.gz: 7030f422c12323e13e256c8a537bd57cd846172dfcedfe69dc42ad3da55d9300e02baeb72b67da6c448af095c85419af65cd0125db3ffb619585d5bfd784a3e1
7
- data.tar.gz: fb7b7c57de0f7a7d36f039f98709fc3bb7bb2c4d12bf9b84f730730bae54238ddb5e78bc5e6f85986c54653d298e3a806ec59ce777fa20cf89907a65b0128391
6
+ metadata.gz: ccf62924e5b57a86440095d82539da4da911b62fcea95f3cea51b9079ca04f872e026948670bb04faf69f2b9804b94ea8241828e026403ac6c5570f4debbd948
7
+ data.tar.gz: 6c8889c0ba593203e2527a959f97ac10d11aee3980e6413c3c58c9ad949cce24910e369ff037c9651ccc1da38764d1801fe700fb9f466d76b5023bb5d91c9264
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Myfinance
2
- VERSION = '0.4.3'
2
+ VERSION = '0.4.4'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: myfinance-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.3
4
+ version: 0.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - José Lopes Neto