fauna 2.1.0 → 2.1.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: c9cd9dd6bfc9acdf8f25a0bfe186e4afcff76647
4
- data.tar.gz: 5072c863a7172f7925aa15ad68f1af39e6004fee
3
+ metadata.gz: f1fbe78e9aa20722b032b7e384b126a4160e1971
4
+ data.tar.gz: 8ba60666c179ec4e88d879dcc02ec884bf4b2873
5
5
  SHA512:
6
- metadata.gz: 479a37575bccd657be309c20cfbdf15be951ad86a4694368280b74027c8fa70d02b069af82f20742e973fb658cc4d31a82701c2d350b3950f8ab104c21ba6136
7
- data.tar.gz: beb72b4e1fde21d0e50f08157252484406c666e47fb1763f20186a09ec8c4e8b93a5515282e069c99b7c61613f067fa0c2e0ae81f4c2f147368489cd537a09de
6
+ metadata.gz: b17874006b35f01f6ea56cd56e427ecb3f77245c8ba1de5b89b6c3dec438a7a08679bd664745f8c0f0476d609ae1196b50d0838ed146529f6c7899ca546c39f6
7
+ data.tar.gz: 7d1a3e063cf23c0b6d0924d38aa0ab66e1182f62cf3079b2c700c2f52cb95daad9a4425d34eca2df02fba6a56f1ca597eb048f035b556ce63d27b9b69f77f33b
data/CHANGELOG CHANGED
@@ -1,3 +1,6 @@
1
+ 2.1.1
2
+ * Use persistent connections (via the `net-http-persistent` adapter) by default.
3
+
1
4
  2.1.0
2
5
  * Added paginate helper.
3
6
  * Improved exception messages (now include FaunaDB errors).
@@ -18,6 +18,7 @@ Gem::Specification.new do |s|
18
18
  s.require_paths = ['lib']
19
19
 
20
20
  s.add_runtime_dependency 'faraday', '~> 0.9.0'
21
+ s.add_runtime_dependency 'net-http-persistent', '~> 2.9'
21
22
  s.add_runtime_dependency 'json', '~> 1.8'
22
23
  s.add_development_dependency 'rspec', '~> 3.4'
23
24
  s.add_development_dependency 'rubocop', '~> 0.38.0'
@@ -46,7 +46,7 @@ module Fauna
46
46
  @read_timeout = params[:read_timeout] || 60
47
47
  @connection_timeout = params[:connection_timeout] || 60
48
48
  @observer = params[:observer]
49
- @adapter = params[:adapter] || Faraday.default_adapter
49
+ @adapter = params[:adapter] || :net_http_persistent
50
50
  init_credentials(params[:secret])
51
51
 
52
52
  init_connection
@@ -1,4 +1,4 @@
1
1
  module Fauna
2
2
  # The version of the Fauna gem
3
- VERSION = '2.1.0'.freeze
3
+ VERSION = '2.1.1'.freeze
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fauna
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fauna, Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-11 00:00:00.000000000 Z
11
+ date: 2016-05-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -24,6 +24,20 @@ dependencies:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: 0.9.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: net-http-persistent
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '2.9'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '2.9'
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: json
29
43
  requirement: !ruby/object:Gem::Requirement