Commit 8dc9df4
committed
Restore ruby 2.5 support
As far as I know, this is the only stdlib that has dropped ruby 2.5,
which hasn't yet reached its End of Life date.
The motivation for this is that there's no gemified version of
`net-http` that supports ruby 2.5, and that makes it hard for libraries
depending on `net-http` to properly declare the dependency, since the
only way is to drop support for ruby 2.5, which many maintainers will
not yet want to do.
The reason for wanting to declare the `net-http` dependency is mainly
that it helps bundler & rubygems with avoiding double loads of different
versions of `net-http` (the stdlib version and a higher gemified version).
As far as I can observe from commit history, the only reason for
dropping support for ruby 2.5 was that tests didn't pass, so I made them
pass.1 parent 9ad5696 commit 8dc9df4
2 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
0 commit comments