pco_api 1.2.1 → 1.2.2
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/lib/pco/api/endpoint.rb +1 -1
- data/lib/pco/api/version.rb +1 -1
- 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: b68b2a46a5e0f3b3c6f50d5d08ec6ef55ee62ec5
|
|
4
|
+
data.tar.gz: 9878875451998da55659e8302aedc68268ca5007
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c017053bd53b307354404f3b27d112fa7c7533e6a08179c02082ecf78bd6ded3bcee21472ac4f894e88422160614ef52238d99b4e4024d266d711ac52590616f
|
|
7
|
+
data.tar.gz: 856dfbb6b547dcf5e1700b03cf26381c563ba1b0d42156d7ca70ae71ce0a154c4e0a847b74170b97d8b201a522a7901926dd0d94648ab41ae8cfbb8dd6cbf5d1
|
data/lib/pco/api/endpoint.rb
CHANGED
|
@@ -116,7 +116,6 @@ module PCO
|
|
|
116
116
|
|
|
117
117
|
def _build_connection
|
|
118
118
|
Faraday.new(url: url) do |faraday|
|
|
119
|
-
faraday.adapter :excon
|
|
120
119
|
faraday.response :json, content_type: /\bjson$/
|
|
121
120
|
if @basic_auth_token && @basic_auth_secret
|
|
122
121
|
faraday.basic_auth @basic_auth_token, @basic_auth_secret
|
|
@@ -125,6 +124,7 @@ module PCO
|
|
|
125
124
|
else
|
|
126
125
|
fail Errors::AuthRequiredError, "You must specify either HTTP basic auth credentials or an OAuth2 access token."
|
|
127
126
|
end
|
|
127
|
+
faraday.adapter :excon
|
|
128
128
|
end
|
|
129
129
|
end
|
|
130
130
|
end
|
data/lib/pco/api/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pco_api
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.2.
|
|
4
|
+
version: 1.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Planning Center Online
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2017-08-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|
|
@@ -130,7 +130,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
130
130
|
version: '0'
|
|
131
131
|
requirements: []
|
|
132
132
|
rubyforge_project:
|
|
133
|
-
rubygems_version: 2.
|
|
133
|
+
rubygems_version: 2.6.10
|
|
134
134
|
signing_key:
|
|
135
135
|
specification_version: 4
|
|
136
136
|
summary: API wrapper for api.planningcenteronline.com
|