validic 0.5.0 → 0.5.1
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/CHANGELOG.md +5 -0
- data/Gemfile.lock +4 -7
- data/README.md +1 -1
- data/lib/validic/rest/apps.rb +3 -2
- data/lib/validic/version.rb +1 -1
- data/spec/validic/rest/apps_spec.rb +4 -4
- 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: 1743313127cadcaf493f73e4b9823664023d8442
|
|
4
|
+
data.tar.gz: ca1ba7a8b630cb2904682b3bfb481919d86aeca7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4a97c4f0dda5703516c064ec27f2b78eda59c45a72c73151fb4309c247726a8700fb3ec761e9d8f45f2eb9d3dcab00e719901c3b4090db632ae405a0909307b8
|
|
7
|
+
data.tar.gz: 48bf1470d9481a51006e281179e208f7179a302747e20524bb9772c0cbbc2db5ac450fa1bdd13ed8db5663f03e6e7c2e9365ea4f3ef3cdfe312d17770ec9eff2
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
0.5.1
|
|
4
|
+
-----------
|
|
5
|
+
|
|
6
|
+
- Sync Apps endpoint depracated fix ( https://support.validic.com/customer/portal/articles/2488934-sync-apps-endpoint-deprecation )
|
|
7
|
+
|
|
3
8
|
0.5.0
|
|
4
9
|
-----------
|
|
5
10
|
- Ability to call the next or previous page from a Validic::Response
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
validic (0.
|
|
4
|
+
validic (0.4.1)
|
|
5
5
|
faraday_middleware (~> 0.9.0)
|
|
6
6
|
multi_json
|
|
7
7
|
|
|
@@ -13,12 +13,12 @@ GEM
|
|
|
13
13
|
crack (0.4.2)
|
|
14
14
|
safe_yaml (~> 1.0.0)
|
|
15
15
|
diff-lcs (1.2.5)
|
|
16
|
-
faraday (0.9.
|
|
16
|
+
faraday (0.9.1)
|
|
17
17
|
multipart-post (>= 1.2, < 3)
|
|
18
|
-
faraday_middleware (0.9.
|
|
18
|
+
faraday_middleware (0.9.1)
|
|
19
19
|
faraday (>= 0.7.4, < 0.10)
|
|
20
20
|
method_source (0.8.2)
|
|
21
|
-
multi_json (1.11.
|
|
21
|
+
multi_json (1.11.0)
|
|
22
22
|
multipart-post (2.0.0)
|
|
23
23
|
pry (0.10.1)
|
|
24
24
|
coderay (~> 1.1.0)
|
|
@@ -55,6 +55,3 @@ DEPENDENCIES
|
|
|
55
55
|
validic!
|
|
56
56
|
webmock (~> 1.20.4)
|
|
57
57
|
yard
|
|
58
|
-
|
|
59
|
-
BUNDLED WITH
|
|
60
|
-
1.10.6
|
data/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
## Build Status
|
|
4
4
|
[](https://www.codeship.io/projects/3456)
|
|
5
5
|
|
|
6
|
-
## Stable Version: 0.
|
|
6
|
+
## Stable Version: 0.5.1
|
|
7
7
|
|
|
8
8
|
Ruby API Wrapper for [Validic](http://www.validic.com/api/docs). It includes the
|
|
9
9
|
following functionality:
|
data/lib/validic/rest/apps.rb
CHANGED
|
@@ -10,8 +10,9 @@ module Validic
|
|
|
10
10
|
alias :get_apps :get_org_apps
|
|
11
11
|
|
|
12
12
|
def get_user_synced_apps(options = {})
|
|
13
|
-
build_response(get_request(:
|
|
14
|
-
authentication_token: options[:authentication_token]
|
|
13
|
+
build_response(get_request(:apps,
|
|
14
|
+
authentication_token: options[:authentication_token],
|
|
15
|
+
synced: 1))
|
|
15
16
|
end
|
|
16
17
|
alias :get_synced_apps :get_user_synced_apps
|
|
17
18
|
end
|
data/lib/validic/version.rb
CHANGED
|
@@ -41,8 +41,8 @@ describe Validic::REST::Apps do
|
|
|
41
41
|
|
|
42
42
|
describe '#get_user_synced_apps' do
|
|
43
43
|
before do
|
|
44
|
-
stub_get('/organizations/1/
|
|
45
|
-
.with(query: { authentication_token: '2', access_token: '1' })
|
|
44
|
+
stub_get('/organizations/1/apps.json')
|
|
45
|
+
.with(query: { authentication_token: '2', access_token: '1', synced: '1' })
|
|
46
46
|
.to_return(body: fixture('synced_apps.json'),
|
|
47
47
|
headers: { content_type: 'application/json; charset=utf-8' })
|
|
48
48
|
@synced_apps = client.get_user_synced_apps(authentication_token: '2')
|
|
@@ -51,8 +51,8 @@ describe Validic::REST::Apps do
|
|
|
51
51
|
expect(@synced_apps).to be_a Validic::Response
|
|
52
52
|
end
|
|
53
53
|
it 'makes a sync apps call to the correct url' do
|
|
54
|
-
expect(a_get('/organizations/1/
|
|
55
|
-
.with(query: { authentication_token: '2', access_token: '1' }))
|
|
54
|
+
expect(a_get('/organizations/1/apps.json')
|
|
55
|
+
.with(query: { authentication_token: '2', access_token: '1', synced: '1' }))
|
|
56
56
|
.to have_been_made
|
|
57
57
|
end
|
|
58
58
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: validic
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Julius Francisco & Jay Balanay
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-
|
|
11
|
+
date: 2016-08-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday_middleware
|
|
@@ -199,7 +199,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
199
199
|
version: '0'
|
|
200
200
|
requirements: []
|
|
201
201
|
rubyforge_project:
|
|
202
|
-
rubygems_version: 2.4.
|
|
202
|
+
rubygems_version: 2.4.5
|
|
203
203
|
signing_key:
|
|
204
204
|
specification_version: 4
|
|
205
205
|
summary: API Wrapper for Validic
|