plaider 0.1.0

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.
@@ -0,0 +1,45 @@
1
+ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
2
+ $LOAD_PATH.unshift(File.dirname(__FILE__))
3
+
4
+ require 'simplecov'
5
+ require 'coveralls'
6
+
7
+ SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
8
+ SimpleCov::Formatter::HTMLFormatter,
9
+ Coveralls::SimpleCov::Formatter
10
+ ]
11
+ SimpleCov.start
12
+
13
+ require 'webmock/test_unit'
14
+ require 'test/unit'
15
+ require 'plaider'
16
+
17
+ WebMock.disable_net_connect!(:allow => 'coveralls.io')
18
+
19
+ def stub_delete(path)
20
+ stub_request(:delete, Plaider::Client::BASE_URL + path)
21
+ end
22
+
23
+ def stub_get(path)
24
+ stub_request(:get, Plaider::Client::BASE_URL + path)
25
+ end
26
+
27
+ def stub_post(path)
28
+ stub_request(:post, Plaider::Client::BASE_URL + path)
29
+ end
30
+
31
+ def stub_put(path)
32
+ stub_request(:put, Plaider::Client::BASE_URL + path)
33
+ end
34
+
35
+ def stub_patch(path)
36
+ stub_request(:patch, Plaider::Client::BASE_URL + path)
37
+ end
38
+
39
+ def fixture_path
40
+ File.expand_path('../fixtures', __FILE__)
41
+ end
42
+
43
+ def fixture(file)
44
+ File.new(fixture_path + '/' + file)
45
+ end
metadata ADDED
@@ -0,0 +1,115 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: plaider
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Gene Drabkin
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-11-03 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.6'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.6'
27
+ - !ruby/object:Gem::Dependency
28
+ name: json
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.8'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.8'
41
+ description: Wraps Plaid API in a simple client
42
+ email:
43
+ - gene.drabkin@gmail.com
44
+ executables: []
45
+ extensions: []
46
+ extra_rdoc_files: []
47
+ files:
48
+ - ".gitignore"
49
+ - ".ruby-gemset"
50
+ - ".ruby-version"
51
+ - ".travis.yml"
52
+ - Gemfile
53
+ - Gemfile.lock
54
+ - LICENSE.txt
55
+ - README.md
56
+ - Rakefile
57
+ - lib/plaider.rb
58
+ - lib/plaider/client.rb
59
+ - lib/plaider/configurable.rb
60
+ - lib/plaider/version.rb
61
+ - pkg/plaid-0.0.1.gem
62
+ - plaider.gemspec
63
+ - test/fixtures/balance.json
64
+ - test/fixtures/categories.json
65
+ - test/fixtures/category.json
66
+ - test/fixtures/connect.json
67
+ - test/fixtures/connect_invalid.json
68
+ - test/fixtures/connect_mfa.json
69
+ - test/fixtures/connect_mfa_invalid.json
70
+ - test/fixtures/delete_user.json
71
+ - test/fixtures/entity.json
72
+ - test/fixtures/institution.json
73
+ - test/fixtures/institutions.json
74
+ - test/plaider/client_test.rb
75
+ - test/plaider/plaider_test.rb
76
+ - test/test_helper.rb
77
+ homepage: https://github.com/cloocher/plaider
78
+ licenses:
79
+ - MIT
80
+ metadata: {}
81
+ post_install_message:
82
+ rdoc_options: []
83
+ require_paths:
84
+ - lib
85
+ required_ruby_version: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: 1.9.3
90
+ required_rubygems_version: !ruby/object:Gem::Requirement
91
+ requirements:
92
+ - - ">="
93
+ - !ruby/object:Gem::Version
94
+ version: '0'
95
+ requirements: []
96
+ rubyforge_project:
97
+ rubygems_version: 2.2.2
98
+ signing_key:
99
+ specification_version: 4
100
+ summary: Ruby client for Plaid API
101
+ test_files:
102
+ - test/fixtures/balance.json
103
+ - test/fixtures/categories.json
104
+ - test/fixtures/category.json
105
+ - test/fixtures/connect.json
106
+ - test/fixtures/connect_invalid.json
107
+ - test/fixtures/connect_mfa.json
108
+ - test/fixtures/connect_mfa_invalid.json
109
+ - test/fixtures/delete_user.json
110
+ - test/fixtures/entity.json
111
+ - test/fixtures/institution.json
112
+ - test/fixtures/institutions.json
113
+ - test/plaider/client_test.rb
114
+ - test/plaider/plaider_test.rb
115
+ - test/test_helper.rb