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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bf767e42a7e5ec5abe9e5bf64e49ce75e5a59465
4
- data.tar.gz: c78eb3a8d8838256c87fb4a9ff5e1122a0d8e362
3
+ metadata.gz: fb22fe0a7355b114a945ed05e270370530f41eb0
4
+ data.tar.gz: 74972292f1a326c6b01092ebe7b9f31506c8edf6
5
5
  SHA512:
6
- metadata.gz: bfe7c24d38dd0dee76956d4248a85265a0226c91f8b6bbec75cbc48b3b0892dbd4fdccdc9fa425508950ef7812b72dc96f80ab0067743cd20d35aa5d2075ef7c
7
- data.tar.gz: a80e1094dfe1999ecb10a299490daa3629ef4dc7bb475f50c434fc138bc341dc4ec0ac1685311c7b3b155a32443c1c76fe6bb53d1ee769104a68bc32ddaa7c44
6
+ metadata.gz: cd6d82a535fc90b015eb7f3e68768fbc8323de653d31b6625af6ef1b650d234d2af5f14760a07abdfb97765e77d8abce494509448df92832f80775f90cc2ca82
7
+ data.tar.gz: dcb65130837b338d5498dc1f3224c99e357bf10855c4782e28254c2b716c33b5f3357debafcc6a2f55f804873137bb18937fcb5ab1bec3f258bb6792a2bb1acc
@@ -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"
@@ -1,7 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require "faraday"
4
- require "typhoeus/adapters/faraday"
5
4
  require "json"
6
5
  require "faraday_middleware"
7
6
  require "active_support/all"
@@ -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 :typhoeus
13
+ faraday.adapter Faraday.default_adapter
17
14
  faraday.headers = { "Authorization" => AbsorbApi.token }
18
15
  end
19
16
  end
@@ -32,7 +32,7 @@ module AbsorbApi
32
32
  Faraday.new(url: AbsorbApi.configuration.url) do |faraday|
33
33
  faraday.request :url_encoded
34
34
  faraday.response :logger
35
- faraday.adapter :typhoeus
35
+ faraday.adapter Faraday.default_adapter
36
36
  end
37
37
  end
38
38
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AbsorbApi
4
- VERSION = "0.9.2"
4
+ VERSION = "0.9.3"
5
5
  end
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.2
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-12 00:00:00.000000000 Z
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.13
288
+ rubygems_version: 2.6.11
303
289
  signing_key:
304
290
  specification_version: 4
305
291
  summary: API wrapper for Absorb LMS