validic 0.5.0 → 0.5.1

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: 126d89621c9028f5e07f6988e1d460d273f864b2
4
- data.tar.gz: cfd36bbb933bb2e10d239a049bb6dbd375c3ca16
3
+ metadata.gz: 1743313127cadcaf493f73e4b9823664023d8442
4
+ data.tar.gz: ca1ba7a8b630cb2904682b3bfb481919d86aeca7
5
5
  SHA512:
6
- metadata.gz: 6c77c1e8227a18bbff2bc64d9fa4d3a160fa8803707bf7db7635d2dfd648cdfe00d4bcfc36231a68a661f8038648cc1d19c7363f1dfb26d5d418e6ef4682dcce
7
- data.tar.gz: a94a08ba6093f64a15f8e60b52e0fdbf05de887c86cb52b2b98b4bf06c0a354c8f8341eff5e82c9081749ccbc45add1a82cfba258c68a797abb7f994cfb83a6e
6
+ metadata.gz: 4a97c4f0dda5703516c064ec27f2b78eda59c45a72c73151fb4309c247726a8700fb3ec761e9d8f45f2eb9d3dcab00e719901c3b4090db632ae405a0909307b8
7
+ data.tar.gz: 48bf1470d9481a51006e281179e208f7179a302747e20524bb9772c0cbbc2db5ac450fa1bdd13ed8db5663f03e6e7c2e9365ea4f3ef3cdfe312d17770ec9eff2
@@ -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
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- validic (0.5.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.2)
16
+ faraday (0.9.1)
17
17
  multipart-post (>= 1.2, < 3)
18
- faraday_middleware (0.9.2)
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.2)
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
  [![Codeship Status for Validic/validic](https://www.codeship.io/projects/cc4ff330-9f72-0130-3cf3-0e5a3e2104f7/status?branch=master)](https://www.codeship.io/projects/3456)
5
5
 
6
- ## Stable Version: 0.4.1
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:
@@ -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(:sync_apps,
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
@@ -1,3 +1,3 @@
1
1
  module Validic
2
- VERSION = '0.5.0'
2
+ VERSION = '0.5.1'.freeze
3
3
  end
@@ -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/sync_apps.json')
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/sync_apps.json')
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.0
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-02-11 00:00:00.000000000 Z
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.8
202
+ rubygems_version: 2.4.5
203
203
  signing_key:
204
204
  specification_version: 4
205
205
  summary: API Wrapper for Validic