net-http2 0.18.4 → 0.18.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.tool-versions +1 -1
- data/LICENSE.md +1 -1
- data/README.md +0 -1
- data/lib/net-http2/socket.rb +3 -2
- data/lib/net-http2/version.rb +1 -1
- metadata +3 -4
- data/.travis.yml +0 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cb2b84c0f69dcb612ca9d0451cba9849c7f51960832cfeb0e9c7a46f3875b2a7
|
4
|
+
data.tar.gz: b3ba2895d6e29247b0c25024997deefc24f15a6a86230ee6cf24f3f49d3fc2ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 889756f4f42707b02dd008341b5725deb1ec1e8051eb775b926691785d1ec09e0ca76eb6dcc6c6414863f9e036d5864d5f08aadc9c234171ab997f1686fd5ac5
|
7
|
+
data.tar.gz: 54bc6ad252e68f9ba939fd6a7ff63f5053093db385358cec4eae04a0edb34aa37ab6139fb87c97097d6fe3e6c102794259678c4e19fb3fdcabc548266b306204
|
data/.tool-versions
CHANGED
@@ -1 +1 @@
|
|
1
|
-
ruby 2.
|
1
|
+
ruby 3.2.1
|
data/LICENSE.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# The MIT License (MIT)
|
2
2
|
|
3
|
-
Copyright (c) 2016 Roberto Ostinelli.
|
3
|
+
Copyright (c) 2016-2023 Roberto Ostinelli.
|
4
4
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
data/README.md
CHANGED
@@ -1,4 +1,3 @@
|
|
1
|
-
[![Build Status](https://travis-ci.org/ostinelli/net-http2.svg?branch=master)](https://travis-ci.org/ostinelli/net-http2)
|
2
1
|
[![Code Climate](https://codeclimate.com/github/ostinelli/net-http2/badges/gpa.svg)](https://codeclimate.com/github/ostinelli/net-http2)
|
3
2
|
[![Gem Version](https://badge.fury.io/rb/net-http2.svg)](https://badge.fury.io/rb/net-http2)
|
4
3
|
|
data/lib/net-http2/socket.rb
CHANGED
@@ -26,8 +26,9 @@ module NetHttp2
|
|
26
26
|
end
|
27
27
|
|
28
28
|
def self.tcp_socket(uri, options)
|
29
|
-
|
30
|
-
address =
|
29
|
+
addrinfo = ::Socket.getaddrinfo(uri.host, nil, nil)
|
30
|
+
address = addrinfo.first[3]
|
31
|
+
family = addrinfo.first[4]
|
31
32
|
sockaddr = ::Socket.pack_sockaddr_in(uri.port, address)
|
32
33
|
|
33
34
|
socket = ::Socket.new(family, ::Socket::SOCK_STREAM, 0)
|
data/lib/net-http2/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: net-http2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.18.
|
4
|
+
version: 0.18.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Roberto Ostinelli
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-03-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: http-2
|
@@ -76,7 +76,6 @@ files:
|
|
76
76
|
- ".gitignore"
|
77
77
|
- ".rspec"
|
78
78
|
- ".tool-versions"
|
79
|
-
- ".travis.yml"
|
80
79
|
- Gemfile
|
81
80
|
- LICENSE.md
|
82
81
|
- README.md
|
@@ -111,7 +110,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
111
110
|
- !ruby/object:Gem::Version
|
112
111
|
version: '0'
|
113
112
|
requirements: []
|
114
|
-
rubygems_version: 3.
|
113
|
+
rubygems_version: 3.4.6
|
115
114
|
signing_key:
|
116
115
|
specification_version: 4
|
117
116
|
summary: NetHttp2 is an HTTP2 client for Ruby.
|