myfinance-rails 0.4.7 → 0.4.8
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 +4 -4
- data/lib/myfinance.rb +3 -2
- data/lib/myfinance/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6b9cabf1f12fdc447f38254d140a7887d3800f83
|
|
4
|
+
data.tar.gz: 2692b2cc9cf377069df3f33f40810cea7fde744b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f2256ab1b44da4e8c72f182c89b4781b49141b278f1b16aec7ccb2669d696a3fc858c1341f9a7201a30530ef99e747603e82feb648176788abf43ff7b1594fcc
|
|
7
|
+
data.tar.gz: b62cd438742ca91c752ceb9f95c53c52e207cf7c2557e33aa91188fabc3b80ff954d883bdcdf6fa2f94329eab2e66c2c8da4dd50251e992cbd8cb5b4f8f79268
|
data/lib/myfinance.rb
CHANGED
|
@@ -17,7 +17,9 @@ module Myfinance
|
|
|
17
17
|
|
|
18
18
|
attr_accessor :token, :endpoint, :account_id
|
|
19
19
|
|
|
20
|
-
def self.setup(token, production=false, account_id=nil)
|
|
20
|
+
def self.setup(token, production=false, account_id=nil, logger=nil)
|
|
21
|
+
logger(logger, :info, :curl) if logger
|
|
22
|
+
|
|
21
23
|
if production
|
|
22
24
|
@endpoint = 'https://app.myfinance.com.br'
|
|
23
25
|
else
|
|
@@ -90,4 +92,3 @@ module Myfinance
|
|
|
90
92
|
accounts_response.first["account"]["id"]
|
|
91
93
|
end
|
|
92
94
|
end
|
|
93
|
-
|
data/lib/myfinance/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: myfinance-rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- José Lopes Neto
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2017-01-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -123,7 +123,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
123
123
|
version: '0'
|
|
124
124
|
requirements: []
|
|
125
125
|
rubyforge_project:
|
|
126
|
-
rubygems_version: 2.
|
|
126
|
+
rubygems_version: 2.5.1
|
|
127
127
|
signing_key:
|
|
128
128
|
specification_version: 4
|
|
129
129
|
summary: GEM para facilitar a uso da API do Myfinance em Aplicativos Rails
|