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
Michael Grosser
ebbbab5c2e
test against ruby head ( #1208 )
...
* CI: add "head" Ruby to matrix
* Gemfile: Allow Ruby 3 to use net-http-client 4.x
* Gemfile: Select net-http-persistent 4 differently
Check for Ruby version 3+
* Gemfile: doc net-http-persistent has no gemspec
* redo
Co-authored-by: Olle Jonsson <olle.jonsson@auctionet.com>
Co-authored-by: Olle Jonsson <olle.jonsson@gmail.com>
2020-11-28 09:24:02 +01:00
Kyle Keesling
b766d1f848
Update call to em_http_ssl_patch ( #1202 )
2020-11-19 14:45:40 +01:00
Matt
1595e6fc05
Fix rdebug recursion issue ( #1205 )
...
Co-authored-by: @native-api
2020-11-13 09:00:18 +00:00
Rusty Geldmacher
8c746f68e3
Require 'date' to avoid retry exception
...
Without requiring 'date', we get an exception in the retry middleware
when it tries to use DateTime for handling the Retry-After header.
2020-11-13 07:26:33 +01:00
Nathan Beyer
01c25e880c
Adjust the retry documentation and spec to align with implementation ( #1197 ) ( #1198 )
2020-10-27 06:11:38 +01:00
Tijmen Brommet
95667f848a
Update documentation on using the logger ( #1196 )
...
`Faraday::Logging::Formatter` is the correct class to subclass.
2020-10-26 09:17:27 +01:00
Olle Jonsson
4e9f4b06f1
Fix a typo re: on_response -> on_complete
2020-10-23 17:28:00 +02:00
Olle Jonsson
0977306827
docs: Fix typo in markdown
...
Missing backtick ruined some formatting.
2020-10-22 20:23:25 +02:00
Matt
d56742a174
Introduces on_request and on_complete methods in Faraday::Middleware. ( #1194 )
2020-10-22 15:04:46 +01:00
Olle Jonsson
7326cd8bfd
docs: Adapters, how to create them ( #1193 )
...
This begins a new section, probably we want to move the Parallel section to its own "Advanced Adapter authoring" or a subject-specific text. Anyway, we have started!
2020-10-22 11:55:46 +02:00
Matt
680407daa9
Add comment in gemspec to explain exposure of examples
and spec
folders. ( #1192 )
...
Fixes #1190
2020-10-21 09:22:52 +01:00
Matt
571dc11c2f
Version bump to 1.1.0
v1.1.0
2020-10-17 11:49:07 +01:00
Igor Victor
0461c4b321
Upgrade CI to ruby/setup-ruby ( #1187 )
...
This replaces rvm in GitHub Actions.
2020-10-13 16:22:53 +02:00
Joel Stimson
85b46bef6c
Remove retry_change_requests from documentation ( #1185 )
2020-10-06 10:33:29 +01:00
Utkarsh Gupta
a5b7a6bc81
Drop git ls-files
in gemspec ( #1183 )
2020-09-23 11:20:37 +02:00