absorb_api 0.9.2 → 0.9.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/absorb_api.gemspec +0 -1
- data/lib/absorb_api.rb +0 -1
- data/lib/absorb_api/api.rb +2 -5
- data/lib/absorb_api/authorize.rb +1 -1
- data/lib/absorb_api/version.rb +1 -1
- metadata +3 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fb22fe0a7355b114a945ed05e270370530f41eb0
|
4
|
+
data.tar.gz: 74972292f1a326c6b01092ebe7b9f31506c8edf6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cd6d82a535fc90b015eb7f3e68768fbc8323de653d31b6625af6ef1b650d234d2af5f14760a07abdfb97765e77d8abce494509448df92832f80775f90cc2ca82
|
7
|
+
data.tar.gz: dcb65130837b338d5498dc1f3224c99e357bf10855c4782e28254c2b716c33b5f3357debafcc6a2f55f804873137bb18937fcb5ab1bec3f258bb6792a2bb1acc
|
data/absorb_api.gemspec
CHANGED
@@ -29,7 +29,6 @@ Gem::Specification.new do |spec|
|
|
29
29
|
spec.add_dependency "faraday"
|
30
30
|
spec.add_dependency "faraday_middleware"
|
31
31
|
spec.add_dependency "json"
|
32
|
-
spec.add_dependency "typhoeus"
|
33
32
|
|
34
33
|
spec.add_development_dependency "pry"
|
35
34
|
spec.add_development_dependency "bundler", "~> 1.11"
|
data/lib/absorb_api.rb
CHANGED
data/lib/absorb_api/api.rb
CHANGED
@@ -7,13 +7,10 @@ module AbsorbApi
|
|
7
7
|
delegate :get, :put, :patch, :post, :delete, to: :connection
|
8
8
|
|
9
9
|
def connection
|
10
|
-
Faraday.new(
|
11
|
-
url: AbsorbApi.configuration.url,
|
12
|
-
parallel_manager: Typhoeus::Hydra.new(max_concurrency: 200)
|
13
|
-
) do |faraday|
|
10
|
+
Faraday.new(url: AbsorbApi.configuration.url) do |faraday|
|
14
11
|
faraday.request :json
|
15
12
|
faraday.response :json, content_type: /\bjson$/
|
16
|
-
faraday.adapter
|
13
|
+
faraday.adapter Faraday.default_adapter
|
17
14
|
faraday.headers = { "Authorization" => AbsorbApi.token }
|
18
15
|
end
|
19
16
|
end
|
data/lib/absorb_api/authorize.rb
CHANGED
data/lib/absorb_api/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: absorb_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- npezza
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-09-
|
11
|
+
date: 2017-09-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|
@@ -80,20 +80,6 @@ dependencies:
|
|
80
80
|
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: typhoeus
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - ">="
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '0'
|
90
|
-
type: :runtime
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - ">="
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: '0'
|
97
83
|
- !ruby/object:Gem::Dependency
|
98
84
|
name: pry
|
99
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -299,7 +285,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
299
285
|
version: '0'
|
300
286
|
requirements: []
|
301
287
|
rubyforge_project:
|
302
|
-
rubygems_version: 2.6.
|
288
|
+
rubygems_version: 2.6.11
|
303
289
|
signing_key:
|
304
290
|
specification_version: 4
|
305
291
|
summary: API wrapper for Absorb LMS
|