finapps 2.2.21 → 2.2.22
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/.gitignore +1 -0
- data/finapps.gemspec +1 -1
- data/lib/finapps/version.rb +1 -1
- data/spec/rest/consumers_spec.rb +2 -2
- data/spec/rest/order_tokens_spec.rb +1 -1
- data/spec/rest/orders_spec.rb +1 -1
- data/spec/rest/sessions_spec.rb +2 -2
- metadata +4 -5
- data/Gemfile.lock +0 -102
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d7c67a36d3d68f174ab823fff162a9199823254b
|
4
|
+
data.tar.gz: 3ff0a35ded787e50b3e15450dbfe80634159678b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d09ba1d0d8000e2535f902567b46591cc9847ed28f0412628a9cdee4502dba4ca2ce0972e77a59b26cb08a49a82057cca92757b2106242336477ec3f02c91383
|
7
|
+
data.tar.gz: 73ee9804b5369cff9463d3b56c830d97001ae00c98b2da7a8cd0a21c996ff204a083b6a376dd4c2c412e408c2f5d428582c7626e8d0df90f6cdcddff98db68fa
|
data/.gitignore
CHANGED
data/finapps.gemspec
CHANGED
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
|
|
20
20
|
spec.test_files = Dir['spec/**/*.rb']
|
21
21
|
spec.require_paths = ['lib']
|
22
22
|
|
23
|
-
spec.add_runtime_dependency 'finapps_core', '~> 2.0', '>= 2.0.
|
23
|
+
spec.add_runtime_dependency 'finapps_core', '~> 2.0', '>= 2.0.20'
|
24
24
|
|
25
25
|
spec.add_development_dependency 'bundler', '~> 1.14', '>= 1.14.3'
|
26
26
|
spec.add_development_dependency 'gem-release', '~> 0.7', '>= 0.7.4'
|
data/lib/finapps/version.rb
CHANGED
data/spec/rest/consumers_spec.rb
CHANGED
@@ -16,7 +16,7 @@ RSpec.describe FinApps::REST::Consumers, 'initialized with valid FinApps::Client
|
|
16
16
|
let(:error_messages) { show[1] }
|
17
17
|
|
18
18
|
it { expect { show }.not_to raise_error }
|
19
|
-
it('results is a Hashie::Rash') { expect(results).to be_a(Hashie::Rash) }
|
19
|
+
it('results is a Hashie::Rash') { expect(results).to be_a(Hashie::Mash::Rash) }
|
20
20
|
it('performs a get and returns the response') { expect(results).to respond_to(:public_id) }
|
21
21
|
it('error_messages array is empty') { expect(error_messages).to eq([]) }
|
22
22
|
end
|
@@ -68,7 +68,7 @@ RSpec.describe FinApps::REST::Consumers, 'initialized with valid FinApps::Client
|
|
68
68
|
let(:error_messages) { update[1] }
|
69
69
|
|
70
70
|
it { expect { update }.not_to raise_error }
|
71
|
-
it('results is a Hashie::Rash') { expect(results).to be_a(Hashie::Rash) }
|
71
|
+
it('results is a Hashie::Rash') { expect(results).to be_a(Hashie::Mash::Rash) }
|
72
72
|
it('the public_id is on the results') { expect(results).to respond_to(:public_id) }
|
73
73
|
it('the new token is on the results') { expect(results).to respond_to(:token) }
|
74
74
|
it('error_messages array is empty') { expect(error_messages).to eq([]) }
|
@@ -14,7 +14,7 @@ RSpec.describe FinApps::REST::OrderTokens, 'initialized with valid FinApps::Clie
|
|
14
14
|
context 'for valid token' do
|
15
15
|
let(:show) { subject.show(:valid_token) }
|
16
16
|
it { expect { show }.not_to raise_error }
|
17
|
-
it('results is a Hashie::Rash') { expect(results).to be_a(Hashie::Rash) }
|
17
|
+
it('results is a Hashie::Rash') { expect(results).to be_a(Hashie::Mash::Rash) }
|
18
18
|
it('results contains a consumer_id') { expect(results).to respond_to(:consumer_id) }
|
19
19
|
it('error_messages array is empty') { expect(error_messages).to eq([]) }
|
20
20
|
end
|
data/spec/rest/orders_spec.rb
CHANGED
@@ -80,7 +80,7 @@ RSpec.describe FinApps::REST::Orders do
|
|
80
80
|
it { expect { subject }.not_to raise_error }
|
81
81
|
it('returns an array') { expect(subject).to be_a(Array) }
|
82
82
|
it('performs a get and returns the response') { expect(subject[RESULTS]).to respond_to(:orders) }
|
83
|
-
it('each order contains a consumer_id') { expect(subject[RESULTS].orders).to all(
|
83
|
+
it('each order contains a consumer_id') { expect(subject[RESULTS].orders).to all(have_key('consumer_id')) }
|
84
84
|
it('returns no error messages') { expect(subject[ERROR_MESSAGES]).to be_empty }
|
85
85
|
it 'sends proper request' do
|
86
86
|
subject
|
data/spec/rest/sessions_spec.rb
CHANGED
@@ -34,7 +34,7 @@ RSpec.describe FinApps::REST::Sessions, 'initialized with valid FinApps::Client
|
|
34
34
|
context 'for valid credentials' do
|
35
35
|
let(:credentials) { {email: 'email@domain.com', password: 'valid_password'} }
|
36
36
|
|
37
|
-
it('results is a Hashie::Rash') { expect(results).to be_a(Hashie::Rash) }
|
37
|
+
it('results is a Hashie::Rash') { expect(results).to be_a(Hashie::Mash::Rash) }
|
38
38
|
it('token value is in the result') { expect(results).to respond_to(:token) }
|
39
39
|
it('error_messages is empty') { expect(error_messages).to be_empty }
|
40
40
|
end
|
@@ -43,7 +43,7 @@ RSpec.describe FinApps::REST::Sessions, 'initialized with valid FinApps::Client
|
|
43
43
|
let(:create) { subject.create(credentials, 'operators/login') }
|
44
44
|
let(:credentials) { {email: 'email@domain.com', password: 'valid_password'} }
|
45
45
|
|
46
|
-
it('results is a Hashie::Rash') { expect(results).to be_a(Hashie::Rash) }
|
46
|
+
it('results is a Hashie::Rash') { expect(results).to be_a(Hashie::Mash::Rash) }
|
47
47
|
it('token value is in the result') { expect(results).to respond_to(:token) }
|
48
48
|
it('returns operator for operator path') { expect(results).to respond_to(:role) }
|
49
49
|
it('error_messages is empty') { expect(error_messages).to be_empty }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: finapps
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.22
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Erich Quintero
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-08-
|
11
|
+
date: 2017-08-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: finapps_core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '2.0'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 2.0.
|
22
|
+
version: 2.0.20
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '2.0'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 2.0.
|
32
|
+
version: 2.0.20
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: bundler
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -228,7 +228,6 @@ files:
|
|
228
228
|
- ".ruby-version"
|
229
229
|
- ".travis.yml"
|
230
230
|
- Gemfile
|
231
|
-
- Gemfile.lock
|
232
231
|
- LICENSE.txt
|
233
232
|
- README.md
|
234
233
|
- Rakefile
|
data/Gemfile.lock
DELETED
@@ -1,102 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
finapps (2.2.20)
|
5
|
-
finapps_core (~> 2.0, >= 2.0.19)
|
6
|
-
|
7
|
-
GEM
|
8
|
-
remote: https://rubygems.org/
|
9
|
-
specs:
|
10
|
-
addressable (2.5.0)
|
11
|
-
public_suffix (~> 2.0, >= 2.0.2)
|
12
|
-
ast (2.3.0)
|
13
|
-
codeclimate-test-reporter (1.0.8)
|
14
|
-
simplecov (<= 0.13)
|
15
|
-
crack (0.4.3)
|
16
|
-
safe_yaml (~> 1.0.0)
|
17
|
-
diff-lcs (1.2.5)
|
18
|
-
docile (1.1.5)
|
19
|
-
ethon (0.10.1)
|
20
|
-
ffi (>= 1.3.0)
|
21
|
-
faraday (0.12.1)
|
22
|
-
multipart-post (>= 1.2, < 3)
|
23
|
-
faraday_middleware (0.11.0.1)
|
24
|
-
faraday (>= 0.7.4, < 1.0)
|
25
|
-
ffi (1.9.18)
|
26
|
-
finapps_core (2.0.19)
|
27
|
-
faraday (~> 0.11, >= 0.11.0)
|
28
|
-
faraday_middleware (~> 0.11, >= 0.11.0.1)
|
29
|
-
rash (~> 0.4, >= 0.4.0)
|
30
|
-
typhoeus (~> 1.1, >= 1.1.2)
|
31
|
-
gem-release (0.7.4)
|
32
|
-
hashdiff (0.3.2)
|
33
|
-
hashie (2.0.5)
|
34
|
-
json (2.0.2)
|
35
|
-
multipart-post (2.0.0)
|
36
|
-
parser (2.4.0.0)
|
37
|
-
ast (~> 2.2)
|
38
|
-
powerpack (0.1.1)
|
39
|
-
public_suffix (2.0.5)
|
40
|
-
rack (1.6.5)
|
41
|
-
rack-protection (1.5.3)
|
42
|
-
rack
|
43
|
-
rainbow (2.2.1)
|
44
|
-
rake (12.0.0)
|
45
|
-
rash (0.4.0)
|
46
|
-
hashie (~> 2.0.0)
|
47
|
-
rspec (3.5.0)
|
48
|
-
rspec-core (~> 3.5.0)
|
49
|
-
rspec-expectations (~> 3.5.0)
|
50
|
-
rspec-mocks (~> 3.5.0)
|
51
|
-
rspec-core (3.5.4)
|
52
|
-
rspec-support (~> 3.5.0)
|
53
|
-
rspec-expectations (3.5.0)
|
54
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
55
|
-
rspec-support (~> 3.5.0)
|
56
|
-
rspec-mocks (3.5.0)
|
57
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
58
|
-
rspec-support (~> 3.5.0)
|
59
|
-
rspec-support (3.5.0)
|
60
|
-
rubocop (0.47.1)
|
61
|
-
parser (>= 2.3.3.1, < 3.0)
|
62
|
-
powerpack (~> 0.1)
|
63
|
-
rainbow (>= 1.99.1, < 3.0)
|
64
|
-
ruby-progressbar (~> 1.7)
|
65
|
-
unicode-display_width (~> 1.0, >= 1.0.1)
|
66
|
-
ruby-progressbar (1.8.1)
|
67
|
-
safe_yaml (1.0.4)
|
68
|
-
simplecov (0.12.0)
|
69
|
-
docile (~> 1.1.0)
|
70
|
-
json (>= 1.8, < 3)
|
71
|
-
simplecov-html (~> 0.10.0)
|
72
|
-
simplecov-html (0.10.0)
|
73
|
-
sinatra (1.4.7)
|
74
|
-
rack (~> 1.5)
|
75
|
-
rack-protection (~> 1.4)
|
76
|
-
tilt (>= 1.3, < 3)
|
77
|
-
tilt (2.0.5)
|
78
|
-
typhoeus (1.1.2)
|
79
|
-
ethon (>= 0.9.0)
|
80
|
-
unicode-display_width (1.1.3)
|
81
|
-
webmock (2.3.2)
|
82
|
-
addressable (>= 2.3.6)
|
83
|
-
crack (>= 0.3.2)
|
84
|
-
hashdiff
|
85
|
-
|
86
|
-
PLATFORMS
|
87
|
-
ruby
|
88
|
-
|
89
|
-
DEPENDENCIES
|
90
|
-
bundler (~> 1.14, >= 1.14.3)
|
91
|
-
codeclimate-test-reporter (~> 1.0, >= 1.0.5)
|
92
|
-
finapps!
|
93
|
-
gem-release (~> 0.7, >= 0.7.4)
|
94
|
-
rake (~> 12.0, >= 12.0.0)
|
95
|
-
rspec (~> 3.5, >= 3.5.0)
|
96
|
-
rubocop (~> 0.47, >= 0.47.1)
|
97
|
-
simplecov (~> 0.11, >= 0.11.2)
|
98
|
-
sinatra (~> 1.4, >= 1.4.7)
|
99
|
-
webmock (~> 2.3, >= 2.3.2)
|
100
|
-
|
101
|
-
BUNDLED WITH
|
102
|
-
1.14.6
|