yodlee-icious 0.0.4 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +3 -1
- data/Gemfile +1 -5
- data/README.md +6 -2
- data/lib/yodleeicious.rb +3 -2
- data/lib/yodleeicious/version.rb +1 -1
- data/spec/spec_helper.rb +5 -3
- data/todo.md +8 -0
- data/yodleeicious.gemspec +3 -9
- metadata +12 -51
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f9eab47ae01a99ab1d4ac7a9f7eb2b5890c254f1
|
4
|
+
data.tar.gz: 9b4ab7293d4ef8a6a610b773afbeed171bea2bbd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5f3086d4c81ca0d5736ec609a81137b43c70119384c06314deab9c45257b8b7a17d922bfc98fcd670003af0cfd95acf9b6c5b9f54bea6a5c6e6e5ebb65f23fb7
|
7
|
+
data.tar.gz: 3d4c97573ff3105ec774b0c468eea8a334d07fba96d79f57e568ce416d73ee553a5deef6fbb81476f2b8fb9553129ec3eb474dc4cefe771779bed4c43174a3bb
|
data/.gitignore
CHANGED
data/Gemfile
CHANGED
@@ -3,12 +3,8 @@ source 'https://rubygems.org'
|
|
3
3
|
# Specify your gem's dependencies in yodleeicious.gemspec
|
4
4
|
gemspec
|
5
5
|
|
6
|
-
gem 'faraday', '0.9.1'
|
7
|
-
gem 'faraday_middleware', '~>0.9.1'
|
8
|
-
gem 'socksify', '~>1.6.0'
|
9
|
-
gem 'dotenv'
|
10
|
-
|
11
6
|
group :development, :test do
|
7
|
+
gem 'dotenv'
|
12
8
|
gem "codeclimate-test-reporter"
|
13
9
|
gem "guard-rspec"
|
14
10
|
gem 'rspec-its'
|
data/README.md
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
|
2
2
|
# Yodlee-icious
|
3
|
-
[![Gem Version](https://badge.fury.io/rb/
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/yodlee-icious.svg)](http://badge.fury.io/rb/yodlee-icious) [![Code Climate](https://codeclimate.com/repos/556dcf7fe30ba00903005872/badges/9398ac76dbcae2084eeb/gpa.svg)](https://codeclimate.com/repos/556dcf7fe30ba00903005872/feed) [![Test Coverage](https://codeclimate.com/repos/556dcf7fe30ba00903005872/badges/9398ac76dbcae2084eeb/coverage.svg)](https://codeclimate.com/repos/556dcf7fe30ba00903005872/coverage)
|
4
4
|
[ ![Codeship Status for liftforward/yodlee-icious](https://codeship.com/projects/71603f00-9393-0132-dcd0-1a9a253548c0/status?branch=master)](https://codeship.com/projects/62288)
|
5
5
|
|
6
|
-
|
6
|
+
Yodlee-icious (formally Yodlicious) is a ruby gem wrapping the Yodlee REST(ish) API. We had to build this for our integration with Yodlee which was somewhat more painful than it should have been so we figured we share to be a good neighbor.
|
7
7
|
|
8
8
|
![image of yodleeicious](https://github.com/liftforward/yodlee-icious/blob/master/yodlicious.png)
|
9
9
|
|
@@ -153,6 +153,10 @@ pry(main)> yodlee_api.user_session_token
|
|
153
153
|
|
154
154
|
TODO
|
155
155
|
|
156
|
+
## Why the rename from Yodlicious?
|
157
|
+
|
158
|
+
Rubygems.org's search apparently only indexes the gem name not the description or summary. This meant that if you searched for Yodlee in there Yodlicous didn't show up. Now it does.
|
159
|
+
|
156
160
|
## Contributing
|
157
161
|
|
158
162
|
1. Fork it ( https://github.com/liftforward/yodlee-icious/fork )
|
data/lib/yodleeicious.rb
CHANGED
@@ -12,7 +12,8 @@ require File.dirname(__FILE__) + "/yodleeicious/yodlee_api"
|
|
12
12
|
|
13
13
|
class Faraday::Adapter::NetHttp
|
14
14
|
def net_http_connection(env)
|
15
|
-
|
15
|
+
proxy = env[:request][:proxy]
|
16
|
+
if proxy && !proxy.empty?
|
16
17
|
if proxy[:socks]
|
17
18
|
# TCPSocket.socks_username = proxy[:user] if proxy[:user]
|
18
19
|
# TCPSocket.socks_password = proxy[:password] if proxy[:password]
|
@@ -24,4 +25,4 @@ class Faraday::Adapter::NetHttp
|
|
24
25
|
Net::HTTP
|
25
26
|
end.new(env[:url].host, env[:url].port)
|
26
27
|
end
|
27
|
-
end
|
28
|
+
end
|
data/lib/yodleeicious/version.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
@@ -10,13 +10,15 @@ unless defined?(SPEC_HELPER_LOADED)
|
|
10
10
|
require 'dotenv'
|
11
11
|
Dotenv.load
|
12
12
|
|
13
|
-
Yodleeicious::Config.logger = Logger.new("log/test.log")
|
14
|
-
Yodleeicious::Config.logger.level = Logger::DEBUG
|
15
|
-
|
16
13
|
RSpec.configure do |config|
|
17
14
|
|
18
15
|
config.filter_run :focus
|
19
16
|
config.run_all_when_everything_filtered = true
|
20
17
|
|
18
|
+
config.before(:example) do
|
19
|
+
Yodleeicious::Config.logger = Logger.new("log/test.log")
|
20
|
+
Yodleeicious::Config.logger.level = Logger::DEBUG
|
21
|
+
end
|
22
|
+
|
21
23
|
end
|
22
24
|
end
|
data/todo.md
ADDED
@@ -0,0 +1,8 @@
|
|
1
|
+
|
2
|
+
TODOs
|
3
|
+
- [ ] document more api methods
|
4
|
+
- [ ] speed up integration test runs with vcr
|
5
|
+
- [ ] complete remaining api methods
|
6
|
+
- [ ] improve error parsing can capture
|
7
|
+
- [ ] allow for configuration of faraday's logging
|
8
|
+
- [ ] figure out work around for faraday monkey patch
|
data/yodleeicious.gemspec
CHANGED
@@ -18,15 +18,9 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
|
-
spec.
|
22
|
-
spec.
|
23
|
-
spec.
|
24
|
-
|
25
|
-
spec.add_runtime_dependency "faraday", '~> 0.9.1', '>= 0.9.1'
|
26
|
-
spec.add_runtime_dependency "socksify", '~> 1.6.0', '>= 1.6.0'
|
27
|
-
|
28
|
-
# gem 'faraday', '0.9.0'
|
29
|
-
# gem 'socksify', '1.5.0'
|
21
|
+
spec.add_runtime_dependency "faraday", "~> 0.9"
|
22
|
+
spec.add_runtime_dependency "faraday_middleware", "~> 0.10"
|
23
|
+
spec.add_runtime_dependency "socksify", "~> 1.7"
|
30
24
|
|
31
25
|
spec.required_ruby_version = '>= 1.9.3'
|
32
26
|
end
|
metadata
CHANGED
@@ -1,97 +1,57 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yodlee-icious
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Drew Nichols
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-03-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - "~>"
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '1.7'
|
20
|
-
type: :development
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - "~>"
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '1.7'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: rake
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - "~>"
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '10.0'
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - "~>"
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '10.0'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: rspec
|
14
|
+
name: faraday
|
43
15
|
requirement: !ruby/object:Gem::Requirement
|
44
16
|
requirements:
|
45
17
|
- - "~>"
|
46
18
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
48
|
-
type: :
|
19
|
+
version: '0.9'
|
20
|
+
type: :runtime
|
49
21
|
prerelease: false
|
50
22
|
version_requirements: !ruby/object:Gem::Requirement
|
51
23
|
requirements:
|
52
24
|
- - "~>"
|
53
25
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
26
|
+
version: '0.9'
|
55
27
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
28
|
+
name: faraday_middleware
|
57
29
|
requirement: !ruby/object:Gem::Requirement
|
58
30
|
requirements:
|
59
31
|
- - "~>"
|
60
32
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0.
|
62
|
-
- - ">="
|
63
|
-
- !ruby/object:Gem::Version
|
64
|
-
version: 0.9.1
|
33
|
+
version: '0.10'
|
65
34
|
type: :runtime
|
66
35
|
prerelease: false
|
67
36
|
version_requirements: !ruby/object:Gem::Requirement
|
68
37
|
requirements:
|
69
38
|
- - "~>"
|
70
39
|
- !ruby/object:Gem::Version
|
71
|
-
version: 0.
|
72
|
-
- - ">="
|
73
|
-
- !ruby/object:Gem::Version
|
74
|
-
version: 0.9.1
|
40
|
+
version: '0.10'
|
75
41
|
- !ruby/object:Gem::Dependency
|
76
42
|
name: socksify
|
77
43
|
requirement: !ruby/object:Gem::Requirement
|
78
44
|
requirements:
|
79
45
|
- - "~>"
|
80
46
|
- !ruby/object:Gem::Version
|
81
|
-
version: 1.
|
82
|
-
- - ">="
|
83
|
-
- !ruby/object:Gem::Version
|
84
|
-
version: 1.6.0
|
47
|
+
version: '1.7'
|
85
48
|
type: :runtime
|
86
49
|
prerelease: false
|
87
50
|
version_requirements: !ruby/object:Gem::Requirement
|
88
51
|
requirements:
|
89
52
|
- - "~>"
|
90
53
|
- !ruby/object:Gem::Version
|
91
|
-
version: 1.
|
92
|
-
- - ">="
|
93
|
-
- !ruby/object:Gem::Version
|
94
|
-
version: 1.6.0
|
54
|
+
version: '1.7'
|
95
55
|
description: Delicious Yodlee API Client Gem (formally Yodlicious)
|
96
56
|
email:
|
97
57
|
- drew@liftforward.com
|
@@ -119,6 +79,7 @@ files:
|
|
119
79
|
- spec/unit/yodleeicious/parameter_translator_spec.rb
|
120
80
|
- spec/unit/yodleeicious/response_spec.rb
|
121
81
|
- spec/unit/yodleeicious/yodlee_api_spec.rb
|
82
|
+
- todo.md
|
122
83
|
- yodleeicious.gemspec
|
123
84
|
- yodlicious.png
|
124
85
|
homepage: https://github.com/liftforward/yodlee-icious
|