Skip to content

Commit 0747942

Browse files
authored
Merge pull request #21 from doximity/bls-bump-minor-version
Bump version to 1.2.0
2 parents f87822c + f80e856 commit 0747942

29 files changed

+26
-36
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ executors:
44
ruby-latest:
55
resource_class: small
66
docker:
7-
- image: cimg/ruby:2.7
7+
- image: cimg/ruby:3.2.6-node
88
environment:
99
- BUNDLE_VERSION: "~> 1.17"
1010
- NEO4J_URL: "http://127.0.0.1:7474"

.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.7.4
1+
3.2.6

Gemfile.lock

Lines changed: 19 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
PATH
22
remote: .
33
specs:
4-
neo4j-http (1.1.0)
4+
neo4j-http (1.2.0)
55
activesupport (>= 5.2)
6-
faraday
6+
faraday (~> 2.0)
7+
faraday-httpclient
78
faraday-retry
8-
faraday_middleware
99
pry
1010

1111
GEM
@@ -20,36 +20,25 @@ GEM
2020
coderay (1.1.3)
2121
concurrent-ruby (1.1.10)
2222
diff-lcs (1.5.0)
23-
faraday (1.10.4)
24-
faraday-em_http (~> 1.0)
25-
faraday-em_synchrony (~> 1.0)
26-
faraday-excon (~> 1.1)
27-
faraday-httpclient (~> 1.0)
28-
faraday-multipart (~> 1.0)
29-
faraday-net_http (~> 1.0)
30-
faraday-net_http_persistent (~> 1.0)
31-
faraday-patron (~> 1.0)
32-
faraday-rack (~> 1.0)
33-
faraday-retry (~> 1.0)
34-
ruby2_keywords (>= 0.0.4)
35-
faraday-em_http (1.0.0)
36-
faraday-em_synchrony (1.0.0)
37-
faraday-excon (1.1.0)
38-
faraday-httpclient (1.0.1)
39-
faraday-multipart (1.1.0)
40-
multipart-post (~> 2.0)
41-
faraday-net_http (1.0.2)
42-
faraday-net_http_persistent (1.2.0)
43-
faraday-patron (1.0.0)
44-
faraday-rack (1.0.0)
45-
faraday-retry (1.0.3)
46-
faraday_middleware (1.2.0)
47-
faraday (~> 1.0)
23+
faraday (2.12.2)
24+
faraday-net_http (>= 2.0, < 3.5)
25+
json
26+
logger
27+
faraday-httpclient (2.0.1)
28+
httpclient (>= 2.2)
29+
faraday-net_http (3.4.0)
30+
net-http (>= 0.5.0)
31+
faraday-retry (2.2.1)
32+
faraday (~> 2.0)
33+
httpclient (2.8.3)
4834
i18n (1.12.0)
4935
concurrent-ruby (~> 1.0)
36+
json (2.9.1)
37+
logger (1.6.5)
5038
method_source (1.0.0)
5139
minitest (5.16.2)
52-
multipart-post (2.4.1)
40+
net-http (0.6.0)
41+
uri
5342
parallel (1.22.1)
5443
parser (3.1.1.0)
5544
ast (~> 2.4.1)
@@ -88,13 +77,13 @@ GEM
8877
rubocop (>= 1.7.0, < 2.0)
8978
rubocop-ast (>= 0.4.0)
9079
ruby-progressbar (1.11.0)
91-
ruby2_keywords (0.0.5)
9280
standard (1.9.1)
9381
rubocop (= 1.26.1)
9482
rubocop-performance (= 1.13.3)
9583
tzinfo (2.0.4)
9684
concurrent-ruby (~> 1.0)
9785
unicode-display_width (2.1.0)
86+
uri (1.0.2)
9887

9988
PLATFORMS
10089
ruby

lib/neo4j/http/cypher_client.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
require "forwardable"
44
require "faraday"
5+
require "faraday/httpclient"
56
require "faraday/retry"
6-
require "faraday_middleware"
77

88
module Neo4j
99
module Http
@@ -79,6 +79,7 @@ def build_connection(access_mode)
7979
# https://neo4j.com/docs/http-api/current/actions/transaction-configuration/
8080
headers = build_http_headers.merge({"access-mode" => access_mode})
8181
Faraday.new(url: @configuration.uri, headers: headers, request: build_request_options) do |f|
82+
f.adapter :httpclient
8283
f.request :json # encode req bodies as JSON
8384
f.request :retry # retry transient failures
8485
f.response :json # decode response bodies as JSON

lib/neo4j/http/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module Neo4j
22
module Http
3-
VERSION = "1.1.0"
3+
VERSION = "1.2.0"
44
end
55
end

neo4j-http.gemspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ Gem::Specification.new do |spec|
2323
spec.require_paths = ["lib"]
2424

2525
spec.add_runtime_dependency "activesupport", ">= 5.2"
26-
spec.add_runtime_dependency "faraday"
27-
spec.add_runtime_dependency "faraday_middleware"
26+
spec.add_runtime_dependency "faraday", "~> 2.0"
27+
spec.add_runtime_dependency "faraday-httpclient"
2828
spec.add_runtime_dependency "faraday-retry"
2929
spec.add_runtime_dependency "pry"
3030
end

vendor/cache/faraday-1.10.4.gem

-70 KB
Binary file not shown.

vendor/cache/faraday-2.12.2.gem

72 KB
Binary file not shown.
-9 KB
Binary file not shown.
-8 KB
Binary file not shown.

0 commit comments

Comments
 (0)