1717 Commits

Author SHA1 Message Date
Matt
fd1007ae33
Use external Rack adapter (#1296) 2021-08-01 09:01:13 +01:00
Matt
66d5dae371
Version bump to 1.5.1 v1.5.1 2021-07-11 11:03:24 +01:00
Pavel Rosický
6ed220cabf
Fix jruby incompatibility after moving out EM adapters (#1294) 2021-07-11 11:02:52 +01:00
Kenichi Kamiya
8727853801
Update YARD to follow RackBuilder (#1292) 2021-07-08 15:41:27 +01:00
Matt
0e8bfa592f
Version bump to 1.5.0 v1.5.0 2021-07-04 19:51:28 +01:00
Matt
bc4eb877c9
Use external patron adapter (#1290) 2021-07-04 19:50:59 +01:00
Matt
274f5fa6ba
Use external httpclient adapter (#1289) 2021-07-04 16:55:22 +01:00
Matt
8ca6a7eb58
Update version.rb v1.4.3 2021-06-24 16:10:59 +01:00
Alexey D
4dd36897af
Always dup url_prefix in Connection#build_exclusive_url (#1288) 2021-06-24 16:09:26 +01:00
Adam Doppelt
830b696ae7
silence warning (#1286) 2021-05-27 08:06:31 +02:00
Matt
63c33d234d
Version bump to 1.4.2 v1.4.2 2021-05-22 09:33:25 +01:00
Adam Doppelt
1f496a7f17
Default proxy scheme to http:// if necessary, fixes #1282 (#1283) 2021-05-22 09:27:06 +01:00
Adam Doppelt
11d793dd7e
Docs: add more middleware examples (#1277) 2021-05-02 08:28:29 +02:00
Catalin
53e4baedc7
Add proxy setting when url_prefix is changed (#1276)
* Add proxy setting when url_prefix is changed

Without this setting, setting the url_prefix after
a Faraday::Connection is initialized results in no_proxy
settings ignored when using relative paths.

* Increase Rubocop Metrics/ClassLength
2021-04-28 15:54:08 +02:00
Matt
67c5f7b239
Use external em_http and em_synchrony adapters (#1274) 2021-04-26 11:57:10 +02:00
Adam Doppelt
a582495311
[docs] Improve introduction page (#1273)
This set of change are intended to help the first-time reader.

- show method signatures for HTTP verbs
- give an overview of adapters & middleware
- explain a bit more about the shortcut methods vs. creating a connection
- use httpbingo.org instead of the defunct sushi.com
- make a quick note about the default connection and url encoding

Discussion started in #1270.
2021-04-26 09:00:28 +02:00
Matt
048718fb79
Update version.rb v1.4.1 2021-04-18 19:22:24 +01:00
Matt
e82694793b
Fix dependencies from external adapter gems (excon, net_http_persistent) (#1269) 2021-04-18 19:22:01 +01:00
Matt
41d87d6225
Update version.rb v1.4.0 2021-04-16 11:27:04 +01:00
Olle Jonsson
bf7d855598
Add rubocop-inclusivity (#1267)
Co-authored-by: Mattia Giuffrida <giuffrida.mattia@gmail.com>
2021-04-14 17:57:11 +02:00
Olle Jonsson
38d9398559
CONTRIBUTING: add a policy on inclusive language (#1262) 2021-04-14 16:35:26 +01:00
Olle Jonsson
0787548639
Drop RDoc support file .document (#1264)
Co-authored-by: Matt <iMacTia@users.noreply.github.com>
2021-04-14 16:34:03 +02:00
Olle Jonsson
952dac0b4c Update RuboCop TODO file
Fixes #1258
2021-04-14 08:52:10 +02:00
Olle Jonsson
a0c4a1cd03 Trivially edit docs/ README
...to push to the docs/ directory, to try to get it to build.
2021-04-14 08:31:48 +02:00
Olle Jonsson
21ac595919
CI: Rename default branch to main (#1263) 2021-04-13 19:57:39 +01:00
Olle Jonsson
fbb441eca2
CONTRIBUTING: Fix grammar and layout (#1261) 2021-04-13 18:51:23 +02:00
Olle Jonsson
33ee1c4eed
Drop CodeClimate (#1259)
This removes CodeClimate test reporter ID and badge.

Since the quality of reporting has gone down, and these fail the
builds, reducing our warning-seeing ability, I now take step of
stopping reporting to CC.

If we want to do any spot-checks, we can run rubycritic, or some other
metrics tool, which does not disrupt our workflow.
2021-04-13 18:27:34 +02:00
Matt
20be816bc8
Replace Excon adapter with Faraday::Excon gem, and fix autoloading issue with Faraday::NetHttpPersistent (#1257) 2021-04-12 11:36:09 +02:00
Damau
8d379a16fe
Some docs on EventMachine adapters. (#1232) 2021-04-11 13:30:57 +01:00
Marouen Bousnina
99afc0ff6f
Fix NoMethodError undefined method 'coverage' (#1255) 2021-03-28 11:36:26 +01:00
Olle Jonsson
506954e5fe
CI: Configure the regenerated Coveralls token (#1256) 2021-03-28 10:10:16 +01:00
Mike Rogers
14d0dd70c4
Replacing Net::HTTP::Persistent with faraday-net_http_persistent (#1250) 2021-03-26 08:00:05 +00:00
Hiroshi Hatake
850155eb41
Handle IPv6 address String on Faraday::Connection#proxy_from_env (#1252) 2021-03-22 11:30:22 +00:00
Tiago
118f896ac3
[docs] Add httpx to list of external adapters (#1246)
httpx bundles its own faraday adapter, a la typhoeus. This adds it to the external adapters list.
2021-03-05 12:49:48 +01:00
Olle Jonsson
e7ab94f169
gemspec: Pick a good ruby2_keywords release (#1241) 2021-01-20 14:10:34 +00:00
yarafan
0ed6480f6e
escape colon in path segment (#1237) 2021-01-18 16:18:21 +00:00
Nick Campbell
d22dd00856
Fix broken Rubydoc.info links (#1236)
For some reason the docs are not being published for this gem anymore,
but they are still reachable when referencing the github path instead.
2021-01-12 15:19:45 +01:00
Ryunosuke Sato
086bb62217
Refactor CI to remove duplicated line (#1230)
"libcurl4-openssl-dev" is already installed in previous step.
2021-01-02 06:49:49 +01:00
Matt
18b9bd5e0c
Update CHANGELOG.md 2020-12-31 13:26:33 +00:00
Matt
f68a821dde
Version bump to 1.3.0 v1.3.0 2020-12-31 13:13:52 +00:00
Matt
023cc41335
Improves consistency with Faraday::Error and Faraday::RaiseError (#1229) 2020-12-31 13:07:21 +00:00
Matt
453b26f1f0
Improves retry middleware documentation. (#1228) 2020-12-31 11:25:20 +00:00
Matt
687108bb4d
Adds Ruby 3.0 to CI Matrix (#1226) 2020-12-31 10:51:03 +00:00
brian p o'rourke
d67d012dd5
Don't assign to global ::Timer (#1227) 2020-12-31 09:34:59 +00:00
Olle Jonsson
968dfc18ba
CHANGELOG: add releases after 1.0 (#1225) 2020-12-29 13:06:21 +01:00
Matt
e41668ee59
Move out Net::HTTP adapter (#1222) 2020-12-29 11:29:21 +00:00
Mattia Giuffrida
2457525702 Version bump to 1.2.0 v1.2.0 2020-12-23 14:39:22 +00:00
Matt
97a3bc2386
Fix #1219 Net::HTTP still uses env proxy (#1221) 2020-12-23 14:00:45 +00:00
Michael Grosser
e111db34c3
Avoid 1 use of keyword hackery (#1211) 2020-12-02 07:06:38 +01:00
Olle Jonsson
47411d8154
EmHttp adapter: drop superfluous loaded? check (#1213)
We are loaded in this section.
2020-12-01 10:21:42 +01:00