aggcat 0.3.7 → 0.3.8

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: 172de361ab101826185ef380d9bedb25dc49625f
4
- data.tar.gz: 5329c6ec211c0c579cc42d2462fdff121329febd
3
+ metadata.gz: e1855321fa2cb310baad1b82af8704458d932c57
4
+ data.tar.gz: 2f98bb4dec46f556f005b2e9c6ca64077133205c
5
5
  SHA512:
6
- metadata.gz: 8870135366674d325a409cdc391af4ae5545da5245c22876d00288b2d43e225c4a588579e9ed8062837ef3e44251708eb800e5915aca198ba833012a4a2c6c93
7
- data.tar.gz: 67ba0e628d8aacb31d7569dd333802fd6829cf0aceb4b3249c12702a8cff97d15eb7dc11abda949c7fd69a107d70d122ab7fd33a52c80e6372a81d99dd0b6126
6
+ metadata.gz: ff9c7e1077887acad2efc8a41217b533478cac6ead3fff5cce7f43cfc57dbac7ca8e6ce1efdb6b8511bc581122a38933ecb1a341177bcfdb75357796420282bd
7
+ data.tar.gz: 2f96bd72bdc64afb5b991c55307a5e998d784fa2baa53be6b81fc10685735302913ff365a0cd29a0b7508cf9b40bf975f961f98d5cdf16e546f1d8aeab873a72
@@ -1 +1 @@
1
- ruby-2.0.0-p353
1
+ ruby-2.2.0
@@ -6,6 +6,7 @@ rvm:
6
6
  - 1.9.3
7
7
  - 2.0.0
8
8
  - 2.1.2
9
+ - 2.2.0
9
10
  script:
10
11
  - gem build aggcat.gemspec
11
12
  - gem install aggcat-*
data/README.md CHANGED
@@ -36,10 +36,10 @@ Aggcat.configure do |config|
36
36
  config.consumer_key = 'your consumer key'
37
37
  config.consumer_secret = 'your consumer secret'
38
38
  config.certificate_path = '/path/to/your/certificate/key'
39
- # if your certificate is a string, instead of specify the path you can set the value like so
40
- # Note certificate_value takes precedence over certificate_path
41
- # Also make sure your certificate has newline characters as appropriate
42
- config.certificate_value = "-----BEGIN RSA PRIVATE KEY-----\nasdf123FOO$BAR\n...\n-----END RSA PRIVATE KEY-----"
39
+ # certificate could be provided as a string instead of a path to a file using certificate_value
40
+ # certificate_value takes precedence over certificate_path
41
+ # certificate_value should contain newline characters as appropriate
42
+ # config.certificate_value = "-----BEGIN RSA PRIVATE KEY-----\nasdf123FOO$BAR\n...\n-----END RSA PRIVATE KEY-----"
43
43
  end
44
44
 
45
45
  # alternatively, specify configuration options when instantiating an Aggcat::Client
@@ -29,7 +29,7 @@ module Aggcat
29
29
  end
30
30
 
31
31
  def account_confirmation(institution_id, challenge_session_id, challenge_node_id, answers)
32
- validate(institution_id: institution_id, challenge_node_id: challenge_session_id, challenge_node_id: challenge_node_id, answers: answers)
32
+ validate(institution_id: institution_id, challenge_session_id: challenge_session_id, challenge_node_id: challenge_node_id, answers: answers)
33
33
  headers = {'challengeSessionId' => challenge_session_id, 'challengeNodeId' => challenge_node_id}
34
34
  post("/institutions/#{institution_id}/logins", challenge_answers(answers), headers)
35
35
  end
@@ -64,7 +64,7 @@ module Aggcat
64
64
  end
65
65
 
66
66
  def update_login_confirmation(login_id, challenge_session_id, challenge_node_id, answers)
67
- validate(login_id: login_id, challenge_node_id: challenge_session_id, challenge_node_id: challenge_node_id, answers: answers)
67
+ validate(login_id: login_id, challenge_session_id: challenge_session_id, challenge_node_id: challenge_node_id, answers: answers)
68
68
  headers = {'challengeSessionId' => challenge_session_id, 'challengeNodeId' => challenge_node_id}
69
69
  put("/logins/#{login_id}?refresh=true", challenge_answers(answers), headers)
70
70
  end
@@ -1,3 +1,3 @@
1
1
  module Aggcat
2
- VERSION = '0.3.7'
2
+ VERSION = '0.3.8'
3
3
  end
@@ -64,7 +64,7 @@ class ClientTest < Test::Unit::TestCase
64
64
  def test_discover_and_add_accounts_with_challenge
65
65
  institution_id = '100000'
66
66
  stub_get("/institutions/#{institution_id}").to_return(:body => fixture('institution.xml'), :headers => {:content_type => 'application/xml; charset=utf-8'})
67
- stub_post("/institutions/#{institution_id}/logins").to_return(:code => 401, :body => fixture('account.xml'), :headers => {:content_type => 'application/xml; charset=utf-8'})
67
+ stub_post("/institutions/#{institution_id}/logins").to_return(:status => 401, :body => fixture('account.xml'), :headers => {:content_type => 'application/xml; charset=utf-8'})
68
68
  response = @client.discover_and_add_accounts(institution_id, 'username', 'password')
69
69
  assert_equal institution_id, response[:result][:account_list][:banking_account][:institution_id]
70
70
  assert_equal '000000000001', response[:result][:account_list][:banking_account][:account_id]
metadata CHANGED
@@ -1,83 +1,83 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aggcat
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.7
4
+ version: 0.3.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gene Drabkin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-03 00:00:00.000000000 Z
11
+ date: 2015-02-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: oauth
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0.4'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0.4'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: xmlhasher
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: builder
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '3.0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '3.0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: activesupport
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - '>='
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
61
  version: '3.2'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - '>='
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '3.2'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: bundler
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - '>='
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - '>='
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  description: Aggcat wraps Intuit's Customer Account Data API in a simple client
@@ -87,10 +87,10 @@ executables: []
87
87
  extensions: []
88
88
  extra_rdoc_files: []
89
89
  files:
90
- - .gitignore
91
- - .ruby-gemset
92
- - .ruby-version
93
- - .travis.yml
90
+ - ".gitignore"
91
+ - ".ruby-gemset"
92
+ - ".ruby-version"
93
+ - ".travis.yml"
94
94
  - Gemfile
95
95
  - LICENSE.md
96
96
  - README.md
@@ -127,17 +127,17 @@ require_paths:
127
127
  - lib
128
128
  required_ruby_version: !ruby/object:Gem::Requirement
129
129
  requirements:
130
- - - '>='
130
+ - - ">="
131
131
  - !ruby/object:Gem::Version
132
132
  version: 1.9.3
133
133
  required_rubygems_version: !ruby/object:Gem::Requirement
134
134
  requirements:
135
- - - '>='
135
+ - - ">="
136
136
  - !ruby/object:Gem::Version
137
137
  version: 1.3.6
138
138
  requirements: []
139
139
  rubyforge_project:
140
- rubygems_version: 2.1.11
140
+ rubygems_version: 2.4.5
141
141
  signing_key:
142
142
  specification_version: 4
143
143
  summary: Ruby client for Intuit Customer Account Data APIs